Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- {isMuted::%uuid of player%} = false
- {isMuted::%uuid of player%} = false
- command /history [<string>] [<offline player>]:
- permission: h.use
- permission message: No Permission
- trigger:
- arg 1 or arg 2 is not set:
- send "&7Usage: &e/history [mute/ban/kick/reset] (player)"
- stop
- arg 1 is "mute":
- send "&7History:"
- loop {history::mutes::%uuid of arg 2%::*}:
- send "&e%loop-value%"
- arg 1 is "ban":
- send "&7History:"
- loop {history::bans::%uuid of arg 2%::*}:
- send "&e%loop-value%"
- arg 1 is "kick":
- send "&7History:"
- loop {history::kicks::%uuid of arg 2%::*}:
- send "&e%loop-value%"
- arg 1 is "reset-m":
- size of {history::mutes::%uuid of arg 2%::*} is 0:
- send "&e%arg 2% &7has no mute history"
- stop
- delete {history::mutes::%uuid of arg 2%::*}
- set {isMuted::%uuid of arg 2%} to false
- send "&7Mute history for &e%arg 2% &7has been cleared"
- arg 1 is "reset-b":
- size of {history::bans::%uuid of arg 2%::*} is 0:
- send "&e%arg 2% &7has no ban history"
- stop
- delete {history::bans::%uuid of arg 2%::*}
- set {isBanned::%uuid of arg 2%} to false
- send "&7Ban history for &e%arg 2% &7has been cleared"
- arg 1 is "reset-k":
- size of {history::kicks::%uuid of arg 2%::*} is 0:
- send "&e%arg 2% &7has no kick history"
- stop
- delete {history::kicks::%uuid of arg 2%::*}
- send "&7Mute history for &e%arg 2% &7has been cleared"
- command /tempban [<offline player>] [<string>] [<timespan>]:
- permission: tb.use
- permission message: No Permission
- trigger:
- arg 1 or arg 2 or arg 3 is not set:
- send "&7Usage: &e/tempban (player) (reason) (duration eg. 4 seconds, 30 days etc)"
- stop
- {isBanned::%uuid of arg 1%} is true:
- send "&e%arg 1% &7is already banned"
- stop
- kick arg 1 because "&7You have been &etempbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: &e%arg 2% %nl%&7Duration: &e%arg 3% %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: %nl%&e14instapvp.namelesshosting.com"
- ban arg 1 because "&7You have been &etempbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: &e%arg 2% %nl%&7Duration: &e%arg 3% %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: %nl%&e14instapvp.namelesshosting.com"
- broadcast "&e%executor% &abanned &e%arg 1% &7for: &e%arg 2% &a&l[&a%arg 3%&a&l]"
- set {isBanned::%uuid of arg 1%} to true
- add arg 2 to {history::bans::%uuid of arg 1%::*}
- wait arg 3
- unban arg 1
- set {isBanned::%uuid of arg 1%} to false
- command /stempban [<offline player>] [<string>] [<timespan>]:
- permission: tb.use
- permission message: No Permission
- trigger:
- arg 1 or arg 2 or arg 3 is not set:
- send "&7Usage: &e/stempban (player) (reason) (duration eg. 4 seconds, 30 days etc)"
- stop
- {isBanned::%uuid of arg 1%} is true:
- send "&e%arg 1% &7is already banned"
- stop
- kick arg 1 because "&7You have been &etempbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: &e%arg 2% %nl%&7Duration: &e%arg 3% %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: %nl%&e14instapvp.namelesshosting.com"
- ban arg 1 because "&7You have been &etempbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: &e%arg 2% %nl%&7Duration: &e%arg 3% %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: %nl%&e14instapvp.namelesshosting.com"
- loop all players:
- loop-player has permission "tb.see":
- send "&7[SILENT] &e%executor% &abanned &e%arg 1% &7for: &e%arg 2% &a&l[&a%arg 3%&a&l]" to loop-player
- set {isBanned::%uuid of arg 1%} to true
- add arg 2 to {history::bans::%uuid of arg 1%::*}
- wait arg 3
- unban arg 1
- set {isBanned::%uuid of arg 1%} to false
- command /ban [<offline player>] [<string>]:
- permission: b.use
- permission message: No Permission
- trigger:
- arg 1 or arg 2 is not set:
- send "&7Usage: &e/ban (player) (reason)"
- stop
- {isBanned::%uuid of arg 1%} is true:
- send "&e%arg 1% &7is already banned"
- stop
- kick arg 1 because "&7You have been &epermbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: &e%arg 2% %nl%&7Duration: &ePermanent %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: %nl%&e14instapvp.namelesshosting.com"
- ban arg 1 because "&7You have been &epermbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: &e%arg 2% %nl%&7Duration: &ePermanent %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: %nl%&e14instapvp.namelesshosting.com"
- broadcast "&e%executor% &abanned &e%arg 1% &7for: &e%arg 2% &a&l[&aPermanent&a&l]"
- set {isBanned::%uuid of arg 1%} to true
- add arg 2 to {history::bans::%uuid of arg 1%::*}
- command /sban [<offline player>] [<string>]:
- permission: b.use
- permission message: No Permission
- trigger:
- arg 1 or arg 2 is not set:
- send "&7Usage: &e/sban (player) (reason)"
- stop
- {isBanned::%uuid of arg 1%} is true:
- send "&e%arg 1% &7is already banned"
- stop
- kick arg 1 because "&7You have been &epermbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: %nl%&e%arg 2% %nl%&7Duration: &ePermanent %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: &e14instapvp.namelesshosting.com"
- ban arg 1 because "&7You have been &epermbanned &7from 14InstaPvP! %nl%&7Banned By: &e%executor% %nl%&7Reason: &e%arg 2% %nl%&7Duration: &ePermanent %nl%&aIf your ban was &cpermanent, &athen feel free to appeal: %nl%&e14instapvp.namelesshosting.com"
- loop all players:
- loop-player has permission "b.see":
- send "&7[SILENT] &e%executor% &abanned &e%arg 1% &7for: &e%arg 2% &a&l[&aPermanent&a&l]" to loop-player
- set {isBanned::%uuid of arg 1%} to true
- add arg 2 to {history::bans::%uuid of arg 1%::*}
- command /kick [<player>] [<string>]:
- permission: k.use
- permission message: No Permission
- trigger:
- arg 1 or arg 2 is not set:
- send "&7Usage: &e/kick (player) (reason)"
- stop
- kick arg 1 because "&7You have been &ekicked &7from 14InstaPvP! %nl%&7Kicked By: &e%executor% %nl%&7Reason: &e%arg 2%"
- broadcast "&e%executor% &akicked &e%arg 1% &7for: &e%arg 2%"
- add arg 2 to {history::kicks::%uuid of arg 1%::*}
- command /skick [<player>] [<string>]:
- permission: k.use
- permission message: No Permission
- trigger:
- arg 1 or arg 2 is not set:
- send "&7Usage: &e/skick (player) (reason)"
- stop
- arg 1 is offline:
- send "&e%arg 1% &7is offline"
- stop
- kick arg 1 because "&7You have been &ekicked &7from 14InstaPvP! %nl%&7Kicked By: &e%executor% %nl%&7Reason: &e%arg 2%"
- loop all players:
- loop-player has permission "k.see":
- send "&7[SILENT] &e%executor% &akicked &e%arg 1% &7for: &e%arg 2%" to loop-player
- add arg 2 to {history::kicks::%uuid of arg 1%::*}
- command /unban [<offline player>]:
- permission: ub.use
- permission message: No Permission
- trigger:
- arg 1 is not set:
- send "&7Usage: &e/unban (player)"
- stop
- {isBanned::%uuid of arg 1%} is false:
- send "&e%arg 1% &7is not banned"
- stop
- set {isBanned::%uuid of arg 1%} to false
- unban arg 1
- broadcast "&e%executor% &aunbanned &e%arg 1%"
- command /sunban [<offline player>]:
- permission: ub.use
- permission message: No Permission
- trigger:
- arg 1 is not set:
- send "&7Usage: &e/sunban (player)"
- stop
- {isBanned::%uuid of arg 1%} is false:
- send "&e%arg 1% &7is not banned"
- stop
- set {isBanned::%uuid of arg 1%} to false
- unban arg 1
- loop all players:
- loop-player has permission "ub.see":
- send "&7[SILENT] &e%executor% &aunbanned &e%arg 1%" to loop-player
- command /tempmute [<offline player>] [<string>] [<timespan>]:
- permission: tm.use
- permission message: No Permission
- trigger:
- arg 1 or arg 2 or arg 3 is not set:
- send "&7Usage: &e/tempmute (player) (reason) (duration eg. 4 seconds, 30 days etc)"
- stop
- {isMuted::%uuid of arg 1%} is true:
- send "&e%arg 1% &7is already muted"
- stop
- broadcast "&e%executor% &amuted &e%arg 1% &7for: &e%arg 2% &a&l[&a%arg 3%&a&l]"
- set {isMuted::%uuid of arg 1%} to true
- add arg 2 to {history::mutes::%uuid of arg 1%::*}
- wait arg 3
- set {isMuted::%uuid of arg 1%} to false
- command /stempmute [<offline player>] [<string>] [<timespan>]:
- permission: tm.use
- permission message: No Permission
- trigger:
- arg 1 or arg 2 or arg 3 is not set:
- send "&7Usage: &e/stempmute (player) (reason) (duration eg. 4 seconds, 30 days etc)"
- stop
- {isMuted::%uuid of arg 1%} is true:
- send "&e%arg 1% &7is already muted"
- stop
- loop all players:
- loop-player has permission "tm.see":
- send "&7[SILENT] &e%executor% &amuted &e%arg 1% &7for: &e%arg 2% &a&l[&a%arg 3%&a&l]" to loop-player
- set {isMuted::%uuid of arg 1%} to true
- add arg 2 to {history::mutes::%uuid of arg 1%::*}
- wait arg 3
- set {isMuted::%uuid of arg 1%} to false
- on chat:
- {isMuted::%uuid of player%} is true:
- cancel event
- send "&7You cannot talk because &eyou are muted"
- command /unmute [<offline player>]:
- permission: um.use
- permission message: No Permission
- trigger:
- arg 1 is not set:
- send "&7Usage: &e/unmute (player)"
- stop
- {isMuted::%uuid of arg 1%} is false:
- send "&e%arg 1% &7is not muted"
- stop
- set {isMuted::%uuid of arg 1%} to false
- broadcast "&e%executor% &aunmuted &e%arg 1%"
- command /sunmute [<offline player>]:
- permission: um.use
- permission message: No Permission
- trigger:
- arg 1 is not set:
- send "&7Usage: &e/sunmute (player)"
- stop
- {isMuted::%uuid of arg 1%} is false:
- send "&e%arg 1% &7is not muted"
- stop
- set {isMuted::%uuid of arg 1%} to false
- loop all players:
- loop-player has permission "um.see":
- send "&7[SILENT] &e%executor% &aunmuted &e%arg 1%" to loop-player
- command /mute [<offline player>] [<string>]:
- permission: m.use
- permission message: No Permission
- trigger:
- arg 1 or arg 2 is not set:
- send "&7Usage: &e/mute (player) (reason)"
- stop
- {isMuted::%uuid of arg 1%} is true:
- send "&e%arg 1% &7is already muted"
- stop
- broadcast "&e%executor% &amuted &e%arg 1% &7for: &e%arg 2% &a&l[&aPermanent&a&l]"
- set {isMuted::%uuid of arg 1%} to true
- add arg 2 to {history::mutes::%uuid of arg 1%::*}
- command /smute [<offline player>] [<string>]:
- permission: m.use
- permission message: No Permission
- trigger:
- arg 1 or arg 2 is not set:
- send "&7Usage: &e/smute (player) (reason)"
- stop
- {isMuted::%uuid of arg 1%} is true:
- send "&e%arg 1% &7is already muted"
- stop
- loop all players:
- loop-player has permission "m.see":
- send "&7[SILENT] &e%executor% &amuted &e%arg 1% &7for: &e%arg 2% &a&l[&aPermanent&a&l]" to loop-player
- set {isMuted::%uuid of arg 1%} to true
- add arg 2 to {history::mutes::%uuid of arg 1%::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement