Skip to content

Commands blocks can’t create or unload worlds #2560

Description

@willkroboth

On my server, I'm trying to make a minigame that takes place in an entire survival world. One thing I can't figure out how to do is creating or reloading the world so that each round has a random seed and nothing from previous rounds affects any of the others. Looking through the command reference for Multiverse-Core, I found the mvregen command. This seemed to be exactly what I need to do, so I made a command in my commands.yml like this:

aliases:
regenMinigame:
- mvregen world -s
- mvconfirm
- mvregen world_nether -s
- mvconfirm
- mvreg world_end -s
- mvconfirm

Running the regenMinigame command seems to work perfectly fine when run by a player or even from the console, but when I run the command in a command block (which I need to do for it to be automatic), the sever crashes and it creates this crash log:
crash-2021-02-13_12.40.13-server.txt

When I restart and rejoin the server, I find that the worlds have been regenerated as I wanted. Is there any way to do what I want to do without crashing my sever? If you want any more information about the server, feel free to ask.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug: ConfirmedIssue/problem with the software.Type: UpstreamRelated to a dependency that MV relies on.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions