Minimal test project using Zylann's Voxel plugin Multiplayer API on a Websocket connection
- Godot Engine 4 built with the voxel plugin
Change the
$ git clone https://github.com/godotengine/godot.git $ git clone https://github.com/Zylann/godot_voxel.git voxel $ cd godot $ scons p=linuxbsd target=release_debug tools=yes custom_modules="../voxel"
p
parameter to your platform. You can use-j$(nproc)
to use multithreaded building.
Start the game with more than one instance (Debug->Run Multiple Instances).
Acording to the Multiplayer API documentation, server should be authoritative and the clients just receive information from it. So, to edit the terrain, click on it using the server