HomeJavaModsAuto Broadcast
Auto Broadcast
Auto Broadcast is an advanced, highly customizable, broadcast plugin allowing for complete freedom over your broadcast.

Features
These are all the features the plugin currently has.
Config
The config is designed to allow infinite customization of each and every broadcast. To do this broadcasts are split into multiple different elements which can be added, removed, and interchanged, to make the perfect broadcast for your server.

This is the default config that will generate with the plugin.
Code (YAML):
#Changes whether the plugin is enabled
enabled
: true

#Changes the time in seconds between each broadcast (eg. 300 = 5 minutes)
interval
: 5

#Changes whether broadcasts are randomly picked, which can result in a broadcast playing multiple times in a row
allow_repeats
: false

#Changes whether the broadcast will appear in the console
show_in_console
: true

#Changes whether items will drop on the ground if a players inventory is full
drop_excess_items
: true

#This is the list of every broadcast
broadcasts
:

  #Create a unique identifier for each broadcast
  template
:

    #Include elements you would like your broadcast to contain
    #Any element can be excluded, but there must be at least one element

    #The chat element sends each player messages in chat when the broadcast runs
    chat
:
      #The prefix comes before every line printed in the chat
      #The prefix does not have click_event and hover_text applied
      prefix
: '&6&l [ ANNOUNCEMENT ] '

      #Create a unique identifier for each line
      line1
:

        #This is the first part of your message
        #This does not have the click_event and hover_text applied
        start
: '&cClick '

        #This is the body of your message
        #This will have the click_event and hover_text applied
        #This is the only field that is necessary
        body
: '&3/help'

        #This is the final part of your message
        #This does not have the click_event and hover_text applied
        end
: '&c to get usages for commands!'

        #The text that appears when the message is hovered over
        hover_text
: '&3Click here for help!'

        #The click event is what happens when the player clicks on the broadcast
        #There can only be one click event
        click_event
:

          #The link element prompts the player to open a link in their web browser
#         link: 'https://www.google.com.au'

          #The command element makes the player run the specified command
          command
: /help

          #The suggested command element puts the command into the players text box
#         suggest_command: /help

      #You can have multiple lines
      line2
:
        body
: '&3Created by RowBr0'

    #The title element is for messages displayed in the centre of the screen
    title
:

      #The main title is the big text
      main
: '&c&lThis is the title'

      #The secondary title is the smaller subtext
      secondary
: '&3This is the subtitle'

      #Neither main or secondary are necessary, however their must be at least one of them

    #The sound element lets the broadcast play sounds when it runs
    sound
: ENTITY_GENERIC_EXPLODE

    #The particles element displays particles where the user is standing when the broadcast runs
    particles
:

      #Each particle must have a unique identifier
      particle1
:

        #Set the particle you want to display
        #This is necessary
        particle
: CLOUD

        #Set the number of particles you want to be spawned
        #This is not necessary and will default to 75 if not present
        count
: 100

        #Set the speed you want these particles to disperse
        #This is not necessary and will default to 1 if not present
        speed
: 0.5

      #You can specify multiple particles
      particle2
:
        particle
: EXPLOSION_NORMAL
        count
: 50
        speed
: 1

    #The items element gives players the specified items when the broadcast runs
    items
:

      #Each item must have a unique identifier
      item1
:

        #The type of item you want the user to receive
        #This is necessary
        type
: APPLE

        #The number of items you want the user to receive
        #This is not necessary and will default to 1 if not present
        quantity
: 5

        #Set a custom name for the item
        #This is not necessary and will default to the standard name of the item if not present
        name
: '&cRed Apple'

        #Set the lore for the item
        #This can have multiple lines
        #This is not necessary
        lore
:
         - '&cJuicy Red Apple'
          - '&cIt keeps the dentists away'

        #Adds enchantments to the item
        #This is not necessary
        enchantments
