Sorry about the very bad logo, I'm out of inspiration right now.
What is VarMOTD?
VarMOTD is a plugin that adds an on join MOTD to the server, it sends you a message ingame that can be set in the configuration file, VarMOTD is aimed to get a lot of useful variables, so requests are always nice to get!
Variables:
%username% - Get the name of the player
%online% - Get the numer of players online
%maxplayers% - Get the max amount of slots on the server
%sonline% - Get the amount of staff that are online
%sonlinenames% - Get the names of all the staff members that are online
%news% - Get the daily news that is set using /setdailynews
%serverip% - Get the server's IP and port.
Commands:
/varmotd - The help command
/vreload - Reload the configuration file for the MOTD
/vversion - Get the plugin's version
/setdailynews - Set a news line that will show up in %news%
Permissions:
varmotd.staff - You will be counted as a staffmember in the MOTD
varmotd.version - /vversion - Check the plugin's version
varmotd.reload - /vreload -Reload the plugin's configuration file
varmotd.help - /varmotd - Get a list of all the commands
varmord.setnews - /setdailynews - Set the current news line
Configuration:
motd: - '&9Welcome back, &c%username%&7!' - '&9Current players online&7: &c%online%&7/&c%maxonline%&7.' - '&9Current staff online&7: &7%sonlinenames%&7 (&9Amount&7: &c%sonline%&7)' - '&9Server IP&7: &c%serverip%' - '%news%' dailyNews: '&9Daily news&7: &3We have added VarMOTD!' staffListPlayerColour: '&a' staffListCommaColour: '&7' noPermission: '&c&lYou don&7&l''&c< have permission for that command&7&l!'
Example:
(The server IP doesn't seem to work on a localhost, I hope that's okay.)
I hope I made clear what this plugin does and how it works, if I have not you can always ask it in the discussion topic. I hope people will find this a useful plugin, have fun!