19 Commits

Author SHA1 Message Date
01a8925971 Added Build Notfication
All checks were successful
continuous-integration/drone/tag Build is passing
2023-07-11 23:29:53 +02:00
3dccde052d Fixed mod duplication in repository
All checks were successful
continuous-integration/drone/tag Build is passing
2023-07-04 01:25:06 +02:00
Adrian Marquis
3598e388a2 Added custom apotheosis configuration
All checks were successful
continuous-integration/drone/tag Build is passing
2023-06-22 02:38:53 +02:00
Adrian Marquis
a1907acba7 Updated gitignore & added Ding
All checks were successful
continuous-integration/drone/tag Build is passing
2023-05-30 21:02:13 +02:00
Adrian Marquis
2ef2f9146d Re-added itemZoom mod
All checks were successful
continuous-integration/drone/tag Build is passing
2023-05-29 17:31:00 +02:00
Adrian Marquis
4ec1b97754 Fixed release pipeline step /2
Some checks failed
continuous-integration/drone/tag Build is failing
2023-05-29 17:10:41 +02:00
Adrian Marquis
c830409e1c Fixed release pipeline step
Some checks failed
continuous-integration/drone/tag Build is failing
2023-05-29 16:52:23 +02:00
Adrian Marquis
d0f21433b1 Removed push pipeline
Some checks failed
continuous-integration/drone/tag Build is failing
2023-05-29 16:13:05 +02:00
Adrian Marquis
c315d2ef0b Added git author to push
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-29 15:43:41 +02:00
Adrian Marquis
5a435a5367 Fixed repository client file update
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-29 14:36:49 +02:00
Adrian Marquis
48f4ca4061 Added debug pipeline
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-29 14:23:22 +02:00
Adrian Marquis
e7f858b3bd Use correct image for git
Some checks failed
continuous-integration/drone/tag Build is failing
2023-05-29 14:08:12 +02:00
Adrian Marquis
a1b866c1af Fixed server container image build step
Some checks failed
continuous-integration/drone/tag Build is failing
2023-05-29 13:42:44 +02:00
Adrian Marquis
4b9bbc92da Fixed privileged flag
Some checks failed
continuous-integration/drone/tag Build is failing
2023-05-29 12:48:12 +02:00
Adrian Marquis
4560c62b66 Add privileged flag to docker build step
Some checks failed
continuous-integration/drone/tag Build is failing
2023-05-29 12:42:49 +02:00
Adrian Marquis
9870059d64 Add correct context to server image build
Some checks failed
continuous-integration/drone/tag Build is failing
2023-05-29 12:39:00 +02:00
Adrian Marquis
727f8dcc91 Updated env vars in pipeline
Some checks failed
continuous-integration/drone/tag Build is failing
2023-05-28 01:15:51 +02:00
Adrian Marquis
de362980df Fixed modpack buildah image path
Some checks failed
continuous-integration/drone/tag Build is failing
2023-05-27 16:37:55 +02:00
Adrian Marquis
e9e0fa4456 Added configuration files
Some checks failed
continuous-integration/drone/tag Build encountered an error
2023-05-27 16:23:20 +02:00
7 changed files with 503 additions and 12 deletions

103
.drone.yml Normal file
View File

@@ -0,0 +1,103 @@
---
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"
- "rm -rf ./minecraft/mods"
- "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"
note: >
Modpack Server container image: `gitea.marquis.site/minecraft/atm8:${DRONE_TAG}`
volumes:
- name: "curse"
path: "/out/curse"
- name: "Send notification"
image: "appleboy/drone-telegram"
settings:
token:
from_secret: "drone_telegram_token"
to: -372192466
format: "markdown"
template_vars:
repo_link: "${DRONE_REPO_LINK}"
message: >
Modpack __{{repo.name}}__ just got updated to version __{{ build.tag }}__!
Go to {{ tpl.repo_link }} to get instructions on how to update or
[download the newest Modpack zip directly]({{ tpl.repo_link }}/releases/tag/{{ build.tag }}).

