Mogrul Lib

Mogrul Lib

A small library mod intended to be used as an integration-tool for other Mogrul mods.

2 147 downloads 0 followers

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))

No gallery available for this project.

Version Minecraft Loader Download

Mogrul Lib 0.2 (NeoForge 1.21.1)

0.2-1.21.1

1.21.1
neoforge
Download

Mogrul Lib 0.1 [NeoForge 1.21.1]

0.1-1.21.1

1.21.1
neoforge
Download