SexyMotd
SexyMotd
THE BEST Motd plugin on BukkitDev
SexyMotd for BungeeCord servers has been released on Spigot! Search "SexyMotdBungee" on the SpigotMC site to find it!
SexyMotd v1.4+ can be found on SpigotMC!
Features
- Change motd easy and quick with in-game commands (1.2.2 and earlier)
- Colored motds
- Fake online players
- Fake max players
- Player's IP logging
- Display player's name with %playername% (done with IP logging)
- Display server's name with %servername%
- Display online players with %online_players%
- Display max player slots with %max_players%
- Skip to the next line of motd with %newline%
- Display server's version with %version%
- Avatar icons (player's face as a server icon) (done with IP logging)
- Overlaying a custom transparent image (.png) over the avatar icon, by providing either a file path, or a URL
- Fake version.
- Custom message on list hover.
- Randomized Motds
- Randomized fake online players
- Custom variables!!
- %newplayer%, %banned%, %whitelisted% Boolean variables (for use with conditional/custom variables)
- %groupName% variable (Will require PermissionsEx)
Variables
Variable | Function | Type |
%groupname% | Display the PEX groups that the user belongs to. | Array - String |
%ip% | Display the user's IP. | String |
%maxplayers% | Display the maximum player count from the server.properties. | Integer |
%newline% | Skip to the second line of the MOTD. | \n |
%onlineplayers% | Display the current online player count. | Integer |
%playername% | Display the last known display name from that IP. | String |
%playernames% | Display the names of all players currently online. | Array - String |
%randomplayer% | Display the name of a random online player. Defaults to default guest name in the configuration. | String |
%servername% | Display the server name defined in server.properties. | String |
%version% | Display the server version | String |
Variable Operators:
Variable operators allow you to modify the output of a variable with a special variable suffix.
Integer Variables -
Add a "+", "-", "*", or "/" followed by a number after any integer type variable to apply the operation to it. Example: %onlineplayers%+10
Array Variables -
Add a "[x]", where x is the index within the array, after any array type variable to only display one list item. Otherwise, arrays are displayed as "x, y, z"
Array variables of integer type are not eligible for integer operations after the index declaration.
Example: %playernames%[2]
Config and Custom Variables
SexyMotd 1.2.2 and Earlier
Commands:
Command | Description |
/motd addmotd <motd> | Adds an Motd |
/motd removemotd <index> | Removes an Motd |
/motd listmotds | Lists the Motds |
/motd maxplayers toggle | Toggles the FakeMaxPlayers |
/motd toggle | Toggles the SexyMotd (Note: your server will NOT look sexy if you disable it! :) ) |
/motd maxplayers set <number> | Sets the FakeMaxPlayers |
/motd players add <number> | Adds an online player number. |
/motd players remove <index> | Removes an online player number. |
/motd players list | Lists the online player numbers. |
/motd avataricon | Toggles the Avatar Icon (player faces as server icon) |
/motd info | Displays the info |
/motd reload | Reloads the config. |
/motd restart | Restarts the plugin. |
SexyMotd 1.2.2 and Earlier
Permissions:
Permission | Command/Action | Default |
sexymotd.set | /motd <subsection>motd(s) | OP |
sexymotd.toggle | /motd toggle | OP |
sexymotd.maxplayers.* | /motd maxplayers | OP |
sexymotd.maxplayers.toggle | /motd maxplayers toggle | OP |
sexymotd.maxplayers.set | /motd maxplayers set | OP |
sexymotd.players.set | /motd players <subcommand> | OP |
sexymotd.avataricon | /motd avataricon | OP |
sexymotd.info | /motd info | All |
sexymotd.reload | /motd reload | |
sexymotd.restart | /motd restart |
Disclaimers
This plugin uses the Minotar service to display player avatars as the server icon.
SexyMotd v1.2 and earlier: In order to provide information about new updates, this plugin uses Gravity's auto updater service to query dev.bukkit.org for new updates. Updates are not automatically downloaded, but can be downloaded with the /bm command or by clicking the provided link when an update becomes available. Update warnings can be disabled by setting the CheckUpdates section in the config to false.
SexyMotd v1.2 and earlier: We use PluginMetrics by Hidendra to collect data about the servers running SexyMotd. This data is packaged and sent to report.mcstats.org in order to be processed. The following data is collected from your server:
- Your servers unique metrics id.
- The version of PluginMetrics.
- Your server's CraftBukkit version.
- Player count.
- Your computer's operating system.
- Your computer's arch type.
- Your CPU's core count.
- Your server's online mode state.
- The version of java you have installed.
Metrics can be disabled by changing the opt-out section in plugins/PluginMetrics/config.yml to true.
REQUIREMENTS
This plugin REQUIRES ProtocolLib in order to function! You can get it here: http://dev.bukkit.org/bukkit-plugins/protocollib/
@Qwertyness
Not quite catching it? :P I love the plugin though, and it would be awesome if you could add that animated text! pm me what you mean by "my drift" plz ;) xD
@The_Lohkdesgds
I'm guessing you mean a sort of animated MOTD. In that case, that is something Im looking into. However, forced ServerPing packet sending that is needed for animated MOTDs is something I'm pretty sure is new to 1.8. Because of that, I can't post it on Bukkit because they lack a 1.8 API. If I make this, I will likely post to the second most popular server software, if you catch my drift.
Can you create a way to change the motd and the server-icon without refreshing minecraft, like ArcadeGames and Mineplex? Thaaaanks! xD
Ok thanks. I have a request for an update. Could you please add a way to centre text in the MOTD and in the hover message.
@pmotjim
You can set that player count message by doing the following:
The hover message is the PlayerMessage section of the configuration.
Hope that helps!
Hi. In the image at the very top of the screen where it shows the example MOTD, how did you make it say join now? Im referring to where the servers player count usually is. Also, How do you set a custom message for when you hover over the player count?
Thanks a lot @Quertyness i really enjoy this plugin!**
@linuxfan1
You can turn that off...
That is just there as a place holder so the plugin doesn't throw a whole bunch of errors when an image doesn't exist.
This plugin is going itmedietly I cannot stand the interface and i HATE hoe it says Sexy Motd ON MY SERVER PIC 0 out of 100 stars
@LPmitCodenNick5559
Can you elaborate? I'm afraid I don't understand your question.
I have a question! How make [in the picture] the player massage: Join Now
@EN7
Server and plugin version?
EDIT: I got the plugin version from the error report. It seems that the error is occurring when the plugin checks for PermissionsEx groups. Is the plugin saving correctly to the IpList.yml?
@Qwertyness
http://pastebin.com/2TN2VdCG Enabling heads causes server to not allow people to join, bc of could not connect Also, /motd reload doesn't save new configs, it goes back to the version before the change I have to restart server to change
@myvleermuis1234
Not currently.
will it works for bungeecord?
@drtshock
I know. Having some problems with my new router's port forwarding. I'm working on getting it back up.
Also, I removed that in the latest build, but the site is down, so its not downloadable :P
If you want that build, PM me and I'll email it or something. Sorry about the inconvenience.
EDIT: I just posted the 1.2.2 build to BukkitDev. Fastest file accept I've ever seen,
https://github.com/Qwertyness/SexyMotd/blob/master/src/net/pixelizedmc/sexymotd/Utils.java#L83 :(
And your site is down. RIP.
Qwertyness read my ticket please!
Really cool plugin. I love it ! :D
@jamisen10
I need the information from here to help you.
The %banned% and %servername% variables will not work! I do not know the reason behind this, but i would like it fixed! :)