Skip to content

Set Gamemode

MoSadie edited this page Feb 17, 2023 · 1 revision

Description

Attempt to change your gamemode. This runs the /gamemode command, so any relevant permissions are required.

Configuration Options

  • Title (optional): An optional title to display on the key. Customize location and font using the T icon to the right of the text box.
  • Minecraft IP (required): The address that the EffectMC mod is running on. (Example: http://localhost:3000)
  • Gamemode: The gamemode to set. (Options: SURVIVAL, CREATIVE, ADVENTURE, SPECTATOR)

Example Configuration

Screenshot of Elgato Stream Deck software with a title, Minecraft IP, and gamemode set for the Set Gamemode action

In-Game Experience

Gif of the player staring at the world. The player switches to spectator mode. Then switches to survival mode. Then back to creative mode.

Advanced: HTTP Request Information

  • Method: GET
  • Endpoint: /gamemode
  • Parameters:
    • device: Device ID (String)
    • gamemode: The gamemode to set. Accepted values: SURVIVAL, CREATIVE, ADVENTURE, SPECTATOR (String)