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/
Hello
You created a great plugin, love it :D.
I'm now using SexyMotd 1.5 on a MC Spigot 1.12 Server.
But somehow the "CustomVariables" are not working. They are shown as %largeplayercount% in the game client instead of the actual largeplayercount (even on a fresh/new setup of this plugin).
motds:
- '%playername% %servername% %largeplayercount%'
variables:
largeplayercount:
variable: 'onlineplayers'
operator: '>'
condition: '10'
value: '&aIts sure getting popular around %servername%!'
negValue: '&cGotta step up that recruiting skill! %servername%'
Can you tell what wrong?
If you need more information, please ask.
Grtz.
Martie
Menšia rada: skúste to urobiĆ„ cez www.server.pro !
Naj plugin!!!
Very, very, very, nice good plugin!!!!
@Flamingh3ad
If you are modifying the settings while the server is booted, make the changes to the file, save the file (and make sure it uploads if using FTP), and then use /motd reload to update the settings on the server. This should prevent the server from overwriting the settings when it restarts.
hi, i'm using Sexy MOTD version 1.4.3 and ProtocolLib version 3.6.6 in my 1.8 server the thing is that i downloaded everything but the only commands i can do are: /motd help /motd reload /motd maintenance /motd addmaintainer /motds removemaintainer i tried to change the settings in the config.yml but they don't save! i could use some help asap !!! thanks.
@SM0K3YHD
That would give you the path, yes.
@Qwertyness
im using beastnode on chrome browser...should i look on filezilla?
@SM0K3YHD
The "/" at the beginning of that path represents the highest level directory in the system. Directories under the "/" in a standard Linux distro are things like "/var", "/dev", "/usr", etc. It is likely that your "ServerIcon" is nested in one of the higher level folders (likely "/home/<username>/ServerIcon", though it depends on the host). In order to find out, you need to look for the full path on the FTP client you use. I can't really help you there because it depends on the program you are using. The full path is what the plugin needs.
Relative paths are also an option. I believe that using a relative path on an MC server uses the folder the server jar is located in as the home directory. In that case, if you place your server icon folder in the same folder as the server jar, the path "ServerIcon/image.png" would likely work. Removing the "/" from the beginning is important to signal that it is a relative, rather than absolute, path.
@Qwertyness
i have my "servericon" folder right when i log into my ftb. then i go into that folder and the icon picture is there
enableOverlayImage: true imagePath: '/ServerIcon/CAxKyIW.png'
@SM0K3YHD
Turn off the avatarIcon feature in the icon section to get rid of the skin icon. Then you just enable overlayImage and give the file path to the image. On a Linux host it may start with something like "/home/<user>", but it all depends on where you put the image.
@Qwertyness How do i make my server icon show up for the servers list. it just shows my skin. im using a dedicated host and i dont know how to direct pictures around using it
@hakim987
Are you referring to something like a maintenance mode? If so, that is a feature in the newer versions of the plugin on SpigotMC.
Hi can you make a feature where a lockdown (maxbans) when there is a lockdown the motd will automaticly change to something. I need this for the website status on my website would be epic if you can implement this feature :D
@TrifleTower
Animations are no longer possible in MC versions 1.8.4 and above.
Could you make this s I can use my animated server icon with this plugin? (.GIF)
@cowassassin
I would suggest trying the newest version, version 1.4.2, which can be found on SpigotMC. If you still have issues with the newest version, I'd be happy to look into them.
I love the plugin and I've used it before, but I have a few issues.
1.) In-Game commands don't work. I've tried disabling the /motd from Essentials but all the /motd command from SexyMotd does is echo /motd [chapter] [page].
2.) The config won't save! I've followed the directions, but only part of the config changes. It shows in the FTP that it saved, but it doesn't act as if it's saved.
Please help! Thanks.
@eddedomer
%newline% wherever you want the break. Only two lines will show.
how do you make a new line in on the motd in the config?
@dddylan98
I'm not entirely sure, but I think the authentication is handled before SMotd can intercept the login attempt. I'll look into it though.