docs(Minecraft-Java): helmify docs (#32705)
**Description** <!-- It was on the issue list for old scale guides to update. I though give it a try. Let me know how this works out. --> ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [x ] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ x] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [x ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._
@@ -2,42 +2,78 @@
|
||||
title: Minecraft Java Community Guide
|
||||
---
|
||||
|
||||
⚠️ **Warning This guide contains information that uses Advanced/Expert settings. As a result this will be outside the scope of support!** ⚠️
|
||||
|
||||
---
|
||||
|
||||
## Running Multiple MC-Java Servers
|
||||
|
||||
You can easily run Multiple MC Servers. You simply need to change the external ports, Be sure to use an unused port. There is no need to change the Minecraft port or RCON port in the server.properties
|
||||
You can easily deploy Multiple MC Servers charts. You simply need to change have different IP adresses. Ports can be kept the standard port or when you prefered for both MC Servers a different port. This is depending of your way to route the traffic via your router.
|
||||
|
||||
MC Server 1
|
||||
|
||||

|
||||
```yaml
|
||||
service:
|
||||
main:
|
||||
type: LoadBalancer
|
||||
loadBalancerIP: ${MCServer1}
|
||||
enabled: true
|
||||
ports:
|
||||
main:
|
||||
port: 25565 #standard MC port
|
||||
```
|
||||
|
||||
MC Server 2
|
||||
|
||||

|
||||
```yaml
|
||||
service:
|
||||
main:
|
||||
type: LoadBalancer
|
||||
loadBalancerIP: ${MCServer2}
|
||||
enabled: true
|
||||
ports:
|
||||
main:
|
||||
port: 25566 #different MC port
|
||||
```
|
||||
|
||||
Another option the run multiple MC servers is to use the chart `minecraft-router`. When using this chart you can keep the service type on CLusterIP and keep the standard ports. This chart will redirect to your CLuster Domain Names.
|
||||
|
||||
## Plugins DIR
|
||||
|
||||
To easily get Plugins in to your MC server since PVC's are in use for the config storage you can add a host path storage for either /mods or /plugins depending on what your server needs like so
|
||||
To easily get Plugins in to your MC server since PVC's are in use for the config storage you can add a NFS path storage for either /mods or /plugins depending on what your server needs.
|
||||
|
||||

|
||||
|
||||
This will give you an easy folder to drop the plugins in and they will then sync to /data/plugins or /data/mods , you will/may need to shell in to the app to periodically clean up old versions
|
||||
This will give you an easy folder to drop the plugins in and they will then sync to /data/plugins or /data/mods, how to add extra storage you can check the common docs.
|
||||
You will/may need to shell in to the pod to periodically clean up old versions or add a codeserver extension.
|
||||
|
||||
## Plugins/mods that need additional ports
|
||||
|
||||
Using Dynmap as an example Under network and Services Check Show Expert config (remember the warning at the top?)
|
||||
Using plugins which needs an additional port, you need to configure an extra service. You can do this with loadBalancer and an IP or define with an Ingress.
|
||||
This is an example with Bluemap with an Ingress.
|
||||
|
||||
Click Configure add Manual Custom Services and fill out like so also adding Configure additional service ports
|
||||
```yaml
|
||||
service:
|
||||
bluemap:
|
||||
enabled: true
|
||||
type: LoadBalancer # Optional - when not use ingress
|
||||
loadBalancerIP: ${BluemapIP} # Optional - when not use ingress
|
||||
ports:
|
||||
bluemap:
|
||||
enabled: true
|
||||
protocol: tcp
|
||||
port: 8100
|
||||
|
||||

|
||||
ingress:
|
||||
bluemap:
|
||||
enabled: true
|
||||
primary: true
|
||||
targetSelector:
|
||||
bluemap: bluemap
|
||||
hosts:
|
||||
- host: ${MINECRAFT_URL}
|
||||
integrations:
|
||||
traefik:
|
||||
enabled: true
|
||||
certManager:
|
||||
enabled: true
|
||||
certificateIssuer: ${ISSUER}
|
||||
```
|
||||
|
||||
For the second server instance the setup is about the same one minor difference is the need to change the port for dynmap in the container to a new port and configure like so (note this could of just been my system being silly due to my tests and not rebooting)
|
||||
Bluemap Web working
|
||||
|
||||

|
||||
|
||||
Dynmap Web working
|
||||
|
||||

|
||||

|
||||
|
||||
BIN
charts/stable/minecraft-java/docs/img/bluemap.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 840 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 20 KiB |