Configuration

LavaWater ยป Configuration

config.yml

Is located in main plugin directory (<server directory>/plugins/LavaWater/config.yml).
Has two entries - worlds and rules.
Worlds:
List of world names or UUIDs, can be written either as comma separated list in square brackets or as multiple lines beginning with "- " (hyphen+space)
Rules:
Tree syntax, where node name is input (sacrifice) block, and sub-nodes specify other parameters.

Example 1

rules:
  redstone:
    result: obsidian
    needwater: 'true'
    area: []
    # Empty array or omitting this means everywhere
  string:
    result: obsidian
    # When "needwater" is missing, it is supposed to be true
  torch:
    result: iron
    needwater: false
    # Whenever lava floods torch, it creates iron block, even if there is no water
  carpet:
    result: wool
    area:
    - 0e1ead7a-8b17-4671-b6e8-9b8bf6e00fa5, -100, -200, 100, 200
    # WorldUUID, X1, Z1, X2, Z2
    - My_Ender_Like_World, -300, 10, -400, 300, 210, 400
    # WorldUUID, X1, Y1, Z1, X2, Y2, Z2
    - ! My_Ender_Like_World, -1, 49, -1, 1, 51, 1
    # Exclamation mark (!) or caret (^) means "but not in this area"
    - My_Skyblock_World
    # World declaration alone can be used, too

Example 2

rules:
  redstone:
    result: obsidian
  air:
    result: stone
worlds:
- 0e1ead7a-8b17-4671-b6e8-9b8bf6e00fa5
- My_World_With_Plots
# All rules apply only in these two worlds


plugin.yml

In plugin .jar file - you can change command name or aliases.


Comments

Posts Quoted:
Reply
Clear All Quotes