Creates a new user profile in the database.
The data required to create a user.
A promise resolving to the newly created UserEntity.
Retrieves a user by their Discord snowflake ID.
The Discord account ID.
A promise resolving to the UserEntity.
Retrieves a user by their internal database ID.
The numeric ID of the user.
A promise resolving to the UserEntity.
Retrieves a user by their In-Game Name (IGN).
The exact Minecraft username.
A promise resolving to the UserEntity.
Direct API call to update a user's Discord ID.
Note: If you already have a UserEntity, you can use user.updateDiscordId() instead.
The numeric ID of the user.
The update payload.
A promise resolving to the updated UserEntity.
Direct API call to update a user's IGN.
Note: If you already have a UserEntity, you can use user.updateIgn() instead.
The numeric ID of the user.
The update payload.
A promise resolving to the updated UserEntity.
Manages API operations related to Users. Allows for creating, fetching, and updating user profiles.