Sueta
[S

[SKRIPT] Enhanced Broadcasts!

2018-04-02

A simple and stylish Broadcast!

·Plugin

I have been using Essentials and Enjin commands to use Broadcasts, but I wanted one that was smaller command and more configureable. So... That led me to skripting this plugin!

# This skript was made by:
                                    # TDSkitz
                                    # If you are using this please leave these messages here!


#This is a simple Skript meant for server owners who want nicer Broadcasts!
# /bc broadcasts a msg with a prefix "[Broadcast]"
# While /sbc broadcasts a msg with no prefix! (You can iminate players if you use the correct color codes etc.)!
options:


    Prefix: &a[&3BC&a]&r


command /bc [<text>]:
    description: "You can use this command to send a broadcast WITH a prefix!"
    usage: "/bc {Message}"
    aliases: "/broadcast"
    permission: "sk.broadcast.admin"
    permission message: "&cSorry! You dont have enough permissions!"
    trigger:
        if arg 1 is not set:
            send "&7You need to supply a message!"
            stop
        if arg 1 is set:
            send "{@Prefix} &7%arg 1%" to all players
            
command /sbc [<text>]:
    description: "You can use this command to send a broadcast with NO prefix!"
    usage: "/sbc {Message}"
    aliases: "/superbroadcast"
    permission: "sk.broadcast.admin"
    permission message: "&cSorry! You dont have enough permissions!"
    trigger:
        if arg 1 is not set:
            send "&7You need to supply a message!"
            stop
        if arg 1 is set:
            send "&7%arg 1%" to all players

Similar projects

Plugin →