Skip to content

Commands queue #244

@chelminski

Description

@chelminski

Hi
Please add a command delay option so that commands are queued and executed at different intervals. For example, I have a problem with the server hanging when many worlds are generated at the same time. A command queue would have avoided the problems.
For example, the server issues the commands:
/cmt mw create world1
/cmt mw create world2
/cmt mw create world3
/cmt mw create world4
/cmt mw create world5
....

And your plugin would execute these commands sequentially, but not immediately. Only every e.g. 10 seconds.
/cmt mw create world1 - now
/cmt mw create world2 -after 10s
/cmt mw create world3 -after 20s
/cmt mw create world4 -after 30s
/cmt mw create world5 -after 40s

Alternatively, if your plugin already has this function, please write how. I couldn't find any information on the plugin's website :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions