ServerlistMOTD X
ServerlistMOTD allows you to change your MOTD in the serverlist. You can set custom MOTDs for known players or welcome new players with a special MOTD to get the players attention. This plugin is HIGHLY compatibile with old and new versions of Bukkit/Spigot! Now with HEX support as well!
The plugin requires ProtocolLib for all features |Placeholder API support
All slots related features won't work without ProtocolLib.
Newest builds on GitHub: *click*
Need help or found a bug? Report here: *click*
Please be friendly and not entitled!
Feature Overview
NewbieMOTD - "You are a new player? You're going to see this!"
Welcome new players directly in their serverlist!
RegularMOTD - "You played here before? You're going to see this!"
Welcome known players with a special motd!
RandomMOTD - "You're going to see a different MOTD each time!"
Add as many MOTDs as you want by adding bullet points in your config!
BanMOTD - "You're banned? You are going to see this." (Bukkit/Spigot only)
MOTD for all your banned players! This can display the ban reason and the expiration date.
Support for all Ban-Plugins that support Bukkits/Spigots standard ban function (like Essentials), BanManager and MaxBans
WhitelistMOTD - "You have a Whitelist? I have a MOTD!" (Bukkit/Spigot only)
This feature will show you a special MOTD when activated in config and a whitelist is active!
HoverText - "Mouseover your slots to unlock a cool Messagebox!"
Add as many lines as you want by adding bullet points in your config!
Change your Slots and OnlinePlayerCount!
You can change slots and online player in your config. (These numbers are obviously fake!)
VersionText - Replace your slots with a text!
Use your personal text to make your server different!
Example of use: '&4&lMAINTENANCE' to represent a maintenance mode.
OutdatedClientText - Let your players know which version to use
Tell your players what version of Minecraft to use!
Hide your Slots and OnlinePlayerCount! (Bukkit/Spigot only)
Do you want to hide your slots and online players? This will bring you some privacy! ;-) Note: HoverText and all other slots manipulations have to be disabled.
RestrictedMode - Your server appears to be offline! (Bukkit/Spigot only)
Players without OP/Permissions will see this in their serverlist when RestrictedMode is ON.
Players with OP/Permissions will see this in their serverlist when RestrictedMode is ON.
SlotsPlusOne
SlotsPlusOne generates a custom slots count based on your online players. Often used by big server to fake an almost full server. In simple terms, you basically add one slot to your current number of online players.
Example: 10 players online - custom number: 1 - 11 slots --> 10/11
Example: 27 players online - custom number: 5 - 32 slots -- > 27/32
You can create a min and max limit to prevent from having for example 1 slot when no one is online.
OnlineMultiplier
OnlineMultiplier generates a fake online players count by multiplying it with a number set in config!
When the multiplied number gets above your min slots, it will adjust the slots by adding a custom number to it!
When the multiplied number gets above your max slots, it will set the online player count and slots to your max value -> see config (Example 100/100)
Example (Min Slots: 100):10 players online - multiply by 5 - 50 players online/ 100 slots (50 Players < Min Slots -> Min Slots = Slots and no adjustment with the custom number)
Example (Min Slots: 10) 12 players online - multiply by 2(24 Players + 5 -> CustomNumber ( = Slots) - 24 players online/ 29 slots
Example (Max Slots: 100): 50 players online - multiply by 3 - 100 players online / 100 slots (because 150 > 100)
Color Codes
ColorCode | Output | ColorCode | Output |
---|---|---|---|
&0 | Black | &a | Green |
&1 | Dark Blue | &b | Aqua |
&2 | Dark Green | &c | Red |
&3 | Dark Aqua | &d | Purple |
&4 | Dark Red | &e | Yellow |
&5 | Dark Purple | &f | White |
&6 | Gold | &l | Bold |
&7 | Gray | &o | Itallic |
&8 | Dark Gray | &k | Magic |
&9 | Blue | &n | Underlined |
HEX Support for 1.16+
- Single HEX color:
<#FFEDBC>
- Gradient:
<g:#ED4264:#FFEDBC>
(add more colors to the gradient by appending:#CODE>
)
Examples
<g:#ED4264:#FFEDBC>&lWelcome back, <#FFEDBC>&o%player%! %line%<g:#22c1c3:#fdbb2d>It's a %weather% &a%time%
<g:#ED4264:#FFEDBC:#22c1c3>Welcome newbie! %line%<g:#22c1c3:#fdbb2d>It's a &c%weather% %time%.
Variables for (Random-)MOTD (Newbies)
Variable | Output |
---|---|
%time% | Returns time from world set in config |
%weather% | Returns weather from world set in config |
%line% | Add second line |
%randomplayer% | Returns random playername (joined before) |
... and PlaceholderAPI!
%player% & %money% are not available because the Newbies MOTD is for unknown players. ServerlistMOTD has to register the players name and its IP in a database to recognize the player. (IP-Logging) There is technically no other way to get the players name!
Variables for (Random-)MOTD (Regulars)
Variable | Output |
---|---|
%player% | Returns player name |
%time% | Returns time from world set in config |
%weather% | Returns weather from world set in config |
%line% | Add second line |
%money% | Returns money from player (Vault needed) |
%randomplayer% | Returns random playername (joined before) |
... and PlaceholderAPI!
Variables for Ban MOTD
Variable | Output |
---|---|
%player% | Returns player name |
%time% | Returns time from world set in config |
%weather% | Returns weather from world set in config |
%line% | Add second line |
%randomplayer% | Returns random playername (joined before) |
%reason% | Ban reason |
%expdate% | Ban expiration date (day, mont, year in one -> 06.06.2015) |
%exptime% | Ban expiration time (sec, min, h in one -> 8:12:34) |
%expsec% | Ban expiration seconds of time |
%expmin% | Ban expiration minutes of time |
%exphour% | Ban expiration hours of time |
%expday% | Ban expiration day of date |
%expmonth% | Ban expiration month of date |
%expyear% |
Ban expiration year of date |
... and PlaceholderAPI!
You can change the position and the separations between the values in the config
(affects ONLY %expdate% & %exptime%)
Example: Change DD/MM/YYYY (12/9/2015) to MM/DD/YY (9/12/15)
Example: Change hh:mm:ss to hh:mm if you don't want the seconds to be displayed
Change the / or : to whatever you want! (Could - or * or whatever)
Variables for HoverText
%time% | Returns time from world set in config |
%weather% | Returns weather from world set in config |
%line% | Add second line |
%randomplayer% | Returns random playername (joined before) |
... and PlaceholderAPI!
Variables for WhitelistMOTD
Variable | Output |
---|---|
%player% | Returns player name |
%time% | Returns time from world set in config |
%weather% | Returns weather from world set in config |
%line% | Add second line |
%money% | Returns money from player (Vault needed) |
%randomplayer% | Returns random playername (joined before) |
... and PlaceholderAPI!
Variables for RestrictedMode
Variable | Output |
---|---|
%player% | Returns player name |
%time% | Returns time from world set in config |
%weather% | Returns weather from world set in config |
%line% | Add second line |
%money% | Returns money from player (Vault needed) |
%randomplayer% | Returns random playername (joined before) |
... and PlaceholderAPI!
Variables for VersionText/ OutdatedClientText
Variable | Output |
---|---|
%randomnumber% | Returns random number between a set interval from config |
%fakeslots% | Returns fake slots set in config |
%fakeonline% | Returns fake online count set in config |
%realslots% | Returns amount of real slots available |
%realonline% | Returns amount of players online |
%slotsplusone% | Returns value of SlotsPlusOne-Feature |
... and PlaceholderAPI!
Commands and Permissions
For Bungeecord: /bmotd - Permissions: bmotd
Command | Permissions (or OP) | Description |
---|---|---|
/serverlist Alias: /sl, /smotd |
serverlist | Helpsite (Commands) |
/serverlist reload | serverlist.reload | Reload Config (Apply Changes) |
/serverlist restrictedmode | serverlist.restrictedmode | Toggle RestrictedMode & Kick all |
serverlist.restrictedmode.join | Join Server When RestrictedMode ON | |
serverlist.restrictedmode.nokick | No Kick When RestrictedMode Toggled | |
/serverlist update (in old versions) | ServerlistMOTD.update.runUpdate | Initiate Plugin Update |
ServerlistMOTD.update.getNotified | Get Notified On Join When Update Available | |
/serverlist randommotd | serverlist.randommotd | Toggle RandomMOTD on/off |
/serverlist banmotd | serverlist.banmotd | Toggle BanMOTD on/off |
/serverlist versiontext | serverlist.versiontext | Toggle VersionText on/off |
/serverlist lastping <name> (in old version) |
ServerlistMOTD.serverlist.lastping |
Shows last ping from player |
Metrics
ServerlistMOTD (below X!) collects anonymous data. You cann see everthing over here at bStats:
Bungeecord: bStats *click me*
Spigot/Bukkit: bStats *click me*
I switched to bStats as mcstats.org is very unreliable. You can find the Metrics for ServerlistMOTD 1.0-6.2 right here: mcstats.org (if available)
ServerlistMOTD doesn't collect Metrics!
Please add a prefix option that shows up for all motds so one doesn't have to repeat the same string for each random motd. Also, please provide an option to have the same set of motds for regulars and newbies without needing to copy+paste.
It would be very cool to have more Variables! If you can smthng like %randomplayer% to show a randomplayername who is logged in at the moment. so you can see by hovering the versiontext who is online. So if you write in the hover text e.g. 5 times &randomplayer% and there are 3 people on, it would show the names of the 3 people. (so if there are not enough players for all %randomplayer%s the line is not shown.
This would be awesome.
@Dennisxo: Ok I will do it in the next update (will take some time as I have no time for coding. Sorry :-( )
@Pikachu1250: The Server is Outdated Text is a technical thing. Short: the Plugin tells the player that the Server is Outdated and you just change the Outdated Text. There is no other way. :-)
This plugin is AWESOME! I would suggest letting people use the variables like %player% and %line% in the restricted mode motd. Also whenever I turn on the VersionText to true, the MOTD works but the little ping thing says the server is outdated.
Sorry, the image is so big you might have to save it to see the whole thing.
Nice Plugin :D but pls add Symbols like ✔️ and others to your Plugin :D Edit: and pls add a second line to RestrictedMode :D
@assasinsheep
Don't post error logs in the comments! Please include your config and tell me your ProtocolLib version. Send me a pm.
also can you add my server there to lol... I am using the plugin and when I change the config nothing changes I am using the latest version aswell as spigot 1.8.8
my server ip is mc.dreamlands.net and the website is foreverformums.enjin.com
@Strumswell
All 3 points where different from eachother. Got it fixed though, sorry for the confusion. :)
@Maliators
Well it's really difficult without a server log...
But Check:
- Do you have ProtocolLib?
- Is your world name "world" (if not change world in config.yml to your worldname)
Hi, on my server, this plugin don't work. He's in red when I do /pl. Do you have a solution ?
@Sikatsuu
What? :'-D I have no idea what you mean. You just want to show how many players are online without the slots? Use the version text feature and just use the %realonline% variable.
Is there actually any way to hide your server slots from serverlists aswell?
And i wonder, i would like to show how many players are in the server, but not the max slot amount, is this possible?
And is there any news about the feature to see the currently online players?
@blabl2000
Please check your console. You should get a message from ServerlistMOTD that you can't use that feature on a 1.7.x (and below) version! The hover text (player list) was implemented in 1.8! And to remain the compatibility with older minecraft versions the hover text disables itself on non-1.8 versions to protect you from errors or worse :-)
Have a nice day anyways
Strusmwell
i put enabled : true and it goes back to false
I need help with the hovertext it won't do it i updated it to 5.0.1 and it doesn't work still
@egamadMC
It's done via IP-Logging. The plugin won't recognize you if your IP has changed. (There is no other way to do it as no playername is send via a ping in the serverlist. Just your IP)
@Strumswell
I was talking about newbie and regulars motd, but it's all good now. I have no idea what went wrong, but I deleted the config and let a new one generate, now it works.
Btw, how does the plugin determine whether a player is a noob or a regular? I'm still getting newbie motd and I'm the server owner ;D
@egamadMC
I don't understand your problem... Where do you use the brackets? You can send me your config via PM or paste it in a PM. :-)
EDIT: The brackets should work just fine. Please don't forget the ' at the beginning and end of the motd. Example: 'Here is your motd'
Hello, I just discovered this, it's a great plugin!
I have a question though, can we escape any characters like ( ) [ ]| : ? If I want to type e.g. SERVER (beta), I get an error in console because of the brackets. Any workarounds?
@smessie
Hey,
the players online list is a good idea... I will keep it in mind. (But please open a ticket for it.)
The "Outdated client!" is a technical restriction by minecraft. When the server/client is outdated you see the red "Outdated server" or whatever in front of the connection bars. And I use this feature in my plugin by changing this text. There is NO way to avoid the "Outdated client!". Sorry for that but I can't change that. (That's why I called it Version Text...)
Thanks for your suggestion :-)