Voxel Turf
Not signed in    Sign In   Register Account 

Voxel Turf Server Guide

This guide covers the basics of installing a server, creating a map and running the server via command line. To get help with command line options, run client.exe --help, or server.exe --help (windows), or vtclient --help or vtserver --help (linux) to get the command line switches.

Installation

Linux On a fresh Ubunutu 14.04 distribution, simply download the game, untar to any convient directory, and run install.sh (without superuser privilges). It will automatically detect if any packages are not present, and prompt you to install them. The game will be installed to the usual location, ~/.turf/, and the aliases vtclient and vtserver will be created. You may have to restart bash/your ssh session to be able to use them.

If you are using a different distro, have a look at install.sh for ideas for manual installation. The important thing is that Voxel Turf is installed to ~/.turf/, as this is where the client and server executables look for files.

Windows Run the installer, Voxel Turf will be installed to the usual location %HOME_DRIVE%\Program Files\Voxel Turf

Running The Server

This guide assumes that you are running linux, and the alias vtserver points to ~/.turf/server. If you are running windows, instead run %HOME_DRIVE%\Program Files\server.exe

Automatic Command Generation When you start a server from the client (using Host Server from the Main Menu), the arguments used to run the server are written to logs/startserver.log. You can use this to generate command line instructions.

Example: You load a save game with file name "game0" and hit "start". The following is written to the file in logs/serverstart.log

18:24:52 11/09/2014 --serverName "DemoPlayers Turf Server" --saveGame "game0" --publicGame OFF --maxPlayers 100 --timeout 5000 --newGame OFF

The output is of the form [TIMESTAMP][TAB][Arguments].

You can run a server with the same settings by invoking:

vtserver --serverName "DemoPlayers Turf Server" --saveGame "game0" --publicGame OFF --maxPlayers 100 --timeout 5000 --newGame OFF

Common Game Settings

Bases AllowedEnable to allow land to be purchased and spawn flags placed
Block PlaceSpecifies where players are allowed to place and remove blocks:
  • Anywhere: Players may place and remove blocks anywhere
  • Anywhere but public base: Players may place and remove blocks anywhere that is not owned by another player, nor is public land (server spawn lots or roads/rail/etc)
  • Anywhere but other base: Players may place and remove blocks anywhere that is not owned by another player
  • Only in bases: Players may only place and remove blocks in land owned by them
Start moneyHow much money new players start with when they join a server
Start creditsHow many credits new players start with when they join a server
Free money per hourHow much money does each player receive every in-game hour
Free credits per hourHow many credits does each player get every in-game hour
Flag rateUnused for now
Block placement allowedDisables the purchase of block placing items if disabled
Weapon use allowedDisables the purchase of weapons if disabled
Free ItemSpecifies what items players get when they first join the server. Can be used to start players with infinite stacks


Banlists and Whitelists

The banlist is located at settings/blacklist.txt. Any servers running will appear invisible to any clients trying to connect to them. Place %WHITELIST in this file to turn it into a whitelist. This means that only players on the list will be able to join the server.

You cannot have both a banlist and a whitelist at the same time.

Refer to the console command guide as to how to use the /ban, /unban, /whitelist and /unwhitelist commands.

It is recommended that you ban DemoPlayer to prevent griefing.

Privilege Levels

Read the console command guide to see user privlege levels, and how to set them either globaly, or per game.


All content (C) 2014 Liam Twigger AKA SnapperTheTwig | Our Privacy Policy
Hosting thanks to Liway