https://github.com/macbrayne/enforce-gamemode
Enables server owners to force gamemodes on players using permissions
https://github.com/macbrayne/enforce-gamemode
Last synced: 2 months ago
JSON representation
Enables server owners to force gamemodes on players using permissions
- Host: GitHub
- URL: https://github.com/macbrayne/enforce-gamemode
- Owner: macbrayne
- License: mit
- Created: 2022-01-14T08:18:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-25T06:31:54.000Z (almost 4 years ago)
- Last Synced: 2024-05-01T16:25:29.810Z (about 2 years ago)
- Language: Java
- Size: 88.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
## 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](https://github.com/macbrayne/enforce-gamemode/releases)
The mod is licensed under the [MIT License](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``