# The authentication servers/worlds, players should be sent to when not authenticatedlimbo=[ limbo0, limbo1]# !!WHEN USING PAPER, PUT ALL WORLDS UNDER "root"!!# Commands that are allowed while the user is not authorizedallowed-commands-while-unauthorized=[ login, register, "2fa", "2faconfirm", l, log, reg]
# Sets the login/register time limit in seconds. Set to negative to disable.seconds-to-authorize=-1# This specifies how often players should be notified when not authenticatedmilliseconds-to-refresh-notification=10000# Whether or not to use titles when player is awaiting authenticationuse-titles=true# Whether or not to use action bar when player is awaiting authenticationuse-action-bar=false# Should we hide the player's inventory on packet level while they are not authenticated?hide-player-inventory=true
public class LimboIntegration { private final LimboServer limboServer; private final AuthManager authManager; public void handlePlayerJoin(Player player) { // Transfer to limbo transferToLimbo(player); // Start authentication timer startAuthTimeout(player); } private void transferToLimbo(Player player) { // Create limbo player instance LimboPlayer limboPlayer = limboServer.createPlayer(player); // Set limbo state limboPlayer.setLimboState(LimboState.PRE_AUTH); // Transfer player player.transfer(limboServer.getAddress()); } public void handleAuthenticationSuccess(Player player) { // Transfer from limbo to real server transferToRealServer(player); // Clean up limbo instance limboServer.removePlayer(player); }}
# This specifies how often players should be notified when not authenticatedmilliseconds-to-refresh-notification=10000# Whether or not to use titles when player is awaiting authenticationuse-titles=true# Whether or not to use action bar when player is awaiting authenticationuse-action-bar=false
# Whether or not to use titles when player is awaiting authenticationuse-titles=true# Whether or not to use action bar when player is awaiting authenticationuse-action-bar=false# Should we hide the player's inventory on packet level while they are not authenticated?hide-player-inventory=true
# Should we ping servers to check if they are online and get their player count?# !!THIS OPTION IS IRRELEVANT WHEN USING PAPER!!ping-servers=false# By default, when choosing available lobby/limbos NexAuth will rule out all the servers which are full.ignore-max-players-from-backend-ping=false
# Sets the login/register time limit in secondsseconds-to-authorize=-1# Should we enable debug mode?debug=true
Can't transfer from limbo?
Common causes:
Server address misconfigured
Server offline
Player data not cleaned up
Solutions:
# The authentication servers/worldslimbo=[ limbo0]# Should we fallback players to lobby servers if the server they are on shutdowns?fallback=false
High memory usage?
Limbo player instances can consume memory.Solutions:
# Should we ping servers to check if they are online?ping-servers=false# By default, when choosing available lobby/limbos NexAuth will rule out all the servers which are full.ignore-max-players-from-backend-ping=false