DaPigGuy / PiggyCrates

A crate plugin for PocketMine-MP supporting unlimited crate types
https://piggydocs.aericio.net/PiggyCrates.html
Apache License 2.0
31 stars 41 forks source link

NBT #75

Closed SexyLush closed 4 years ago

SexyLush commented 4 years ago

Ok so I have a plugin that's basically a crates plugin but u cant execute cmds on item drop, so if I wanted someone to get a PiggyCrate key from it it would be impossible, If you can add that or tell me how to, thanks (Discord: SexyLush#6969)

Aericio commented 4 years ago

Not our issue. Ask in pmmp discord for plugin development help.

SexyLush commented 4 years ago

Bruh what, Im asking how to do NBT.

Aericio commented 4 years ago

https://github.com/DaPigGuy/PiggyCrates/blob/2be82bf3e3270088f5c89109137f5335cb34aa49/src/DaPigGuy/PiggyCrates/crates/Crate.php#L93-L101

SexyLush commented 4 years ago

Can I get an example of how you would write it out in the config?