Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
EternalTD
/
com.magmaguy.eternaltd.players
/
PlayerLoginAdjuster
Player
Login
Adjuster
public
class
PlayerLoginAdjuster
implements
Listener
Members
Constructors
Player
Login
Adjuster
Link copied to clipboard
public
void
PlayerLoginAdjuster
(
)
Functions
player
Login
Link copied to clipboard
public
void
playerLogin
(
PlayerJoinEvent
event
)
teleport
Online
Players
To
Hub
Link copied to clipboard
public
static
void
teleportOnlinePlayersToHub
(
)
Players who connect while the plugin is still initializing miss the join teleport: the hub world and this listener only come up once initialization finishes, so after a restart the server has already dropped them at the overworld spawn.