Give item only once per player on region-enter
jg2002-j opened this issue ยท 4 comments
Hi, I'm trying to set up this plugin for a server and need to use region enter as the way to get new items. However, I want it to be an exclusive item unlocked when players discover the area - so ideally it should only drop once per player (irrelevant of lifetimes, or inventory content).
I've noticed the item won't drop if I already have it in my inventory, but if I store it in a chest or throw it on the ground before entering the region I can duplicate it as many times as I need.
So yeah, if there is a way to only obtain the item once per player - I'd be grateful for any help! Ty :))
Nvm im dumb i just found the IP item lock thingy sorry and thank u awesome plugin!!
It doesn't seem to work though SORRYAGAIN aaa
In Itemflags I enabled IP Limit but I can walk through the region multiple times and get multiple copies of the item. I de-oped and encountered the same issue.
Okay so after some testing I think I misunderstood your issue.
You don't want to limit the item to a specific IP for each player, you want to make the item only be given ONCE per player.
The itemflag you were looking for is FIRST-JOIN
or FIRST-WORLD
if you want per world.
Try that and let me know!~
Also, I sincerely apologize for the late reply, I ended up getting extremely sick so I am working to get back into the swing of things.
EDIT: Closing due to inactivity, a new official release of ItemJoin has just been approved.
You can now download it here; https://www.spigotmc.org/resources/itemjoin.12661/download?version=451699