Enforce Gamemode

Enables server owners to enforce gamemodes using permissions

283

Enforce Gamemode

<center> <h1>Enforce Gamemode</h1> <a href="https://modrinth.com/mod/enforce-gamemode"><img src="https://img.shields.io/modrinth/game-versions/enforce-gamemode?label=modrinth&color=00AF5C&logo=modrinth" alt="Supported Versions"></a> <a href="https://modrinth.com/mod/enforce-gamemode"><img src="https://img.shields.io/badge/dynamic/json?color=00AF5C&label=modrinth&suffix=%20downloads&query=downloads&url=https://api.modrinth.com/v2/project/ItTaVkDQ&style=flat&logo=modrinth" alt="Modrinth Download Count"></a> <a href="https://www.curseforge.com/minecraft/mc-mods/enforce-gamemode"><img src="http://cf.way2muchnoise.eu/full_567587_downloads(E04E14-555-fff-010101-1C1C1C).svg" alt="CurseForge Download Count"></a> <a href="https://github.com/macbrayne/enforce-gamemode"><img src="https://img.shields.io/badge/side-server--only-0C8E8E" alt="Side: Client-Only"></a> <a href="https://github.com/macbrayne/enforce-gamemode/blob/main/LICENSE"><img src="https://img.shields.io/github/license/macbrayne/enforce-gamemode?style=flat&color=0C8E8E" alt="License"></a> </center>

---

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``

ADS