descriptionA Minetest mod which provides some simple chat commands to alter some player values (health, speed, etc.) directly.
ownerWuzzy@disroot.org
last changeSun, 13 Nov 2016 17:37:19 +0000 (13 18:37 +0100)
content tags
add:
README.md

Player tools 1.4 [playertools]

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.

List of commands

No privileges required

hotbar” privilege required

heal” privilege and damage required

The “sethp” command rounds <hp>. The “sethealth” command rounds <hearts> to the nearest half, i.e:

physics” privilege required

These commands directly edit the player’s physics parameters.

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.

shortlog
2016-11-13 WuzzyVersion 1.4master
2016-11-13 WuzzyAdd Spanish translation by kaeza
2016-11-13 WuzzyFix typo in German locale
2016-11-12 WuzzyVersion 1.3 + MIT license
2016-11-10 WuzzyUpgrade README to Markdown format
2016-11-10 WuzzyEnsure minimum value of 0
2016-11-10 WuzzyAdd intllib support and German translation
2016-11-05 WuzzyDon't register damage commands when damage is off
2016-11-05 WuzzyAdd /setbreath
2016-11-05 WuzzyAdd mod.conf
2014-10-18 WuzzyInitial commit: Version 1.2
heads
7 years ago master