CmdrDats/MemoryStone — Issue #22: Custom structuretypes failing to load
Author: loopyluke
Created: 2011-10-18 09:09:08+00:00
State: open

So I've edited the structuretypes.yml file to customize the default shape and blocks to be used in a standard memorystone like this:

- structure:
- z: 1
material: OBSIDIAN
y: 1
x: 1
- z: 1
material: GLOWSTONE
y: 3
x: 1
- z: 1
material: BEDROCK
y: 0
x: 1
- z: 1
material: OBSIDIAN
y: 2
x: 1
rotator: NONE
name: Memory Stone
metadata:
distanceLimit: '0'
memorizecost: '200'
teleportcost: '50'
global: 'false'
buildcost: '1000'
type: MEMORYSTONE
permissionRequired: memorystone.create.local

The structure works fine and memorystones are created, which function normally.

However upon reloading the server the existing stones do not load and I receive these errors:

19:26:59 [INFO] [MemoryStone] loaded 1 structure types
19:26:59 [WARNING] [MemoryStone] New: structure was bad
19:26:59 [WARNING] [MemoryStone] A structure couldn't be loaded
19:26:59 [INFO] [MemoryStone] Loaded 0 structure(s)

Upon reverting the structuretypes.yml to default it works fine and reloads the structures on server reload.