WarzoneMC / tgm-docs

TGM Documentation
https://docs.warz.one
3 stars 6 forks source link

Document player's gamemode #28

Open Owehttamy opened 5 years ago

Owehttamy commented 5 years ago

Example:

{
  "teams": [
    {
      "id": "cyan",
      "name": "Cyan",
      "color": "dark aqua",
      "gamemode": "survival",
      "min": 1,
      "max": 40
    }
  ]
}

Type attributes:

Attribute Description Value
survival Players have full access when interacting with the environment String
adventure Players are unable to place and destroy blocks String

Note that survival mode is default.

We could include creative and spectator mode, but I don't think they would be used in any manner. If we decide not to include creative and spectator mode, we could convert to boolean.

BennyDoesStuff commented 5 years ago

This doesn’t exist in TGM, to my knowledge

Owehttamy commented 5 years ago

Tqnk made a pr for it here

BennyDoesStuff commented 5 years ago

Ahh I see, the issue though is that it hasn’t been merged yet. You usually shouldn’t make issues for something until it’s merged into the master branch. We’ll keep this issue open for now, but I’m not 100% sure if that’s going to be merged soon or not. Jorge can clarify that ~

Owehttamy commented 5 years ago

Tqnk's pr has now been merged. ヽ༼ຈل͜ຈ༽ノ