-
Notifications
You must be signed in to change notification settings - Fork 26
v2: Rank sync
Please note that this (and every other part of the plugin) will not work if your server is in offline mode! If your servers are in offline mode for BungeeCord that's fine, as long as you enable bungeecord in spigot.yml, enable IP forwarding in bungeecord and set the bungeecord server to online mode.
The server data sender sends information about the server and online players to the website. That includes ranks, so to sync ranks the server data sender needs to work. In the website control panel, add the spigot server (Integrations > Minecraft > Minecraft Servers). NamelessMC will give the server an ID. Set server-id
in config.yml
to this ID.
In the website control panel (API > Group sync), configure which server ranks correspond to which website ranks. Any ranks that you do not add here will not be synced.
If you are on pr7 you will need to use this method. pr8+ has a simple dropdown for rank names.
- Enable
api-debug-mode
inconfig.yml
and restart the server - Wait for a server data sender log message to appear in the console
- Copy the parameters part of the log message (look for
NamelessAPI > Parameters: info=%7B%22
) - Paste in here: https://www.urldecoder.org/
- Now copy paste here: https://jsonformatter.curiousconcept.com/
- Have a look at the result, you should be able to find the rank names there.