Install dependencies:
sudo apt install wget git subversion make build-essential cmake pkg-config zlib1g-dev libcurl4-openssl-dev libssl-devDownload the source code:
git clone https://github.com/supertuxkart/stk-code stk-code
| <!-- From https://github.com/supertuxkart/stk-code --> | |
| <?xml version="1.0"?> | |
| <server-config version="6" > | |
| <!-- Name of server, encode in XML if you want to use unicode characters. --> | |
| <server-name value="stk server" /> | |
| <!-- "Port used in server, if you specify 0, it will use the server port specified in stk_config.xml. If you wish to use a random port, set random-server-port="1" in user config. STK will automatically switch to a random port if the port you specify fails to be bound." --> | |
| <server-port value="0" /> |
| worth: | |
| # Items not listed in this file will not be sellable on the server | |
| # Setting the worth to 0 will sell items for free, delete the item or set to -1 to disable. | |
| # This will set the worth of all logs to '2' | |
| log: 2.0 | |
| # This will work similar to the above syntax | |
| wool: |