Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /commandspy:
- aliases: /commands, /cspy
- permission: commandspy.use
- permission message: &e&l(!) You cannot use this command!
- trigger:
- if {cs::%uuid of player%} is set:
- clear {cs::%uuid of player%}
- send "&c&l(!) Command spy has been disabled."
- send "&c&l(!) Your command spy has been disabled."
- else:
- set {cs::%uuid of player%} to true
- send "&a&l(!) Your command spy has been enabled."
- send "&a&l(!) Command spy has been enabled."
- on command:
- if sender is a player:
- loop all players:
- if {cs::%uuid of loop-player%} is set:
- if "%player%" is not "%loop-player%":
- send "&2&l(Commandspy) &b&l%player% &cexecuted the command &n/%complete command%&c&l." to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement