Skip to content

Custom structuretypes failing to load #22

Description

@loopyluke

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions