The best way to manage gamemodes
gamemode.admin to reload config (not used at the moment) gamemode.notify to notify the user when *anybody* changes their mode gamemode.mode.creative to change self to creative mode gamemode.mode.survival to change self to survival mode gamemode.mode.check to check any user's mode gamemode.mode.* for all gamemode.other to change others' gamemodes gamemode.crossworld to change others' gamemodes across worlds gamemode.default.creative to default to creative mode (make sure you set multiverse.bypass.gamemode.WORLDNAME) (still testing) gamemode.default.survival to default to survival mode (see ^) (still testing) gamemode.bypass.wait.creative allows immediate change to creative (2.3) gamemode.bypass.wait.survival allows immediate change to survival (2.3)
(coming in 2.3)
In plugins/GameModePro/GameModePro.yml the following nodes exist:
helpfuldeny: true (true/false. shows "You need gamemode.mode.creative to do that!" instead of "Sorry, you can't do that here!") delaymode: cooldown (cooldown/warmup. switches the type of delay applied) (warmup isn't implemented yet) creativedelay: 0 (long. number of TICKS after a /gm c where the player cannot change modes again: 20 ticks = 1 second) survivaldelay: 0 (long. see ^ ) showtosurvival: true (true/false. shows console notifications when a user changes to survival) showtocreative: true (true/false. see ^ ) warmupstandstill: true (true/false. if true, if the user moves during warmup, their change is cancelled)
/gm [who] [mode]
/gm is also /gamemode and /mode
If omitted, who defaults to yourself. It also autocompletes.
If omitted, mode defaults to toggle. It can be one of <b>t</b> for toggle, <b>c</b> or <b>1</b> for creative, or <b>s</b> or <b>0</b> for survival. Use <b>k</b> to check a user's gamemode.
v2.2 * Change to new event system v2.1 + Add gamemode.notify v2.0 * Restructured code * Improved logging v1.2 * Improved logging v1.1 + Added 'k' action to check a user's gamemode v1.0 + Initial Release
On request. Public git coming soon.