38
.gitignore vendored
View File

@@ -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

View File

@@ -5,13 +5,20 @@ Custom version for blue_smoothie & xy795's server
## Install
There are 2 ways of installing the modpack.
There are 2 supported ways of installing the modpack.
## Git
The master branch tracks a MultiMC compatible version of the modpack which can be cloned via `git` into
the instance folder of your MultiMC installation.
For MultiMC to be able to pick up the instance, an additional configuration file `instance.cfg` has to be created in the instance folder (the root of the repository):
```
InstanceType=OneSix
name=All the mods 8
```
To update, a simple `git pull` should be sufficient.

33
config.yml Normal file
View File

@@ -0,0 +1,33 @@
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"
config:
- "./config/apotheosis/adventure.cfg"
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/4571/753/moreoverlays-1.21.9-mc1.19.2.jar"

View File

@@ -0,0 +1,275 @@
# File Specification: https://gist.github.com/Shadows-of-Fire/88ac714a758636c57a52e32ace5474c1
# Apotheosis Adventure Module Config
affixes {
# Loot Rules, in the form of Loot Table Matchers, permitting affixes to be added to any valid item. Here, the chance refers to the chance an item receives affixes. See comment on "Affix Item Loot Rules" for description.
# Default: [.*blocks.*|0], [.*|0.85]
S:"Affix Convert Loot Rules" <
.*blocks.*|0
minecraft:entities.witch|0
minecraft:entities.shulker|0
.*|0.85
>
# Dimensional rarities for affix conversion (see "Affix Convert Loot Rules"), in the form of dimension|min|max. A dimension not listed uses all rarities.
# Default: [overworld|common|rare], [the_nether|uncommon|epic], [the_end|rare|mythic], [twilightforest:twilight_forest|uncommon|epic]
S:"Affix Convert Rarities" <
overworld|common|rare
the_nether|uncommon|epic
the_end|rare|mythic
allthemodium:the_other|mythic|epic
twilightforest:twilight_forest|uncommon|epic
>
# Loot Rules, in the form of Loot Table Matchers, permitting affix items to spawn in loot tables.
# The format for these is domain:pattern|chance and domain is optional. Domain is a modid, pattern is a regex string, and chance is a float 0..1 chance for the item to spawn in any matched tables.
# If you omit the domain, the format is pattern|chance, and the matcher will run for all domains.
# The pattern MUST be a valid regex string, and should match the paths of desired loot tables under the specified domain. Note: "Match Any Character" is ".*" (dot star) and not "*" (star).
# If there is a match, an item has a chance to spawn in that loot table.
# Default: [minecraft:chests.*|0.5], [.*chests.*|0.35], [twilightforest:structures.*|0.4]
S:"Affix Item Loot Rules" <
minecraft:chests.*|0.5
.*chests.*|0.35
allthemodium:chest.*|0.5
twilightforest:structures.*|0.4
>
# If affixes that cleave can hit players (excluding the user).
# Default: false
B:"Cleave Players"=false
# If Quark's Attribute Tooltip handling is disabled for affix items
# Default: true
B:"Disable Quark Tooltips for Affix Items"=true
# A list of type overrides for the affix loot system. Format is <itemname>|chance|<type>.
# Valid types are: none, sword, trident, shield, heavy_weapon, pickaxe, shovel, crossbow, bow
# Default: [minecraft:iron_sword|sword], [minecraft:shulker_shell|none]
S:"Equipment Type Overrides" <
minecraft:iron_sword|SWORD
allthemodium:alloy_paxel|PICKAXE
>
# The flat bonus chance that bosses have to drop a gem, added to Gem Drop Chance. 0 = 0%, 1 = 100%
# Default: 0.33; Range: [0.0 ~ 1.0]
S:"Gem Boss Bonus"=0.33
# The chance that a mob will drop a gem. 0 = 0%, 1 = 100%
# Default: 0.045; Range: [0.0 ~ 1.0]
S:"Gem Drop Chance"=0.045
# The chance that a naturally spawned mob will be granted an affix item. 0 = 0%, 1 = 100%
# Default: 0.075; Range: [0.0 ~ 1.0]
S:"Random Affix Chance"=0.24
# The item that will be used when attempting to place torches with the torch placer affix. Must be a valid item that places a block on right click.
# Default: minecraft:torch
S:"Torch Placement Item"=minecraft:torch
}
bosses {
# If the boss announcement range ignores y-level.
# Default: false
B:"Boss Announce Ignore Y"=true
# The range at which boss spawns will be announced. If you are closer than this number of blocks (ignoring y-level), you will receive the announcement.
# Default: 96.0; Range: [0.0 ~ 1024.0]
S:"Boss Announce Range"=96.0
# The volume of the boss announcement sound. 0 to disable. This control is clientside.
# Default: 0.75; Range: [0.0 ~ 1.0]
S:"Boss Announce Volume"=0.3
# The time, in ticks, that must pass between any two natural boss spawns in a single dimension.
# Default: 2400; Range: [0 ~ 720000]
I:"Boss Spawn Cooldown"=18000
# Dimensions where bosses can spawn naturally, spawn chance, and spawn rules.
# Format is dimname|chance|rule, chance is a float from 0..1.
# Valid rules are NEEDS_SKY, NEEDS_SURFACE, and ANY
# Default: [minecraft:overworld|0.02|NEEDS_SKY], [minecraft:the_nether|0.03|ANY], [minecraft:the_end|0.02|NEEDS_SURFACE], [twilightforest:twilight_forest|0.05|NEEDS_SURFACE]
S:"Boss Spawn Dimensions" <
minecraft:overworld|0.01|NEEDS_SKY
minecraft:the_nether|0.02|ANY
minecraft:the_end|0.02|NEEDS_SURFACE
allthemodium:the_other|0.07|NEEDS_SURFACE
twilightforest:twilight_forest|0.05|NEEDS_SURFACE
>
# If boss items are always cursed. Enable this if you want bosses to be less overpowered by always giving them a negative effect.
# Default: false
B:"Curse Boss Items"=false
# If true, invading bosses will automatically target the closest player.
# Default: false
B:"Boss Auto-Aggro"=false
# If true, invading bosses will automatically target the closest player.
# Default: true
B:"Boss Glowing On Spawn"=true
}
gems {
# Loot Rules, in the form of Loot Table Matchers, permitting gems to spawn in loot tables. See comment on "Affix Item Loot Rules" for description.
# Default: [minecraft:chests.*|0.30], [.*chests.*|0.15], [twilightforest:structures.*|0.20]
S:"Gem Loot Rules" <
minecraft:chests.*|0.30
.*chests.*|0.15
twilightforest:structures.*|0.20
>
# Dimensional rarities for gem drops, in the form of dimension|min|max. A dimension not listed uses all rarities.
# Default: [overworld|common|rare], [the_nether|uncommon|epic], [the_end|rare|mythic], [twilightforest:twilight_forest|uncommon|epic]
S:"Gem Dimensional Rarities" <
overworld|common|rare
the_nether|uncommon|epic
the_end|rare|mythic
twilightforest:twilight_forest|uncommon|epic
>
}
rarities {
S:"common quality"=0.0
I:"common weight"=400
S:"epic quality"=4.5
I:"epic weight"=90
S:"mythic quality"=6.0
I:"mythic weight"=40
S:"rare quality"=3.0
I:"rare weight"=150
S:"uncommon quality"=1.5
I:"uncommon weight"=320
}
spawners {
# The chance that a Rogue Spawner has a "valuable" chest instead of a standard one. 0 = 0%, 1 = 100%
# Default: 0.11; Range: [0.0 ~ 1.0]
S:"Spawner Value Chance"=0.11
}
worldgen {
# The number of boss dungeon (variant 2) generation attempts per-chunk.
# Default: 8; Range: [0 ~ 256]
I:"Boss Dungeon (Variant 2) Attempts"=8
# The number of boss dungeon generation attempts per-chunk.
# Default: 8; Range: [0 ~ 256]
I:"Boss Dungeon Attempts"=8
S:"Generation Biome Blacklist" <
minecraft:warm_ocean
minecraft:lukewarm_ocean
minecraft:cold_ocean
minecraft:frozen_ocean
minecraft:deep_warm_ocean
minecraft:deep_frozen_ocean
minecraft:deep_lukewarm_ocean
minecraft:deep_cold_ocean
minecraft:ocean
minecraft:deep_ocean
>
# The dimensions that the deadly module will generate in.
# Default: [overworld]
S:"Generation Dimension Whitelist" <
overworld
>
# The number of rogue spawner generation attempts per-chunk.
# Default: 4; Range: [0 ~ 256]
I:"Rogue Spawner Attempts"=4
}
reforging {
common {
# The amount of rarity materials it costs to reforge at this rarity.
# Default: 2; Range: [0 ~ 64]
I:"Material Cost"=2
# The amount of gem dust it costs to reforge at this rarity.
# Default: 2; Range: [0 ~ 64]
I:"Gem Dust Cost"=2
# The amount of xp levels it costs to reforge at this rarity.
# Default: 5; Range: [0 ~ 65536]
I:"XP Level Cost"=5
}
uncommon {
# The amount of rarity materials it costs to reforge at this rarity.
# Default: 2; Range: [0 ~ 64]
I:"Material Cost"=2
# The amount of gem dust it costs to reforge at this rarity.
# Default: 2; Range: [0 ~ 64]
I:"Gem Dust Cost"=2
# The amount of xp levels it costs to reforge at this rarity.
# Default: 10; Range: [0 ~ 65536]
I:"XP Level Cost"=10
}
rare {
# The amount of rarity materials it costs to reforge at this rarity.
# Default: 2; Range: [0 ~ 64]
I:"Material Cost"=2
# The amount of gem dust it costs to reforge at this rarity.
# Default: 2; Range: [0 ~ 64]
I:"Gem Dust Cost"=2
# The amount of xp levels it costs to reforge at this rarity.
# Default: 15; Range: [0 ~ 65536]
I:"XP Level Cost"=15
}
epic {
# The amount of rarity materials it costs to reforge at this rarity.
# Default: 2; Range: [0 ~ 64]
I:"Material Cost"=2
# The amount of gem dust it costs to reforge at this rarity.
# Default: 2; Range: [0 ~ 64]
I:"Gem Dust Cost"=2
# The amount of xp levels it costs to reforge at this rarity.
# Default: 20; Range: [0 ~ 65536]
I:"XP Level Cost"=20
}
mythic {
# The amount of rarity materials it costs to reforge at this rarity.
# Default: 2; Range: [0 ~ 64]
I:"Material Cost"=2
# The amount of gem dust it costs to reforge at this rarity.
# Default: 2; Range: [0 ~ 64]
I:"Gem Dust Cost"=2
# The amount of xp levels it costs to reforge at this rarity.
# Default: 25; Range: [0 ~ 65536]
I:"XP Level Cost"=25
}
ancient {
# The amount of rarity materials it costs to reforge at this rarity.
# Default: 2; Range: [0 ~ 64]
I:"Material Cost"=2
# The amount of gem dust it costs to reforge at this rarity.
# Default: 2; Range: [0 ~ 64]
I:"Gem Dust Cost"=2
# The amount of xp levels it costs to reforge at this rarity.
# Default: 30; Range: [0 ~ 65536]
I:"XP Level Cost"=30
}
}

57
server.properties.erb Normal file
View 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

Binary file not shown.