sekwah41 / Advanced-Portals

An advanced portals plugin for bukkit
GNU Lesser General Public License v3.0
154 stars 65 forks source link

[Suggestion] Item cost on portal use #434

Open FaultyFunctions opened 1 month ago

FaultyFunctions commented 1 month ago

It would be nice to have a cost associated with portal use. So if the player has that item in their inventory, it'll take that item when they use the portal, otherwise it won't allow them to use the portal.

sekwah41 commented 1 month ago

the new system plays nicely with making these quite easy to implement, ill add it to the enhancements list to work on once we have the new version out

TreemanKing commented 1 month ago

This should be really easy to add. Even adding a normal eco cost would be good too (probably won't work for forge/fabric).

FaultyFunctions commented 1 month ago

It would also be nice if the item could be specific with custom model data and a custom deny message if they don't have the item. Basically I would like to use ItemsAdder to make a custom Resource World Voucher item that would get used, and if they don't have it, then the message would tell them where to buy one. If at all possible, thank you!