motd для сервера майнкрафт плагин
[Guide]Значок сервера и цветной motd на 2 строки
Ого, вы зашли в полную! Значит, вам стало интересно! Ну ладно. Что же нам потребуется?
ВНИМАНИЕ! ЗНАЧОК РАБОТАЕТ ТОЛЬКО ДЛЯ ВЕРСИИ 1.7.2!
Но если вы не поняли как всё делается, смотрим видео.
Данное видео никак не является рекламой, я взял его т.к. это получше чем остальные гайды.
Приступаем к настройке описания
Заходим на сайт этот, выбираем UTF-8 text >> Java entities и слева пишем нужные вам текст.
Теперь сделаем его цветным
Давайте теперь добавим разные цвета. Я выбрал синий, зелёный и красный.
Пишем: §1Мой§1 §2Любимый§2 §cСайт§c
И имеем
Добавим цветной символ и перенесём на 2 строку(Перенос делается через \n). Что бы убрать пробелы, просто удалите их.
Вводим:§1Мой§1 §2лучший§2 §3сайт§3 /n §eПлагины§e §7|§7 §bМоды§b §7|§7 §fТекстурпаки§f
Ну вот, что получилось.
Теперь давайте установим значок для сервера
Создаем картинку 64×64 пикселя(сохраняем в формате png) или качаем из интернета готовую.
Переименовываем ее в server-icon и закидываем в папку с сервером, там где файл запуска.
P.S: Значок можно поставить только на версию 1.7. и выше
Чтобы сделать символ цветным: §7®§7
Чтобы перенос был ровным: убрать пробелы перед \n и после него
Что-же, подошёл гайд к концу. Надеюсь, вам понравится гайд. Жду ваших оценок и комментарий.
Bukkit
ServerlistMOTD X
Bukkit Plugins
ServerlistMOTD X
Table of Contents
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!
Try out X-2021-09-12-BETA: *click*
The plugin requires ProtocolLib |Placeholder API support
Newest builds on GitHub: *click*
Need help or found a bug? Report here: *click*
Please be friendly and not entitled!
Feature Overview
Welcome new players directly in their serverlist!
Welcome known players with a special motd!
Add as many MOTDs as you want by adding bullet points in your config!
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
This feature will show you a special MOTD when activated in config and a whitelist is active!
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!)
Use your personal text to make your server different!
Example of use: ‘&4&lMAINTENANCE’ to represent a maintenance mode.
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! 😉
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.
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!
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+ (GitHub Beta)
Examples
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) |
%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) |
Variables for Ban MOTD
Ban expiration year of date
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
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) |
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) |
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) |
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 |
Commands and Permissions
Command | Permissions (or OP) | Description |
---|---|---|
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 |
ServerlistMOTD.serverlist.lastping | Shows last ping from player |
Metrics
ServerlistMOTD (below X!) collects anonymous data. You cann see everthing over here at bStats:
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!