2025-05-08 17:39:44 +01:00
|
|
|
# Server Setup
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
### Ports
|
|
|
|
* 255XY - Java Port
|
2025-05-08 18:08:24 +01:00
|
|
|
* 244XY - Voice Chat port
|
|
|
|
* 233XY - Bedrock Port
|
2025-05-08 17:39:44 +01:00
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
### Config
|
|
|
|
1. In [this repo][config_01] create a new branch for the club/soc who wants the server.
|
|
|
|
2. Push this branch to Forgejo.
|
|
|
|
|
|
|
|
[config_01]: https://forgejo.skynet.ie/Skynet/minecraft_plugins_v2
|
|
|
|
|
|
|
|
### Server
|
|
|
|
1. In the admin panel create a new server. [link][setup_01]
|
|
|
|
2. ``Information``
|
|
|
|
* ``Primary Allocation``
|
2025-05-08 18:19:26 +01:00
|
|
|
* You will need to create allocations for both ports using the add allocation button
|
|
|
|
![add_allocation.png][setup_02]
|
|
|
|
* Add allocations for all 3 ports ``255XY``/``244XY``/``233XY``
|
2025-05-08 17:39:44 +01:00
|
|
|
* ``Owner``
|
|
|
|
* If the Club/Soc already has an account then use that
|
|
|
|
* Else use the plus:
|
|
|
|
![add_allocation.png][setup_02]
|
|
|
|
To create a new account for them.
|
2025-05-08 18:08:24 +01:00
|
|
|
* ``username`` - This should be the Club/Soc as lowercase.
|
2025-05-08 17:39:44 +01:00
|
|
|
Check with Admin if they already have a Skynet account, if they have then use that.
|
|
|
|
* ``email`` - use ``$username@skynet.ie`` or ``$username@ulwolves.ie``
|
|
|
|
Do not use any other email.
|
|
|
|
3. ``Egg Configuration``
|
|
|
|
* For the egg choose ``mcsleepingserverstarter-Packwiz-Purpur-Geyser-Floodgate``.
|
|
|
|
* For ``{{PACKWIZ_URL}}`` it is ``https://forgejo.skynet.ie/Skynet/minecraft_plugins_v2/raw/branch/$BRANCHNAME/pack.toml``.
|
|
|
|
* ``$BRANCHNAME`` is the name of the branch as done in [Config](#config).
|
|
|
|
4. Move onto ``Environment Configuration``
|
|
|
|
* Memory give it about ``6144`` MB or so.
|
|
|
|
* Swap Memory give it about ``1024``
|
|
|
|
* ``Feature Limits`` give one or two backups.
|
|
|
|
|
|
|
|
[setup_01]: https://panel.games.skynet.ie/admin/servers/create
|
|
|
|
[setup_02]: media/add_allocation.png
|
|
|
|
|
|
|
|
### Minecraft
|
|
|
|
Now in the panel ye need to modify some files.
|
|
|
|
If an option is not already in teh file then create it.
|
|
|
|
|
|
|
|
1. ``server.properties``
|
|
|
|
* ``enforce-secure-profile=false`` - This allows bedrock players to talk in text chat
|
|
|
|
2. ``sleepingSettings.yml``
|
2025-05-08 17:47:12 +01:00
|
|
|
* See the [Github repo][minecraft_01] for full config details
|
2025-05-08 17:39:44 +01:00
|
|
|
* ``serverName`` - This is what gets shown on users server listings when teh server is sleeping.
|
|
|
|
``GSoc, connect to wake up then reconnect in a min`` is what is on teh GSoc one,
|
|
|
|
* ``serverPort`` - Use the Java port ``255XY``
|
2025-05-08 18:08:24 +01:00
|
|
|
* ``bedrockPort`` - Use the Bedrock port ``233XY``
|
2025-05-08 17:39:44 +01:00
|
|
|
3. ``plugins/Geyser-Spigot/config.yml``
|
2025-05-08 18:08:24 +01:00
|
|
|
* ``bedrock.port`` - Use the Bedrock port ``233XY``
|
2025-05-08 17:39:44 +01:00
|
|
|
4. ``plugins/voicechat/voicechat-server.properties``
|
2025-05-08 18:08:24 +01:00
|
|
|
* ``port`` - Use the Voice port ``244XY``
|
2025-05-08 17:39:44 +01:00
|
|
|
|
2025-05-08 17:47:12 +01:00
|
|
|
[minecraft_01]: https://github.com/vincss/mcsleepingserverstarter
|
2025-05-08 17:39:44 +01:00
|
|
|
|
|
|
|
### DNS
|
|
|
|
An entry needs to be added to the [Forgejo DNS Config][dns_01] in the form of ``minecraft.$NAME``.
|
|
|
|
Where ``$NAME`` is the name of teh club/soc, lowercase.
|
|
|
|
|
2025-05-08 18:17:31 +01:00
|
|
|
[dns_01]: https://forgejo.skynet.ie/Skynet/nixos/src/branch/main/applications/games/minecraft.nix#L27
|