Compatibility
Minecraft: Java Edition
1.21.1
Platforms
Supported environments
Creators
Details
Mogrul Lib
Mogrul lib is a small library mod created with the intention of making my mods integrated; instead of loading the SQL driver for every mod, this library does it for me.
The library creates a .db file containing player data in config/Mogrul; api classes like PlayerData and Player to handle retrieving / updating player values within the library.
API
PlayerData
- UUID uuid: (Player UUID)
- String username: (Player username)
- Instant firstJoined: (First time player joined)
- Instant lastJoined: (Last time player joined)
- String discordID: (Discord ID of linked player)
- int playtimeMinutes: (Player's time played)
- int currency: (Player's currency)
- int bounty: (Player's bounty)
Player.get(ServerPlayer or String (username) or String (DiscordID) or UUID (uuid))



