CustomAnnouncement 1.0.0

Advanced broadcasting skript

  1. dxcf
    Native Minecraft Version:
    1.15
    Tested Minecraft Versions:
    • 1.15
    [​IMG]
    Advanced broadcasting skript
    Hello my name is dxcf, I've been skripting for like a years now! This skript provides features that other skript rarely have.
    This skript allows you to sync in-game broadcasts to discord channel with your own discord bot!

    These spoilers will help you with this skript:

    Configuration
    Hello, Thanks for downloading this skript I'm dxcf and i will teach you how to config my skript!

    prefix
    You can set custom prefix for this skript, The default value is &b&lCUSTOM ANNOUNCEMENT &8»
    Color codes are supported

    perm
    This is the permission to access /broadcast and commands listed in broadcast-aliases

    perm-message
    This is the message that will be send to player when permission specified in perm is disallowed

    announcement
    You can set custom announcement title, For the default it will look like this: https://ibb.co/TqRBGRn



    discord configuration

    You will need to create your discord bot at https://discordapp.com/developers/applications
    Once application is created head to Bot section
    Click [Build a bot] to create your own bot

    Now copy the bot token
    !!!WARNING!!! DO NOT GIVE THE DISCORD BOT TO ANYONE THEY CAN TOOK CONTROL OVER YOUR BOT USING TOKENS
    Set the config discord-token to your bot token
    Now you will see your bot name, Copy that and put in discord-botname and discord-bot

    Create a new channel/pick a channel the channel is where broadcasts is going to.
    Make sure you have developer mode enabled, Rightclick channel that you wana use then rightclick it then select "Copy ID" it will copy the channel id to your clipboard
    Paste your channel id at configuration discord-bot-channel

    You can make your bot play a custom game like Playing YourServer.net at configuration discord-bot-status

    discord-bot-announcement-prefix is the prefix of message that discord bot sends when you do /broadcast <message> for example i set it to lol it should appers as:
    lol test

    broadcast-prefix is the same thing as discord-bot-announcement-prefix but it will be sent in-game not in discord server

    broadcast-aliases You can set custom commands (Command /broadcast is already assigned to this skript)
    format: command, command2, command3
    or: /command, /command2, /command3
    Skript (> 2.4)
    Vixio (> 2.0.4)
    SkRayFall (> 1.9.20)
    Creating a bot account (Discord)
    - Make sure you’re logged on to the Discord website.
    - Navigate to the application page
    - Click on the “New Application” button.
    - Give the application a name and click “Create”.
    - Create a Bot User by navigating to the “Bot” tab and clicking “Add Bot”.
    - Click “Yes, do it!” to continue.