Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a1907acba7 | ||
|
|
2ef2f9146d | ||
|
|
4ec1b97754 | ||
|
|
c830409e1c | ||
|
|
d0f21433b1 | ||
|
|
c315d2ef0b | ||
|
|
5a435a5367 | ||
|
|
48f4ca4061 | ||
|
|
e7f858b3bd | ||
|
|
a1b866c1af | ||
|
|
4b9bbc92da | ||
|
|
4560c62b66 | ||
|
|
9870059d64 | ||
|
|
727f8dcc91 | ||
|
|
de362980df | ||
|
|
e9e0fa4456 |
87
.drone.yml
Normal file
87
.drone.yml
Normal file
@@ -0,0 +1,87 @@
|
||||
---
|
||||
kind: "pipeline"
|
||||
type: "docker"
|
||||
name: "Create Release from tag"
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- "tag"
|
||||
|
||||
volumes:
|
||||
- name: "tmp"
|
||||
temp: {}
|
||||
- name: "server"
|
||||
temp: {}
|
||||
- name: "client"
|
||||
temp: {}
|
||||
- name: "curse"
|
||||
temp: {}
|
||||
|
||||
steps:
|
||||
- name: "Run build tool"
|
||||
image: "gitea.marquis.site/operations/modpack_buildah"
|
||||
settings:
|
||||
modpack__version: "${DRONE_TAG}"
|
||||
curseforge_apikey:
|
||||
from_secret: "curseforge_apikey"
|
||||
volumes:
|
||||
- name: "server"
|
||||
path: "/out/server"
|
||||
- name: "client"
|
||||
path: "/out/client"
|
||||
- name: "curse"
|
||||
path: "/out/curse"
|
||||
- name: "tmp"
|
||||
path: "/tmp/modpack_buildah"
|
||||
|
||||
- name: "Build and push server container image"
|
||||
image: "plugins/docker"
|
||||
privileged: true
|
||||
settings:
|
||||
dockerfile: "/out/server/Dockerfile"
|
||||
context: "/out/server"
|
||||
registry: "gitea.marquis.site"
|
||||
repo: "gitea.marquis.site/minecraft/atm8"
|
||||
username: "drone-ci"
|
||||
password:
|
||||
from_secret: "gitea_registry_password"
|
||||
tags:
|
||||
- "${DRONE_COMMIT_SHA:0:8}"
|
||||
- "latest"
|
||||
- "${DRONE_TAG}"
|
||||
volumes:
|
||||
- name: "server"
|
||||
path: "/out/server"
|
||||
|
||||
- name: "Update client files in repository"
|
||||
image: "alpine/git"
|
||||
commands:
|
||||
- "git fetch origin +refs/heads/master"
|
||||
- "git checkout master"
|
||||
- "cp -r /out/client/* ."
|
||||
volumes:
|
||||
- name: "client"
|
||||
path: "/out/client"
|
||||
|
||||
- name: "Push new client version to repository"
|
||||
image: "appleboy/drone-git-push"
|
||||
settings:
|
||||
branch: "master"
|
||||
remote_name: "origin"
|
||||
author_name: "${DRONE_COMMIT_AUTHOR_NAME}"
|
||||
commit: true
|
||||
commit_message: "Version ${DRONE_TAG}"
|
||||
|
||||
- name: "Create Gitea Release for Curse Modpack"
|
||||
image: "plugins/gitea-release"
|
||||
settings:
|
||||
base_url: "https://gitea.marquis.site"
|
||||
title: "Version ${DRONE_TAG}"
|
||||
files: "/out/curse/*-${DRONE_TAG}.zip"
|
||||
api_key:
|
||||
from_secret: "gitea_registry_password"
|
||||
notes: >
|
||||
Modpack Server container image: `gitea.marquis.site/minecraft/atm8:${DRONE_TAG}`
|
||||
volumes:
|
||||
- name: "curse"
|
||||
path: "/out/curse"
|
||||
38
.gitignore
vendored
38
.gitignore
vendored
@@ -1,26 +1,42 @@
|
||||
# ---> minecraft
|
||||
# MultiMC
|
||||
instance.cfg
|
||||
minecraft/astralsorcery
|
||||
|
||||
# Game Folder ################
|
||||
minecraft/.*
|
||||
|
||||
minecraft/blueprints
|
||||
minecraft/crash-reports
|
||||
minecraft/discordsuite
|
||||
minecraft/ESM
|
||||
minecraft/everbook
|
||||
minecraft/fonts
|
||||
minecraft/journeymap
|
||||
minecraft/hs_err_*
|
||||
minecraft/knownkeys.txt
|
||||
minecraft/llibrary
|
||||
minecraft/local
|
||||
minecraft/localconfigs
|
||||
minecraft/logs
|
||||
minecraft/patchouli_books
|
||||
minecraft/saves
|
||||
minecraft/schematics
|
||||
minecraft/screenshots
|
||||
minecraft/shaderpacks
|
||||
minecraft/server-resource-packs
|
||||
minecraft/TombManyGraves
|
||||
minecraft/.*
|
||||
|
||||
minecraft/BotaniaVars.dat
|
||||
minecraft/crafttweaker.log
|
||||
minecraft/ds_private_storage.json
|
||||
minecraft/hs_err_*
|
||||
minecraft/icon.png
|
||||
minecraft/OpenComputersMod-*
|
||||
minecraft/knownkeys.txt
|
||||
minecraft/patchouli_data.json
|
||||
minecraft/reauth.toml
|
||||
minecraft/rhino.local.properties
|
||||
minecraft/servers.dat_old
|
||||
minecraft/usercache.json
|
||||
|
||||
minecraft/resourcepacks/*
|
||||
minecraft/shaderpacks/*
|
||||
minecraft/texturepacks/*
|
||||
|
||||
|
||||
# Libraries ##################
|
||||
natives
|
||||
jei/bookmarks.ini
|
||||
|
||||
|
||||
|
||||
31
config.yml
Normal file
31
config.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
minecraft_version: 1.19.2
|
||||
|
||||
modpack:
|
||||
curse_id: 520914 # ATM8
|
||||
|
||||
customizations:
|
||||
server:
|
||||
extra_files:
|
||||
- "./server.properties.erb"
|
||||
ignored:
|
||||
- "user_jvm_args.txt"
|
||||
- "*.sh"
|
||||
- "*.bat"
|
||||
client:
|
||||
extra_files:
|
||||
- "./servers.dat"
|
||||
mods:
|
||||
- mod_id: 261725
|
||||
name: "ItemZoom"
|
||||
server: false
|
||||
- mod_id: 231275
|
||||
name: "Ding"
|
||||
server: false
|
||||
|
||||
# Fix stupid Curse API
|
||||
- mod_id: 448233
|
||||
name: "Entity Culling"
|
||||
download_url: "https://mediafilez.forgecdn.net/files/4404/949/entityculling-forge-1.6.1-mc1.19.2.jar"
|
||||
- mod_id: 391382
|
||||
name: "More Overlays Updated"
|
||||
download_url: "https://mediafilez.forgecdn.net/files/4322/445/moreoverlays-1.21.5-mc1.19.2.jar"
|
||||
57
server.properties.erb
Normal file
57
server.properties.erb
Normal file
@@ -0,0 +1,57 @@
|
||||
#Minecraft server properties
|
||||
#Thu May 25 07:50:29 UTC 2023
|
||||
allow-flight=true
|
||||
allow-nether=true
|
||||
broadcast-console-to-ops=true
|
||||
broadcast-rcon-to-ops=true
|
||||
difficulty=normal
|
||||
enable-command-block=false
|
||||
enable-jmx-monitoring=false
|
||||
enable-query=false
|
||||
enable-rcon=false
|
||||
enable-status=true
|
||||
enforce-secure-profile=true
|
||||
enforce-whitelist=true
|
||||
entity-broadcast-range-percentage=100
|
||||
force-gamemode=false
|
||||
function-permission-level=2
|
||||
gamemode=survival
|
||||
generate-structures=true
|
||||
generator-settings={}
|
||||
hardcore=false
|
||||
hide-online-players=false
|
||||
level-name=world
|
||||
level-seed=
|
||||
level-type=minecraft\:normal
|
||||
max-chained-neighbor-updates=1000000
|
||||
max-players=20
|
||||
max-tick-time=60000
|
||||
max-world-size=29999984
|
||||
motd=\u00A76\u00A7o<%= name %> Server\n\u00A77[\u00A73blue_smoothie & xy795\u00A77]\u00A7r - \u00A74v<%= version %>
|
||||
network-compression-threshold=256
|
||||
online-mode=true
|
||||
op-permission-level=4
|
||||
player-idle-timeout=0
|
||||
prevent-proxy-connections=false
|
||||
previews-chat=false
|
||||
pvp=true
|
||||
query.port=25565
|
||||
rate-limit=0
|
||||
rcon.password=
|
||||
rcon.port=25575
|
||||
require-resource-pack=false
|
||||
resource-pack=
|
||||
resource-pack-prompt=
|
||||
resource-pack-sha1=
|
||||
server-ip=
|
||||
server-port=25565
|
||||
simulation-distance=10
|
||||
spawn-animals=true
|
||||
spawn-monsters=true
|
||||
spawn-npcs=true
|
||||
spawn-protection=16
|
||||
sync-chunk-writes=true
|
||||
text-filtering-config=
|
||||
use-native-transport=true
|
||||
view-distance=10
|
||||
white-list=true
|
||||
BIN
servers.dat
Normal file
BIN
servers.dat
Normal file
Binary file not shown.
Reference in New Issue
Block a user