diff --git a/content/playit-scpsl-server.md b/content/playit-scpsl-server.md index 6b315be..20113e3 100644 --- a/content/playit-scpsl-server.md +++ b/content/playit-scpsl-server.md @@ -18,9 +18,11 @@ Resources: ### Locate the server files Right click on **SCP: Secret Laboratory Dedicated Server**, and navigate to **Manage → Browse local files**. + {{< image src="post-img/playit-scpsl-browsefiles.png" alt="Browse local files" >}} Inside, you'll see the following file structure: + {{< image src="post-img/playit-scpsl-serverfiles.png" alt="Server files" >}} > Server config files can be found here: @@ -33,33 +35,36 @@ To launch the server, double click on `LocalAdmin.exe`. This will ask for a little bit of setup, but it's pretty easy. The default port is `TCP/UDP 7777`, it can stay like that. You can just press enter and go to the next step + {{< image src="post-img/playit-scpsl-serverconsole_port.png" alt="Server console setup" >}} It will then ask if you want to edit the configuration. The default configuration is fine, and you can edit them if you want. For the simplicity of this guide, we will just choose `keep`. + {{< image src="post-img/playit-scpsl-serverconsole_config.png" alt="Server console setup" >}} For `Do you want to save the configuration only for THIS server` we will choose `this`. This keeps different server configs sepaarated, if you plan on running different servers. + {{< image src="post-img/playit-scpsl-serverconsole_config-this_local.png" alt="Server console setup" >}} Your server should now be running. The console output should look like this: + {{< image src="post-img/playit-scpsl-serverconsole_running.png" alt="Server console" >}} ### Tunnel setup -> Since the game uses both `TCP` and `UDP`, we will create a `TCP/UDP` tunnel. However, since TCP is not available to free users anymore, [playit premium](https://playit.gg/account/billing/shop/premium) is required. +> Here, we'll use the SCP: Secret Laboratory tunnel preset. +> This server uses `UDP 7777`, which means that all users can create this tunnel type. Add an [agent](https://playit.gg/account/agents) if you haven't done that yet. Configure the tunnel as follows: ```text -Tunnel Type: TCP/UDP (protocol) -Port Count: 1 -Local Port: 7777 +Tunnel Type: SCP: Secret Laboratory ``` {{< image src="post-img/playit-scpsl-tunnelconfig.png" alt="Tunnel setup" >}} ### Connecting to the server -Get the hostname/IP address from the tunnel - this can be found in the tunnel page. +Get the hostname/IP address from the tunnel. This can be found at the top of your tunnel properties. {{< image src="post-img/playit-scpsl-tunneladdress.png" alt="Tunnel address" >}} diff --git a/content/use-geyser-with-playit.md b/content/use-geyser-with-playit.md new file mode 100644 index 0000000..80ab172 --- /dev/null +++ b/content/use-geyser-with-playit.md @@ -0,0 +1,79 @@ ++++ +title = "Setting up Geyser with playit" +tags = ["Minecraft", "Guide", "Geyser"] +description_file = "descriptions/add-geyser-with-playit.txt" ++++ + +This guide will walk you through how to configure Geyser with playit.gg + +## Requirements +* **Minecraft: Java Edition** - [[minecraft.net]](https://www.minecraft.net/en-us/store/minecraft-java-bedrock-edition-pc) + +* **GeyserMC** - [[geysermc.org]](https://geysermc.org/download/?project=geyser) +* **Floodgate (Bedrock Authentication)** - [[geysermc.org]](https://geysermc.org/download/?project=floodgate) + +### Server +> The server we used for this guide is **Fabric 26.1.2**, and you can download it [here.](https://fabricmc.net/use/server/) The setup process is the same across all server platforms. See {{< link "how-to-setup-a-mc-server.md" >}} + +### Config +> `server.properties` +> +> By default, `enforce-secure-profile` is set to `true`. Set this to `false` to allow Bedrock clients to chat. + +### Creating a tunnel +> This server uses game presets, which means that all users will be able to create this. + +You will create two tunnels. Minecraft Java, and Minecraft Bedrock. Follow the instructions shown on screen and create the tunnels. +Your tunnel list should look something like this: + +{{< image src="post-img/playit-geyser-tunnel_list.png" alt="Geyser Setup Tunnel List" >}} + +### Modifying a tunnel +We'll need to change the origin configuration on the Minecraft Bedrock tunnel. Copy the port of your tunnel, and set the local port to this value. +For example, `1201`. + +{{< image src="post-img/playit-geyser-bedrock-origin.png" alt="Geyser Setup Bedrock Origin Configuration" >}} + +### Basic Geyser Config +Open and edit `./config/Geyser-Fabric/config.yml` (or similar file path). We need to change the port to the one provided by playit. Since our port is `1201`, we need to tell Geyser to listen on this port. + + +>```yml +># Network settings for the Bedrock listener +>bedrock: +> # The IP address that Geyser will bind on to listen for incoming Bedrock connections. +> # Generally, you should only change this if you want to limit what IPs can connect to your server. +> address: 0.0.0.0 +> +> # The port that will Geyser will listen on for incoming Bedrock connections. +> # Since Minecraft: Bedrock Edition uses UDP, this port must allow UDP traffic. +> port: 1201 +> +> # Some hosting services change your Java port everytime you start the server and require the same port to be used for Bedrock. +> # This option makes the Bedrock port the same as the Java port every time you start the server. +> clone-remote-port: false +>``` + +### Starting the server +Run your server's JAR file. You can either open it using a batch file, or by running it inside of a command line. +```batch +java -Xmx4G -jar fabric-server-mc.26.1.2-loader.0.19.3-launcher.1.1.1.jar nogui +pause +``` + +* The `java` command will invoke the Java runtime. `-Xmx4G` defines how much RAM the server can consume in total. 4G is 4 Gigabytes. `nogui` means there will not be a UI to interact with. This option is not required. +* `pause` will stop the console from automatically closing if there are errors. This allows you to look and read the errors. + +On a successful install, your logs should look like this: +```bash +[00:00:00] [Server thread/INFO]: Took 15ms to boot Floodgate +[00:00:00] [Server thread/INFO]: ****************************************** +[00:00:00] [Server thread/INFO]: +[00:00:00] [Server thread/INFO]: Loading Geyser version 2.10.1-b1165 (git-master-a09c335) +[00:00:00] [Server thread/INFO]: +[00:00:00] [Server thread/INFO]: ****************************************** +[00:00:00] [GeyserServer-3-1/INFO]: Started Geyser on UDP port 1201 +[00:00:00] [Server thread/INFO]: Done (1.250s)! Run /geyser help for help! +``` + +Connecting to the server is the same as usual. Share playit's IP address with people to connect! \ No newline at end of file diff --git a/descriptions/use-geyser-with-playit.txt b/descriptions/use-geyser-with-playit.txt new file mode 100644 index 0000000..4543081 --- /dev/null +++ b/descriptions/use-geyser-with-playit.txt @@ -0,0 +1 @@ +This guide will walk you through how to configure Geyser with playit.gg \ No newline at end of file diff --git a/static/post-img/playit-geyser-bedrock-origin.png b/static/post-img/playit-geyser-bedrock-origin.png new file mode 100644 index 0000000..5a3fde2 Binary files /dev/null and b/static/post-img/playit-geyser-bedrock-origin.png differ diff --git a/static/post-img/playit-geyser-tunnel_list.png b/static/post-img/playit-geyser-tunnel_list.png new file mode 100644 index 0000000..e3eb621 Binary files /dev/null and b/static/post-img/playit-geyser-tunnel_list.png differ diff --git a/static/post-img/playit-scpsl-tunneladdress.png b/static/post-img/playit-scpsl-tunneladdress.png index efb67c4..7001e0c 100644 Binary files a/static/post-img/playit-scpsl-tunneladdress.png and b/static/post-img/playit-scpsl-tunneladdress.png differ diff --git a/static/post-img/playit-scpsl-tunnelconfig.png b/static/post-img/playit-scpsl-tunnelconfig.png index 06effa4..86be34f 100644 Binary files a/static/post-img/playit-scpsl-tunnelconfig.png and b/static/post-img/playit-scpsl-tunnelconfig.png differ