LiteAnnouncer (BungeeAutoMessage)
6.3.1Very simple BungeeCord auto-message system with JSON lines support. Minecraft 1.7 - 1.13!
Very simple Auto-Message system without any soft dependences!
Now with json lines support!
It works with all bungee versions 1.7 - 1.13
--------------------------------------------------------------------------------------------
COMMANDS
/Announcer - help command
/Announcer commands - help command for commands
/Announcer alert <message> - send message from cmd to all players (work with variables)
/Announcer order <NORMAL/RANDOM> - list of messages
/Announcer interval <secs> - set interval in seconds
/Announcer reload - reload command
/Announcer list - list of messages
/Announcer toggle - switching the plugin's work
PERMISSIONS
Admin permission (for all commands) - announcer.admin
Full help message - announcer.admin
Tooltips for commands - announcer.admin
CONFIGURATION FILE
Settings:
messagesOrder: NORMAL
interval: 60
minOnlineCountForWork: 1
noPermMessage: §cYou don't have permissions!
enableVariables: true
debugJsonErrors: false
Messages:
'1':
SHOWMODE: ONLYFOR
SERVERS:
- exampleServer1
- exampleServer2
LINES:
- '&7--------------------------------------------------------------------'
- ''
- ' Hey &e&l%player%! &fThanks for using my plugin!'
- ' Have a nice auto-messaging!'
- ''
- '&7--------------------------------------------------------------------'
'2':
SHOWMODE: EXCEPTFOR
SERVERS:
- exampleServer1
- exampleServer2
LINES:
- '&7--------------------------------------------------------------------'
- 'Your ping: &e&l%playerPing%&f ms'
- '&7--------------------------------------------------------------------'
'3':
SHOWMODE: ALLSERVERS
LINES:
- '&7--------------------------------------------------------------------'
- '[{"text":"Spigot plugin page "},{"text":"URL LINK","color":"yellow","underlined":true,"clickEvent":{"action":"open_url","value":"https://www.spigotmc.org/resources/liteannouncer-bungeeautomessage.23918/"}}]'
- '&7--------------------------------------------------------------------'
'4':
SHOWMODE: ALLSERVERS
LINES:
- '&7--------------------------------------------------------------------'
- '[{"text":"Online players count: "},{"text":"%onlineCount%","color":"yellow","bold":true,"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Very big server here :)","color":"yellow"}]}}}]'
- '&7--------------------------------------------------------------------'
'5':
SHOWMODE: ALLSERVERS
LINES:
- '&7--------------------------------------------------------------------'
- 'Your server: &e&l%server%'
- '&7--------------------------------------------------------------------'
'6':
SHOWMODE: ALLSERVERS
LINES:
- '&7--------------------------------------------------------------------'
- 'Your IP: &e&l%playerIP%'
- '&7--------------------------------------------------------------------'
MESSAGE NODES
SHOWMODE - Means that plugin will send message to allowed servers. By default is ALLSERVERS (Possible to use ONLYFOR, EXCEPTFOR and ALLSERVERS)
SERVERS - Required setting for ONLYFOR, EXCEPTFOR showmodes. List of server's names.
LINES - List of message lines (u can use only one line too)
JSON USAGE
Every line of message can contains an array of json components or simple text.
You can see example in config above.
Json line generation: https://www.minecraftjson.com/
PLACEHOLDERS
%player% - Player's display name
%playerIP% - Player's ip address
%playerPing% - Player's ping (ms)
%playerUUID% - Player's UUID
%playerVersion% - Player's client version
%playerCountry% - Country of the client of the player
%onlineCount% - BungeeCord Online Players Count
%server% - Player's server (from bungee config)
PLACEHOLDERS API
If you are a developer, you can add you own placeholders, lets see:
/**
* Returns an immutable Map of active placeholders
* Type: Map<String, Function<ProxiedPlayer, String>>
*/
CODE: LiteAnnouncer.getPlaceholders();
/**
* You can add your own placeholder, using String and Function Objects
* Example: LiteAnnouncer.addPlaceholder("%viewDistance%", player -> String.valueOf(player.getViewDistance()));
*/
CODE: LiteAnnouncer.addPlaceholder(String placeholder, Function<ProxiedPlayer, String> replaceFunction);
/**
* Possibility to remove placeholders:
* Example: LiteAnnouncer.removePlaceholder("%viewDistance%");
*/
CODE: LiteAnnouncer.removePlaceholder(String placeholder);
VIEW IN GAME
Main command output
Commands help
INSTALLATION
This is BungeeCord plugin not for Spigot or Bukkit!
Place the LiteAnnouncer.jar file in the /plugins folder of your BungeeCord server and restart it.
IF YOU LIKE THIS PLUGIN
DON'T FORGET TO GIVE A 5 STAR RATING!
--------------------------------------------------------------------------------------------
PLUGIN CODED ON JAVA 8
--------------------------------------------------------------------------------------------
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta