Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- set {uuid::%player%} to uuid of player
- command /ban [<offline player>] [<text>]:
- permission: perm.ban
- permission message: &cDu har ikke adgang til dette.
- trigger:
- if arg-1 is not set:
- send "&r"
- send "&bDu skal skrive &3/ban <spiller> <grund>"
- send "&3Grunde&8:"
- send "&8- &bHack"
- send "&r"
- if arg-1 is set:
- if arg-2 is not set:
- send "&r"
- send "&bDu skal skrive &3/ban <spiller> <grund>"
- send "&3Grunde&8:"
- send "&8- &bHack"
- send "&r"
- if arg-2 is set:
- if arg-2 is "hack":
- if {bans.%{uuid::%arg-1%}%} is true:
- send "&r"
- send "&bDu kan ikke banne en person, der er bannet."
- send "&r"
- stop
- if {bans.hack.%{uuid::%arg-1%}%} is not set:
- set {bans.hack.%{uuid::%arg-1%}%} to 1
- execute console command "manuaddp %player% litebans.*"
- execute player command "banip %arg-1% 7d Hack - %arg-1%"
- execute console command "manudelp %player% litebans.*"
- set {bans.%{uuid::%arg-1%}%} to true
- wait 30 seconds
- delete {bans.%{uuid::%arg-1%}%}
- stop
- if {bans.hack.%{uuid::%arg-1%}%} is 1:
- set {bans.hack.%{uuid::%arg-1%}%} to 2
- execute console command "manuaddp %player% litebans.*"
- execute player command "banip %arg-1% 14d Hack - %arg-1%"
- execute console command "manudelp %player% litebans.*"
- set {bans.%{uuid::%arg-1%}%} to true
- wait 30 seconds
- delete {bans.%{uuid::%arg-1%}%}
- stop
- if {bans.hack.%{uuid::%arg-1%}%} is 2:
- set {bans.hack.%{uuid::%arg-1%}%} to 3
- execute console command "manuaddp %player% litebans.*"
- execute player command "banip %arg-1% 1month Hack - %arg-1%"
- execute console command "manudelp %player% litebans.*"
- set {bans.%{uuid::%arg-1%}%} to true
- wait 30 seconds
- delete {bans.%{uuid::%arg-1%}%}
- stop
- if {bans.hack.%{uuid::%arg-1%}%} is 3:
- delete {bans.hack.%{uuid::%arg-1%}%}
- execute console command "manuaddp %player% litebans.*"
- execute player command "banip %arg-1% Hack - %arg-1%"
- execute console command "manudelp %player% litebans.*"
- set {bans.%{uuid::%arg-1%}%} to true
- wait 30 seconds
- delete {bans.%{uuid::%arg-1%}%}
- command /resetbans [<offline player>] [<text>]:
- trigger:
- if player has permission "*":
- if arg-2 is set:
- if arg-2 is "hack":
- delete {bans.hack.%{uuid::%arg-1%}%}
- delete {bans.%{uuid::%arg-1%}%}
- send "&bDu resatte &3%arg-1%&3's &bHACK bans."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement