Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on command /ban [<player>] [<text>]:
- arg 1 is set
- set {uuidban::%arg 1's uuid%} to true
- if arg 2 is set:
- set {uuidbanreason::%arg 1's uuid%} to arg 2
- else:
- set {uuidbanreason::%arg 1's uuid%} to "no reason"
- set {uuidbaner::%arg 1's uuid%} to "%player%"
- on command /pardon [<player>]:
- arg 1 is set
- set {uuidban::%arg 1's uuid%} to false
- on connect:
- {uuidban::%player's uuid%} is true
- kick the player due to "&cYou were banned from this server%newline%&cReason:%{uuidbanreason::%player's uuid%}%%newline%Banned By:%{uuidbaner::%player's uuid%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement