Hey, Can someone hook me up with a Skript that doesn't let people drop their pickaxe but gives them a message tell them to do a command /droppick I have a prison server and get a lot of complaints that people are dropping their pickaxes and losing them. Thanks! TrifleTower
You could do this with worldguard I think... look at the wiki and see if there is an "on drop:" event.
Code (Text): on drop of pickaxe: {droppick::%uuid of player%} is true: delete {droppick::%uuid of player%} stop cancel the event message "/droppick" command droppick: trigger: if player's tool is not a pickaxe: message "You must hold the pickaxe" stop set {droppick::%uuid of player%} to true make player drop 1 of held item from his inventory Requires TuSKe addon. Or you can use this without addons Code (Text): on drop of pickaxe: {droppick::%uuid of player%} is true: delete {droppick::%uuid of player%} stop cancel the event message "/droppick" command droppick: trigger: if player's tool is not a pickaxe: message "You must hold the pickaxe" stop set {droppick::%uuid of player%} to true drop player's tool I have not tested either one.