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/
@JohOply
The current 1.3 releases don't have commands, but a reload command is coming back soon. When it does, /smotd also should work.
Hi
I use "/motd" of commandbook, so i can't use commands of your plugin :(
@Emalton
That is a different error related to the image processing manager of the plugin. Make sure that you turn off the image related settings in the configuration of you aren't using them and if you are, make sure the image paths are correct. That error would occur if the plugin tried to process an image that didn't exist.
@Qwertyness
Than what version should we use? My error: http://pastebin.com/hzFEp21U
@retrodaredevil
The plugin works fine with the latest versions. Commands were removed in 1.3.
Does this or will this ever work on 1.8.3 by any chance? When I type in any command it says nothing but in the plugins list it says this is enabled. It generated the config and everything but nothing changes with the clients.
@MRxShoody
That is actually a ProtocolLib error. You should check to make sure your server is compatible with the version of ProtocolLib you are using. If it is, send the author of ProtocolLib a ticket and they should be able to help you.
@Qwertyness
http://pastebin.com/nTH30SYg I have the same problem
@Ghr44
Can you send the rest of the error, plugin version, spigot version, ProtocolLib version, etc.?
ERROR Unhandled exception occured in onPacketSending(PacketEvent) for SexyMotd help?
Excellent plugin!
@TheNewDraco
Use the %newline% variable at any point in the MOTD to split to the next line. Otherwise, overflow is automatically wrapped by the MC client if there is no use of %newline%.
How i can make 2 lines in motd?
Like in top of post
@Kasperbjerby
I already have a plugin that does the 0/1 1/2 etc. But with the current plugin I use to have a special MOTD, it uses the max players set in the server properties
@angrybirds085
You could just use a plugin that does just that: http://dev.bukkit.org/bukkit-plugins/onemoreslot/
And then use this plugins allready existing variable: %max_players%
And it should do what you want.. I have not tested it but it should work
@Qwertyness
I don't use Bungee, too complicated for me :) If that feature exists, or at least something similar exists on that version I would greatly appreciate it if you put it back onto this version. It could just be something simple with variables like %plusoneonline% then %plusonemax% or something.
@angrybirds085
Normal SMotd only runs on Bukkit, so I f you are looking for a BungeeCord compatible plugin you can try out my port of SMotd called SexyMotdBungee (you can find it on SpigotMC). The feature you described isn't natively supported in the BungeeCord port, but with the new update you can do some finagling with variables to achieve the same effect. If you need a Bukkit version, I'm planning on porting the BungeeCord plugin's engine back to the Bukkit platform at some point, so the new features will be available on Bukkit when I get the chance to work on it.
Hey, the plugin I currently use for my server isn't being updated, and I just found yours and it seems to have all the features I need, besides one as far as I can tell. I run this plugin http://www.spigotmc.org/resources/justonemore-bungeecord.2227/ which basically sets the player slots to 0/1 when nobody is online, when 1 player is on it changes to 1/2, when 2 online 2/3 etc. Does the plugin support this now, if so can you tell me how to do it, if not can you add this as a feature? Don't mind if you upload here or on Spigot or both, as I'm sure it'll work on Spigot. Also if it doesn't work on 1.8.7 could you update it. :) Sorry if I seem a bit rude, but yeahh, just can't find any good MOTD plugins :P
@ItzEnderPlays
You simply disable avatar icons in the SMotd configuration file.
Qwertyness how do you delete the avatar icon ive tried deleting the plugins u need for it... please help