Added features in 1.1-a The ability to toggle item dropping for players that have a specific permission[ Requested by lelesape ]
Added commands in 1.1-a - /sc toggleid Toggle item dropping for players that have a specific permission
Added permissions in 1.1-a strictcreative.toggleable.itemdrop If item drop toggle is on and a player has this permission but doesn't have ( strictcreative.itemdrop.bypass ) they can still drop items in creative until it's toggled off
strictcreative.toggleable.itemdrop.toggle This permission allow you to use /sc toggleid to toggle item drops for players in creative mode if they have the permission ( strictcreative.toggleable.itemdrop ) and they don't have ( strictcreative.itemdrop.bypass )
If you want to enable, disable or customize the toggle messages you need to delete your old config.yml and use /reload or /sc reloadafter updating the plugin to 1.1-a or you could add these lines to your existing config.yml:
Code (YAML):
# Configuring item drop toggle messages [ -
# If this is true then the message defined in toggled-message will be sent to the player that toggled # the item dropping. send-toggled-message: true
# You can use & color codes in this message. # You can use <%toggle> to define if item drop toggle is on or off toggled-message: "&6| &f! &6| &fItem dropping has been turned <%toggle> for players that have the &6strictcreative.toggleable.itemdrop &fpermission &6!"
# If this is true then the messages defined in toggled-on-message and toggled-off-message will be sent # to the players that have the permission ( strictcreative.toggleable.itemdrop ) whenever item dropping # is toggled on and off. send-toggled-message-to-players: true
# You can use & color codes in this message. toggled-on-message: "&6| &f! &6| &fYou can now temporarily drop items in creative mode &6!"
# You can use & color codes in this message. toggled-off-message: "&6| &c! &6| &fYou can no longer drop items in creative mode &6!"