This mod is a code library for creating fake userdata (players, inventories and metadata), replicating their functionality as closely as possible.
Simply add fakelib
to your mod's dependencies, and call any of the API functions from your code.
See API.md for detailed documentation.
Download the master branch or the latest release, and follow the usual installation steps.
Alternatively, you can download and install the mod from ContentDB or the online content tab in Minetest.
All code is licensed under the MIT License.