Update README.md
parent
1ed0f34af0
commit
3b4354be01
29
README.md
29
README.md
|
@ -10,14 +10,11 @@ and are named “`heal`”, “`physics`” and “`hotbar`”, respectively.
|
|||
|
||||
## List of commands
|
||||
### No privileges required
|
||||
|
||||
* `/whoami`: Shows your name in your chat.
|
||||
* `/ip`: Shows your IP address in your chat.
|
||||
* `/pulverizeall`: Destroys all items in your inventory and crafting grid.
|
||||
* `/killme`: Kills yourself.
|
||||
|
||||
### “`server`” privilege required
|
||||
* `/ip <playername>`: Shows player's IP address in your chat.
|
||||
* `/whois <playername>`: Shows player's client information.
|
||||
* `/pulverizeall <playername>`: Destroys all items in player's inventory and crafting grid.
|
||||
|
||||
### “`hotbar`” privilege required
|
||||
|
@ -45,27 +42,3 @@ and are named “`heal`”, “`physics`” and “`hotbar`”, respectively.
|
|||
|
||||
* `/xkill <playername>`: Set player's hp to 0 until rejoin (even with admin armor).
|
||||
* `/xres <playername>`: Resurrect player with 0 hp
|
||||
|
||||
|
||||
|
||||
## Installation
|
||||
You can either install the player tools as an ordinary mod or as a builtin,
|
||||
but please don’t do both. Installing it as a mod is very easy, but you have
|
||||
to activate the mod explicitly for each map. Installing it as builtin is easy
|
||||
and the player tools are automatically available for every server you start.
|
||||
|
||||
To install it as a mod, just drop this folder into the `mods/` directory of your
|
||||
Minetest data folder.
|
||||
|
||||
To install it as builtin do this:
|
||||
(For version 0.4.9)
|
||||
Rename the file “`init.lua`” to “`mod_playertools.lua`” and move it to `<your Minetest installation folder>/builtin/`.
|
||||
Then edit the file `<your Minetest installation folder>/builtin/builtin.lua`. Add the following line of text at the
|
||||
end of the file:
|
||||
|
||||
dofile(modpath.."/mod_playertools.lua")
|
||||
|
||||
Save the file; you’re finished! The next time you start a server the player tools are available.
|
||||
|
||||
## License
|
||||
This mod is free software, licensed under the MIT License.
|
||||
|
|
Loading…
Reference in New Issue