Minetest fake userdata library
Go to file
2024-05-19 01:15:45 +10:00
.github/workflows luacheck and stuff 2024-05-15 18:52:02 +10:00
.gitattributes luacheck and stuff 2024-05-15 18:52:02 +10:00
.luacheckrc luacheck and stuff 2024-05-15 18:52:02 +10:00
init.lua working version 2024-05-15 18:51:46 +10:00
inventory.lua working version 2024-05-15 18:51:46 +10:00
LICENSE luacheck and stuff 2024-05-15 18:52:02 +10:00
metadata.lua working version 2024-05-15 18:51:46 +10:00
mod.conf update readme 2024-05-15 19:55:19 +10:00
player.lua better player check 2024-05-19 01:15:45 +10:00
README.md update readme 2024-05-15 19:55:19 +10:00
tests.lua working version 2024-05-15 18:51:46 +10:00

Minetest fake userdata library [fakelib]

luacheck License Minetest

Overview

This mod is a code library for creating fake userdata (players, inventories and metadata), replicating their functionality as closely as possible.

Usage

Simply add fakelib to your mod's dependencies, and call any of the API functions from your code.

See API.md for detailed documentation.

Installation

Download the master branch or the latest release, and follow the usual installation steps.

License

All code is licensed under the MIT License.