HomeJavaModsLiteAnnouncer (BungeeAutoMessage)
LiteAnnouncer (BungeeAutoMessage)
cooltext210960334051078.png
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
Code (Text):
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:​
Code (Text):
/**
 * Returns an immutable Map of active placeholders
 * Type: Map<String, Function<ProxiedPlayer, String>>
 */
CODE: LiteAnnouncer.getPlaceholders();
Code (Text):
/**
 * 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);
Code (Text):
/**
 * Possibility to remove placeholders:
 * Example: LiteAnnouncer.removePlaceholder("%viewDistance%");
 */
CODE: LiteAnnouncer.removePlaceholder(String placeholder);

VIEW IN GAME
Spoiler: Main command output
Снимок экрана 2017-03-26 в 4.58.09.png
Spoiler: Commands help
Снимок экрана 2017-02-01 в 2.28.21.png

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
--------------------------------------------------------------------------------------------​

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.

LiteAnnouncer (BungeeAutoMessage) is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 14,658 times (via Spigot). Download it and open it directly in the game.

Explore more