this post was submitted on 20 Apr 2025
3 points (100.0% liked)
Luanti community
719 readers
4 users here now
Luanti is an infinite-world block sandbox game and a game engine, inspired by Infiniminer, Minecraft and the like.
The community is about the great and open source sandbox game writed in Lua, Luanti.
Feel free to call players for a multiplayer game or publish your project of a mod and everthing related.
Download the game. Check out the wiki.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's all server-side code, which is the normal thing for luanti mods and games.
Client-side modding is currently a bit crude and limited, and requires a bit of funky manual installation, but allows you to read and alter some things on the client that aren't available to the server code. Client-side modding (CSM) was added a bit prematurely and is still in kind of a proof-of-concept stage; it was intended to be a step towards server-sent client-side modding (SSCSM) which will allow games to customize the behavior of the client.
For Exile we have an optional CSM for handling special keypresses, since reading key sequences can be difficult with lag over multiplayer, but 99.9% of our code is just the regular server-side code.
Thank you for the insight! Yes, I am interested in making server-side code.
Since games consist of mods, does this mean that all games (when played on a server) have to send textures for items and blocks to the clients? Presumably the core Luanti doesn't have all the items you would use in your game.
Also: Do VoxeLibre/Mineclonia have an API that makes modding them easier, like a "bed event listener" I can define to control when beds are usable? What I am hoping is that I do not have to do "surgery" on the game code for my modifications.