MineTest Server Setup

Setting up a basic Minetest server. Perhaps @themanmaran or others have suggestions for proper setup.

Nice, someone set up a Minecraft (not minetest) server in the old space not long before we locked down. Wonder if they’re still around. Would love to see a Minetest server set up. I’m happy to help with this.

Great, any help with defining a solid config file appreciated. Haven’t played it myself.

···

On Wed, Jan 6, 2021, 2:48 PM mana via Noisebridge <noreply@discuss.noisebridge.info> wrote:

mana Music
January 6

Nice, someone set up a Minecraft (not minetest) server in the old space not long before we locked down. Wonder if they’re still around. Would love to see a Minetest server set up. I’m happy to help with this.


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

Okay, that’s all you need? You already have a machine and whatnot that you can install it on and use as the server?

So I played around with getting a good set of mods and settings together on my machine, it would probably be easiest if I could just get ssh or vnc-like access to the server in order to set it up.

1 Like

Sure, here are instructions for SSH access. There are a couple machines to choose from. Welcome aboard.

https://www.noisebridge.net/wiki/Unicorn

···

On Thu, Jan 7, 2021, 4:28 AM mana via Noisebridge <noreply@discuss.noisebridge.info> wrote:

mana Music
January 7

So I played around with getting a good set of mods and settings together on my machine, it would probably be easiest if I could just get ssh or vnc-like access to the server in order to set it up.


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

1 Like

Okay, great! Excited to set this up. Here’s my public key, can you put it on Unicorn for me @James ? Thanks! unicorn-nb-mana.pub (748 Bytes)

1 Like

Welcome to Unicorn!

We have the latest MineTest Docker build under ~/apps/docker-minetest

ghcr.io/linuxserver/minetest         "/init"                  6 days ago          Up 6 days                       0.0.0.0:30000->30000/udp           minetest

Simplest option is define your config location (a safe location is ~/data/minetest) in ~/apps/docker-minetest/docker-compose.yml and then execute
docker-compose up -d

Default docker-compose.yml file is in the directory. I believe our timezone is US/Pacific

1 Like

Alrighty, the Minetest server is all set up. I choose a good set of mods on top of the mods already in the Minetest Extended mod pack. If you got to “Join Game” from the Minetest client and enter Unicorn’s IP address mt.noisebrdige.info on port 30000 and choose a name and password, you can join the server. I did a tiny bit of setup to make it easy for people to get started on the server, but it’s basically bare with no buildings or anything up yet. Feel free to get on and do whatever! I’ll be on there on and off pretty regularly. Let me know about any questions or suggestions/requests.

1 Like

We could add a url to *.noisebridge.info with these instructions such as mt.noisebridge.info

Here is an example via nginx and you can also see our current sites available at /etc/nginx/sites-available.
Config option is * server_url - if you have a website for your server, then set this to the website URL.

Adding Positional Audio

We can also add positional audio from our Mumble as detailed in this video tutorial and described on this github repo.

Click for full instructions

Installation has 3 main components:

  1. Minetest Client Side Mod to expose the Coordinates to the Wrapper program.
  2. Wrapper program to take the Coordinates from Minetest and send them to Mumble.
  3. Mumble to receive the infomarion and attenuate accordingly.

All instances of Minetest should be closed to prevent it from rewriting the config and undoing your installation progress.
Minetest Client Side Mod

  • Download the Client Side Mod (henceforth referred to as CSM) from Releases: https://github.com/Elkien3/minetest-mumble-wrapper/releases/download/0.2/minetest-mumble-CSM.zip
  • Extract the zip into your Minetest’s “clientmods” folder. The folder tree on Windows or other run-in-place install should be “minetest-v.v.v/clientmods/mumble/init.lua” On Linux or other non run-in-place it should be “/home/[user]/.minetest/clientmods/mumble/init.lua”
  • Edit the mods.conf in the “clientmods” folder and add “load_mod_mumble = true” to the bottom of the file. If there is no mods.conf file in “clientmods” you can create one by adding a text file and renaming it to “mods.conf”. Ensure file extensions are enabled in the “View” toolbar, so you will see “New Text Document.txt” instead of just “New Text Document” If Minetest was run since you extracted the CSM, you may see “load_mod_mumble = false” already in mods.conf, in that case just change “load_mod_mumble = false” to “load_mod_mumble = true”
  • Enable Client Side Modding in Minetest Config: For this step you can open Minetest, then go into the Settings tab. Click on “All Settings” There will be a search bar on the top of the list, search for “Client Modding” Locate the “Client Modding” setting, and set it to Enabled. Optional: The CSM writes to the Minetest log all of your player’s coordinates and view direction, this can cause your debug.txt to become very large, so it’s recommended you stop Minetest from saving logs to file. Search “log level” in all settings, double click the setting, and set it to blank to disable logging text to file.
  • Double check that the CSM is being loaded: With Minetest open, lauch or join any Minetest world or server. Once you launch/join a world, the following message should appear in chat: “!Mumble loaded! This mod uses print() to send ingame positional data, so your debug.txt may get quite large, and it’s recommended to set debug_log_level to nothing if you haven’t already.” If this message does not appear, ensure you have the latest version of the CSM and redo steps 1A-1E. For more information of how to install Client Side Mods: https://wiki.minetest.net/Installing_Client-Side_Mods

