Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /commandspy:
- description: Toggles commandspy, made by graph_paper1 #had to add that lmao
- usage: /commandspy
- permission: westmine.cmdspy
- permission message: &4You don't have permission to use this command
- executable by: players and console
- trigger:
- if {commandspy::%player%} is not set:
- set {commandspy::%player%} to true
- message "&bCOMMAND SPY >> Command Spy enabled" to command sender
- else:
- delete {commandspy::%player%}
- message "&bCOMMAND SPY >> Command Spy disabled" to command sender
- on command:
- player is online
- loop all players:
- {commandspy::%loop-player%} is true
- if player is op:
- message "&bCOMMAND SPY >> &4%player%&f: &b/%full command%" to loop-player
- else:
- message "&bCOMMAND SPY >> &7%player%&f: &b/%full command%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement