====== .gm ====== [{{ gm.webp?400|Using the .gm command to switch to Creative Mode on a server.}}] ^ .gm ^^ ^Type|[[:Hack]]| ^Category|[[:No Category|none]]| ^In-game description|"Shortcut for /gamemode."| ^[[:keybinds#default_keybinds|Default keybind]]|none| ^Source code|[[w7src>net/wurstclient/commands/GmCmd.java]]| Types ''/gamemode '' instantly. Requires permission to use the [[mc>commands/gamemode|/gamemode]] command. ===== Usage ===== If you are on a server that doesn't have the ''/gm'' command and you don't want to type ''/gamemode'', you can simply type ''.gm'' instead. ===== Syntax ===== Main article: [[Command Syntax]] * ''.gm (0|1|2|3)'' * ''.gm (s|c|a|sp)'' * ''.gm (survival|creative|adventure|spectator)'' Examples: * ''.gm c'' switches your gamemode to creative mode. * ''.gm s'' switches your gamemode to survival mode. * ''.gm 1'' switches your gamemode to creative mode. * ''.gm 0'' switches your gamemode to survival mode. ===== Tips ===== * Even though ''/gamemode 1'', ''/gamemode c'', etc. no longer works since [[mc>Java Edition 1.14|Minecraft 1.14]], commands like ''.gm 1'', ''.gm c'', etc. still work. ===== Changes ===== ^Version^Changes^ |[[update:Wurst 1.6 Beta]]|Added ''.gm''.| |[[update:Wurst 7.0pre1]]|Temporarily removed ''.gm''.| |[[update:Wurst 7.0pre2]]|Re-added ''.gm''.| |:::|Improved ''.gm'' so that it will continue to support the old style syntax (e.g. ''.gm c'' for Creative Mode).| {{tag>useful_for_creative_mode}}