Usage: Plot flags

NotMyFault edited this page Sep 14, 2018 · 36 revisions

Flag system

Description

The extensive flagging system allows you to do all sorts of things such as setting the plot weather.

Setting a flag is easy, just use /plot set flag <flag> <value>. For a boolean flag, the value would either be 'true' or 'false'.

As an alias, you can also use /plot set <flag> <value>

To bring up a list of flags use /plot flag list

Default flags

You can set default flags per world in the worlds.yml. Default flags will be present in each claimed plot unless a different value is manually set for that plot. The following is an example of setting the use flag to allow interaction with doors, and trapdoors, levers, gates, pressure plates, buttons and trip wires:

worlds:
  <world>:
    flags:
      use: "64,71,96,167,193,194,195,196,197,77,143,69,70,72,147,148,107,183,184,185,186,187,132"

*where <world> indicates the name of that plotworld. Ids: http://minecraft-ids.grahamedgecombe.com/

Flag types:

- String

Accepts any letter, number, space, color codes, and a few symbols.

- String (restricted)

Usually only accepts a few specific values (See in game documentation)

- Boolean

Accepts true or false

- Long

Accepts a positive whole number (can be large)

- Interval

Two sets of numbers e.g. 53 6 or 7 93

- UnsignedInteger

A positive whole numer, e.g. 43

- BlockList

A list of blocks e.g.

  • 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.

Flags

Notification

Attributes

Caps

Items

Boolean protection

Block protection (list based)

Misc

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.