Skip to content

A powerful lightweight plugin, that helps you control the game modes of every player

License

Notifications You must be signed in to change notification settings

ricardoboss/GameModeControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameModeControl

A powerful lightweight plugin that helps you to organize game modes on your server.

Download GameModeControl for all your servers: for 1.7 and below: Beta 1.3.6 (MC1.7.10); for 1.8 and above use the newest version.

Current development stage: v1.6

Commands

Help:

  • <> = required
  • [] = optional
  • 1 | 2 = 1 or 2, but not both
  • gmc.<permission> = permission to change your own and the gamemode of other players
  • gmc.<permission>.self = you are only allowed to change your own gamemode
  • gmc.<permission>.others = you have the permission to change the gamemode of other players

Command

Function

Permission

/gm <id> [player]
/gamemode* <id> [player]
Change the gamemode of a
player to the specified one
gmc.gamemode[.self | .others]
— valid values for id: 0, 1, 2, 3, survival, creative, adventure, spectator, su, c, a, sp
/gm0 [player]
/survival [player]
Change the gamemode of a
player to survival
gmc.survival[.self | .others]
/gm1 [player]
/creative [player]
Change the gamemode of a
player to creative
gmc.creative[.self | .others]
/gm2 [player]
/adventure [player]
Change the gamemode of a
player to adventure
gmc.adventure[.self | .others]
/gm3 [player]
/spectator [player]
Change the gamemode of a
player to spectator
gmc.spectator[.self | .others]
/gmonce <player>
[survival] [creative]
[adventure] [spectator]
Allow a player to change
his/her game mode only one
time to one of
the ones specified by you
gmc.gmonce
/gmtemp <player>
<game mode> <seconds>
Change the game mode of a
player only temporary (e.g. 30s)
gmc.gmtemp
/gmh [page | command] Show all commands for GMC or
help for a specific command
gmc.gmh
/gmi Shows information about GMC,
such as the version
gmc.gmi
/gmr Reloads the whole server in
order to reload the config of GMC
gmc.gmr

* overrides the standard '/gamemode' from mojang; you can still use /mojang:gamemode for the "normal" /gamemode command.

Installation

  1. Copy the file you have downloaded into your "plugins"-folder
  2. Restart your server, then stop it
  3. Edit the 'config.yml' and set the messages you want
  4. Start your server and enjoy

Configuration

If you want to reset the config, just delete the 'config.yml' file (in <your server folder>/plugins/GMC/). GMC will generate it on server startup.

Formatting codes

Please visit: minecraft.gamepedia.com/Formatting_codes

Aliases

Alias

Description

Example

$player will be replaced with the specified player &cCould not find this player: &7$player
$gm will be replaced with the game mode, that has not been found &cCould not find this gamemode: &7$gm

Settings

  • force-gamemode:
    enable this feature to change the game mode of every player with the permission gmc.forcegm that joins your server to the specified game mode.

Source code

You can find the source code here on github.com: github.com/ricardoboss/GameModeControl

ToDo list

  • Please send me a pm, post a comment or use the github issues system and add the label 'enhancement' to it to suggest a feature

Bugs

There are no bugs at the moment :) (at least no one reported one).
If you want to report a bug, please use the github issues system.