HomeJavaModsStaff Chat - Staff Chat & All Chat
Staff Chat - Staff Chat & All Chat
ModsJava

Staff Chat - Staff Chat & All Chat

The simple staff & all chat. Created by ShaneBee, edited & added by SilentButDeqdly. This is the version of Skript you need in order for this plugin to…

⬇ Download on Spigot
OK6W_koKDTOqqqLDbIoPAguOkU7mtJ-AXWO4BIC05Is.jpg
The simple staff & all chat. Created by ShaneBee, edited & added by SilentButDeqdly.

Untitled.png

This is the version of Skript you need in order for this plugin to work: https://github.com/SkriptLang/Skript/releases/tag/dev37c

And this is an addon for Skript you need: (place it in the scripts file) https://www.spigotmc.org/resources/json-sk.8851/

Untitled3.png

2018-10-30_17.37.47.png

2018-10-30_17.38.01.png

upload_2018-10-30_17-39-31.png

Untitled4.png

Remember all code is editable below:

Code (Text):
command /chat [<text>]:

    permission: staff.chat
    permission message: &cYou do not have the required permissions!
    trigger:
        if arg-1 is "s" or "staff":
            if {staffchat::%player%} is set:
                if {staffchat::%player%} is false:
                    set {staffchat::%player%} to true
                    send "&8You are currently in the &cSTAFF &8chat"
                    stop
            else:
                set {staffchat::%player%} to true
                send "&8You are currently in the &cSTAFF &8chat"
                stop
        else if arg-1 is "a" or "all":
            if {staffchat::%player%} is set:
                if {staffchat::%player%} is true:
                    set {staffchat::%player%} to false
                send "&8You are currently in the &cALL &8chat"
                stop
        else:
            json("%player%", "&cInvalid usage! Use: (chat) (chat)||ttp:&cInvalid usage! Use: (chat) (chat)")

on chat:
    if {staffchat::%player%} is true:
        cancel event
        loop all players:
            if loop-player has permission "staff.chat":
                send "&cStaff > %colored player's prefix%%player%&f: &f%message%" to loop-player

command /staffchat <text>:
    aliases: /schat, /sc
    trigger:
        loop all players:
            if loop-player has permission "staff.chat":
                send "&cStaff > %colored player's prefix%%player%&f: &f%arg-1%" to loop-player

command /allchat <text>:
    aliases: /achat, /ac
    trigger:
        send "%colored player's prefix%%player%&8: &f%arg-1%" to all players

command /chatreload:
    trigger:
        make console execute command "/sk reload %script%"
        wait 10 ticks
        send "&aSuccessfully reloaded StaffChat"

command /chathelp:
    aliases: /chelp
    trigger:
        send "&7&m---------------------"
        send "&7&L "
        json("%player%", "&7/chatreload (Reloads the plugin)||ttp:&7/chatreload||cmd:/chatreload")
        send "&7&L "
        json("%player%", "&7/chat staff (Puts you in staff chat)||ttp:&7/chat s||cmd:/chat s")
        send "&7&L "
        json("%player%", "&7/chat all (Puts you in regular chat)||ttp:&7/chat a||cmd:/chat a")
        send "&7&L "
        send "&7&m---------------------"

Untitled1.png

If you need help or need support join our discord server for help from the developer. Or you could private message me. https://discord.me/pluginsupport
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Staff Chat - Staff Chat & All Chat is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 879 times (via Spigot). Download it and open it directly in the game.

Explore more