MazeGen plugin: generate mazes
#1
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
  • /mg - Generates a maze
    Permission required: mazegen.mg
    The following parameter combinations are recognized:
    /mg BlockType [CellSize] [ExtraPassagesPercent]


Permissions
  • - mazegen.mg -
    • Commands affected:
      - /mg
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)