Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M MMOBars
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Ethan
  • MMOBars
  • Wiki
  • Gamemode Condition

Gamemode Condition · Changes

Page history
Create Gamemode Condition authored Apr 07, 2021 by Ethan's avatar Ethan
Hide whitespace changes
Inline Side-by-side
Showing with 14 additions and 0 deletions
+14 -0
  • Gamemode-Condition.md Gamemode-Condition.md +14 -0
  • No files found.
Gamemode-Condition.md 0 → 100644
View page @ 9d4cc637
## Description
Checks for a player's gamemode. [You can view all of the gamemodes here.](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/GameMode.html#enum.constant.detail)
## Parameters
| Parameter | Aliases | Description | Type |
| ------ | ------ | ------ | ------ |
| `gamemode` | `gm` | A list of gamemodes the player needs. | [Gamemodes](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/GameMode.html#enum.constant.detail) |
## Examples
```
conditions:
- 'gamemode{gm=creative,spectator;m=false}'
- 'gamemode{gm=survival;m=true}'
```
\ No newline at end of file
Clone repository

MMOBars

  • Home

Bars

  • Settings
  • Functions
  • Conditions
  • Colors
  • Styles
  • Options