AutoMessage Plugin | Hex Colours | [1.17-1.20.x] icon

AutoMessage Plugin | Hex Colours | [1.17-1.20.x] -----

Customizable messages through the config of the plugin will be sent in-game



AutoMessage is a plugin which sends messages that are customizable in the config.yml file. You can also customize the delay (in seconds) between those messages.

Now every time that message is sent, a player will hear a sound that is also configurable in the config.yml file. That sound can be turned off if you don't like it in the config.yml file as well.

There is only one command in this plugin. It is called /automessage. The command in it's self has 3 different options. Either to turn broadcasting on/off or reload the plugin's config. At the end of this page you can see that that looks like. To use all of those commands you need only one permission. It is called automsg.admin.

The plugin now has 2 new subcommands for /automessge. They are /automessage soundoff & soundon. These commands use the boolean value messageSound from config and changes it to whatever command is being ran. If /automessage soundoff is ran the value will change to false from true. These commands have the same permission as every other command, automsg.admin.

Please report any bugs, or if you have any ideas please join my discord server.
https://discord.gg/5T9bFQC8HR

Here is a youtube video tutorial that someone made for me. The creator speaks in polish but still quite nicely explains on how my plugin works.


#TO/DO#
Add a possibility to turn on and off messages being broadcasted. ✅| Implemented
For the future I have an idea to add a possibility for you guys to change the sound in the plugin's config file. ✅ | Implemented
I also have an idea to implement hex colours. ✅ | Implemented
#TO/DO#


Here's what it looks like in-game:
This is /automessage:
upload_2022-11-2_20-19-55.png

This is /automessage <on>:
upload_2022-11-2_20-21-30.png


This is /automessage <off>:
upload_2022-11-2_20-20-44.png

This is /automessage <reload>:
upload_2022-11-2_20-22-31.png

This is a no permission message:
upload_2022-11-2_20-24-54.png

Here's how the Hex Colour Codes look:
upload_2022-10-1_17-53-3.png

Code (YAML):


settings
:
delay
: 20
messages
:
# To use RGB Hex Colours you can use this site, it's really easy to use. https://rgb.birdflop.com
- "&#42fdfdT&#54fceah&#66fad8i&#78f9c5s&#8af7b2I&#9cf6a0s&#adf58dA&#bff37aT&#d1f267e&#e3f055s&#f5ef42t"
- "&#42fdfdT&#54fceah&#66fad8i&#78f9c5s&#8af7b2I&#9cf6a0s&#adf58dA&#bff37aT&#d1f267e&#e3f055s&#f5ef42t"
- "&#42fdfdT&#54fceah&#66fad8i&#78f9c5s&#8af7b2I&#9cf6a0s&#adf58dA&#bff37aT&#d1f267e&#e3f055s&#f5ef42t"
- "&#42fdfdT&#54fceah&#66fad8i&#78f9c5s&#8af7b2I&#9cf6a0s&#adf58dA&#bff37aT&#d1f267e&#e3f055s&#f5ef42t"
- "&#42fdfdT&#54fceah&#66fad8i&#78f9c5s&#8af7b2I&#9cf6a0s&#adf58dA&#bff37aT&#d1f267e&#e3f055s&#f5ef42t"

prefix
: "&8[&r&lAM&8] » "

messageSound
: true


#You need to always do this: sound name in CAPITALS e.g. ENTITY_PLAYER_LEVELUP
sound
: 'ENTITY_PLAYER_LEVELUP'


# CLICKABLE MESSAGES #
# CLICKABLE MESSAGES #
# CLICKABLE MESSAGES #
clickableMessage
: true # This is if you want to send any clickable messages, change to false if not, if yes change to true.
clickableMessagesDelay
: 20 # This is a custom/different message delay, this is only for the clickableMessages
clickableMessagesSound
: 'ENTITY_VILLAGER_YES' # Pick whatever sound you want, all must be in capitals the list of sounds you can use is on my plugin page

clickableMessageTextOnChat1
: "&9&lJoin our discord!"a
clickableMessageHoverText1
: "&7Click to join." # These messages are only an example.
clickableMessageUrl1
: "https://discord.gg/5T9bFQC8HR"

# CLICKABLE MESSAGES #
# CLICKABLE MESSAGES #
# CLICKABLE MESSAGES #

 

You can use this website to find the Sound you want to be played.
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html

Enjoy!

Also please consider leaving a rating for my plugin I've worked a lot of time on it, and I need some motivation to keep making it better, Thank you!



MUST READ


  • You may distribute this plugin as long as the download link stays on this page!
  • You may not copy this code and claim it as yours!
Resource Information
Author:
----------
Total Downloads: 10,337
First Release: Mar 17, 2022
Last Update: Jun 2, 2024
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings