promotional bannermobile promotional banner

LanOperators

LanOperators ("LanOps") is a simple lightweight mod that allows you to add Ops to your LAN world.

LAN Ops

LAN Ops is a lightweight Fabric mod for LAN worlds that lets the host grant command access to specific players without fully opening commands to every guest.

When a singleplayer world is opened to LAN, LAN Ops locks command usage to:

  • the LAN host
  • players trusted through /lanop

Untrusted LAN guests are treated as having no command permissions while the world is published to LAN.

Commands

These commands are available to the LAN host in a LAN world. On non-LAN servers, the normal operator check is used for command management.

/lanop <player>
/lanop add <player>
/lanop remove <playerNameOrUuid>
/lanop list
/lanop reload
/unlanop <playerNameOrUuid>

Command Notes

  • /lanop <player> and /lanop add <player> do the same thing.
  • /lanop remove and /unlanop remove a trusted player by stored name or UUID.
  • /lanop list shows all trusted entries currently loaded.
  • /lanop reload reloads lanops.json from disk.

Config File

LanOps stores its config at:

config/lanops.json

Example:

{
  "configuredOwnerUuid": "",
  "configuredOwnerName": "",
  "trustedPlayers": {
    "00000000-0000-0000-0000-000000000000": "ExamplePlayer"
  }
}

Config Fields

  • configuredOwnerUuid: optional override used to recognize the LAN host by UUID.
  • configuredOwnerName: optional fallback owner name if no owner UUID is set.
  • trustedPlayers: map of trusted player UUIDs to display names.

In normal use, you can manage trusted players entirely through the in-game commands and let the mod maintain this file for you.

The LanOperators Team

profile avatar
  • 1
    Followers
  • 4
    Projects
  • 306
    Downloads

More from GumPaper

  • BedHost project image

    BedHost

    • 19
    • Mods

    BedHost is a Fabric mod that allows you to dynamically setup and host your own Bedwars games in your server or LAN world.

    • 19
    • May 4, 2026
    • Mods
    • +1
  • ViolentRoses project image

    ViolentRoses

    • 248
    • Mods

    ViolentRoses ("VR") allows the user to Morph into any creature and unlock their abilities.

    • 248
    • May 3, 2026
    • Mods
    • +1
  • Soft Litter project image

    Soft Litter

    • 32
    • Mods

    Soft Litter is a Fabric mod that makes Leaf Litter and Pink Petals behave like soft ground cover.

    • 32
    • April 29, 2026
    • Mods
    • +1
  • BedHost project image

    BedHost

    • 19
    • Mods

    BedHost is a Fabric mod that allows you to dynamically setup and host your own Bedwars games in your server or LAN world.

    • 19
    • May 4, 2026
    • Mods
    • +1
  • ViolentRoses project image

    ViolentRoses

    • 248
    • Mods

    ViolentRoses ("VR") allows the user to Morph into any creature and unlock their abilities.

    • 248
    • May 3, 2026
    • Mods
    • +1
  • Soft Litter project image

    Soft Litter

    • 32
    • Mods

    Soft Litter is a Fabric mod that makes Leaf Litter and Pink Petals behave like soft ground cover.

    • 32
    • April 29, 2026
    • Mods
    • +1