We use Pterodactyl to manage games servers, found at
https://pterodactyl.uwcs.co.uk
If you want a game server set up, simply head to our discord, and create a Game Server ticket on "create-a-ticket" under Tech.

We'll need your email address, after which we can create your pterodactyl account where you'll be able to stop and start your server.
On there, you'll also find your game port. Once tech has edited the frpt.toml file and reset the service, your server will be accessible at mc.uwcs.co.uk:(PORT_NUMBER)
Pterodactyl uses docker containers to run games. It also has some adororable terminology, such as:
Wings - the node that runs Pterodactyl
Nest - the folder that has different types of eggs
Egg - An install script to create a game docker container
We have a few games, namely Minecraft, Terraria, and Satisfactory, already set up. For any outside of this, a new egg will have to be imported / created.
Official eggs can be found here:
https://github.com/pterodactyl/game-eggs
Pterodactyl is hosted at wings LXC on LocalToast
pterodactyl_nw172.18.0.1Most of the servers we host are for Minecraft. Use Fabric (instead of Vanilla) or Paper (instead of Bukkit/Spigot), both have better optimization and easier Velocity support. Servers are hosted behind a Velocity proxy (allows the multiple connections, like Bungeecord).
UWCS - Velocity > Files > velocity.toml, copy an existing entry)[servers] with an alias: newserver = "172.18.0.1:xxxx"[forced-hosts] mapping the subdomain: "newserver.mc.uwcs.co.uk" = ["newserver"]Settings page. Your username is different per server, but your password is the same as your Pterodactyl password.sftp.mc.uwcs.co.uk:2022, as it is proxied to the service on the LXC via FRP, as we lack the ability to expose wings.uwcs.co.uk:2022.wings variant will still fail to workonline-mode=false in server.propertiesvelocity > enabled = true in config/paper-global.yamlCopy the secret from Velocity's forwarding.secret into config/FabricProxy-Lite.toml or config/paper-global.yaml
If you have some playser on Bedrock, we can set up crossplay with Geyser. Geyser only needs to run on Velocity, however you need to install Floodgate on your server (Paper and Fabric downloads).
Once installed, all that needs to happen is for an [Admin] to copy Velocity's plugins/floodgate/key.pem onto your server's config/floodgate/key.pem.
If you want a map webpage, install Dynmap (or similar) and allocate another port
In the FRP config, edit Frpc/frpc.toml to add:
[[proxies]]
name = "Dynmap for <NAME>"
subdomain = "<CHANGE SUBDOMAIN HERE>"
type = "https"
[proxies.plugin]
type = "https2http"
localAddr = "172.18.0.1:<CHANGE PORT HERE>"
crtPath = "./certs/mc.uwcs.co.uk/cert.pem"
keyPath = "./certs/mc.uwcs.co.uk/key.pem"
hostHeaderRewrite = "127.0.0.1"
requestHeaders.set.x-from-where = "frp"
transport.proxyProtocolVersion = "v2"
Then restart the container
These servers have pretty good reliability, but obviously things can go wrong. I recommend backing up your server every so often.
0 5 * * MON is every Monday at 5amsave-off, save-all and save-on to ensure a backup never happens mid save..pteroignore file with contents like.fabric
dynmap
libraries
logs
versions
*.tar.gz
bluemap
The disk image is stored on the NVME drive for speed
Due to the closed ports situation, we only have access to ports 80 and 443 on Milner, and through trickery 7000-8000 from the old Lovelace IP. To get round this we use an Oracle VPS to act as a router.
mc.uwcs.co.uk connects straight to the VPS.
http is auto redirected to https.
Traffic from the VPS is handled by frp, attempts were made to use rathole but it was intermittent with Satisfactory.
The Admin panel for frp is hosted on the VPS at port 6780
Username: uwcs
Password: Gaming Password