Guides/RLCraft.md
2023-08-05 00:35:38 -07:00

48 lines
2.6 KiB
Markdown

# RLCraft Minecraft 1.12.2 Docker(Portainer) + Client Setup
## Client Set-up
### Download CurseForge
- Visit [CurseForge](https://www.curseforge.com/download/app) and download the <span style="color:Cyan">standalone</span> version
![](images/2023-08-03_12.44.40AM.jpg)
- Run through the installer with standard options unless you intend to run a custom install.
- Open the curseforge application.
- In the search bar at the top, search for `RLCraft` and click `Install`.
![](images/2023-08-03_12.50.36AM.png)
~~- Once installed, go to the mod install folder by using the 3 dots.~~
~~- Find the `"mods"` folder and delete a file called `LootTweaker`, this will remove any conflicts with the server.~~
- Removing the mod breaks the recipes, no longer needed to join the server when using the serverpack from curseforge.
- Click play and sign into your Microsoft account(You can close curseforge after launching).
- Visit the mod folder
- Agree to the terms and conditions(Microsoft gives warnings because it doesn't support the latest security measures in old version of Minecraft).
![](images/2023-08-03_12.54.17AM.png)
- Click Play and join the Server through multiplayer and the domain name/IP address(Takes awhile to load).
- You can add a port at the end of the domain name if it's using a custom port `<YourDomain>:<port>`.
![](images/2023-08-03_12.56.45AM.png)
### Server-Side Setup With Portainer
- YAML File for ease of setup
```
version: '3.7'
services:
minecraft:
image: itzg/minecraft-server:java8
container_name: rlcraft
environment:
EULA: "TRUE"
# ENABLE_WHITELIST: "TRUE" # Optional
# ENFORCE_WHITELUST: "TRUE" # Optional
MEMORY: 4G # Set to preferred amount, 4G minimum for modded server
TYPE: FORGE
# OPS: "Your Minecraft Name" # Set up initial admins EX:["admin1", "admin2",...]
VIEW_DISTANCE: 10
VERSION: 1.12.2 # MC version for RLCraft
FORGE_VERSION: 14.23.5.2860 # Correct Forge version for MC 1.12.2
volumes:
- /your/data/directory:/data # Replace with your directory
ports:
- "25565:25565" # Change first value if you want to run multiple servers Ex:"25585:25565"
```
- After the server has been setup, the easiest way to get the mod running is by downloading the server files from curseforge
![](images/2023-08-03_03.57.42AM.png)
- Once downloaded, extract all of the files into the folder where the docker server is and overwrite them.
- To achieve this, I followed [this written guide](https://ubuntu.com/server/docs/samba-file-server) or [this video](https://www.youtube.com/watch?v=oRHSrnQueak&t=42s) in order set up a samba share and access the folder.