ModsFinder

Enforce Gamemode

by macbrayne

Enforce Gamemode lets server owners lock each player to one game mode using permission nodes, including per-dimension rules, on Fabric for 1.18.1.

FabricServer-side onlyMIT LicenseOpen source1.18.1

What it does

Permission nodes set the game mode a player is held to. The mod reads four nodes, enforcegamemode.force.survival, enforcegamemode.force.creative, enforcegamemode.force.adventure and enforcegamemode.force.spectator, each matching game mode ID 0, 1, 2 and 3. When a player holds a node, changes to other modes are overridden and the player is returned to the enforced one.

Rules can also be scoped to a dimension by appending a namespace and dimension, such as enforcegamemode.force.adventure.minecraft:the_end. Dimension-specific checks are evaluated before the global ones, so they overwrite the global game mode permissions for that dimension. Checks run from the top of the list to the bottom, and a player who holds both the survival and creative nodes is put into survival mode.

The mod is server-side only and does not take effect in LAN worlds run by a client. It is released under the MIT License and is open source. Builds exist only for Fabric and only for 1.18.1, with 0.1 as the latest file, published on 2022-01-14.

Key features

  1. Game mode enforcement

    Nodes for survival, creative, adventure and spectator force players into the chosen mode.

  2. Bypass forced changes

    A player can be given a bypass so that forced game mode changes do not apply to them.

  3. Dimension-specific rules

    Enforcement can be limited to one dimension by adding its namespace and name to the node.

  4. Rule precedence

    Dimension rules are checked before global ones and override them, so a server can set exceptions per world.

Compatibility

Latest build for each game version and loader.

1.18.10.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Who it’s for: Server owners who want to control game modes per player or per dimension using permission nodes. It needs no client install, but it does nothing in single-player or LAN worlds.

How it compares

Full comparison

GameMode Permissions is server-side only and uses the CC BY-NC-SA 4.0 license, so it is not open source; its files target 1.21. Gamemode Unrestrictor is the opposite, a client-side only mod under the MIT License, open source, covering 1.16.2 – 1.21.4, and it lifts game mode limits rather than enforcing them.

ModLoadersGame versionsEnvironmentUpdated
Enforce GamemodeFabric1.18.1Server-side only2022-01-14
GameMode PermissionsFabric1.21Server-side only2024-07-07
Gamemode UnrestrictorFabric1.16.2 – 1.21.4Client-side only2024-11-26

Questions

Does Enforce Gamemode need Fabric API?

No required dependency is listed for Fabric.

Does the mod work in single-player?

No. It is server-side only and does not run in LAN worlds opened by a client.

Which game versions does Enforce Gamemode support?

Its only Fabric file is for 1.18.1, the latest being 0.1, published on 2022-01-14.

How are dimension rules written?

Append the dimension namespace and name to the permission node, for example enforcegamemode.force.adventure.minecraft:the_end.

In the catalog

Enforce Gamemode is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 4,416 mods support Minecraft 1.18.1.

More from macbrayne

All projects

Similar mods

What the author says

This mod is server-side only and won't be active in LAN worlds or on clients. The order the mod checks for the applicable game mode is from top to bottom. That means if a player has both enforcegamemode.force.survival and enforcegamemode.force.creative set they'll be put into survival mode.
macbrayne, on the Modrinth page

Official listing

Owner
macbrayne
Published
2022-01-14
Updated on Modrinth
2022-01-14
Facts verified
2026-10-15

Tags