:

          #Each enchantment must have a unique identifier
          enchantment1
:

            #Set the enchantment the item will receive
            #This is necessary
            enchantment
: knockback

            #Set the level of the enchantment
            #This is not necessary and will default to level 1 if not present
            level
: 5

          #You can specify multiple enchantments
          enchantment2
:
            enchantment
: sharpness

      #You can specify multiple items
      item2
:
        type
: BAKED_POTATO

  #You can specify multiple broadcasts
  help
:
    chat
:
      prefix
: '&6&l [ ANNOUNCEMENT ] '
      messages
:
       - '&cClick here for help!'
      hover_text
: '&cClick here for help!'
      click_event
:
        command
: '/help'
It may look complicated, but don't worry! Let's break it down a bit.

Firstly lets look at the config with no broadcasts. This contains all the base options for the plugin.
Code (YAML):
#Changes whether the plugin is enabled
enabled
: true

#Changes the time in seconds between each broadcast (eg. 300 = 5 minutes)
interval
: 5

#Changes whether broadcasts are randomly picked, which can result in a broadcast playing multiple times in a row
allow_repeats
: false

#Changes whether the broadcast will appear in the console
show_in_console
: true

#Changes whether items will drop on the ground if a players inventory is full
drop_excess_items
: true

#This is the list of every broadcast
broadcasts:
The final field is the broadcasts field, and this is where you can add your own broadcasts! Let's do that next.

To add a broadcast simple add the name of the broadcast within the broadcasts field. Remember to make the name unique and add a colon at the end. It should look liked this.
Code (YAML):
#This is the list of every broadcast
broadcasts
:

  #Create a unique identifier for each broadcast
  broadcastNameHere:
Now lets add an element to the broadcast.

To add an element to the broadcast you simply write the element name in the broadcast, ensuring you end it with a colon. Remember you can not have the same elements twice within the same broadcast! Let's use the chat element as an example.
Code (YAML):
#Create a unique identifier for each broadcast
  template
:

    #Include elements you would like your broadcast to contain
    #Any element can be excluded, but there must be at least one element

    #The chat element sends each player messages in chat when the broadcast runs
    chat
:
      #The prefix comes before every line printed in the chat
      #The prefix does not have click_event and hover_text applied
      prefix
: '&6&l [ ANNOUNCEMENT ] '

      #Create a unique identifier for each line
      line1
:

        #This is the first part of your message
        #This does not have the click_event and hover_text applied
        start
: '&cClick '

        #This is the body of your message
        #This will have the click_event and hover_text applied
        #This is the only field that is necessary
        body
: '&3/help'

        #This is the final part of your message
        #This does not have the click_event and hover_text applied
        end
: '&c to get usages for commands!'

        #The text that appears when the message is hovered over
        hover_text
: '&3Click here for help!'

        #The click event is what happens when the player clicks on the broadcast
        #There can only be one click event
        click_event
:

          #The link element prompts the player to open a link in their web browser
#         link: 'https://www.google.com.au'

          #The command element makes the player run the specified command
          command
: /help

          #The suggested command element puts the command into the players text box
#         suggest_command: /help

      #You can have multiple lines
      line2
:
        body
: '&3Created by RowBr0'
Remember, the only field that is necessary in the chat element is a line, and the body. Everything else is optional.

This is the same way you add any element to your broadcast, so mix and match to your hearts desire! Make sure you look through the default config to see all the elements in action, and how to use them.

Planned Features
These are some of the features I plan on adding in further updates so stay tuned!
If you have any other great ideas to make the plugin better please let me know in the discussion!
Finally if you find any bugs please let me know in the discussions, along with a copy of the error from your console.

Plugin details

Read from the plugin's own plugin.yml.

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.

Auto Broadcast is a free Minecraft Java mod. Compatible with Minecraft 1.15. Downloaded 1,311 times (via Spigot). Download it and open it directly in the game.

Explore more