diff options
author | ShadowNinja <shadowninja@minetest.net> | 2014-10-25 14:00:19 -0400 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-10-25 14:00:19 -0400 |
commit | 3666f7debb84b919f2e2ba145cb6e530fd10c6b7 (patch) | |
tree | b1287a820efe2fb1bf01753a3b7c2d81af1a7963 | |
parent | 21c9e6a4c0958fc5e72bbc3be5283be62c669dbd (diff) |
Tweak README
-rw-r--r-- | README.md | 135 |
1 files changed, 69 insertions, 66 deletions
@@ -1,99 +1,102 @@ Areas mod for Minetest 0.4.8+ ============================= -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Configuration ------------- + If you wish to specify configuration options, such as whether players are -allowed to protect their own areas with /protect (Disabled by default), you -should check config.lua and set the appropriate settings in your minetest.conf. +allowed to protect their own areas with the `protect` command (disabled by +default), you should check config.lua and set the appropriate settings in your +server's configuration file (probably `minetest.conf`). Tutorial -------- + To protect an area you must first set the corner positions of the area. -In order to set the corner positions you run: -1. "/area\_pos set" punch the two border nodes. -2. "/area\_pos set1/2" punch only the first or second border node. -3. "/area\_pos1/2" set position one or two to your current position. -4. "/area\_pos1/2 X Y Z" set position one or two to the specified coordinates. - -Once you have set the border positions you can protect the area by running: -1. "/set\_owner <OwnerName> <AreaName>" - -- If you are a administrator or moderator with the "areas" privilege. -2. "/protect <AreaName>" - -- If the server administraor has enabled area self-protection. - -The area name is used so that you can easily find the area that you want when -using a command like /list\_areas. It is not used for any other purpose. -For example: /set\_owner SomePlayer Diamond city +In order to set the corner positions you can run: + * `/area_pos set` and punch the two corner nodes to set them. + * `/area_pos set1/set2` and punch only the first or second corner node to + set them one at a time. + * `/area_pos1/2` to set one of the positions to your current position. + * `/area_pos1/2 X Y Z` to set one of the positions to the specified + coordinates. + +Once you have set the border positions you can protect the area by running one +of the following commands: + * `/set_owner <OwnerName> <AreaName>` -- If you have the `areas` privilege. + * `/protect <AreaName>` -- If you have the `areas` privilege or the server + administrator has enabled area self-protection. + +The area name is used only for informational purposes (so that you know what +an area is for). It is not used for any other purpose. +For example: `/set_owner SomePlayer Mese city` Now that you own an area you may want to add sub-owners to it. You can do this -with the /add\_owner command. Anyone with an area can use the add\_owner -command on their areas. Before using the add\_owner command you have to select -the corners of the sub-area as you did for set\_owner. If your markers are -still around your original area and you want to grant access to your entire -area you will not have to re-set them. You can also use select\_area to place -the markers at the corners of an existing area. -The add\_owner command expects three arguments: -1. The id of the parent area. (The area that you want it to be a sub-area of) -2. The name of the player that will own the sub-area. -3. The name of the sub-area. - -For example: /add\_owner 123 BobTheBuilder Diamond lighthouse - -Chat commands -------------- - * /protect <AreaName> - Protects an area for yourself. (If self-protection is enabled) +with the `add_owner` command. Anyone with an area can use the `add_owner` +command on their areas. Before using the `add_owner` command you have to +select the corners of the sub-area as you did for `set_owner`. If your markers +are still around your original area and you want to grant access to your +entire area you will not have to re-set them. You can also use `select_area` to +place the markers at the corners of an existing area if you've reset your +markers and want to grant access to a full area. +The `add_owner` command expects three arguments: + 1. The ID number of the parent area (the area that you want to add a + sub-area to). + 2. The name of the player that will own the sub-area. + 3. The name of the sub-area. (can contain spaces) + +For example: `/add_owner 123 BobTheBuilder Diamond lighthouse` + + +Commands +-------- - * /set\_owner <OwnerName> <AreaName> - Protects an area. (Requires the "areas" privilege) + * `/protect <AreaName>` -- Protects an area for yourself. (if + self-protection is enabled) - * /add\_owner <ParentID> <OwnerName> <ChildName> - Grants another player control over part (or all) of an area. + * `/set_owner <OwnerName> <AreaName>` -- Protects an area for a specified + player. (requires the `areas` privilege) - * /rename\_area <ID> <NewName> - Renames an existing area, useful after converting from node_ownership - when all areas are unnamed. + * `/add_owner <ParentID> <OwnerName> <ChildName>` -- Grants another player + control over part (or all) of an area. - * /list\_areas - Lists all of the areas that you own. - (Or all of them if you have the "areas" privilege) + * `/rename_area <ID> <NewName>` -- Renames an existing area. - * /find\_areas <Regex> - Finds areas using a Lua regular expresion. - For example: - /find_areas [Cc]astle To find castles. + * `/list_areas` -- Lists all of the areas that you own, or all areas if you + have the `areas` privilege. - * /remove\_area <ID> - Removes an area that you own. Any sub-areas of that area are made sub-areas - of the removed area's parent, if it exists. Otherwise they will have no - parent. + * `/find_areas <Regex>` -- Finds areas using a Lua regular expresion. + For example, to find castles: - * /recursive\_remove\_areas <ID> - Removes an area and all sub-areas of it. + /find_areas [Cc]astle - * /change\_owner <ID> <NewOwner> - Change the owner of an area. + * `/remove_area <ID>` -- Removes an area that you own. Any sub-areas of that + area are made sub-areas of the removed area's parent, if it exists. + If the removed area has no parent it's sub-areas will have no parent. - * /select\_area <ID> - Sets the area positions to those of an existing area. + * `/recursive_remove_areas <ID>` -- Removes an area and all sub-areas of it. - * /area\_pos {set,set1,set2,get} - Sets the area positions by punching nodes or shows the current area positions. + * `/change_owner <ID> <NewOwner>` -- Change the owner of an area. - * /area\_pos1 \[X,Y,Z|X Y Z\] - Sets area position one to your position or the one supplied. + * `/select_area <ID>` -- Sets the area positions to those of an existing + area. - * /area\_pos2 \[X,Y,Z|X Y Z\] - Sets area position two to your position or the one supplied. + * `/area_pos {set,set1,set2,get}` -- Sets the area positions by punching + nodes or shows the current area positions. + + * `/area_pos1 [X,Y,Z|X Y Z]` -- Sets area position one to your position or + the one supplied. + + * `/area_pos2 [X,Y,Z|X Y Z]` -- Sets area position two to your position or + the one supplied. License ------- + Copyright (C) 2013 ShadowNinja -Licensed under the GNU LGPL version 2.1 or higher. +Licensed under the GNU LGPL version 2.1 or later. See LICENSE.txt and http://www.gnu.org/licenses/lgpl-2.1.txt |