Enforce Gamemode
![License](https://camo.githubusercontent.com/b878b92140084b2a4706efd7cc8d0b4a688347cab88676086b4ccd652d27dad8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6163627261796e652f656e666f7263652d67616d656d6f64653f7374796c653d666c617426636f6c6f723d304338453845)
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 changesenforcegamemode.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