minetest-mod-playertools/README.md

45 lines
1.9 KiB
Markdown
Raw Permalink Normal View History

2022-08-26 06:03:24 -07:00
# Player tools 1.7 [playertools]
2022-02-03 02:47:08 -08:00
Fixed and modified version from https://forum.minetest.net/viewtopic.php?t=7498
2022-02-03 02:43:20 -08:00
This mod adds some player-related server commands and privileges to Minetest.
Most commands are little helper tools, useful for modders and for messing
around, but they arent really suitable for serious gameplay. Some commands
are informational. The commands allow players to change their health, clear
their inventory, set their player physics, and other stuff.
The privileges are created for the health, physics and hotbar-related commands
and are named “`heal`”, “`physics`” and “`hotbar`”, respectively.
## List of commands
### No privileges required
2022-02-03 02:51:18 -08:00
* `/pulverizeall`: Destroys all items in your inventory and crafting grid.
2022-02-03 02:43:20 -08:00
* `/killme`: Kills yourself.
2022-02-03 02:51:18 -08:00
### “`server`” privilege required
2022-08-26 06:05:24 -07:00
* `/whois <playername>`: Shows player's client information.
2022-02-03 02:51:18 -08:00
* `/pulverizeall <playername>`: Destroys all items in player's inventory and crafting grid.
2022-02-03 02:43:20 -08:00
### “`hotbar`” privilege required
* `/hotbar <1...32>`: Sets the number of slots in your hotbar.
### “`heal`” privilege and damage required
* `/sethp <hp number>` Sets your health to specified number.
* `/setbreath <breath number>`: Sets your breath to specified breath points.
### “`physics`” privilege required
* `/speed [<playername>] [<speed>]`: Sets your movement speed to `<speed>` (default: 1).
* `/gravity [<playername>] [<gravity>]`: Sets your gravity to `<gravity>` (default: 1).
* `/jump [<playername>] [<height>]`: Sets your jump height to `<height>` (default: 1).
* `/stun <playername>`: Disable player's movement.
* `/unstun <playername>`: Restore player's movement.
### “`psize`” privilege required
* `/size <size>`: Change your or another player's size. Range: 0.06 - 30.
### “`ban`” privilege required
* `/xkill <playername>`: Set player's hp to 0 until rejoin (even with admin armor).
* `/xres <playername>`: Resurrect player with 0 hp