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
I fixed it, seems that ProtocolLib wasnt installed correctly, so it did derp out :/ Sorry
@yanniclord
When I first joined the project, I tested it and it worked fine for me.
I am working on submitting a new version, but BukkitDev is giving me a hard time about it. When it releases, try the new version and see if that works.
In 1.7.2 there is no Config folder made, please fix :/
@oska1416
Please elaborate. ;)
that works not
@EvandroCJ
That should not be a problem and should not cause any problems with the function of the plugin. As an engineer would say; if it works, don't screw it up. ;)
@JerkymanWho
I'm submitting a new version soon. When it releases, try that and see if the problem continues.
I tried submitting a ticket and the page was not found. Config.yml keeps changing back to default.
I submitted a ticket, pet me know what you think!
" [warning] [SexyMotd] The author of this plugin (victor2748) has misconfigured their Auto Update system [warning] [SexyMotd] File versions should follow the format 'PluginName vVERSION' [warning] [SexyMotd] Please notify the author of this error. "
@GlossindCorp
Can you make a PM to me including the following:
Bukkit Version
Plugin version
A copy of your configuration file
Steps to reproduce the problem
Any console errors or logs relating to the malfunction.
What the Motd is vs. what it should be.
Thanks for requesting help!
I can't get the MOTD to show up on the client's server list... I just installed the plugin and the default ones aren't showing up.
Why is there no reload command?
Please add one as soon as possible! I desperately need it!
@TheCoolGuy123_5_Minecraft_
oh ok
@victor2748
I've tried making a plugin twice, I can't make plugins. Sorry
@wuppie56
Did you try updating your protocollib to 1.7.8 version?
@TheCoolGuy123_5_Minecraft_
kk, sorry I wasnt working on it for a while since i dont have too much time :(. If you are familiar with BukkitAPI, do you want to help me out?
Waiting for the update for %player_names% for the player list
It gives me a bunch of java exeptions when someone pings the server with 1.7.8
[Netty IO #1/ERROR]: [SexyMotd] Unhandled exception occured in onPacketSending(PacketEvent) for SexyMotd
http:pastebin.com/1RDYyihV
@Dinocactus2000
It already works with 1.7.8
@victor2748
Hey can you update this to 1.7.8?
@MrMoneyMaker
Chill, it doesn't, but i am planning to make a bungeecord version for it ;)