SimpleGamemode icon

SimpleGamemode -----

Quick and permission-based gamemode switcher with blocklist support




[​IMG] [​IMG] [​IMG]

SimpleGamemode
A lightweight and configurable Spigot plugin that allows players to change their game mode using the /gm command — with optional restrictions defined in a simple config file.

✨ Features
  • Supports /gm <0|1|2|3> for quick gamemode switching:
    • 0: Survival
    • 1: Creative
    • 2: Adventure
    • 3: Spectator
  • Blocks specific gamemodes via config.yml
  • Permission-based access (simplegamemode.use)
  • Supports messages in English (en) and Portuguese (pt) via messages.yml
  • Minimal and clean implementation
  • Fully open-source (GitHub Repo)

️ Screenshots
[​IMG] [​IMG]
[​IMG]

[HR][/HR]

⚙️ Configuration
config.yml
Code (YAML):

blocked-gamemodes
:
 - creative
  - spectator
 
Gamemodes available:
  • survival
  • creative
  • adventure
  • spectator

️ Language Support
To change the language, open messages.yml and set:
Code (YAML):

language
: pt   # or 'en'
 
Supported:
  • en → English (default)
  • pt → Portuguese

️ Permissions
Permission Description Default
simplegamemode.use Allows using /gm command op


[HR][/HR]

⌨️ Commands
Command Description
/gm <0|1|2|3> Switches your game mode


Usage
  • Only players can use the command.
  • The plugin checks if the gamemode is blocked in config.yml.
  • Shows feedback messages and prevents misuse.

Requirements
  • Minecraft Server: 1.20.1+
  • Java: 17+
  • Tested with Spigot and Purpur

[HR][/HR]

Installation
  1. Download the latest .jar file
  2. Place it in your server's plugins/ folder
  3. Start the server
  4. Edit config.yml and messages.yml as needed
  5. Assign the appropriate permission

️ Build Instructions (Maven)
Code (Bash):

git clone https: //github.com /4snt /SimpleGamemode.git
cd SimpleGamemode
mvn clean package
 
The compiled JAR will be inside the target/ folder.

[HR][/HR]

File Structure
Code (Text):

SimpleGamemode/
├── src/
│   └── main/
│       ├── java/
│       │   └── dev/fndit/simplegamemode/SimpleGamemodePlugin.java
│       └── resources/
│           ├── plugin.yml
│           ├── config.yml
│           └── messages.yml
├── pom.xml
└── README.md
 
License
This project is open-source and licensed under the MIT License.

Made with ❤️ by 4snt
----------, Aug 6, 2025

Resource Information
Author:
----------
Total Downloads: 26
First Release: Aug 6, 2025
Last Update: Aug 6, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings