-
Notifications
You must be signed in to change notification settings - Fork 18
Running Your Own Server
Arend van Beelen jr edited this page Aug 16, 2021
·
12 revisions
- Rust 1.52 or higher.
If you haven't installed Rust yet, see: https://www.rust-lang.org/tools/install
Just run:
$ cargo build
- Set the PT_DATA_DIR environment variable to point to the data/ directory.
- If you want to enable logging, set the PT_LOG_DIR variable to the directory where you want your logs to be stored.
- Use either
cargo run
or run your compiledplaintext
executable that's inside thetarget/
directory.
Once your server is running, read how to connect to it.
Read how to create your own game or take a look at the Frequently Asked Questions.