Skip to content

Instantly share code, notes, and snippets.

@renevo
Last active February 3, 2023 21:14
Show Gist options
  • Save renevo/7785572424f7611c7d9d288293c39008 to your computer and use it in GitHub Desktop.
Save renevo/7785572424f7611c7d9d288293c39008 to your computer and use it in GitHub Desktop.
Burpcraft Nomad Template
minecraft "Burpcraft" {
version = "1.19"
snapshot = false
path = "/opt/minecraft/burpcraft/9"
fabric_loader = "0.14.7"
fabric_installer = "0.11.0"
memory_min = 4
memory_max = 8
java_extra_args = [
"-XX:+UseG1GC",
"-XX:ParallelGCThreads=2",
"-XX:MinHeapFreeRatio=5",
"-XX:MaxHeapFreeRatio=10",
]
// only need to put stuff we are overwriting here
properties = {
level-name = "burpcraft"
motd = "Welcome to Burpcraft 9!"
difficulty = "hard"
allow-flight = true
spawn-protection = 0
enforce-whitelist = true
white-list = true
pvp = false
level-seed = "7274395869746300621"
gamemode = "survival"
max-players = 10
force-gamemode = true
enable-query = true
"query.port" = {{ env "NOMAD_PORT_game" }}
server-port = {{ env "NOMAD_PORT_game" }}
}
purge_datapacks = true
datapack "minecraft-datapack" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/minecraft-datapack.zip"
}
datapack "afk-display" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/afk-display-v1.1.3.zip"
}
datapack "anti-enderman-grief" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/anti-enderman-grief-v1.1.3.zip"
}
datapack "cauldron-concret" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/cauldron-concrete-v2.0.6.zip"
}
datapack "classic-fishing-loot" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/classic-fishing-loot-v1.1.3.zip"
}
datapack "double-shulker-shells" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/double-shulker-shells-v1.3.3.zip"
}
datapack "dragon-drops" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/dragon-drops-v1.3.3.zip"
}
datapack "mob-heads" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/mob-heads-v2.10.0.zip"
}
datapack "player-heads" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/player-heads-v1.1.3.zip"
}
datapack "silence-mobs" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/silence-mobs-v1.1.3.zip"
}
datapack "recipe-unlock" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/unlock-all-recipes-v2.0.4.zip"
}
datapack "custom-recipes" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/VanillaTweaks-crafting.zip"
}
purge_mods = true
mod "carpet" {
url = "https://github.com/gnembon/fabric-carpet/releases/download/1.4.79/fabric-carpet-1.19-1.4.79+v220607.jar"
config "burpcraft/carpet.conf" {
content = <<EOC
locked
antiCheatDisabled true
commandLog true
commandScript ops
defaultLoggers mobcaps,tps
lagFreeSpawning true
leadFix true
lightningKillsDropsFix true
persistentParrots true
scriptsAutoload true
stackableShulkerBoxes true
xpNoCooldown true
EOC
}
}
mod "inventory-sorter" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/InventorySorter-1.8.8-1.19.jar"
}
mod "easy-feed" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/mcf-easyfeed-1.3.0-1.19.jar"
}
mod "fabric-api" {
url = "https://github.com/FabricMC/fabric/releases/download/0.55.3%2B1.19/fabric-api-0.55.3+1.19.jar"
}
mod "malilib" {
url = "https://kosma.pl/masamods/archive/malilib-fabric-1.19-0.12.1.jar"
}
mod "servux" {
url = "https://kosma.pl/masamods/archive/servux-fabric-1.19-0.1.0.jar"
}
mod "itemscroller" {
url = "https://kosma.pl/masamods/archive/itemscroller-fabric-1.19-0.16.0.jar"
}
mod "grindstone" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/grind-enchantments-1.6.4+1.19.jar"
config "config/grindenchantments.json" {
content = <<EOC
{
"allow_removing_curses": false,
"show_enchantment_cost": true,
"dedicated_server_options": {
"alternative_cost_display_enabled": false
},
"disenchant_to_book": {
"enabled": true,
"consume_enchanted_item": false,
"cost_config": {
"count_mode": "count_levels",
"cost_factor": 1.0,
"cost_offset": 0.0
}
},
"move_enchantments": {
"enabled": true,
"cost_config": {
"count_mode": "count_enchantments",
"cost_factor": 0.5,
"cost_offset": 0.5
}
}
}
EOC
}
}
mod "leaf-decay" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/fabric-tree-chopper-0.8.7.jar"
config "config/fabric-tree-chopper.json" {
content = <<EOC
{
"fastLeafDecay": true,
"fullChopDurabilityUsage": "BREAK_MID_CHOP",
"sneakToDisable": true,
"requireLeavesToChop": true,
"treeChopMode": "VANILLA_CHOP"
}
EOC
}
}
mod "bluemap" {
url = "https://github.com/BlueMap-Minecraft/BlueMap/releases/download/v1.7.3/BlueMap-1.7.3-fabric-1.18.jar"
config "config/bluemap/core.conf" {
content = <<EOC
accept-download: true
renderThreadCount: 1
metrics: false
data: "bluemap"
EOC
}
config "config/bluemap/plugin.conf" {
content = <<EOC
liveUpdates: true
skinDownload: true
hiddenGameModes: [
"spectator"
]
hideInvisible: true
hideSneaking: false
fullUpdateInterval: 1440
EOC
}
config "config/bluemap/render.conf" {
content = <<EOC
webroot: "bluemap/web"
useCookies: true
enableFreeFlight: true
maps: [
{
id: "world"
name: "Burpcraft"
world: "burpcraft"
skyColor: "#7dabff"
ambientLight: 0
renderCaves: true
renderEdges: true
useCompression: true
ignoreMissingLightData: false
}
{
id: "end"
name: "End"
world: "burpcraft/DIM1"
skyColor: "#080010"
renderCaves: true
ambientLight: 0.6
}
{
id: "nether"
name: "Nether"
world: "burpcraft/DIM-1"
skyColor: "#290000"
renderCaves: true
ambientLight: 0.6
renderEdges: true
}
]
EOC
}
config "config/bluemap/webserver.conf" {
content = <<EOC
enabled: true
webroot: "bluemap/web"
port: {{ env "NOMAD_PORT_map" }}
maxConnectionCount: 100
EOC
}
}
}
// allows for remote control over RPC
control_address = ":{{ env "NOMAD_PORT_rpc" }}"
control_token = "s3cr3t"
// sets the game rules for the server, these are set as soon as the world has finished loading
// these are not part of the server block as they are executed as commands through the console
game_rules = {
disableElytraMovementCheck = "true"
doFireTick = "false"
doLimitedCrafting = "false"
forgiveDeadPlayers = "true"
playersSleepingPercentage = "1"
showDeathMessages = "true"
spawnRadius = "0"
universalAnger = "true"
}
startup_commands = [
"script download survival/combine_xp_orbs.sc",
"script download survival/silk_budding_amethyst.sc",
"script download survival/silk_spawners.sc",
"script download survival/simply_harvest.sc",
"script load ai_tracker",
]
discord_server_id = "152083503767486464"
discord_server_channel = "984537987117383740"
minecraft "Cloud" {
version = "1.19.3"
snapshot = false
path = "/opt/minecraft/cloud"
fabric_loader = "0.14.12"
fabric_installer = "0.11.1"
memory_min = 4
memory_max = 8
java_extra_args = [
"-XX:+UseG1GC",
"-XX:ParallelGCThreads=2",
"-XX:MinHeapFreeRatio=5",
"-XX:MaxHeapFreeRatio=10",
]
// only need to put stuff we are overwriting here
properties = {
level-name = "coleslaw"
motd = "Welcome to Minecraft!"
difficulty = "hard"
allow-flight = true
spawn-protection = 0
enforce-whitelist = true
white-list = true
pvp = false
level-seed = "-3142175466432544716"
gamemode = "survival"
max-players = 10
force-gamemode = true
enable-query = true
"query.port" = {{ env "NOMAD_PORT_game" }}
server-port = {{ env "NOMAD_PORT_game" }}
}
purge_datapacks = false
datapack "minecraft-datapack" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/minecraft-datapack.zip"
}
datapack "afk-display" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/afk-display-v1.1.3.zip"
}
datapack "anti-enderman-grief" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/anti-enderman-grief-v1.1.3.zip"
}
datapack "cauldron-concret" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/cauldron-concrete-v2.0.6.zip"
}
datapack "classic-fishing-loot" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/classic-fishing-loot-v1.1.3.zip"
}
datapack "double-shulker-shells" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/double-shulker-shells-v1.3.3.zip"
}
datapack "dragon-drops" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/dragon-drops-v1.3.3.zip"
}
datapack "mob-heads" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/mob-heads-v2.10.0.zip"
}
datapack "player-heads" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/player-heads-v1.1.3.zip"
}
datapack "silence-mobs" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/silence-mobs-v1.1.3.zip"
}
datapack "recipe-unlock" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/unlock-all-recipes-v2.0.4.zip"
}
datapack "custom-recipes" {
url = "https://github.com/renevo/minecraft-datapack/releases/download/v1.19-1.1.0/VanillaTweaks-crafting.zip"
}
purge_mods = false
mod "carpet" {
url = "https://github.com/gnembon/fabric-carpet/releases/download/1.4.93/fabric-carpet-1.19.3-1.4.93+v221230.jar"
config "coleslaw/carpet.conf" {
content = <<EOC
locked
antiCheatDisabled true
commandLog true
commandScript ops
defaultLoggers mobcaps,tps
lagFreeSpawning true
leadFix true
lightningKillsDropsFix true
persistentParrots true
scriptsAutoload true
stackableShulkerBoxes true
xpNoCooldown true
EOC
}
}
mod "fabric-api" {
url = "https://github.com/FabricMC/fabric/releases/download/0.72.0%2B1.19.3/fabric-api-0.72.0+1.19.3.jar"
}
mod "malilib" {
url = "https://mediafilez.forgecdn.net/files/4147/598/malilib-fabric-1.19.3-0.14.0.jar"
}
mod "item-scroller" {
url = "https://mediafilez.forgecdn.net/files/4148/670/itemscroller-fabric-1.19.3-0.18.0.jar"
}
mod "inventory-sorter" {
url = "https://mediafilez.forgecdn.net/files/4168/828/InventorySorter-1.8.10-1.19.3.jar"
}
mod "servux" {
url = "https://mediafilez.forgecdn.net/files/3879/398/servux-fabric-1.19.0-0.1.0.jar"
}
}
// allows for remote control over RPC
control_address = ":{{ env "NOMAD_PORT_rpc" }}"
control_token = "s3cr3t"
// sets the game rules for the server, these are set as soon as the world has finished loading
// these are not part of the server block as they are executed as commands through the console
game_rules = {
disableElytraMovementCheck = "true"
doFireTick = "false"
doLimitedCrafting = "false"
forgiveDeadPlayers = "true"
playersSleepingPercentage = "1"
showDeathMessages = "true"
spawnRadius = "0"
universalAnger = "true"
}
startup_commands = [
"script download survival/silk_budding_amethyst.sc",
"script download survival/silk_spawners.sc",
"script download survival/simply_harvest.sc",
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment