KFO-Server is the official Python-based server for Attorney Online, forked from tsuserver3.
In order to set up the server, you must follow these instructions. This assumes you are familiar with using a terminal.
We recommend Git for downloading the server software. This makes it easier to update the server later. In order to use Git, just clone the respository.
If you don't want to use Git, you can download the latest zip of KFO-Server here. Extract it and put it wherever you want.
In order to install dependencies, you will need to open a terminal.
On Windows, you can do this by pressing Win+R, typing in cmd
, and pressing Enter.
On Linux, you can do this by pressing Ctrl+Alt+T.
You should then navigate to the folder where the server is located.
Take note that depending on your operating system, the command for python may be python3 or python.
You should also verify the version by running python --version
or python3 --version
.
First, we need to create the virtual environment. This can be done by running the following command:
python -m venv venv
Then, we need to activate the virtual environment. If you're on a unix system (bash or similar), you can run the following command:
./venv/bin/pip install -r requirements.txt
If you're on Windows (cmd), you may have to do this instead:
venv\Scripts\pip install -r requirements.txt
config_sample
to config
.yaml
files to your liking.characters
folder unless you specifically chose to disable iniswapping in an area (in areas.yaml
). In this case, all tsuserver needs to know is the char.ini
of each character. It doesn't need sprites.You can run the server using one of the helper scripts start-unix.sh
or start-windows.bat
.
They run the server using the local environment.
To stop the server, press Ctrl+C in the terminal.
You can also use docker to run KFO-server. First you need to install Docker and Docker Compose.
Once you have everything configured, do docker-compose up
. It will build the image and start tsuserver up for you. If you accidentally restart the server, the container will automatically start back up. If you're not understanding why it's starting, try starting it up manually:
This server is licensed under the AGPLv3 license. In short, if you use a modified version of tsuserver3, you must distribute its source licensed under the AGPLv3 as well, and notify your users where the modified source may be found. The main difference between the AGPL and the GPL is that for the AGPL, network use counts as distribution. If you do not accept these terms, you should use serverD, which uses GPL rather than AGPL.
See the LICENSE file for more information.