# 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 `standalone` version
![](images/2023-08-03_12.44.40AM.jpg)
- Run through the installer with default 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.
![](images/2023-08-03_01.00.44AM.png)
  - Find the `"mods"` folder and delete a file called `LootTweaker`, this will remove any conflicts with the server.
![](images/2023-08-03_01.03.53AM.png)
  - 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"
```