From 08f782aab1c7378353204ec1db328ebf06479f49 Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Thu, 13 Jul 2023 21:32:44 +0000 Subject: [PATCH] Limitations: edit --- pages/Limitations.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pages/Limitations.md b/pages/Limitations.md index d48ea47..35922fb 100644 --- a/pages/Limitations.md +++ b/pages/Limitations.md @@ -2,4 +2,11 @@ This page lists various limitations that exist in the Minetest engine. This list [toc] -(todo) \ No newline at end of file +## Running code on the client +Mods always run on the server, and not on the client. While there is a client modding API (with client-side mods, CSMs), they are very limited and require to be manually installed. The concept of SSCSM (Server-sent client side modding) would solve this but has not been fully implemented yet. + +## Checking arbitrary keys +There is no way to check arbitrary keys in the scripting API. You are limited to the existing keybinds that are available in `get_player_control`. Aux1 is a generic keybind that you could give a custom use for. + +## Changing node textures on the fly +While there are ways to e.g. colourise nodes using param2, you cannot change the texture of a node itself. You will need to register a separate node with different textures, and swap between these nodes. \ No newline at end of file