Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicHUD MythicHUD
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicHUDMythicHUD
  • Wiki
    • Conditions
  • Gamemode

Last edited by Brickgard Oct 03, 2024
Page history

Gamemode

Checks the player's gamemode.

Attributes


Attribute Aliases Description
gamemode gamemodes, gm The gamemode(s) to look for.

Example


Hides the lucky_charm Asset in its HUD if the player is in Creative or Spectator mode:

lucky_charm:
  conditions:
  - gamemode{gm=creative,spectator} false hide
  layers:
    icon:
      texture:
        path: assets/luck/clover.png
      offset:
        x: -5
        y: 2
Clone repository
  • Advanced Version Support
  • Changelog
  • Commands
  • Compatibility
  • Components
    • Asset Layers
    • Assets
  • Conditions
  • Conditions
    • Effect
    • Gamemode
    • Logical Operator
    • Placeholder
    • Progress
  • Fonts
  • Getting Started
  • HUD Components
View All Pages