Skip to content

v2: Rank sync

Robin edited this page Dec 7, 2020 · 8 revisions

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.

Enable server data sender

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.

Mapping server ranks to website ranks

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.

Unfortunately, you can't just select an in-game rank using a drop down right now. This feature is coming in version 2.0.0-pr8

Getting rank names manually (for online players only)

  1. Enable api-debug-mode in config.yml and restart the server
  2. Wait for a server data sender log message to appear in the console
  3. Copy the parameters part of the log message (look for NamelessAPI > Parameters: info=%7B%22)
  4. Paste in here: https://www.urldecoder.org/
  5. Now copy paste here: https://jsonformatter.curiousconcept.com/
  6. Have a look at the result, you should be able to find the rank names there.
Clone this wiki locally