/GPEvents

Primary LanguageJavaGNU Lesser General Public License v3.0LGPL-3.0

GPEvents

Example

Create example
example_event:
  type: create

  player: "@p"
  world: world
  area: 100
  greater_pos:
    x:
      min: 0
      max: 10
    z:
      min: 0
      max: 10
  lesser_pos:
    x: 0
    z: 0
  claim_owner: "@p"
  is_subdivision: false

  commands:
    - example_command1
    - example_command2

Format

Parameter Description Possible values Used by
type Type of event create | delete | resize | trust | untrust | command all
player The player triggering the event A simple selector (like @p) or a username create, command
world Name of the world the event occurs world | world_nether | world_the_end | ... all except command
area Area of the claim after the event An integer all except command
greater_pos x X coordinate of the greater corner An integer or an object composed of a min and a max all except command
z Z coordinate of the greater corner
lesser_pos x X coordinate of the lesser corner An integer or an object composed of a min and a max all except command
z Z coordinate of the lesser corner
claim_owner The player owning the claim A simple selector (like @p) or a username all except command
is_subdivision Whether the claim is a subdivision true | false all except command
trust_permission Type of permission given build | container | access trust
trust_target The player being trusted or untrusted A simple selector (like @p) or a username trust, untrust
player_command Command typed by the player A command with the slash command
player_position x X coordinate of the player position An integer or an object composed of a min and a max command
y Y coordinate of the player position
z Z coordinate of the player position
commands Commands that should be executed if all conditions match A list of commands without the slash all