
GameMode Timer allows servers to switch a player's GameMode at a preset time.
Add the GameModeTimer.jar file to your server's plugins directory and start up the server. A config file will be created automatically with the default values. Use the in-game or console commands to enable worlds and change settings.
This is always the latest file - -> GameModeTimer.jar
/gmt toggle [world] [true|false] - turns GameMode Timer on or off for the specified world
/gmt time [world] [time] - sets the time the game mode switches in the specified world
/gmt gamemode [name] [gamemode] - sets the game mode the player is switched to in the specified world
/gmt players [name] [number] - sets the game mode the player is switched to in the specified world
/gmt set_morning [name] [true|false] - sets whether to reset the time in the specified world when the first player joins
/gmt keep_night [name] [true|false] - sets whether to keep it night after the game mode switch in the specified world
gamemodetimer.bypass - allows a player to bypass the game mode switch - default: false
gamemodetimer.admin - allows a player to edit the GameMode Timer config - default: OP
There is one main configuration section:
worlds:
Within the worlds configuration is a list of world names (these are automatically generated when the plugin starts up). A world section looks like:
worlds:
zombiesurvival:
enabled: true
gamemode: ADVENTURE
time: 18000
players: 20
set_morning: true
keep_night: true
enabled can be true or false
gamemode can be SURVIVAL, CREATIVE or ADVENTURE
time is a number between 0 and 24000, where 0 is dawn, 6000 midday, 12000 dusk, 12500 night and 18000 midnight
players limit the number of players allowed to teleport to the world, if set to -1, this setting is ignored
set_morning can be true or false - if true sets the worlds time to 0 ticks when the first player joins
keep_night can be true or false - if true makes it always night from the time the game mode is switched until the last player leaves
v1.0 beta 2.0
Added configs (per world) and the associated commands (i.e. /gmt [config option] [world] [value]) for:
players - limit the number of players allowed to teleport to the world, if set to -1, this setting is ignored
set_morning - if true sets the worlds time to 0 ticks when the first player joins
keep_night - if true makes it always night from the time the game mode is switched until the last player leaves
v1.0 beta 1.0