MazeGen plugin: generate mazes - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html) +--- Thread: MazeGen plugin: generate mazes (/thread-3434.html) |
MazeGen plugin: generate mazes - xoft - 04-09-2024 https://github.com/madmaxoft/MazeGen Plugin that allows users to generate mazes. Requires WorldEdit to be installed. To generate a maze, select an area using WorldEdit, then invoke the `/mg` command, specifying parameters as needed. The plugin can also be used through the server console, specifying the world and coords as parameters, rather than reading them from a player's WorldEdit selection. Technical Internally, the plugin uses the Recursive backtracker algorithm to generate the maze. Due to Lua having a limited stack depth of 100 levels only, instead of using the call-stack, the plugin keeps its own stack of cells to backtrack to. Commands General
Permissions
|