Readme.md 1.3 KB

Area Plotter

This is a client-side mod for Minetest that helps automate the creation of standard sized plots protected with the areas mod.

Commands

There's only 1 command (plot) but a few sub-commands:

  • no sub-command: Automatically protects the area according to the size standard set below.
  • set_name: Sets the default name of the plot, prepended to the plot counter. Eg: "Plot 4"
  • set_counter: Moves the counter to the set number. Useful in case the plots skip numbers, or you start from anywhere other than 0.
  • [+/-][x/y/z]: Used to set the plot size. Eg: plot +x 10 will extend the size of plot standard 10 nodes in the +x direction from where you stand when you run the basic plot command. plot -z 5 will extend the plot standard 5 nodes below where you stand when you run the basic plot command.
  • undo: Used to undo the last plot you created and roll the plot counter back by 1. WARNING: Equivalent of running /remove_area <plot_number>, and as such can remove the plot you didn't intend to if someone else owns <plot_number>. Only intended for use when there's one person creating areas at a time and there's no gaps in the areas number sequence (i.e. a new server.)

License

This code is protected by the MIT licence. Code: Maverick2797