Configuration

Configuration

Since v1.1, there is a config.yml file in the /plugins/SpongeReloaded directory.
As of v1.3, you can individually change options per world. You can change every setting mentioned below also individually per world, except 'craftable'.

The default config.yml file:

config_version: 1.4
enabled: true
craftable: true
radius: 2
soak_water: true
soak_lava: false
soak_fire: false

'config_version' is the version of the plugin that was last used with this config.yml. NEVER change this line or it will mess up your config!

Every single of the 'normal' options can be changed per world:

worlds:
  world:
    radius: 3
    soak_fire: true
  world_nether:
    enabled: false

Explanation of config values

enabled [true|false]
Set whether the plugin is enabled by default or in the specified world.
Note that a global 'enabled: false' does NOT completely disable the plugin but set the default value of each world to 'false'.
If you set 'enabled: false', you can still enable the plugin for some worlds like this:

enabled: false
worlds:
  world:
    enabled: true

radius [number > 0]
Set the radius in which a sponge will soak up water.
Sponges always clear a box with a side length that calculates as follows:
side length = (radius * 2) + 1

soak_water [true|false]
soak_lava [true|false]
soak_fire [true|false]
Choose wich types of blocks sponges should soak up.

Crafting

The first time you start a server with SpongeReloaded v1.4, you will get an error message saying it couldn't read the (non-existent) crafting configuration. The plugin will then create the file /plugins/SpongeReloaded/recipe.cfg with the standard crafting recipe:

Crafting

You can configure this recipe by modifying the file mentioned above. When creating your own recipe, you MUST follow the following format:

max. 3 rows of recipe
1 empty row
description of the recipe's contents

The rows are up to 3 characters long. Each character describes a different material. You can use the same character multiple times.
If the empty row is missing, your crafting configuration will be found as invalid and will be overwritten with the default! The content description has its own format:

c-MATERIAL

where 'c' stands for a character you used in the recipe above, and 'MATERIAL' must match the name of a material that Bukkit knows at this time. You can also use the data values instead of the material's name, so that

a-SAND
2-331
7-OBSIDIAN
r-265

are all valid examples for the content description.

The standard recipe.cfg looks like this:

aba
bab
aba

a-SAND
b-STRING

What comes out, you can see in the image above.


Comments

Posts Quoted:
Reply
Clear All Quotes