Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Wind_Blood

Ultimate Gamemode Plugin

Report XGamemode?

XGamemode

1 Feature

1.1 Offline Player

You can change the gamemode of a player, even he (or she) was offline.

1.2 Permissions

Allow permission group plugins (like Luckperms) to manage which gamemodes can be switched to and which gamemodes cannot be switched to.

e.g. Allow to switch to survival mode but not to any other mode.

1.3 Alias

/gamemode is simplified to /gm and /g.

(of course you can still use /gamemode)

1.4 Lightweight

The Plugin size in only 10 KB and has no impact on server performance!

2 Caution

2.1 Shortcut Keys

If you need to use shortcut keys such as F3+F4, please install another plugin F3NPerm.

2.2 Versions

1.11.X ~ 1.21.X

3 Commands

- /xgamemode
- /xgamemode reload
- /gm <mode>
- /gm <mode> <player>
- /gm <mode> -all
- /gm <mode> -online
- /gm <mode> -offline

/g = /gm = /gamemode
/xg = /xgm = /xgamemode

4 Permission Node

- xgamemode.survival
- xgamemode.creative
- xgamemode.adventure
- xgamemode.spectator
- xgamemode.others.survival
- xgamemode.others.creative
- xgamemode.others.adventure
- xgamemode.others.spectator
- xgamemode.reload
- xgamemode.admin

5 Custom Config

lang: en-US

Language setting

default_gamemode: survival

If a new player joined your server, which gamemode should he (she) was?

survival, creative, adventure, spectator

messages: 
  en-US: # Original en-US Language by Wind_Blood
    reloaded: "&aXGamemode Reloaded!"
    # ......
  custom_lang: # Add Your Custom Language!
    reloaded: "Thank you for using XGamemode!"
    # ......
  anotherCustomLanguage:
    reloaded: "This is a recognition of my work achievements, thank you very much for using it."
    # ......

Customable Messages. You can add your own new language here!

An example config.yml

lang: msgForMyServer
default_gamemode: survival
messages: 
  msgForMyServer:
    reloaded: "Reloaded."
    usage: "&cUsage: /gm <mode> [player/-all/-online/-offline]"
    console_usage: "&cUsage: /gm <mode> <player/-all/-online/-offline>"
    invalid_gamemode: "&cInvalid Gamemode!"
    invalid_player: "&cInvalid Player!"
    gamemode_self: "&aYour Gamemode Changed to {mode}!"
    gamemode_all: "&aChanged All Player's Gamemode to {mode}!"
    gamemode_online: "&aAll Online Player's Gamemode Changed to {mode}!"
    gamemode_offline: "&aAll Offline Player's Gamemode Changed to {mode}!"
    no_permission: "&cYOU ARE NOT ALLOWED TO DO THAT!"
    gamemode_other: "&a{player} 's Gamemode Changed to {mode}!"
    gamemode_other_offline: "&a{player} (Offline) 's Gamemode Changed to {mode}!"

6 Reprint Post

This is a reprint from Modrinth.

Here is the original link: https://modrinth.com/plugin/xgm

Information

CategoryAdmin Tools
Published onMay 1, 2025
LicenseCC-BY-NC-SA-4.0
Downloads14
Stars0
Watchers0
Supports Folia

Members