Nox plugin

Logo

This plugin allow you to customize MOTD of your minecraft server .

This plugin requires ProtocolLib.

 

For now the only command is reload, that are used to reload the configuration file. This is useful because prevents server restart to change MOTD. Use: /nox reload 

 

Classic MOTD

This feature sets the MOTD and is always active. The configured message will be displayed in the server list applying colors and substitutions.

 

Random MOTD

This feature randomly displays one of the configured messages in the server list. It can be enabled or disabled via the enable config, by default this feature is disabled.

 

Ban MOTD

This feature will be displayed when player ip has been banned. You can turn this feature on or off; by default it is enabled.

Ps: There are two messages, one for temporary ban and other for a permanent ban!

 

Hide slots

image

If you hide the splot of server just enable this feature, by default is disable.

 

Fake slots

image

When this feature is enable, display fake slots of players on server list.

 

Fixed online players

image

When this feature is enable, display fake players online on server list.

Ps: This feature not exeeds the number of slots, If you have 20 slots the maximum od players online will be this.

 

Plus online players

image

When this feature is enable, display fake players online on server list adding the number configured with the real number of players online.

Ps: This feature not exeeds the number of slots, If you have 20 slots the maximum od players online will be this.

 

Multiply online players

image

When this feature is enable, display fake players online on server list multiplying the number configured with the real number of players online.

Ps: This feature not exeeds the number of slots, If you have 20 slots the maximum od players online will be this.

 

Custom slots

image

This feature costomize the display of slots on server list

 

Custom version

image

You can set version of your server

 

Placeholders

The placeholder are key words used to replace for a value. The key word need to be between % to be a placeholder.In this plugin contains two types of placeholders, namely:

System placeholder

That are static and immutable key words to access to server/system infos.
Ex: serverName, serverVersion, date
See more here

Custom placeholder

that are customizable key words to get any info you want by configuration.
See more here

 

Colors and formats

For all features of this project you can use the colors and formas to prettyfy your MOTD.
The codes of colors and formas follow ChatColor implementation of bukkit. Except the hexadecimal, that have own implementation and only works on MOTD.

List of Bukkit Color Codes

  COLOR NAME CHAT CODE MOTD CODE HEX CODE
0 Black (black) &0 \u00A70 #000000
1 Dark Blue (dark_blue) &1 \u00A71 #0000AA
2 Dark Green (dark_green) &2 \u00A72 #00AA00
3 Dark Aqua (dark_aqua) &3 \u00A73 #00AAAA
4 Dark Red (dark_red) &4 \u00A74 #AA0000
5 Dark Purple (dark_purple) &5 \u00A75 #AA00AA
6 Gold (gold) &6 \u00A76 #FFAA00
7 Gray (gray) &7 \u00A77 #AAAAAA
8 Dark Gray (dark_gray) &8 \u00A78 #555555
9 Blue (blue) &9 \u00A79 #5555FF
a Green (green) &a \u00A7a #55FF55
b Aqua (aqua) &b \u00A7b #55FFFF
c Red (red) &c \u00A7c #FF5555
d Light Purple (light_purple) &d \u00A7d #FF55FF
e Yellow (yellow) &e \u00A7e #FFFF55
f White (white) &f \u00A7f #FFFFFF

 

List of Bukkit Format Codes

  NAME CHAT CODE MOTD CODE
unreadable Obfuscated &k \u00A7k
Text Bold &l \u00A7l
Text Strikethrough &m \u00A7m
Text Underline &n \u00A7n
Text Italic &o \u00A7o
Text Reset &r \u00A7r

 

Hexadecimal suport

You can set color os all feature using hexadecimal codes. Are two type of hexadecimal colors, single or gradient.

Single

This is simple and consistente, just put the hexadecimal color code between <>. Ex: <#AA0000>

Gradient

Its more complicated and just working on MOTD, that is, version, slots, etc does't work yet.
To use gradiente you have to put the hexadecimal color codes between <> starting with g and separated by :. Ex: <g:#DC00FF:#00F7FF>


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files