Enforce Gamemode

Enforce Gamemode

Enables server owners to enforce gamemodes using permissions

by
312 Downloads
fabricutility
Rent Server with this Mod

About this Mod

Enforce Gamemode

Supported Versions Modrinth Download Count CurseForge Download Count Side: Client-Only License

Enables server owners to enforce your players' game mode using permissions.

This mod is server-side only and won't be active in LAN worlds or on clients.

Current versions:

  • 1.18.1: 0.1

Releases

The mod is licensed under the MIT License

Permissions

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.

  • enforcegamemode.bypass: Bypass forced game mode changes
  • enforcegamemode.force.survival: Enforce game mode survival (id 0)
  • enforcegamemode.force.creative: Enforce game mode creative (id 1)
  • enforcegamemode.force.adventure: Enforce game mode adventure (id 2)
  • enforcegamemode.force.spectator: Enforce game mode spectator (id 3)

You can also set dimension specific game mode enforcements by adding .namespace:dimension to the permissions.
These get checked first, so they'll overwrite global game mode permissions.

Example: if you wanted to enforce adventure mode in the end the syntax would be:
enforcegamemode.force.adventure.minecraft:the_end

Available Versions

enforce-gamemode-0.1+1.18.1release
MC 1.18.1fabric
January 14, 2022

How to Install Enforce Gamemode on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.18.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Enforce Gamemode". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.18.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Enforce Gamemode server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.18.1). You can switch loaders with one click in the panel.

Is Enforce Gamemode compatible with fabric?

Enforce Gamemode officially supports fabric for Minecraft 1.18.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Enforce Gamemode – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Enforce Gamemode consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Enforce Gamemode with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.18.1