AutomaticBroadcast » PlaceholderAPI support! [1.16 - 1.21] icon

AutomaticBroadcast » PlaceholderAPI support! [1.16 - 1.21] -----

Automatically broadcast messages on your server!




Added » The ability to force a player to run a command when clicking on the broadcast using the "/" in the click section of the "broadcasts".
Updated » The tab complete will now only complete the words that match the word you are currently typing, as it should.

Note:
- You do not need to update the config.yml file with this update!
- You do need to change the broadcasts.yml file to change the "/" to "*/" if you want to suggest the commands and not execute them.
----------, Oct 9, 2024

Added » The /automaticbroadcast broadcast [title] command. This command allows to "force send" a broadcast to everyone. Players with the broadcast toggled off will not receive it. These broadcasts act the exact same way as they would if you were to wait for them to be automatically sent. Players will be able to use the command if they are operator, or if they have the following permissions : automaticbroadcast.broadcast, automaticbroadcast.title
Updated » The permissions to make more sense with the current commands of the plugin.

Note:
- You do not need to update the config.yml file with this update!
- You will need to change your permissions if you have manually set them already.
----------, Oct 8, 2024

Fixed » The plugin would send an error on Paper servers when a console-command was set to "" (empty message/command).
----------, Sep 28, 2024

Added » You can now have 0 broadcast being displayed on your server. This is useful if you only want scheduled broadcasts.

Note:
- You do not need to update the config.yml file with this update!
----------, Aug 20, 2024

Fixed » The plugin now uses "exempted-players" instead of an underscore in the configuration.
Added » New plugin API to be able to connect/send messages to external plugins. This is used to connect with the ScheduledBroadcast plugin and maybe eventually more.

Note:
- You do not need to update the config.yml file with this update!
----------, Aug 20, 2024

Fixed » Previewing the broadcasts will now send the sound if there is any associated with the broadcast.
Fixed » Exempting a player on a specific broadcast will now work as intended.
Added » You can now add console-commands to broadcasts, which will be triggered (and executed on the console) when the broadcast is displayed globally.

Note:
- You do not need to update the config.yml file with this update!
----------, Aug 14, 2024

Added » The ability to preview one single broadcast using "/ab preview [name]".
Updated » The "/ab list" command was removed to use "/ab preview" instead. You may use it as you did before, it is simply the name that changed.

Note:
- You do not need to update the config.yml file with this update!
----------, Apr 21, 2024

Fixed » The plugin would save the toggles file on every player disconnect, which created lags. The plugin works the same way it did before, but it will now only save the file when the plugin gets disabled (on restart, stop or reload).
----------, Apr 20, 2024

Added » The possibility to disable the toggling of broadcast completly. To do so, add the "disable-toggle: true" configuration in the config.yml file.

Added » You can now easily center your broadcast in the chat. To do so, simply add '[centered]' before your message! (see the configuration example)

Note:
- You do not need to update the config.yml file with this update!
----------, Apr 7, 2024

Fixed » The plugin would send the UUID of the online players on toggle.

Note: You do not need to update the configuration files with this update!
----------, Jul 29, 2023

Fixed » The plugin would set the broadcast toggle to off by default. Players would not receive the broadcasts (which is not intended). The toggle is now on by default and the players with the automaticbroadcast.toggle permission can disable it!

Note: You do not need to update the configuration files with this update!
----------, Jul 22, 2023

Added » The possibility to toggle the broadcast. The players with the "automaticbroadcast.toggle" (default = operators) will be able to toggle their broadcasts. This means that they will be able to choose if they want to receive the broadcasts or not. The status of the toggle will also be stored so that it is the same when relogging or during server reload or restart.

Updated » The config.yml now has 2 new messages for the toggle mentionned before.

Note:
- You do not need to update the config.yml file with this update!
- This update adds a broadcast-toggles.yml file. It is used to store the status of the toggle for each players.
----------, Jul 21, 2023

Fixed » The plugin would send a broadcast on the start of the plugin (server start). It is now removed as it was simply a forgotten mistake.

Note: You do not need to update the configuration files with this update!
----------, Mar 30, 2023

Fixed » The plugin would make lag spikes when sending the broadcasts to all the players online (if there was a lot of players).

Note:
- You need to update the messages.yml file with this update!
- Simply rename the file to broadcasts.yml for it to continue working (changed to be easier for everyone!)
----------, Mar 29, 2023

Fixed » The plugin will now check if a hover message is specified in the config before trying to create one (an error would occur using Interactive Chat which did not work with empty hover messages).

Note: You do not need to update the configuration files with this update!
----------, Feb 19, 2022

Added » You can now test the broadcasts with the console. The placeholders will not work properly (only works with players) but it will not send an error.

Fixed »
Leaving an empty "Click" argument in the messages.yml will not do anything, instead of sending an error.

Note: You do not need to update the configuration files with this update!
----------, Jan 1, 2022

Fixed » Hex colors not showing up properly in the hover section of the messages.
Fixed » PAPI placeholders not changing properly in the hover section of the messages.

