Features
- "/clearinv <Player>" To clear a player inventory
-"/copyinv <Player>" To copy a player inventory and paste it in your inventory. (Useful to see if someone is stealing)
-"/setinv <player> <slot> <item> <value> " to add items to a player in a specific slot.
(I am open to any suggestions)

Licence: WTFPL
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar sam@hocevar.net
Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.

Last edited by Sirvoid on Mon Jan 02, 2017 22:05, edited 1 time in total.

Nice Work! I was going to attempt some type of thing to see a player's inventory in a formspec myself for servertools, but haven't gotten around to it.

Also see this PR. Assuming it gets merged (who knows if it will, I just opened it a few minutes ago), you might want to add a check to only attempt to register /clearinv if the command doesn't already exist. IDK what happens when you try and register a duplicate, but...