registerToken

public static NightbreakAccount registerToken(JavaPlugin plugin, String token)

Registers a new token by saving it to the shared config file.

Return

The new NightbreakAccount instance

Parameters

plugin

The plugin instance

token

The token to register