this post was submitted on 20 Apr 2025
3 points (100.0% liked)

Luanti community

725 readers
1 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
 

I want to create some cool multiplayer games on a server (operating on top of VoxeLibre or Mineclonia) but am still new to Luanti. I am familiar with creating Minecraft servers and server mods (like Bukkit plugins) but am not quite sure what it looks like with Luanti.

I've been playing around with VoxeLibre and Mineclonia for a while now, and I of course understand that they are games implemented in Lua under the Luanti engine, but I am not quite sure if there is a distinction between "client" mods and "server" mods in the Luanti ecosystem.

I found the Luanti modding book, but it does not mention there being a difference between client mods and server mods.

What I am aiming to do in the mod is:

  • Manipulate blocks in the world
  • Run a timer that changes the world state every X minutes
  • Handle events (like lava place, etc.) server-side
  • Give players items
  • Introduce special mechanics for certain items (for example, a fishing rod which teleports you to the bobber location)
  • Spawn chests with items in them

This all has to be controlled on the server end, and I hope that it does not require clients to have a copy of the code since I am planning to make frequent updates on the server end only.

you are viewing a single comment's thread
view the rest of the comments
[–] Mantar@lemmy.ml 1 points 4 days ago

I'd like to take a moment to thank Lemmy for logging me out so I never saw the notice that you'd replied. :D

Yes, Luanti sends textures and sounds to the clients, though they are cached so it's only the first time you connect to a server.

Those games have an api of their own, though I don't know about "easier," and I'm not familiar with the specifics there as I don't particularly care for Minecraft. Odds are you'll need to override the beds behavior somehow, but I doubt you'll need to alter Voxelibre or Mineclonia to do it.