Start mumble, the handler may have an error otherwise. Make sure Positional Audio and Link is enabled in Settings -> Audio Output and Settings -> Plugins. (Both need advanced options to be shown.) Run the executable (in the releases) with the minetest program as an argument. (can be done easily with shortcuts in windows, and .sh files in linux) It will also search in it’s current directory for minetest, as well as /usr/bin/, usr/games/, C:/Program Files/minetest/bin/, and C:/Program Files (x86)/minetest/bin/ so you may not have to pass the path directly as an argument. After a few seconds after joining a world the terminal for the handler/minetest should go a bit crazy, outputting your players location and heading. If it dosn’t, the csm probably isn’t correctly installed, see https://wiki.minetest.net/Installing_Client-Side_Mods

After that Mumble should say in it’s chat “Minetest linked” If it dosn’t, double check your Mumble settings and make sure Positional Audio is enabled both in Settings -> Audio Output and Settings -> Plugins.

You may want to change the Positional Audio settings in Mumble in Audio Output (needs advanced settings to be visible.) The main things you’ll be changing is Maximum Distance and Minimum Volume, Maximum Distance: How far before the volume is set to the Minimum Volume. Minimum Volume: no matter how far away you are from someone else, you will hear them at least this loud. Set to 0 for Proximity chat.

minetest-mumble-helpers: Note: The helpers are batch files and Windows only. This zip file contains two batch files called "autoinstaller.bat"and “autolauncher.bat” To use the autoinstaller:

  • Download and unzip the minetest-mumble-helpers.zip file into your minetest directory: where the “bin”, “clientmods”, and “mods” folders are.)
  • Unzip the file in place, not creating a new directory. (for 7zip use “Extract Here”) Should be something like “Extract to C:\Path\To\minetest-5.0.1-win64” NOT “Extract to C:\Path\To\minetest-5.0.1-win64\minetest-mumble-helpers”
  • Ensure the files were extracted correctly: all the contents should be visible from the main minetest folder. Also close any Minetest sessions running, as they may interfere with the autoinstaller’s config writing.
  • Run autoinstaller.bat, Windows may ask you if you want to run it, (perhaps even say that it could be malware) so let it run. (if you wish to see what you are doing by running the autoinstaller, rightclick it and select “edit”)

The autoinstaller should have moved the files to the correct positions and updated your Minetest settings. This should take care of all minetest related setup for mumble PA if sucessful If it was unsucessful, install manually.

To use the autolauncher:

  • If it’s not there already, place the autolauncher.bat into the bin folder, along with the wrapper program.
  • Rightclick to edit the file.
  • Ensure the paths to the Mumble executable and the name of the wrapper program is correct. Note: the /min in front of the mumble path makes mumble start minimized, if you don’t like this, you can delete it.

Running the autolauncher should start mumble and have it autojoin the correct channel, start minetest, and also close mumble once minetest is closed.

I would recommend making a shortcut to the autolauncher and setting the icon/name if you use it often.

2 Likes

Cool, I was going to ask about setting up a subdomain next. I’ll do that. As for the positional audio, that seems cool for sure and I can get around to it, though I’ve found that unless there are a lot of people on the server, using basic voice chat works fine (such as in our Discord server, or presumably Mumble, though I’ve never used that).

1 Like

Alright, I set up mt.noisebridge.info:30000 as the endpoint for the Minetest server :+1:

2 Likes

Added an entry about this to our wiki. Could add a dedicated page there for MineTest if it helps other join in and further understand how it is configured.

1 Like

Awesome! Glad to see it up and running!

1 Like