Client Side Mod to automate the creation of standard sized plots protected by the areas mod
Maverick2797 c675e84bfc Add a readme | 1 year ago | |
---|---|---|
Readme.md | 1 year ago | |
init.lua | 1 year ago |
This is a client-side mod for Minetest that helps automate the creation of standard sized plots protected with the areas
mod.
There's only 1 command (plot
) but a few sub-commands:
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.)This code is protected by the MIT licence. Code: Maverick2797