package
2.3.0+incompatible
Repository: https://github.com/dhghf/mcauth.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetConfig reads and returns the config.yml.
GetPlayerID will get the UUID of a given Minecraft player name.
GetPlayerName gets a Minecraft player name of a player UUID.

# Constants

AuthCode means the player has a pending authentication code.
Maintenance means maintenance mode is on.
NoLink means the player isn't linked with an account.
NotWhitelisted means the player's Discord account has missing required roles.
Version is the MCAuth version.

# Structs

AllAltsResponse unlike AltsOfResponse this will show all the alts in the database.
AltsOfResponse has the owner of the alts and an slice of alt accounts.
Config is all the configurations below combined.
DelAltResponse represents whether or not an alt given was removed.
DiscordConfig is the Discord bot config.
ErrorResponse represents a generic error.
InvalidPlayer describes why a player isn't valid.
InvalidPlayerAuth gives the minecraft server the provided player's pending authentication code.
NewAltResponse is what the client gives us when a new alt is being claimed.
ValidPlayer says that the provided player is valid and ready to join the Minecraft server.
WebServerConfig is the configuration attributes for the webserver talking to the plugin.