Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #---------------------BANS----------------------
- command /tempban [<offline player>] [<string>] [<timespan>]:
- permission: tb.use
- permission message: No Permission
- trigger:
- if arg 1 or arg 2 or arg 3 is not set:
- send "&aUsage: /tempban (player) (reason) (time - eg. 30 days, 2 weeks)"
- stop
- if {Banned::%uuid of arg 1%} is true:
- send "&a&l%arg 1% &ais already banned"
- stop
- set {Banned::%uuid of arg 1%} to true
- kick arg 1 because "&cYou have been banned%nl%&aStaff Member: &a&l%executor%%nl%&aTime: &a&l%arg 3%%nl%&aReason: &a&l%arg 2%%nl%%nl%&eIf your ban is permanent, appeal at: 14instapvp.namelesshosting.com"
- ban arg 1 because "&cYou have been banned%nl%&aStaff Member: &a&l%executor%%nl%&aTime: &a&l%arg 3%%nl%&aReason: &a&l%arg 2%%nl%%nl%&eIf your ban is permanent, appeal at: 14instapvp.namelesshosting.com"
- add arg 2 to {bans::%uuid of arg 1%::*}
- broadcast "&a&l%arg 1% &ahas been &a<emp-banned &aby &a&l%executor% &afor &a&l%arg 3%"
- wait arg 3
- unban arg 1
- command /stempban [<offline player>] [<string>] [<timespan>]:
- permission: tb.use
- permission message: No Permission
- trigger:
- if arg 1 or arg 2 or arg 3 is not set:
- send "&aUsage: /stempban (player) (reason) (time - eg. 30 days, 2 weeks)"
- stop
- if {Banned::%uuid of arg 1%} is true:
- send "&a&l%arg 1% &ais already banned"
- stop
- set {Banned::%uuid of arg 1%} to true
- kick arg 1 because "&cYou have been banned%nl%&aStaff Member: &a&l%executor%%nl%&aTime: &a&l%arg 3%%nl%&aReason: &a&l%arg 2%%nl%%nl%&eIf your ban is permanent, appeal at: 14instapvp.namelesshosting.com"
- ban arg 1 because "&cYou have been banned%nl%&aStaff Member: &a&l%executor%%nl%&aTime: &a&l%arg 3%%nl%&aReason: &a&l%arg 2%%nl%%nl%&eIf your ban is permanent, appeal at: 14instapvp.namelesshosting.com"
- add arg 2 to {bans::%uuid of arg 1%::*}
- loop all players:
- if loop-player has permission "s.see":
- send "&7<Silent> &a&l%arg 1% &ahas been &a<emp-banned &aby &a&l%executor% &afor &a&l%arg 3%" to loop-player
- wait arg 3
- unban arg 1
- command /ban [<offline player>] [<string>]:
- permission: b.use
- permission message: No Permission
- trigger:
- if arg 1 or arg 2 is not set:
- send "&aUsage: /ban (player) (reason)"
- stop
- if {Banned::%uuid of arg 1%} is true:
- send "&a&l%arg 1% &ais already banned"
- stop
- set {Banned::%uuid of arg 1%} to true
- kick arg 1 because "&cYou have been banned%nl%&aStaff Member: &a&l%executor%%nl%&aTime: &a&lPermanent%nl%&aReason: &a&l%arg 2%%nl%%nl%&eIf your ban is permanent, appeal at: 14instapvp.namelesshosting.com"
- ban arg 1 because "&cYou have been banned%nl%&aStaff Member: &a&l%executor%%nl%&aTime: &a&lPermanent%nl%&aReason: &a&l%arg 2%%nl%%nl%&eIf your ban is permanent, appeal at: 14instapvp.namelesshosting.com"
- add arg 2 to {bans::%uuid of arg 1%::*}
- broadcast "&a&l%arg 1% &ahas been &a&lperm-banned &aby &a&l%executor%"
- command /sban [<offline player>] [<string>]:
- permission: b.use
- permission message: No Permission
- trigger:
- if arg 1 or arg 2 is not set:
- send "&aUsage: /sban (player) (reason)"
- stop
- if {Banned::%uuid of arg 1%} is true:
- send "&a&l%arg 1% &ais already banned"
- stop
- set {Banned::%uuid of arg 1%} to true
- kick arg 1 because "&cYou have been banned%nl%&aStaff Member: &a&l%executor%%nl%&aTime: &a&lPermanent%nl%&aReason: &a&l%arg 2%%nl%%nl%&eIf your ban is permanent, appeal at: 14instapvp.namelesshosting.com"
- ban arg 1 because "&cYou have been banned%nl%&aStaff Member: &a&l%executor%%nl%&aTime: &a&lPermanent%nl%&aReason: &a&l%arg 2%%nl%%nl%&eIf your ban is permanent, appeal at: 14instapvp.namelesshosting.com"
- add arg 2 to {bans::%uuid of arg 1%::*}
- loop all players:
- if loop-player has permission "s.see":
- send "&7<Silent> &a&l%arg 1% &ahas been &a&lperm-banned &aby &a&l%executor%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement