F3 server names ​
Module info | |
---|---|
Configuration | f3-server-names.yml |
Manager | F3ServerNameManager |
Support | Bukkit: 1.8+ Sponge: ❌[?] |
Free version | âś” |
Proxy-configurable | ❌ |
F3 server names are one line strings displayed in the third line of the player's F3 debug screen. This module prints them in configurable time intervals. They can be used to show information about the server:
Default configuration (f3-server-names.yml
in 1.8+)
f3-server-names:
settings:
enabled: true
random-order: true
sending-timeout-ms: 5000
placeholder-types:
- SERVER
f3sn-0:
texts:
english: '&e&l{server_version} &7server'
italian: '&e&l{server_version} &7server'
f3sn-1:
texts:
english: '&a&l{server_version} &7server'
italian: '&a&l{server_version} &7server'
f3sn-2:
texts:
english: '&b&l{server_version} &7server'
italian: '&b&l{server_version} &7server'
f3sn-3:
texts:
english: '&9&l{server_version} &7server'
italian: '&9&l{server_version} &7server'
f3sn-4:
texts:
english: '&d&l{server_version} &7server'
italian: '&d&l{server_version} &7server'
f3sn-5:
texts:
english: '&5&l{server_version} &7server'
italian: '&5&l{server_version} &7server'
f3sn-6:
texts:
english: '&4&l{server_version} &7server'
italian: '&4&l{server_version} &7server'
f3sn-7:
texts:
english: '&c&l{server_version} &7server'
italian: '&c&l{server_version} &7server'
f3sn-8:
texts:
english: '&6&l{server_version} &7server'
italian: '&6&l{server_version} &7server'
Setup ​
The following snippet of code represents and explains the ads' configuration.
f3-server-names:
settings:
enabled: true # whether to enable or disable this module
random-order: true # whether to use a random order when sending the F3 server names
sending-timeout-ms: 5000 # timeout between sendings, in milliseconds
placeholder-types: # read below
- SERVER
Just like for the other modules, you have to specify which placeholder types you wish to use. Refer to the Modules/Placeholders page for more info.
Adding F3 server names ​
To add a new F3 server name, you just need to specify its ID and its texts. The ID has to respect the following pattern: ^[a-zA-Z0-9-_]{2,36}$
.
f3-server-names:
settings:
# ...F3 server names' settings...
# ...default F3 server names...
new-f3-server-name: # ID - required
texts: # required
english: '{tps_1_min_format} TPS'
italian: '{tps_1_min_format} TPS'
...which, after a /chatplugin reload
, will result in:
Multi instance mode ​
If you are using a proxy like BungeeCord, the F3 server name will be displayed with a "BungeeCord -> " string in front of it unless you enable the multi instance mode.
ChatPlugin - Un plugin completo ma leggero che gestisce semplicemente troppe funzionalitĂ !
Questa wiki è attualmente aggiornata alla versione 1.9.10.
© 2024  Remigio07
Si prega di segnalare imprecisioni ed errori di ortografia come descritto a Home/Reporting issues.