promotional bannermobile promotional banner

Remnant: OPC

A Minecraft library for Fabric and NeoForge that keeps registered player data accessible while players are offline.

Remnant banner

BML 1.0 Build GitHub CurseForge

Fabric NeoForge

Remnant

Remnant lets mods read registered player data after a player logs out. It is a server-side library for Minecraft 1.21.1 on Fabric and NeoForge, continuing Offline Player Cache (OPC).

An integrating mod registers a value, a Mojang Codec, and a serializer for reading that value from a live player. On disconnect, Remnant snapshots every registered value into world SavedData. When the player comes back, the stale offline snapshot is removed and reads return to the live player.

Use it for leaderboards, statistics, progression, and server tools that need player data while someone is offline. Remnant stores the values registered by integrating mods.

Requirements

  • Fabric 1.21.1 — requires Fabric API and Fabric Language Kotlin
  • NeoForge 1.21.1 — requires Kotlin for Forge
  • Java 21

Install the JAR for your loader. Remnant does not add player-facing features on its own; other mods use its API.

Commands

All commands require permission level 2.

/remnant keys
/remnant players

/remnant get name <name> <key>
/remnant get uuid <uuid> <key>

/remnant list name <name>
/remnant list uuid <uuid>

/remnant remove name <name> <key>
/remnant remove uuid <uuid> <key>

/remnant clear name <name>
/remnant clear uuid <uuid>

get and list can inspect either a live player or an offline snapshot. remove and clear only modify offline cache data.

For developers

A registered value is identified by a ResourceLocation, serialized with a Mojang Codec, and produced from a live Player.

public static final PlayerLedgerKey<Contract> CONTRACT = PlayerLedger.register(
    ResourceLocation.fromNamespaceAndPath("example", "contract"),
    Contract.CODEC,
    player -> new Contract(player.getName().getString(), true)
);

Read through PlayerLedger.getPlayer(...) to get either a live LedgerPlayer.Online or a cached LedgerPlayer.Offline.

For Modrinth Maven, use the project ID so the coordinate stays stable if the public slug changes:

repositories {
    exclusiveContent {
        forRepository {
            maven("https://api.modrinth.com/maven")
        }
        filter {
            includeGroup("maven.modrinth")
        }
    }
}

dependencies {
    implementation("maven.modrinth:oLPaySSb:<version>")
}

Full API examples, source, development notes, and release history are available on the main GitHub repository.

Links

Sponsor

Sponsor Banner

Use code bareminimum to get 25% off your first month.

License

Remnant is licensed under the Bare Minimum License (BML) v1.0. See the full license.

Remnant: OPC Team

Forgeborn tier frameprofile avatar
  • 12
    Followers
  • 8
    Projects
  • 328.1K
    Downloads

More from bibiredenView all

  • PlayerEx: DC project image

    PlayerEx: DC

    Adds RPG progression with character levels, attributes, spell schools and equipment leveling. Includes built-in WizardEx and RelicEx features, relic loot and a redesigned character screen for Fabric and NeoForge.

    • 47.6K
    • October 7, 2026
  • Data Attributes: DC project image

    Data Attributes: DC

    A flexible attribute framework for Minecraft. Configure attribute bounds, connect stats, and customize entity base values through datapacks and live server settings.

    • 252.3K
    • October 7, 2026
  • ALBOE! Extras project image

    ALBOE! Extras

    An Add-on mod for ALBOE!

    • 1.1K
    • January 1, 2026
  • DifficultyEx project image

    DifficultyEx

    DifficultyEX is a dynamic MMORPG-Styled levelling mod made to pair with PlayerEX.

    • 1.8K
    • November 21, 2025
  • PlayerEx: DC project image

    PlayerEx: DC

    Adds RPG progression with character levels, attributes, spell schools and equipment leveling. Includes built-in WizardEx and RelicEx features, relic loot and a redesigned character screen for Fabric and NeoForge.

    • 47.6K
    • October 7, 2026
  • Data Attributes: DC project image

    Data Attributes: DC

    A flexible attribute framework for Minecraft. Configure attribute bounds, connect stats, and customize entity base values through datapacks and live server settings.

    • 252.3K
    • October 7, 2026
  • ALBOE! Extras project image

    ALBOE! Extras

    An Add-on mod for ALBOE!

    • 1.1K
    • January 1, 2026
  • DifficultyEx project image

    DifficultyEx

    DifficultyEX is a dynamic MMORPG-Styled levelling mod made to pair with PlayerEX.

    • 1.8K
    • November 21, 2025