Jump to content

Mutechat Skript


TankSniperD

Recommended Posts

Here is a Basic Mutechat Skript! I will be post more skripts soon!

 

Skript Made By: TankSniperD

Do not take credit for this skript and say it is yours! Thanks

command /mutechat:
    permission: staff.mute
    permission message: &c You don't have the required permission to perform that command.
    trigger:
        if {Globalchat} is not set:
            set {Globalchat} to true
            broadcast "&c&lServer-name &c| &cChat has been muted by &r&c%player%"
            stop trigger

        if {Globalchat} is set:
            clear {Globalchat}
            broadcast "&c&lServer-name &c| &aChat unmuted by &r&a%player%"

on chat:
    if {Globalchat} is true:
        if player has permission "chat.mute.bypass":
            stop trigger
        else:
            cancel event
            send "&cChat is currently muted."

Skript Developer

 

Joined Minecraft in 2016 on Bedrock Edition

Joined Minecraft in 2020 on Java Edition

Joined Minehut in December 2020

5 years Skript experience

 

 

92230fb7ff1a4800b5018f4e43d0c894.png

Link to comment
Share on other sites

On 8/8/2021 at 4:26 AM, TankSniperD said:

Here is a Basic Mutechat Skript! I will be post more skripts soon!

 

Skript Made By: TankSniperD

Do not take credit for this skript and say it is yours! Thanks

command /mutechat:
    permission: staff.mute
    permission message: &c You don't have the required permission to perform that command.
    trigger:
        if {Globalchat} is not set:
            set {Globalchat} to true
            broadcast "&c&lServer-name &c| &cChat has been muted by &r&c%player%"
            stop trigger

        if {Globalchat} is set:
            clear {Globalchat}
            broadcast "&c&lServer-name &c| &aChat unmuted by &r&a%player%"

on chat:
    if {Globalchat} is true:
        if player has permission "chat.mute.bypass":
            stop trigger
        else:
            cancel event
            send "&cChat is currently muted."

Havent tested it but it looks neat!

 

2021-06-09_20_22_08.jpg.422c39613f8b72de894e5ec1f3377dca.jpg

Yo who actually reads these

[Vip] - 12/29/2020
[Pro] - 1/25/2022
 

 

 

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...