Compare commits

..

9 Commits

Author SHA1 Message Date
db708d2b0d update to path 2023-10-26 03:33:00 -07:00
9e4342e1e8 Theming 2023-10-26 03:32:03 -07:00
9c512350b3 update to client install 2023-08-05 00:35:38 -07:00
997aeb2d9e Fixed typo 2023-08-04 03:15:18 -07:00
9a09ebfddb Added Gitea Theming Guide 2023-08-04 03:12:11 -07:00
85614babcc updated getting server files for mod 2023-08-03 04:01:36 -07:00
788229ceec update text 2023-08-03 01:46:01 -07:00
aac23d5a0b Fixed admins 2023-08-03 01:25:51 -07:00
5b5fc6a174 Added portainer YAML 2023-08-03 01:24:43 -07:00
5 changed files with 73 additions and 7 deletions

37
GiteaThemes.md Normal file
View File

@ -0,0 +1,37 @@
# Gitea Theming
## Theme Directory
- Find where your `$CUSTOMPATH$` directory is, mine is `/data/gitea/public/css`.
## Gitea Version 1.18+
### [Sainnhe themes](https://git.sainnhe.dev/sainnhe/gitea-themes)
- Navigate to the theme directory and using `wget` you can download any of the raw files of the css theme
- Example for Nord: `wget https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-nord.css`
- Once the file is copied, use your favorite editor to open the file.(Taken from changes of the official `arc-green` theme)
- Search for these values of the theme.
```css
--color-navbar: #222222;
--color-navbar-transparent: #22222200;
--color-nav-bg: unset;
--color-reaction-active-bg: var(--color-primary-alpha-40)
```
- Replace the lines with the new values.
```CSS
--color-header-wrapper: #222222;
--color-header-wrapper-transparent: #22222200;
--color-nav-bg: #222222;
--color-nav-hover-bg: #303030;
--color-reaction-active-bg: var(--color-primary-alpha-40);
--color-label-text: #dbe0ea
```
- Once the file has been changed, navigate to the config file `app.ini`
- Mine is located in `/data/gitea/confs`
- Find the `[ui]` section and add in the name of the new theme to `THEMES`.
```ini
...
[ui]
THEMES = auto,gitea,arc-green,<your theme>
DEFAULT_THEME = <your theme>
...
```
- Save the file and restart the Gitea instance
- Navigate to the appearance section under your own account and change the theme.
![](images/2023-08-04_03.11.04AM.png)

View File

@ -1,16 +1,15 @@
# RLCraft Minecraft 1.12.2 Docker(Portainer) + Client Setup # RLCraft Minecraft 1.12.2 Docker(Portainer) + Client Setup
## Client Set-up ## Client Set-up
### Download CurseForge ### Download CurseForge
- Visit [CurseForge](https://www.curseforge.com/download/app) and download the `standalone` version - 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) ![](images/2023-08-03_12.44.40AM.jpg)
- Run through the installer with default options unless you intend to run a custom install. - Run through the installer with standard options unless you intend to run a custom install.
- Open the curseforge application. - Open the curseforge application.
- In the search bar at the top, search for `RLCraft` and click `Install`. - In the search bar at the top, search for `RLCraft` and click `Install`.
![](images/2023-08-03_12.50.36AM.png) ![](images/2023-08-03_12.50.36AM.png)
- Once installed, go to the mod install folder by using the 3 dots. ~~- 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.~~
- 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.
![](images/2023-08-03_01.03.53AM.png)
- Click play and sign into your Microsoft account(You can close curseforge after launching). - Click play and sign into your Microsoft account(You can close curseforge after launching).
- Visit the mod folder - 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). - Agree to the terms and conditions(Microsoft gives warnings because it doesn't support the latest security measures in old version of Minecraft).
@ -20,4 +19,30 @@
![](images/2023-08-03_12.56.45AM.png) ![](images/2023-08-03_12.56.45AM.png)
### Server-Side Setup With Portainer ### 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.

4
coder_code-server.md Normal file
View File

@ -0,0 +1,4 @@
# Coder Theming
- If using docker, make sure to place extension folders with the `/app/code-server/lib/vscode/extensions` directory.
- Themes can be installed by cloning the github repo if all of the necessary files are present.
- Once installed, hit restart on the container and you should see the new theme available.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB