ItemJoin

ItemJoin

157k Downloads

[Request] Enter WorldGuard region event or a command to give whole world's items or an API?

Shivelight opened this issue ยท 6 comments

commented

Since I'm not using per world inventory plugin, I need to give player their "ItemJoin" when they enter specific region, and remove it when they leave the region. Or you can give us a command like /ij gets to give player their join item. Thank you :D

commented

Hmmm interesting I can look into adding this in v4.0.

Also, you can get and remove items using ItemJoins commands. Its already been added, use /itemjoin get and /itemjoin remove. You can see it in /itemjoin help.

commented

I mean a command for every item listed in this "world". Something like /itemjoin gets [world] [player] (notice the 's'). Then I can do 'command-on-entry" flag on my region.

commented

Ill look into adding a worldguard region api, so you could put under the new triggers (join, respawn, world-changed) ill add world-guard regions to it.

commented

I have now made it as, right besides enabled-worlds you can now set worldguard to true and list the enabled-regions per item so when you enter them you get those items and when you leave them all itemjoin items are removed but regular items will remain. The code is finished will be added in v4.0.

If you really want to, when I start releasing snapshots of 4.0 you could try it out and see if you like how it is done & implemented or not.

commented

Can't wait for the snapshot ๐Ÿ‘

commented

v4.0 has been released with this feature added!

You can click here to download; https://www.spigotmc.org/resources/itemjoin.12661/download?version=168950