Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # [=---------------------------------------------------------------=]
- # | Made By: 70sOn7 |
- # | Version: 1.2 |
- # | |
- # | Edit this below if have a decent knowledge of Skirpt! |
- # | |
- # | Any errors is on your behalf. |
- # | |
- # | Plugins: Skript, SkRayFall, SkQuery |
- # [=---------------------------------------------------------------=]
- command /mute [<offlineplayer>] [<text>]:
- permission: essentials.mute
- permission message: &8(&c!&8) &7You can not do this!
- trigger:
- if arg-1 is not set:
- send "&8(&c!&8) &7/mute (Player) (Reason) - Type 'list' for a list of reasons!"
- stop
- if arg-2 is not set:
- wait 3 ticks
- open chest with 5 rows named "&8(&4&lMUTE GUI&8) &c%arg-1% &7&nPg 1" to player
- format slot 0 of player with glowing black stained glass named " " to be unstealable
- format slot 1 of player with glowing black stained glass named " " to be unstealable
- format slot 2 of player with glowing black stained glass named " " to be unstealable
- format slot 3 of player with glowing black stained glass named " " to be unstealable
- format slot 4 of player with glowing black stained glass named " " to be unstealable
- format slot 5 of player with glowing black stained glass named " " to be unstealable
- format slot 6 of player with glowing black stained glass named " " to be unstealable
- format slot 7 of player with glowing black stained glass named " " to be unstealable
- format slot 8 of player with glowing black stained glass named " " to be unstealable
- format slot 9 of player with glowing black stained glass named " " to be unstealable
- format slot 17 of player with glowing black stained glass named " " to be unstealable
- format slot 26 of player with glowing black stained glass named " " to be unstealable
- format slot 35 of player with glowing black stained glass named " " to be unstealable
- format slot 44 of player with glowing arrow named "&8(&4&LPAGE&8) &72" with lore "&7Click to go to Page 2!" to close then run [execute player command "mute %arg-1% pg2"]
- format slot 43 of player with glowing black stained glass named " " to be unstealable
- format slot 42 of player with glowing compass named "&4&LUNMUTE PLAYER" with lore "&7Click to unmute them!" to close then run [execute player command "mute %arg-1% unmute"]
- format slot 41 of player with glowing black stained glass named " " to be unstealable
- format slot 40 of player with glowing black stained glass named " " to be unstealable
- format slot 39 of player with glowing black stained glass named " " to be unstealable
- format slot 38 of player with glowing clock named "&4&LCHECK MUTE" with lore "&7Click to check there mute!" to close then run [execute player command "mute %arg-1% check"]
- format slot 37 of player with glowing black stained glass named " " to be unstealable
- format slot 18 of player with glowing black stained glass named " " to be unstealable
- format slot 27 of player with glowing black stained glass named " " to be unstealable
- format slot 36 of player with glowing black stained glass named " " to be unstealable
- format slot 20 of player with glowing diamond named "&4&lSPAM" with lore "&cTime: &715 MINUTES" to close then run [execute player command "mute %arg-1% spam"]
- format slot 21 of player with glowing diamond named "&4&lCURSING" with lore "&cTime: &720 MINUTES" to close then run [execute player command "mute %arg-1% cursing"]
- format slot 22 of player with glowing diamond named "&4&lDISRESPECT" with lore "&cTime: &730 MINUTES" to close then run [execute player command "mute %arg-1% dis"]
- format slot 23 of player with glowing diamond named "&4&lADVERTISING" with lore "&cTime: &71 HOUR" to close then run [execute player command "mute %arg-1% spam"]
- format slot 24 of player with glowing diamond named "&4&lINAPPROPRIATE BEHAVIOR" with lore "&cTime: &745 MINUTES" to close then run [execute player command "mute %arg-1% spam"]
- if arg-2 is "pg2":
- wait 3 ticks
- open chest with 5 rows named "&8(&4&lMUTE GUI&8) &c%arg-1% &7&nPg 2" to player
- format slot 0 of player with glowing black stained glass named " " to be unstealable
- format slot 1 of player with glowing black stained glass named " " to be unstealable
- format slot 2 of player with glowing black stained glass named " " to be unstealable
- format slot 3 of player with glowing black stained glass named " " to be unstealable
- format slot 4 of player with glowing black stained glass named " " to be unstealable
- format slot 5 of player with glowing black stained glass named " " to be unstealable
- format slot 6 of player with glowing black stained glass named " " to be unstealable
- format slot 7 of player with glowing black stained glass named " " to be unstealable
- format slot 8 of player with glowing black stained glass named " " to be unstealable
- format slot 9 of player with glowing black stained glass named " " to be unstealable
- format slot 17 of player with glowing black stained glass named " " to be unstealable
- format slot 26 of player with glowing black stained glass named " " to be unstealable
- format slot 35 of player with glowing black stained glass named " " to be unstealable
- format slot 44 of player with glowing black stained glass named " " to be unstealable
- format slot 43 of player with glowing black stained glass named " " to be unstealable
- format slot 42 of player with glowing compass named "&4&LUNMUTE PLAYER" with lore "&7Click to unmute them!" to close then run [execute player command "mute %arg-1% unmute"]
- format slot 41 of player with glowing black stained glass named " " to be unstealable
- format slot 40 of player with glowing black stained glass named " " to be unstealable
- format slot 39 of player with glowing black stained glass named " " to be unstealable
- format slot 38 of player with glowing clock named "&4&LCHECK MUTE" with lore "&7Click to check there mute!" to close then run [execute player command "mute %arg-1% check"]
- format slot 37 of player with glowing black stained glass named " " to be unstealable
- format slot 18 of player with glowing black stained glass named " " to be unstealable
- format slot 27 of player with glowing black stained glass named " " to be unstealable
- format slot 36 of player with glowing arrow named "&8(&4&LPAGE&8) &71" with lore "&7Click to go to Page 1!" to close then run [execute player command "mute %arg-1%"]
- format slot 20 of player with glowing diamond named "&4&lRACISM" with lore "&cTime: &71 HOUR" to close then run [execute player command "mute %arg-1% racism"]
- format slot 21 of player with glowing diamond named "&4&lCAPS" with lore "&cTime: &720 Min" to close then run [execute player command "mute %arg-1% caps"]
- format slot 22 of player with glowing emerald named "&4&lDDOS THREATS" with lore "&cTime: &7FOREVER" to close then run [execute player command "mute %arg-1% ddos threats"]
- format slot 23 of player with glowing emerald named "&4&lLEAKING INFO" with lore "&cTime: &7FOREVER" to close then run [execute player command "mute %arg-1% leaking info"]
- if {mute.%arg-1%} is true:
- if arg-2 is not "unmute" or "check":
- send "&8(&c!&8) &7This player is already muted!"
- stop
- if arg-1 is set:
- if arg-2 is set:
- if arg-2 is not "spam" or "cursing" or "ddos threats" or "leaking info" or "advert" or "advertising" or "swearing" or "racism" or "bypassing filter" or "dis" or "disrespect" or "behavior" or "caps" or "unmute" or "check" or "pg2":
- send "&8(&c!&8) &7Thats not a muting option!"
- send " &8(&c!&8) &7Spam, Swearing, DDos Threats, Leaking Info, Advertising, Racism, Behavior"
- send " &8(&c!&8) &7Use 'unmute' as a reason to unmute them!"
- stop
- if arg-2 is "dis" or "disrespect":
- set {mute.%arg-1%} to true
- broadcast "&8(&4&lMUTES&8)"
- broadcast " &4• &7%arg-1% was muted by %player% for Disrespect! &4[30 MINUTES]"
- set {mtime.%arg-1%} to now
- set {mby.%arg-1%} to player
- set {mt.%arg-1%} to "30 Minutes"
- set {mr.%arg-1%} to "Disrespect"
- set {md.%arg-1%} to "Yes"
- wait 30 minutes
- if {mute.%arg-1%} is true:
- delete {mute.%arg-1%}
- delete {mtime.%arg-1%}
- delete {mby.%arg-1%}
- delete {mt.%arg-1%}
- delete {mr.%arg-1%}
- set {md.%arg-1%} to "No"
- send "&8(&c&l!&8) &7You have been unmuted!" to arg 1
- if arg-2 is "spam" or "spamming":
- set {mute.%arg-1%} to true
- broadcast "&8(&4&lMUTES&8)"
- broadcast " &4• &7%arg-1% was muted by %player% for Spamming! &4[15 MINUTES]"
- set {mtime.%arg-1%} to now
- set {mby.%arg-1%} to player
- set {mt.%arg-1%} to "15 Minutes"
- set {mr.%arg-1%} to "Spamming"
- set {md.%arg-1%} to "Yes"
- wait 15 minutes
- if {mute.%arg-1%} is true:
- delete {mute.%arg-1%}
- delete {mtime.%arg-1%}
- delete {mby.%arg-1%}
- delete {mt.%arg-1%}
- delete {mr.%arg-1%}
- set {md.%arg-1%} to "No"
- send "&8(&c&l!&8) &7You have been unmuted!" to arg 1
- if arg-2 is "cursing" or "swearing":
- set {mute.%arg-1%} to true
- broadcast "&8(&4&lMUTES&8)"
- broadcast " &4• &7%arg-1% was muted by %player% for Cursing! &4[20 MINUTES]"
- set {mtime.%arg-1%} to now
- set {mby.%arg-1%} to player
- set {mt.%arg-1%} to "20 Minutes"
- set {mr.%arg-1%} to "Cursing"
- set {md.%arg-1%} to "Yes"
- wait 20 minutes
- if {mute.%arg-1%} is true:
- delete {mute.%arg-1%}
- delete {mtime.%arg-1%}
- delete {mby.%arg-1%}
- delete {mt.%arg-1%}
- delete {mr.%arg-1%}
- set {md.%arg-1%} to "No"
- send "&8(&c&l!&8) &7You have been unmuted!" to arg 1
- if arg-2 is "ddos threats":
- set {mute.%arg-1%} to true
- broadcast "&8(&4&lMUTES&8)"
- broadcast " &4• &7%arg-1% was muted by %player% for DDos Threats! &4[FOREVER]"
- kick arg 1 due to "%nl%&cYou have been banned from Herotic!%nl%%nl%&f Reason: &7DDos Threats%nl%&f Ban ID: &7[%random integer from 10000 to 99999%]"
- ban arg 1 due to "%nl%&cYou have been banned from Herotic!%nl%%nl%&f Reason: &7DDos Threats%nl%&f Ban ID: &7[%random integer from 1000000 to 9999999%]"
- loop all players:
- if loop-player has permission "server.ban.notify":
- send "&c%arg-1% was banned by %player% for DDos Threats!" to loop-player
- set {mtime.%arg-1%} to now
- set {mby.%arg-1%} to player
- set {mt.%arg-1%} to "Forever"
- set {mr.%arg-1%} to "DDos Threats"
- set {md.%arg-1%} to "Yes"
- if arg-2 is "leaking info":
- set {mute.%arg-1%} to true
- broadcast "&8(&4&lMUTES&8)"
- broadcast " &4• &7%arg-1% was muted by %player% for Leaking Private Info! &4[FOREVER]"
- kick arg 1 due to "&cYou have been banned from Herotic!&n&n&f Reason: &7Leaking Private Info&n&f Ban ID: &7[%random integer from 10000 to 99999%]"
- ban arg 1 due to "&cYou have been banned from Herotic!&n&n&f Reason: &7Leaking Private Info&n&f Ban ID: &7[%random integer from 10000 to 99999%]"
- loop all players:
- if loop-player has permission "server.ban.notify":
- send "&c%arg-1% was banned by %player% for Leaking Private Info!" to loop-player
- set {mtime.%arg-1%} to now
- set {mby.%arg-1%} to player
- set {mt.%arg-1%} to "Forever"
- set {mr.%arg-1%} to "Leaking Private Info"
- set {md.%arg-1%} to "Yes"
- if arg-2 is "advertising" or "advert":
- set {mute.%arg-1%} to true
- broadcast "&8(&4&lMUTES&8)"
- broadcast " &4• &7%arg-1% was muted by %player% for Advertisment! &4[1 HOUR]"
- set {mtime.%arg-1%} to now
- set {mby.%arg-1%} to player
- set {mt.%arg-1%} to "1 Hour"
- set {mr.%arg-1%} to "Advertisement"
- set {md.%arg-1%} to "Yes"
- wait 1 hour
- if {mute.%arg-1%} is true:
- delete {mute.%arg-1%}
- delete {mtime.%arg-1%}
- delete {mby.%arg-1%}
- delete {mt.%arg-1%}
- delete {mr.%arg-1%}
- set {md.%arg-1%} to "No"
- send "&8(&c&l!&8) &7You have been unmuted!" to arg 1
- if arg-2 is "unmute":
- if {mute.%arg-1%} is not set:
- send "&8(&c!&8) &7This player isnt muted!"
- stop
- if {mute.%arg-1%} is true:
- send "&8(&c!&8) &7You have unmuted %arg-1%"
- send "&8(&c&l!&8) &7You have been unmuted!" to arg 1
- delete {mtime.%arg-1%}
- delete {mby.%arg-1%}
- delete {mt.%arg-1%}
- delete {mr.%arg-1%}
- set {md.%arg-1%} to "No"
- delete {mute.%arg-1%}
- if arg-2 is "check":
- if {mute.%arg-1%} is not set:
- send "&8(&4&l%arg-1%&8)"
- send ""
- send "&cIs Muted: &fNo"
- if {mute.%arg-1%} is true:
- set {_ctime} to now
- send "&8(&4&l%arg-1%&8)"
- send ""
- send "&cIs Muted: &f%{md.%arg-1%}%"
- send "&cMuted By: &f%{mby.%arg-1%}%"
- send "&cMute Date: &f%{mtime.%arg-1%}%"
- send "&cCurrent Date: &f%{_ctime}%"
- send "&cMute Time: &f%{mt.%arg-1%}%"
- send "&cMute Reason: &f%{mr.%arg-1%}%"
- if arg-2 is "behavior":
- set {mute.%arg-1%} to true
- broadcast "&8(&4&lMUTES&8)"
- broadcast " &4• &7%arg-1% was muted by %player% for Inappropriate Behavior! &4[45 MINUTES]"
- set {mtime.%arg-1%} to now
- set {mby.%arg-1%} to player
- set {mt.%arg-1%} to "45 Minutes"
- set {mr.%arg-1%} to "Inappropriate Behavior"
- set {md.%arg-1%} to "Yes"
- wait 45 minutes
- if {mute.%arg-1%} is true:
- delete {mute.%arg-1%}
- delete {mtime.%arg-1%}
- delete {mby.%arg-1%}
- delete {mt.%arg-1%}
- delete {mr.%arg-1%}
- set {md.%arg-1%} to "No"
- send "&8(&c&l!&8) &7You have been unmuted!" to arg 1
- if arg-2 is "racism":
- set {mute.%arg-1%} to true
- broadcast "&8(&4&lMUTES&8)"
- broadcast " &4• &7%arg-1% was muted by %player% for Racism! &4[1 HOUR]"
- set {mtime.%arg-1%} to now
- set {mby.%arg-1%} to player
- set {mt.%arg-1%} to "1 Hour"
- set {mr.%arg-1%} to "Racism"
- set {md.%arg-1%} to "Yes"
- wait 1 hour
- if {mute.%arg-1%} is true:
- delete {mute.%arg-1%}
- delete {mtime.%arg-1%}
- delete {mby.%arg-1%}
- delete {mt.%arg-1%}
- delete {mr.%arg-1%}
- set {md.%arg-1%} to "No"
- send "&8(&c&l!&8) &7You have been unmuted!" to arg 1
- if arg-2 is "caps":
- set {mute.%arg-1%} to true
- broadcast "&8(&4&lMUTES&8)"
- broadcast " &4• &7%arg-1% was muted by %player% for Caps! &4[20 MINUTES]"
- set {mtime.%arg-1%} to now
- set {mby.%arg-1%} to player
- set {mt.%arg-1%} to "20 Minutes"
- set {mr.%arg-1%} to "Caps"
- set {md.%arg-1%} to "Yes"
- wait 20 minutes
- if {mute.%arg-1%} is true:
- delete {mute.%arg-1%}
- delete {mtime.%arg-1%}
- delete {mby.%arg-1%}
- delete {mt.%arg-1%}
- delete {mr.%arg-1%}
- set {md.%arg-1%} to "No"
- send "&8(&c&l!&8) &7You have been unmuted!" to arg 1
- on chat:
- if {mute.%player%} is true:
- cancel event
- set {_ctime} to now
- send "&8(&4&lMUTED&8)"
- send " &cMuted By: &f%{mby.%player%}%"
- send " &cMute Date: &f%{mtime.%player%}%"
- send " &cMute Time: &f%{mt.%player%}%"
- send " &cCurrent Time: &f%{_ctime}%"
- stop
Add Comment
Please, Sign In to add comment