Note: You do not need to update the config.yml file with this update!
----------, Dec 30, 2021

Added » You may now use any color that you want in the plugin. Simply use the "Hex color" code like the legacy color code (which still works by the way!): &#123456. Here is a website that helps a lot to create beautiful hex color gradients: https://rgb.birdflop.com/ (simply create a message with the "Default" output format).

Fixed » Full compatibility with 1.16 versions.

Note: You do not need to update the config.yml file with this update!
----------, Dec 30, 2021

Fixed » Compatibility with the previous versions. The plugin will no longer break using versions before 1.18.1. Refer to the "Tested versions" to see if the version of your server is supported by the plugin.

Note: You do not need to update the config.yml file with this update!
----------, Dec 29, 2021

Fixed » Compatibility with the previous versions. The plugin will no longer break using versions before 1.18.1. Refer to the "Tested versions" to see if the version of your server is supported by the plugin.

Note: You do not need to update the config.yml file with this update!
----------, Dec 29, 2021

Fixed » Compatibility with the previous versions. The plugin will no longer break using versions before 1.18.1. Refer to the "Tested versions" to see if the version of your server is supported by the plugin.

Note: You do not need to update the config.yml file with this update!
----------, Dec 29, 2021

Added » PlaceHolderAPI placeholders support. Make sure you import the extension(s) you need.
Added » You can now add a sound to each broadcast. It will be played for every player that receives the broadcasts.
Added » You can now add a "hover" message to each broadcast. It will be displayed when a player puts their mouse over the broadcast. You may add as many lines as you wish in the hover section (works with colors!)
Added » You can now add a "click" event to each broadcast. When a player will click on the broadcast, you can either open a link, suggest a message or suggest a command.
Added » You can now change all the messages displayed when you do a command (ex.: No permission message).
Added » The plugin now proposes the commands to the player if they have the permission to execute it (tab completion).
Added » bStats metrics. Simply collects data to know how many servers are using the plugin. You can always disable data collection in the bStats config.

Updated » The plugin completely to be more practical. Sadly, the config system changes completely to allow easier configuration. Please ask me on discord ( https://discord.io/AnimalPlugins) if you need help to update your configuration files.
Updated » The way the plugin sends the broadcast. The loop should now be more efficient.
Updated » Merged the permissions to "automaticbroadcast.config".

Fixed » An error where the console would send errors if a broadcast was removed or added in the config without a full restart.
Fixed » You can now change any configuration option (from messages.yml or config.yml) and successfully update it with the /ab reload command. (There is no need to restart the server anymore to change the time between broadcasts, etc)

Removed » The automatic %player% placeholder replacement. The plugin now works with PlaceHolderAPI's placeholders.
Removed » The hex color compatibility. It will be added back in the future but it is removed as it would break the plugin.

Note:
- You need to update the config.yml file with this update!
- The configuration of the plugin changed drastically. Please refer to the configuration example (default or on the plugin's spigot page) to add the sounds, hover & click "events" and all the other previously added options.
----------, Dec 28, 2021

Added » The possibility to add hex color code in the configuration file to color text. To use it, simple type: <#hexcode> (ex.: <#000000>Exemple)

Note: You do not need to update the config.yml file with this update!
----------, Feb 2, 2021

Added » The possibility to add the player's name in the broadcast using the %player% placeholder in the config.
Updated » The plugin completely to be a even more compact!

Note: You do not need to update the config.yml file with this update!
----------, Feb 2, 2021

Added » The "exempt-permission" in the configuration which will allow you to use the "automaticbroadcast.exempt" permission. Be careful, if you or your group have the '*' permission and the option is enabled, you will not see the broadcast. (Simply negate the permission if you want to use the '*' permission with the broadcasts.
Fixed » The exempted player(s) not being exempted in "random" mode.

Note: You must update the config.yml file with this update! However, if you do not wish to completely restart your configuration, your can simply add this at the end of the document: exempt-permission: false
----------, Jan 15, 2021

Removed » The "automaticbroadcast.exempt" command because it wasn't really useful to anyone and a lot of players thought the plugin was broken because of it. However, there is now a "exempted-players" list in the config where you can manually add players that will not receive the broadcasts!
----------, Jan 10, 2021

Fixed » The plugin sending alerts on the console when there was only one broadcast in the "messages" section of the config.

Note: You do not need to update the config.yml file with this update!
----------, Oct 24, 2020

Added » A way to preview the broadcasts (requires the "automaticbroadcast.list" permission node) via the /autobroadcast list command. This preview will only be seen by the sender of the command!
Fixed » The random breaking up completely when there was more than one player simultaneously.
Fixed » The << not correctly changing to « in the config.
Fixed » The plugin not sending the "no-permission" message while it should.
Updated » The config to fix the « ! ».
Updated » The plugin completely to be a little more compact!

Note: You do not need to update the config.yml file with this update!
----------, Oct 18, 2020

Resource Information
Author:
----------
Total Downloads: 16,619
First Release: Sep 3, 2020
Last Update: Oct 9, 2024
Category: ---------------
All-Time Rating:
39 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings