HomeJavaModsBarMessages
BarMessages
This is a simple plugin which utilizes the BossBar feature in order to send messages between players.
Examples:
- http://i.imgur.com/1aRxLZw.png
- http://i.imgur.com/7IbnLl5.png
- http://i.imgur.com/1gnayuP.png

Commands:
- /BarMessage
- /BarMessage [Message]
- /BarMessage [Time] [Message]
- /BarMessage [Time] [Colour] [Message]
- /BarMessage send [Player] [Message]
- /BarMessage send [Player] [Time] [Message]
- /BarMessage send [Player] [Time] [Colour] [Message]

Usage:
As shown in the commands above, there are 6 separate commands, each one for a different purpose of customization.
- /BarMessage [Message] - Send plain message to yourself
- /BarMessage [Time] [Message] - Send a message for a specified amount of time.
- /BarMessage [Time] [Colour] [Message] - Send a message for a specified amount of time, and a specified bar colour.
- /BarMessage send [Player] [Message] - Send plain message to another player
- /BarMessage send [Player] [Time] [Message]- Send plain message to another player for a specified amount of time.
- /BarMessage send [Player] [Time] [Colour] [Message]- Send plain message to another player for a specified amount of time, and a specified bar colour.

Send is used to send the message to another player.
Self is used to display the message to yourself.

Permissions
Configuration
Spoiler: Config
#This is the prefix which is shown as in the prefix before all player returned messages.
Prefix: "&f&l[&9&lBarMessage&f&l]"

#This is the max time messages are allowed to be sent for
Max-Time: 20

#This is the message which is displayed when the player does /BarMessage or the equivalent.
BarMessage-Info:
- ' &f&l-&7&l=&8&l[&9&l+&8&l]&7&l=&f&l&m-&r &7&l=&f&l&m-&7&l=&f&l&m-&7&l= &f&l[&9&lBarMessage&f&l] &7&l=&f&l&m-&7&l=&f&l&m-&7&l= &f&l&m-&7&l=&8&l[&9&l+&8&l]&7=&f-'
- ' '
- ' &9&l/BarMessage &7[Message]'
- ' &9&l/BarMessage &7[Time] [Message]'
- ' &9&l/BarMessage &7[Time] [Colour] [Message]'
- ' &9&l/BarMessage &7send [Player] [Message]'
- ' &9&l/BarMessage &7send [Player] [Time] [Message]'
- ' &9&l/BarMessage &7send [Player] [Time] [Colour] [Message]'
- ' '
- ' &f&l-&7&l=&8&l[&9&l+&8&l]&7&l=&f&l&m-&r &7&l=&f&l&m-&7&l=&f&l&m-&7&l= &f&l[&9&lBarMessage&f&l] &7&l=&f&l&m-&7&l=&f&l&m-&7&l= &f&l&m-&7&l=&8&l[&9&l+&8&l]&7=&f-'

#This is the error which is sent to console should console attempt to execute those commands.
Player-Only-Error: "&cOnly players are able to use that command!"

#This is the error which is shown to players when they attempt to send a message larger than the max time. use {MaxTime} to show max time variable.
Max-Time-Error: "&cYou must not not use a timer bigger than {MaxTime}"

#This is the error showing when the player doesn't have the permissions
Player-Permission-Error: "&cYou do not have permission to use that command!"

#These are the listed preferences that bar messages should take, just in case they're not supplied with it during a command.
DefaultBar:
#Colour of the bar, available colours are: BLUE, GREEN, PINK, PURPLE, RED, WHITE and YELLOW
Colour: BLUE
#This is the time that a default message should be displayed for, in seconds.
Time: 10
#This is the style of the bar, available styles are SOLID, SEGMENTED_20, SEGMENTED_12, SEGMENTED_10 and SEGMENTED_6
Style: SOLID

Timing:

The default time is able to be set in the config, so all messages that don't have a specified time will only last for that long, the config also holds a max time which stops players sending messages which are hours long etc.

Future:
Reviews and suggestions:
Any suggestions that you have will hopefully be introduced, however due to this being my first plugin it may take some time to implement.
Thank you for reading and I hope you enjoy this plugin!
If any bugs or problems occur please PM me before posting a review, I'll happy to solve them!

Commands

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.

BarMessages is a free Minecraft Java mod. Compatible with Minecraft 1.10, 1.11, 1.12. Downloaded 239 times (via Spigot). Download it and open it directly in the game.

Explore more