Setting Up a Phira Multiplayer Server on Windows
Using Pre-compiled Binaries (Easiest Method)
- Go to the Phira Download Station to download the Windows pre-compiled package.
- Double-click to run the executable or run it via CMD.
- Custom Ports: If you need to specify a custom port, run it via CMD and add the
--portflag. Example:RUST_LOG=debug ./phira-mp-server --port 11451 - Public Access: If you need to make the server accessible over the internet, please configure intranet penetration (port forwarding/tunneling) yourself.
Compiling the Phira Server Manually
1. Install Git and Download Source Code
- First, download and install the Git tool.
- Create a new folder anywhere, and use the following command to download the Phira-mp source code:
git clone https://github.com/TeamFlos/phira-mp.git(or usegh repo clone TeamFlos/phira-mpif you use GitHub CLI).
2. Install Rust
- Go to the Rust official website to download and install Rust.
- Run the Rust installation tool.
- In the selection prompt, choose Option 1 (Default).
TIP
If MSVC is not installed on your computer, it will be downloaded automatically. Phira-mp requires Rust version 1.70.0 or higher.
- After installation, restart your computer. Run
rustc -Vin any terminal. If a version number appears, the installation was successful.
3. Compile Phira-mp
- Navigate into the folder where you cloned the source code.
- Run the following command:
cargo build --release -p phira-mp-serverThis will automatically download the necessary libraries and start the compilation. - Once finished, you will see a "Finished" message. The compiled file will be located in the
/phira-mp/target/releasedirectory.
How to Restart the Server
Simply double-click the phira-mp-server.exe file again to restart the service.
Frequently Asked Questions (FAQ)
- Network Errors: If you encounter
warning: spurious network error (3 tries remaining): [55] Failed sending data to the peerduring compilation, please use a VPN/proxy and try again. - Compilation Time: The compilation process can take a significant amount of time; ensure your network connection is stable beforehand.
- Feedback: If you find errors in this documentation, please contact @Dmocken on the Phira Official QQ Channel or submit a report via Phira Feedback.