Warp On Item Found

If the Player Inventory Data is there is someone able to make a plugin wich only enables a sign with a /warp command on it when a certain item is being found in the inventory? :slight_smile: it would be cool if someone is able to do something like that

1 Like

Sounds easy enough for someone to make.

But do you want the item to be consumed? or is the item more like a key for a dungeon that simply unlocks the area?

so lets say the user wants to get into a certain building

The item needed has to be placed by id/name :slight_smile:

For example: Dungeon > Sign on the gate off that dungeon > item needed to enter = Stone if ID Stone or 5 is found in inventory sign enables command example /warp Dungeon

also the host/owner off that server should be able to choose between ItemConsumed = 0 else ItemConsumed = 1

0 = false 1 = true

i’m also looking for something like this :slight_smile: it would be cool if someone was able to provide me with something like this <3

I don’t think it will happen until the inventory API is finished from what I understand.

Nm! Just read that inventory API is for the most part done! I, then, am also excited to see this become a thing!

well i have found this

https://jd.spongepowered.org/4.1.0/org/spongepowered/api/item/inventory/Inventory.html

also i have been reading trough certain topics wich also where produced to do stuff like i was looking for (i mean the inventory api part) and they did manipulate it so it dosn’t need the inventory api also i have seen a topic where a sponge admin said that the api was released so idk :confused:

I have also read that the API is finished now so it should be possible.

The work around that was done wasn’t preferred at all and wouldn’t have worked for this idea from my understanding.

BUT. We have the API now so… this should be possible… I would love to see this happen to… esp if it uses nbt data so it would only warp you if it had a certain lore and name… a bit more security that way. Would also be nice for it to optionally remove the item from inventory or store it in a chest or something.

well :smiley: i just need it for dungeons or certain warp zones wich can only be entered after achieving a certain item from a quest or so :slight_smile: and ye the function Keep item/Take item would be nice so that we can choose either the user “gives” that specific item or keeps that specific item when right clicking that sign :smiley: