Skip to content

Running Your Own Server

Arend van Beelen jr edited this page Aug 16, 2021 · 12 revisions

Dependencies

  • Rust 1.52 or higher.

If you haven't installed Rust yet, see: https://www.rust-lang.org/tools/install

Compiling

Just run:

$ cargo build

Running

  • 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 compiled plaintext executable that's inside the target/ directory.

Further Reading

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.

Clone this wiki locally