on chat:
loop all players:
message contains "%loop-player%"
play sound "sound" to loop-player
replace all "%loop-player%" in message with "&3*%loop-player%&7"
untested and made late at night
If the server doesn't see any activity within 5 minutes (I think, correct me if I'm wrong), then the server automatically hibernates. There is only one way to prevent this, and that is to buy the most expensive server plan, MH Unlimited.
command hat:
permission: permission
trigger:
set {_blacklisted::*} to barrier
if {_blacklisted::*} contains type of player's tool:
send "&cYou cannot use that item!"
stop
give player helmet slot of player #giving them the item again
set helmet slot of player to 1 of tool #setting helmet
remove 1 of tool from player #balancing the hat, as to not duplicate items
Literally what Blu posted, but with 1 extra line.