Installation
Make sure, you have everything required installed.
- Webserver - nginx -vor- apache2 -v
- PHP (7.4 or newer) - php -v
- php-mbstring - php -m
- Git - git --version
- Mysql - mysql --version
- Curl - curl --version
Use the installer
Copy this into your Terminal and press enter.
bash <(curl -s https://raw.githubusercontent.com/AunePVP/Game-Server-Query-and-Control-Center/main/install.sh)Navigate with your arrow keys and press enter to submit. To focus <Ok> or <Cancel>, press tab.
After completing all steps, move to Web configuration.
Manual installation guide
Download and prepare the files.
Download the latest release here and move it to your web server directory or use your terminal:
cd </path/to/web-server/>git clone https://github.com/AunePVP/Game-Server-Query-and-Control-CenterCreate a config file
echo "<?php" > Game-Server-Query-and-Control-Center/html/config.phpSet the correct permissions for the files
find Game-Server-Query-and-Control-Center -type d -exec chmod 770 {} \;
find Game-Server-Query-and-Control-Center -type f -exec chmod 640 {} \;
find Game-Server-Query-and-Control-Center/html/type/arkse/ -type f -exec chmod 660 {} \;Determine the user the web server is running as. (most likely www-data) Give the web server access to the files and set the correct permissions for the config file.
sudo chown -R $USER:<webserverusername> Game-Server-Query-and-Control-Center
sudo chown <webserverusername>:$USER Game-Server-Query-and-Control-Center/html/config.php
sudo chmod 640 Game-Server-Query-and-Control-Center/html/config.phpIf you don't want to run the web app in it's on directory (https://yourdomain.com/Game-Server-Query-and-Control-Center-1.0.0-alpha/index.php), move every file and directory into the current folder.
mv Game-Server-Query-and-Control-Center/* .
rm -r Game-Server-Query-and-Control-Center;Create database
Log in to mysql
sudo mysqlDo you have a mysql user? If not:
CREATE USER <username>@localhost IDENTIFIED BY '<yoursecurepassword>';Create the database. I called my database "tracker". You can use this name or use your own name.
CREATE DATABASE <DBName> /*\!40100 DEFAULT CHARACTER SET utf8 */;Give permissions to access the database
GRANT ALL PRIVILEGES ON <DBName>.* TO '<username>'@'localhost';
FLUSH PRIVILEGES;Create a table for the login/registration
USE <DBName>;
CREATE TABLE users (id INT auto_increment PRIMARY KEY AUTO_INCREMENT, username VARCHAR(100) NOT NULL, password VARCHAR(100) NOT NULL, server JSON NOT NULL, sprite VARCHAR(25) NOT NULL, seed VARCHAR(100) NOT NULL);Exit mysql
exitAfter completing all steps, move to Web configuration.
Web configuration
Go to your Webbrowser and type in your Domain/IP. If your website is stored in an extra directory as described earlier, add the directory name to your input. https://yourdomain/<directoryname> The website will automatically redirect you to the installation page.
Enter your Steam Web API Key, and your Database credentials. Test the connection. If the connection succeed, click on submit.
Now your going to create an admin user. Enter a secure password and click on submit. You get redirected to the start page. Click on Login in the top right corner.
If you're trying to add a Minecraft Server and your server doesn't support the query protocol, use 0 as query port.
After logging in click on the user avatar in the top right corner and click on Server in in the left. Click on Add a server and fill out the form. If Rcon is disabled, use 0 as Rcon Port.
Last updated