Reset git history for making manifests public
This commit is contained in:
80
minecraft/homestead/backup-configmap.yaml
Normal file
80
minecraft/homestead/backup-configmap.yaml
Normal file
@@ -0,0 +1,80 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: homestead-backups
|
||||
namespace: minecraft
|
||||
data:
|
||||
ftbbackups2.json: |
|
||||
{
|
||||
// Allow the creation of backups automatically
|
||||
"enabled": true,
|
||||
// Permission level to use the /backup command
|
||||
"command_permission_level": 3,
|
||||
// Only send backup status to server ops
|
||||
"notify_op_only": true,
|
||||
// Don't send backup status at all
|
||||
"do_not_notify": false,
|
||||
/* Backup retention mode. Valid Modes: MAX_BACKUPS, TIERED
|
||||
Note: TIERED mode is an experimental feature, Use at your own risk.
|
||||
*/
|
||||
"retention_mode": "MAX_BACKUPS",
|
||||
// Applies to retention_mode:MAX_BACKUPS, Sets the maximum number of backups to keep
|
||||
"max_backups": 8,
|
||||
// Applies to retention_mode:TIERED, The latest x number of backups will be retained
|
||||
"keep_latest": 5,
|
||||
// Applies to retention_mode:TIERED, Sets number of hourly backups to keep
|
||||
"keep_hourly": 3,
|
||||
// Applies to retention_mode:TIERED, Sets number of daily backups to keep
|
||||
"keep_daily": 2,
|
||||
// Applies to retention_mode:TIERED, Sets number of weekly backups to keep
|
||||
"keep_weekly": 2,
|
||||
// Applies to retention_mode:TIERED, Sets number of monthly backups to keep
|
||||
"keep_monthly": 1,
|
||||
/* This is done with an implementation of cron from the Quartz java library.
|
||||
More info here
|
||||
(http://www.cronmaker.com)
|
||||
*/
|
||||
"backup_cron": "0 */30 * * * ?",
|
||||
// Time between manual backups using the command
|
||||
"manual_backups_time": 0,
|
||||
// Only run a backup if a player has been online since the last backup
|
||||
"only_if_players_been_online": true,
|
||||
// Additional directories to include in backup
|
||||
"additional_directories": [],
|
||||
/* Additional files and directories to include in backup.
|
||||
Can specify a file name, path relative to server directory or wildcard file path
|
||||
Examples: (All file paths are relative to server root)
|
||||
fileName.txt Any/all file named "fileName.txt"
|
||||
folder/file.txt Exact file path
|
||||
folder/ Everything in this folder
|
||||
path/starts/with* Any files who's path starts with
|
||||
*path/ends/with.txt Any files who's path ends with
|
||||
*path/contains* Any files who's path contains
|
||||
*/
|
||||
"additional_files": [],
|
||||
// Display file size in backup message
|
||||
"display_file_size": false,
|
||||
// backup location
|
||||
"backup_location": ".",
|
||||
// Specify the backup format. Valid options are ZIP and DIRECTORY
|
||||
"backup_format": "ZIP",
|
||||
// Minimum free disk space in MB. If a backup's creation would leave less than this amount of disk space remaining, the backup will be aborted.
|
||||
"minimum_free_space": 500,
|
||||
// If the previous backup failed due to lack of space, the oldest backup will be deleted to free space.
|
||||
"free_space_if_needed": false,
|
||||
/* Specify files or folders to be excluded.
|
||||
Can specify a file name, path relative to server directory or wildcard file path
|
||||
Examples: (All file paths are relative to server root)
|
||||
fileName.txt Any/all file named "fileName.txt"
|
||||
folder/file.txt Exact file path
|
||||
folder/ Everything in this folder
|
||||
path/starts/with* Any files who's path starts with
|
||||
*path/ends/with.txt Any files who's path ends with
|
||||
*path/contains* Any files who's path contains
|
||||
*/
|
||||
"excluded": [],
|
||||
/* The dimension used when creating backup preview image, specify "all" to enable automatic detection of primary dimension (can be very slow)
|
||||
Specify "none" to disable preview
|
||||
*/
|
||||
"preview_dimension": "minecraft:overworld"
|
||||
}
|
||||
21
minecraft/homestead/homestead-ops.yaml
Normal file
21
minecraft/homestead/homestead-ops.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: homestead-ops
|
||||
namespace: minecraft
|
||||
data:
|
||||
ops.json: |
|
||||
[
|
||||
{
|
||||
"uuid": "e599e817-cf9d-4871-ad26-e6e239a55011",
|
||||
"name": "DefNotJeffrey",
|
||||
"level": 4,
|
||||
"bypassesPlayerLimit": false
|
||||
},
|
||||
{
|
||||
"uuid": "2c6f52c4-7c98-46a7-9014-34a6781eed64",
|
||||
"name": "Splakra",
|
||||
"level": 4,
|
||||
"bypassesPlayerLimit": false
|
||||
}
|
||||
]
|
||||
68
minecraft/homestead/homestead-properties-configmap.yaml
Normal file
68
minecraft/homestead/homestead-properties-configmap.yaml
Normal file
@@ -0,0 +1,68 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: homestead-properties
|
||||
namespace: minecraft
|
||||
data:
|
||||
server.properties: |
|
||||
#Minecraft server properties
|
||||
#Tue Feb 17 11:09:00 UTC 2026
|
||||
enable-jmx-monitoring=false
|
||||
level-seed=
|
||||
rcon.port=25575
|
||||
enable-command-block=false
|
||||
gamemode=survival
|
||||
enable-query=true
|
||||
generator-settings={}
|
||||
enforce-secure-profile=true
|
||||
level-name=world
|
||||
motd= \u00A7fJ\u00A7bS\u00A7fM\u00A7bE\u00A7f -\u00A7b \u00A7fHomestead - \u00A7cM\u00A76a\u00A7ei\u00A7as\u00A7b \u00A7fi\u00A7bs\u00A7f \u00A7dg\u00A76a\u00A7ey
|
||||
query.port=26785
|
||||
pvp=true
|
||||
generate-structures=true
|
||||
max-chained-neighbor-updates=1000000
|
||||
difficulty=easy
|
||||
network-compression-threshold=256
|
||||
max-tick-time=60000
|
||||
require-resource-pack=false
|
||||
max-players=10
|
||||
use-native-transport=true
|
||||
enable-status=true
|
||||
online-mode=true
|
||||
allow-flight=true
|
||||
initial-disabled-packs=
|
||||
broadcast-rcon-to-ops=true
|
||||
view-distance=10
|
||||
max-build-height=256
|
||||
resource-pack-prompt=
|
||||
server-ip=
|
||||
allow-nether=true
|
||||
server-port=25565
|
||||
enable-rcon=true
|
||||
sync-chunk-writes=true
|
||||
op-permission-level=4
|
||||
server-name=Homestead <3
|
||||
prevent-proxy-connections=false
|
||||
hide-online-players=false
|
||||
resource-pack=
|
||||
entity-broadcast-range-percentage=100
|
||||
simulation-distance=10
|
||||
player-idle-timeout=0
|
||||
rcon.password=PLACEHOLDER
|
||||
force-gamemode=false
|
||||
rate-limit=0
|
||||
hardcore=false
|
||||
white-list=false
|
||||
broadcast-console-to-ops=true
|
||||
spawn-npcs=true
|
||||
spawn-animals=true
|
||||
snooper-enabled=true
|
||||
function-permission-level=2
|
||||
initial-enabled-packs=vanilla
|
||||
level-type=default
|
||||
text-filtering-config=
|
||||
spawn-monsters=true
|
||||
enforce-whitelist=false
|
||||
resource-pack-sha1=
|
||||
spawn-protection=0
|
||||
max-world-size=29999984
|
||||
45
minecraft/homestead/homestead-pvc.yaml
Normal file
45
minecraft/homestead/homestead-pvc.yaml
Normal file
@@ -0,0 +1,45 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: homestead-pvc
|
||||
namespace: minecraft
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: longhorn-static
|
||||
resources:
|
||||
requests:
|
||||
storage: 30Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: minecraft-backups-smb
|
||||
spec:
|
||||
capacity:
|
||||
storage: 5Gi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
csi:
|
||||
driver: smb.csi.k8s.io
|
||||
volumeHandle: backups
|
||||
volumeAttributes:
|
||||
source: "//10.8.14.2/minecraft-backups"
|
||||
nodeStageSecretRef:
|
||||
name: minecraft-secrets
|
||||
namespace: minecraft
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
namespace: minecraft
|
||||
name: minecraft-backups
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
volumeName: minecraft-backups-smb
|
||||
storageClassName: ""
|
||||
87
minecraft/homestead/homestead-statefulset.yaml
Normal file
87
minecraft/homestead/homestead-statefulset.yaml
Normal file
@@ -0,0 +1,87 @@
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
namespace: minecraft
|
||||
name: homestead
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: homestead
|
||||
serviceName: homestead-loadbalancer
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: homestead
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
terminationGracePeriodSeconds: 10
|
||||
containers:
|
||||
- name: homestead
|
||||
image: gitea.jsme.be/jeffrey/homestead:v1.2.9.4
|
||||
resources:
|
||||
requests:
|
||||
memory: "4Gi"
|
||||
cpu: "2"
|
||||
limits:
|
||||
memory: "12Gi"
|
||||
cpu: "3"
|
||||
imagePullPolicy: Always
|
||||
volumeMounts:
|
||||
- name: world
|
||||
mountPath: /opt/minecraft/world
|
||||
- name: backups
|
||||
mountPath: /opt/minecraft/backups
|
||||
subPath: homestead
|
||||
- name: properties-file
|
||||
mountPath: /opt/minecraft/server.properties
|
||||
subPath: server.properties
|
||||
# - name: whitelist
|
||||
# mountPath: /opt/minecraft/whitelist.json
|
||||
# subPath: whitelist.json
|
||||
- name: variables
|
||||
mountPath: /opt/minecraft/variables.txt
|
||||
subPath: variables.txt
|
||||
- name: ops
|
||||
mountPath: /opt/minecraft/ops.json
|
||||
subPath: ops.json
|
||||
- name: voicechat
|
||||
mountPath: /opt/minecraft/config/voicechat/voicechat-server.properties
|
||||
subPath: voicechat-server.properties
|
||||
- name: ysns
|
||||
mountPath: /opt/minecraft/config/ysns/disabled_entities.json5
|
||||
subPath: disabled_entities.json5
|
||||
- name: ysns
|
||||
mountPath: /opt/minecraft/config/ysns/per_dimension_entities.json5
|
||||
subPath: per_dimension_entities.json5
|
||||
ports:
|
||||
- containerPort: 25565
|
||||
- containerPort: 25575
|
||||
- containerPort: 19565
|
||||
- containerPort: 24454
|
||||
protocol: UDP
|
||||
volumes:
|
||||
- name: world
|
||||
persistentVolumeClaim:
|
||||
claimName: homestead-pvc
|
||||
- name: backups
|
||||
persistentVolumeClaim:
|
||||
claimName: minecraft-backups
|
||||
- name: properties-file
|
||||
configMap:
|
||||
name: homestead-properties
|
||||
# - name: whitelist
|
||||
# configMap:
|
||||
# name: homestead-whitelist
|
||||
- name: variables
|
||||
configMap:
|
||||
name: homestead-variables
|
||||
- name: ops
|
||||
configMap:
|
||||
name: homestead-ops
|
||||
- name: voicechat
|
||||
configMap:
|
||||
name: homestead-voicechat
|
||||
- name: ysns
|
||||
configMap:
|
||||
name: homestead-ysns
|
||||
32
minecraft/homestead/homestead-svc.yaml
Normal file
32
minecraft/homestead/homestead-svc.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: homestead-loadbalancer
|
||||
namespace: minecraft
|
||||
labels:
|
||||
app: homestead
|
||||
annotations:
|
||||
metallb.universe.tf/loadBalancerIPs: "10.8.11.102"
|
||||
spec:
|
||||
ports:
|
||||
- name: homestead-tcp
|
||||
port: 25565
|
||||
targetPort: 25565
|
||||
protocol: TCP
|
||||
- name: rcon
|
||||
port: 25575
|
||||
targetPort: 25575
|
||||
protocol: TCP
|
||||
- name: prometheus
|
||||
port: 19565
|
||||
targetPort: 19565
|
||||
protocol: TCP
|
||||
- name: voice-chat
|
||||
port: 24454
|
||||
targetPort: 24454
|
||||
protocol: UDP
|
||||
|
||||
selector:
|
||||
app: homestead
|
||||
type: LoadBalancer
|
||||
externalTrafficPolicy: Local
|
||||
26
minecraft/homestead/homestead-variables-configmap.yaml
Normal file
26
minecraft/homestead/homestead-variables-configmap.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: homestead-variables
|
||||
namespace: minecraft
|
||||
data:
|
||||
variables.txt: |
|
||||
MINECRAFT_VERSION=1.20.1
|
||||
MODLOADER=Fabric
|
||||
MODLOADER_VERSION=0.17.2
|
||||
LEGACYFABRIC_INSTALLER_VERSION=1.1.1
|
||||
FABRIC_INSTALLER_VERSION=1.1.1
|
||||
QUILT_INSTALLER_VERSION=0.12.1
|
||||
RECOMMENDED_JAVA_VERSION=17
|
||||
JAVA_ARGS="-Xmx8G -Xms4G"
|
||||
JAVA="java"
|
||||
WAIT_FOR_USER_INPUT=true
|
||||
ADDITIONAL_ARGS=-Dlog4j2.formatMsgNoLookups=true
|
||||
RESTART=false
|
||||
SKIP_JAVA_CHECK=false
|
||||
JDK_VENDOR=temurin
|
||||
JABBA_INSTALL_URL_SH=https://github.com/Jabba-Team/jabba/raw/main/install.sh
|
||||
JABBA_INSTALL_URL_PS=https://github.com/Jabba-Team/jabba/raw/main/install.ps1
|
||||
JABBA_INSTALL_VERSION=0.13.0
|
||||
SERVERSTARTERJAR_FORCE_FETCH=true
|
||||
SERVERSTARTERJAR_VERSION=latest
|
||||
59
minecraft/homestead/homestead-voicechat-configmap.yaml
Normal file
59
minecraft/homestead/homestead-voicechat-configmap.yaml
Normal file
@@ -0,0 +1,59 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: homestead-voicechat
|
||||
namespace: minecraft
|
||||
data:
|
||||
voicechat-server.properties: |
|
||||
|
||||
# Simple Voice Chat server config v1.20.1-2.6.10
|
||||
|
||||
# The port number to use for the voice chat communication.
|
||||
# Audio packets are always transmitted via the UDP protocol on the port number
|
||||
# specified here, independently of other networking used for the game server.
|
||||
# Set this to '-1' to use the same port number that is used by the Minecraft server.
|
||||
# However, it is strongly recommended NOT to use the same port number because UDP on
|
||||
# it is also used by default for the server query. Doing so may crash the server!
|
||||
port=24454
|
||||
# The server IP address to bind the voice chat to
|
||||
# Leave blank to use the 'server-ip' property from the 'server.properties' config file
|
||||
# To bind to the wildcard IP address, use '*'
|
||||
bind_address=*
|
||||
# The distance to which the voice can be heard
|
||||
max_voice_distance=48.0
|
||||
# The distance to which the voice can be heard when whispering
|
||||
whisper_distance=24.0
|
||||
# The Opus codec
|
||||
# Valid values are 'VOIP', 'AUDIO', and 'RESTRICTED_LOWDELAY'
|
||||
codec=VOIP
|
||||
# The maximum size that audio packets are allowed to have (in bytes)
|
||||
# Set this to a lower value if audio packets don't arrive
|
||||
mtu_size=1024
|
||||
# The frequency at which keep-alive packets are sent (in milliseconds)
|
||||
# Setting this to a higher value may result in timeouts
|
||||
keep_alive=1000
|
||||
# If group chats are allowed
|
||||
enable_groups=true
|
||||
# The hostname that clients should use to connect to the voice chat
|
||||
# This may also include a port, e.g. 'example.com:24454' or just a port, e.g. '24454'
|
||||
# Do NOT change this value if you don't know what you're doing
|
||||
voice_host=
|
||||
# If players are allowed to record the voice chat audio
|
||||
allow_recording=true
|
||||
# If spectators are allowed to talk to other players
|
||||
spectator_interaction=false
|
||||
# If spectators can talk to players they are spectating
|
||||
spectator_player_possession=false
|
||||
# If players without the voice chat mod should be kicked from the server
|
||||
force_voice_chat=false
|
||||
# The amount of time the server should wait to check if a player has the mod installed (in milliseconds)
|
||||
# Only relevant when 'force_voice_chat' is set to 'true'
|
||||
login_timeout=10000
|
||||
# The range in which the voice chat should broadcast audio
|
||||
# A value less than 0 means 'max_voice_distance'
|
||||
broadcast_range=-1.0
|
||||
# If the voice chat server should reply to external pings
|
||||
allow_pings=true
|
||||
# If the mod should load native libraries on dedicated servers
|
||||
# This is mostly relevant for voice chat addons
|
||||
use_natives=true
|
||||
66
minecraft/homestead/homestead-ysns-configmap.yaml
Normal file
66
minecraft/homestead/homestead-ysns-configmap.yaml
Normal file
@@ -0,0 +1,66 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: homestead-ysns
|
||||
namespace: minecraft
|
||||
data:
|
||||
disabled_entities.json5: |
|
||||
{
|
||||
// ----------------------------------------------------------------------------------------------------------------
|
||||
// You Shall Not Spawn by ElocinDev.
|
||||
// disabled_entities.json5
|
||||
// ----------------------------------------------------------------------------------------------------------------
|
||||
//
|
||||
// Here you can disable entities from spawning globally, with no exceptions.
|
||||
// Format: "modid:entity_name"
|
||||
// Example: "minecraft:zombie"
|
||||
//
|
||||
// Note: As a more advanced method, you can use regex by starting the entry with !
|
||||
// Format: "!{Regular expression}"
|
||||
// Example: "!minecraft:.*" will disable all entities from minecraft. (NOT RECOMMENDED, JUST AN EXAMPLE)
|
||||
//
|
||||
"disabled": [
|
||||
"eldritch_end:the_faceless",
|
||||
"eldritch_end:eye",
|
||||
"cozystudioscore:mushling"
|
||||
],
|
||||
// Don't touch this!
|
||||
"CONFIG_VERSION": 1
|
||||
}
|
||||
per_dimension_entities.json5: |
|
||||
{
|
||||
// ----------------------------------------------------------------------------------------------------------------
|
||||
// You Shall Not Spawn by ElocinDev.
|
||||
// per_dimension_entities.json5
|
||||
// ----------------------------------------------------------------------------------------------------------------
|
||||
//
|
||||
// entity: The entity's id you want to adjust. (For example: minecraft:zombie, regex can be used.)
|
||||
// dimension: The dimension id you want to adjust. (For example: minecraft:overworld, regex can be used.)
|
||||
// spawn_chance: The chance of the entity spawning. (For example: 0.1 is 10%, 0.5 is 50%, 0.0 will disable the spawn.)
|
||||
//
|
||||
// The example below adds a modifier for the zombie, with 1.0 spawn chance (100%).
|
||||
// By default, this does nothing, but you for example set the spawn chance to 0.5, making zombies spawn half the time they usually do.
|
||||
//
|
||||
// YSNS CAN'T INCREASE SPAWN RATES! ANYTHING ABOVE 1.0 WILL NOT INCREASE SPAWNRATE!
|
||||
//
|
||||
// Note: As a more advanced method, you can use regex by starting the entry with !
|
||||
// With regex, you can do things such as disabling multiple entities in a single entry, or cover multiple (or all) dimensions
|
||||
// Format: "!{Regular expression}"
|
||||
// Example: "!minecraft:.*" will disable all entities from minecraft. (NOT RECOMMENDED, JUST AN EXAMPLE)
|
||||
//
|
||||
// Regex works on both entity and dimension entries.
|
||||
"dimensions": [
|
||||
{
|
||||
"entityId": "minecraft:zombie",
|
||||
"dimension": "minecraft:overworld",
|
||||
"spawn_chance": 1.0
|
||||
},
|
||||
{
|
||||
"entityId": "cozystudioscore:mushling",
|
||||
"dimension": "minecraft:overworld",
|
||||
"spawn_chance": 0.0
|
||||
}
|
||||
],
|
||||
// Don't touch this!
|
||||
"CONFIG_VERSION": 1
|
||||
}
|
||||
Reference in New Issue
Block a user