RockinChaos / ItemJoin

Get custom items on join.
https://www.craftationgaming.com/
GNU Lesser General Public License v3.0
138 stars 36 forks source link

Preventing from Attaching to /Hat (EssentialsX) #509

Closed TheWylot closed 1 year ago

TheWylot commented 1 year ago

Thanks for taking the time to open a feature request!

Is your feature request related to a problem? Please describe. Its be good to add a flag for preventing an item to be attached with /hat on players hat (EssentialsX)

Describe the solution you'd like add a flag to block it

iSeitan commented 1 year ago

Add the same setup with the /ah from CMI too please :) Same issue

RockinChaos commented 1 year ago

This feature has been added in the latest snapshot and has been tested as fully functional. Simply specify the itemflag not-hat and the /hat command will be blocked for items with that specified itemflag. In addition, a message will be sent indicating the action was prevented if the message is defined in the lang.yml file via commands.item.badCommand (will need to be manually added for older lang.yml files).

Link; https://ci.craftationgaming.com/job/ItemJoin/872/ Remember to remove your old ItemJoin.jar file

Let me know!~