Mogrul Lib
by mogrul.py
Mogrul Lib is a NeoForge library that defines the player data record shared by other Mogrul mods, holding UUID, username, join times, playtime, currency and bounty.
What it does
Mogrul Lib provides a single data structure for each player: a UUID, a username, the time of the first and most recent join, a playtime counter in minutes, a currency value and a bounty value. Other mods in the Mogrul family read and write these fields, so the data stays consistent between them. The library is described by its author as a small piece of shared code meant for integration with other Mogrul mods rather than as a standalone gameplay mod.
Mogrul Lib runs on the server only, so clients need nothing installed to join a server that uses it. It is published for NeoForge on 1.21.1 alone, with the latest file 0.2-1.21.1 dated 2025-09-04, and it was first published on 2025-09-01. The license is a custom one, and the code is not open source. Source code, an issue tracker and a wiki are linked from its public pages. Mogrul Playtime requires it.
Key features
Shared player record
Stores a UUID and username for each player, so other mods can identify a player consistently.
Join timestamps
Records when a player first joined and when they last joined, as instant values.
Playtime counter
Keeps the time a player has spent in minutes as an integer.
Currency and bounty fields
Holds an integer currency balance and an integer bounty for each player.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 1 mod
Use cases
Playtime tracking
A mod that counts hours on a server can read and update the playtime field instead of keeping its own record.
Economy and bounties
Mods that handle a server currency or player bounties can store those values in the same player entry.
Who it’s for: Server owners who run several Mogrul mods and mod authors who want to build on the same player data. Players only need the server to run the library.
Questions
Does Mogrul Lib need to be installed on clients?
Which game versions does Mogrul Lib support?
Which mod requires Mogrul Lib?
In the catalog
Mogrul Lib is one of 3,514 Library mods on ModsFinder, and one of 1,449 Library mods for NeoForge. 32,366 mods support Minecraft 1.21.1.
More from mogrul.py
Similar mods
What the author says
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. Player.get(ServerPlayer or String (username) or String (DiscordID) or UUID (uuid))
Official listing
- Modrinth page
- modrinth.com/mod/mogrul-lib
- Owner
- mogrul.py
- Published
- 2025-09-01
- Updated on Modrinth
- 2025-09-04
- Facts verified
- 2026-10-15
