Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SimplePunish by Hyperbyte
- #Version 1.3
- on first join:
- set {mute.%player%} to false
- on chat:
- if {mute.%player%} is true:
- message "&cYou cannot speak when you are muted!"
- cancel event
- command /simplepunish [<text>]:
- permission: simplepunish.command
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.command
- usage: &7/simplepunish <subcommand>
- aliases: /sp, /spunish, /simplep
- trigger:
- if arg-1 is not set:
- message "&8&l[&b&lSimplePunish&8&l] &cSimplePunish 1.3 by Hyperbyte"
- message "&8&l[&b&lSimplePunish&8&l] &c/spreload - Quickly reload - simplepunish.reload"
- message "&8&l[&b&lSimplePunish&8&l] &c/ban <player> <reason> - Ban a player - simplepunish.ban"
- message "&8&l[&b&lSimplePunish&8&l] &c/unban <player> - Unban a player - simplepunish.unban"
- message "&8&l[&b&lSimplePunish&8&l] &c/mute <player> - Mute a player - simplepunish.mute"
- message "&8&l[&b&lSimplePunish&8&l] &c/unmute <player> - Unmute a player - simplepunish.unmute"
- message "&8&l[&b&lSimplePunish&8&l] &c/checkmute <player> - Check if a player is muted - simplepunish.checkmute"
- message "&8&l[&b&lSimplePunish&8&l] &c/checkban <player> - Check if a player is banned - simplepunish.checkban"
- message "&8&l[&b&lSimplePunish&8&l] &c/warn <player> [reason] - Warn a player - simplepunish.warn"
- message "&8&l[&b&lSimplePunish&8&l] &c/screenshare <player> - Share screens with the player - simplepunish.screenshare"
- message "&8&l[&b&lSimplePunish&8&l] &c/freeze <player> - Freeze the player - simplepunish.freeze"
- message "&8&l[&b&lSimplePunish&8&l] &c/unfreeze <player> - Unfreeze the player - simplepunish.unfreeze"
- command /spreload:
- permission: simplepunish.reload
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.reload
- usage: &7/spreload
- aliases: /spr
- trigger:
- message "&8&l[&b&lSimplePunish&8&l] &cReloading SimplePunish Config..."
- execute console command "/sk reload simplepunish"
- message "&8&l[&b&lSimplePunish&8&l] &cSimplePunish config reloaded."
- command /ban [<offline player>] [<text>]:
- permission: simplepunish.ban
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.ban
- usage: &7/ban [Player] [Reason]
- aliases: /ba, /b
- trigger:
- if arg-1 is not set:
- message "&7/ban [Player] [Reason]"
- if arg-1 is set:
- if arg-2 is set:
- ban "%arg-1%" because "%arg-2%"
- kick arg-1
- set {ban.%arg-1%} to true
- message "&cPlayer &2&l%arg-1%&c has been banned for &c%arg-2%."
- if arg-2 is not set:
- ban "arg-1"
- kick arg-1
- message "&cPlayer &2&l%arg-1%&c was banned but no reason was provided."
- command /banip [<offline player>] [<text>]:
- permission: simplepunish.banip
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.banip
- usage: &7/banip [Player] [Reason]
- aliases: /ipban, /bi
- trigger:
- if arg-1 is not set:
- message "&7/banip [Player] [Reason]"
- if arg-1 is set:
- if arg-2 is set:
- IP-ban arg-1 because "%arg-2%"
- kick arg-1
- set {ban.%arg-1%} to true
- message "&cPlayer &2&l%arg-1%&c has been ip-banned for &c%arg-2%."
- if arg-2 is not set:
- IP-ban arg-1 because "Banned!"
- kick arg-1
- message "&cPlayer &2&l%arg-1%&c was ip-banned but no reason was provided."
- command /unban [<offline player>]:
- permission: simplepunish.unban
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.unban
- usage: &7/unban [Player]
- aliases: /ub
- trigger:
- if arg-1 is not set:
- message "&7/unban [Player]"
- if arg-1 is set:
- unban arg-1
- set {ban.%arg-1%} to false
- message "&cYou have unbanned &2&l%arg-1%&c."
- command /unmute [<offline player>]:
- permission: simplepunish.unmute
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.unmute
- usage: &7/unmute [Player]
- trigger:
- if arg-1 is not set:
- message "&7/unmute [Player]"
- if arg-1 is set:
- set {mute.%arg-1%} to false
- message "&cYou have unmuted &2&l%arg-1%&c."
- command /mute [<offline player>]:
- permission: simplepunish.mute
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.mute
- usage: &7/mute [Player]
- trigger:
- if arg-1 is not set:
- message "&7/mute [Player]"
- if arg-1 is set:
- set {mute.%arg-1%} to true
- message "&cYou have muted &2&l%arg-1%&c."
- command /checkmute [<offline player>]:
- permission: simplepunish.checkmute
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.checkmute
- usage: &7/checkmute [Player]
- aliases: /cm
- trigger:
- if arg-1 is not set:
- message "&7/checkmute [Player]"
- if arg-1 is set:
- if {mute.%arg-1%} is true:
- message "&2&l%arg-1%&c is &c&ncurrently muted&c."
- if {mute.%arg-1%} is false:
- message "&2&l%arg-1%&c is &a&nnot muted&c."
- command /checkban [<offline player>]:
- permission: simplepunish.checkban
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.checkban
- usage: &7/checkban [Player]
- aliases: /cb
- trigger:
- if arg-1 is not set:
- message "&7/checkban [Player]"
- if arg-1 is set:
- if {ban.%arg-1%} is true:
- message "&2&l%arg-1%&c is &c&ncurrently banned&c."
- if {ban.%arg-1%} is false:
- message "&2&l%arg-1%&c is &a&nnot banned&c."
- command /warn [<offline player>] [<text>]:
- permission: simplepunish.warn
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.warn
- usage: &7/warn [Player] [Reason]
- trigger:
- if arg-1 is not set:
- message "&7/warn [Player] [Reason]"
- if arg-1 is set:
- if arg-2 is set:
- send "&aYou have been &cwarned&a for &2%arg-2%." to arg-1
- if arg-2 is not set:
- send "&aYou have been &cwarned&a by a staff member." to arg-1
- command /kick [<offline player>]:
- permission: simplepunish.kick
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.kick
- usage: /kick [Player]
- trigger:
- if arg-1 is not set:
- message "&7/kick [Player]"
- if arg-1 is set:
- kick arg-1
- message "&2&l%arg-1%&c has been kicked."
- command /screenshare [<offline player>]:
- permission: simplepunish.screenshare
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.screenshare
- aliases: /ss
- usage: /screenshare [Player]
- trigger:
- if arg-1 is not set:
- send "&7/screenshare [Player]"
- if arg-1 is set:
- add 1 to {ss.%arg 1%}
- if {ss.%arg 1%} is 1:
- set {loc.%arg 1%} to location of arg 1
- set {ss.%arg 1%} to true
- send "&cYou are currently sharing screens with &2&l%arg 1%&c. Use /ss &2&l%arg-1%&c to stop checking &2&l%arg-1%&c." to player
- else:
- delete {loc.%arg 1%}
- set {ss.%arg 1%} to false
- delete {ss.%arg 1%}
- send "&cYou have ended the screenshare session with &2&l%arg-1%&c!" to player
- every tick:
- loop all players:
- if {ss.%loop-player%} is true:
- teleport loop-player to {loc.%loop-player%}
- command /freeze [<offline player>]:
- permission: simplepunish.freeze
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.freeze
- aliases: /frz
- usage: /freeze [Player]
- trigger:
- if arg-1 is not set:
- message "&7/freeze [Player]"
- if arg-1 is set:
- message "&2&l%arg-1% &chas been frozen. Use /unfreeze [Player] to unfreeze them."
- send "&cYou have been &c&nfrozen&c." to arg-1
- set arg-1's walk speed to 0
- apply weakness 255 to arg-1 for 9999 hours
- apply resistance 255 to arg-1 for 9999 hours
- apply jump boost 255 to arg-1 for 9999 hours
- command /unfreeze [<player>]:
- permission: simplepunish.unfreeze
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.unfreeze
- aliases: /ufrz
- usage: /unfreeze [Player]
- trigger:
- if arg-1 is not set:
- message "&7/unfreeze [Player]"
- if arg-1 is set:
- message "&2&l%arg-1%&c has been unfrozen. If you need to freeze them again, use /freeze [Player]."
- send "&c&lYou have been &a&nunfrozen&c." to arg-1
- set arg-1's walk speed to 0.2
- remove weakness from arg-1
- remove resistance from arg-1
- command /punish [<offline player>] [<text>]:
- permission: simplepunish.menu
- permission message: &cYou do not have access to execute this command! Permission required: simplepunish.menu
- trigger:
- if arg-1 is not set:
- send "&8&l[&b&lSimplePunish&8&l] &6/punish &7<player>"
- if arg-1 is set:
- open chest with 6 rows named "&6Punishing %arg-1%" to player
- wait 1 tick
- format slot 9 of player with book named "&cHacked Client" with lore "&7Punishment Type: &cBan||&7Ban Duration: &cPermanent" to close then run [make player execute command "ban %arg-1%"]
- format slot 10 of player with book named "&cHacked Client [ScreenShared]" with lore "&7Punishment Type: &cBan||&7Ban Duration: &cPermanent" to close then run [make player execute command "ban %arg-1% Hacked Client [ScreenShared"]
- format slot 11 of player with book named "&cHacked Client [Admitted]" with lore "&7Punishment Type: &cBan||&7Ban Duration: &cPermanent" to close then run [make player execute command "ban %arg-1% Hacked Client [Admitted]"]
- format slot 12 of player with book named "&cBan Evasion" with lore "&7Punishment Type: &cBan||&7Ban Duration: &cPermanent" to close then run [make player execute command "ban %arg-1% Ban Evasion"]
- format slot 13 of player with book named "&cBan Evasion [IP Ban]" with lore "&7Punishment Type: &cIPBan||&7Ban Duration: &cPermanent" to close then run [make player execute command "banip %arg-1% Ban Evasion [IP Ban]"]
- format slot 14 of player with book named "&cRefusal to ScreenShare" with lore "&7Punishment Type: &cBan||&7Ban Duration: &cPermanent" to close then run [make player execute command "ban %arg-1% Refusal to ScreenShare"]
- format slot 15 of player with book named "&cDDoS Threats to Server" with lore "&7Punishment Type: &cBan||&7Ban Duration: &cPermanent" to close then run [make player execute command "ban %arg-1% DDoS Threats"]
- format slot 16 of player with book named "&cDDoS Threats to Players" with lore "&7Punishment Type: &cBan" to close then run [make player execute command "ban %arg-1% DDoS Threats to Players."]
- format slot 17 of player with book named "&cVault Abusing [Kit Mixing] [3rd Offense]" with lore "&7Punishment Type: &cBan||&7Ban Duration: &cPermanent" to close then run [make player execute command "ban %arg-1% Vault Abuse"]
- format slot 18 of player with book named "&cAdvertising" with lore "&7Punishment Type: &cBan||&7Ban Duration: &cPermanent" to close then run [make player execute command "ban %arg-1% Advertising"]
- format slot 20 of player with book named "&cAdvertising [YouTube]" with lore "&7Punishment Type: &cMute||&7Mute Duration: &cPermanent" to close then run [make player execute command "mute %arg-1% Advertising [YouTube]"]
- format slot 19 of player with book named "&cTeaming [3rd Offense]" with lore "&7Punishment Type: &cBan||&7Ban Duration: &cPermanent" to close then run [make player execute command "ban %arg-1% Teaming [3rd Offense]"]
- format slot 21 of player with book named "&cSuicide Encouragment" with lore "&7Punishment Type: &cMute||&7Mute Duration: &cPermanent" to close then run [make player execute command "mute %arg-1% Suicidal Encouragment"]
- format slot 22 of player with book named "&cSpamming" with lore "&7Punishment Type: &cMute||&7Mute Duration: &cPermanent" to close then run [make player execute command "mute %arg-1% Spamming"]
- format slot 23 of player with book named "&cToxcity" with lore "&7Punishment Type: &cMute||&7Mute Duration: &cPermanent" to close then run [make player execute command "mute %arg-1% Toxcity"]
- format slot 24 of player with book named "&cRacism" with lore "&7Punishment Type: &cMute||&7Mute Duration: &cPermanent" to close then run [make player execute command "mute %arg-1% Racism"]
- format slot 25 of player with book named "&cStaff Disrespect" with lore "&7Punishment Type: &cMute||&7Mute Duration: &cPermanent" to close then run [make player execute command "mute %arg-1% Staff Disrespect"]
- format slot 26 of player with book named "&cTeaming [2nd Offense]" with lore "&7Punishment Type: &cKick" to close then run [make player execute command "kick %arg-1%"]
- format slot 27 of player with book named "&cVault Abuse [Kit Mixing] [2nd Offense]" with lore "&7Punishment Type: &cKick" to close then run [make player execute command "kick %arg-1%"]
- format slot 28 of player with book named "&cCamping in Safe Room" with lore "&7Punishment Type: &cWarning" to close then run [make player execute command "warn %arg-1% Camping in Safe Rooms"]
- format slot 29 of player with book named "&cVault Abuse [Kit Mixing] [1st Offense]" with lore "&7Punishment Type: &cWarn" to close then run [make player execute command "warn %arg-1% Vault Abuse [1st Offense]"]
- format slot 30 of player with book named "&cTeaming [1st Offense]" with lore "&7Punishment Type: &cWarn" to close then run [make player execute command "warn %arg-1% Teaming [1st Offense]"]
- format slot 31 of player with book named "&cAbusing /report" with lore "&7Punishment Type: &cWarn" to close then run [make player execute command "warn %arg-1% Abuse of /report"]
- format slot 32 of player with book named "&cOther/Custom [Ban]" with lore "&7Punishment Type: &cBan" to close then run [make player execute command "ban %arg-1% %arg-2%"]
- format slot 33 of player with book named "&cOther/Custom [Mute]" with lore "&7Punishment Type: &cMute" to close then run [make player execute command "mute %arg-1% %arg-2%"]
- format slot 34 of player with book named "&cOther/Custom [Kick]" with lore "&7Punishment Type: &cKick" to close then run [make player execute command "kick %arg-1%"]
- format slot 31 of player with book named "&cOther/Custom [Warn]" with lore "&7Punishment Type: &cWarn" to close then run [make player execute command "warn %arg-1% %arg-2%"]
- format slot 45 of player with book named "&cUnban %arg-1%" with lore "&7Unpunish Type: &cUnban" to close then run [make player execute command "unban %arg-1%"]
- format slot 46 of player with book named "&cUnmute %arg-1%" with lore "&7Unpunish Type: &cUnmute" to close then run [make player execute command "unmute %arg-1%"]
- format slot 47 of player with book named "&cReload Config" with lore "&7Reload the config" to close then run [make player execute command "spr"]
Advertisement
Add Comment
Please, Sign In to add comment