description | A Minetest mod which provides some simple chat commands to alter some player values (health, speed, etc.) directly. |
owner | Wuzzy@disroot.org |
last change | Sun, 13 Nov 2016 17:37:19 +0000 (13 18:37 +0100) |
URL | git://repo.or.cz/minetest_playertools.git |
https://repo.or.cz/minetest_playertools.git | |
push URL | ssh://repo.or.cz/minetest_playertools.git |
https://repo.or.cz/minetest_playertools.git (learn more) | |
bundle info | minetest_playertools.git downloadable bundles |
content tags |
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 aren’t 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.
/whoami
: Shows your name in a chat message./ip
: Shows your IP address in a chat message./pulverizeall
: Destroys all items in your player inventory and crafting grid./killme
: Kills yourself.hotbar
” privilege required/sethotbarsize <1...23>
: Sets the number of slots in your hotbar (1-23).heal
” privilege and damage required/sethealth <hearts>
: Sets your health to <hearts>
hearts./sethp <hp>
Sets your health to <hp>
HP (=half the number of “hearts”)./setbreath <breath>
: Sets your breath to <breath>
breath points.The “sethp
” command rounds <hp>
.
The “sethealth
” command rounds <hearts>
to the nearest half, i.e:
physics
” privilege required/setspeed [<speed>]
: Sets your movement speed to <speed>
(default: 1)./setgravity [<gravity>]
: Sets your gravity to <gravity>
(default: 1)./setjump [<jump height>]
: Sets your jump height to <jump height>
(default: 1).These commands directly edit the player’s physics parameters.
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.
This mod is free software, licensed under the MIT License.
2016-11-13 | Wuzzy | Version 1.4master | commitcommitdifftreesnapshot (tar.gz zip) |
2016-11-13 | Wuzzy | Add Spanish translation by kaeza | commitcommitdifftreesnapshot (tar.gz zip) |
2016-11-13 | Wuzzy | Fix typo in German locale | commitcommitdifftreesnapshot (tar.gz zip) |
2016-11-12 | Wuzzy | Version 1.3 + MIT license | commitcommitdifftreesnapshot (tar.gz zip) |
2016-11-10 | Wuzzy | Upgrade README to Markdown format | commitcommitdifftreesnapshot (tar.gz zip) |
2016-11-10 | Wuzzy | Ensure minimum value of 0 | commitcommitdifftreesnapshot (tar.gz zip) |
2016-11-10 | Wuzzy | Add intllib support and German translation | commitcommitdifftreesnapshot (tar.gz zip) |
2016-11-05 | Wuzzy | Don't register damage commands when damage is off | commitcommitdifftreesnapshot (tar.gz zip) |
2016-11-05 | Wuzzy | Add /setbreath | commitcommitdifftreesnapshot (tar.gz zip) |
2016-11-05 | Wuzzy | Add mod.conf | commitcommitdifftreesnapshot (tar.gz zip) |
2014-10-18 | Wuzzy | Initial commit: Version 1.2 | commitcommitdifftreesnapshot (tar.gz zip) |
7 years ago | master | logtree |