Updated Plot flags (markdown)

NotMyFault 2020-02-17 15:47:24 +01:00
parent dffb0b143d
commit b35d17c713

@ -20,21 +20,33 @@ worlds:
*Each variant of an item will need to be added separately, as before, but now the full name must be used.
## Flag types:
#### - String
Accepts any letter, number, space, color codes, and a few symbols.
#### - Boolean
#### - [Boolean](https://github.com/IntellectualSites/PlotSquared/wiki/Plot-flags#boolean)
Accepts `true` or `false`
#### - Long
Accepts a positive whole number (can be large)
#### - Interval
#### - [String](https://github.com/IntellectualSites/PlotSquared/wiki/Plot-flags#string)
Accepts any letter, number, space, color codes, and a few symbols.
#### - [StringList](https://github.com/IntellectualSites/PlotSquared/wiki/Plot-flags#stringlist)
Accepts commands with multiple parameters, e.g `/gamemode creative`
#### - [Interval](https://github.com/IntellectualSites/PlotSquared/wiki/Plot-flags#interval)
Two sets of numbers e.g. `53 6` or `7 93`
#### - BlockList
#### - [Gamemode](https://github.com/IntellectualSites/PlotSquared/wiki/Plot-flags#gamemode)
Accepts the gamemodes survival, creative, adventure and spectator alongside their numbers 0, 1, 2, and 3
#### - [BlockStateList](https://github.com/IntellectualSites/PlotSquared/wiki/Plot-flags#blockstatelist)
A list of blocks, supporting both legacy numerical IDs and new string IDs e.g.
- `grass_block` for grass blocks
- `7` for bedrock
- `7,3` for bedrock and dirt
- `35:14,35:15` for red and black wool
The block list does not accept block names, only id and data.
#### - [Long](https://github.com/IntellectualSites/PlotSquared/wiki/Plot-flags#long)
Accepts a positive whole number (can be large)
#### - [PlotWeather](https://github.com/IntellectualSites/PlotSquared/wiki/Plot-flags#plotweather)
Accepts the weather types `rain` and `sun`
#### - [Double](https://github.com/IntellectualSites/PlotSquared/wiki/Plot-flags#double)
Accepts any positive number
#### - [TeleportDeny](https://github.com/IntellectualSites/PlotSquared/wiki/Plot-flags#teleportdeny)
Accepts the plot tiers `trusted`, `members`, `nonmembers`, `nontrusted` and `nonowners`
#### - [Integer](https://github.com/IntellectualSites/PlotSquared/wiki/Plot-flags#integer)
Accepts possible full numbers
### Flag Permissions
#### The following tables do not declare explicit flag permissions, because flag permissions follow the same scheme always again. To give a player access to a flag, you need to assign the following permissions, and exchange the value if wanted.