From a3444bf9b4ec07b0eeaf9ea79fee4b452f0aa1aa Mon Sep 17 00:00:00 2001 From: phil Date: Mon, 11 Nov 2024 02:32:14 +0100 Subject: [PATCH] Edited README | Providing Config Files generated by previously added mods --- README.md | 68 +++++++++++++++++- config/biomesoplenty/biome_toggles.json | 71 +++++++++++++++++++ config/biomesoplenty/gameplay.toml | 3 + config/biomesoplenty/generation.toml | 13 ++++ config/fallingtree.json | 48 +++++++++++++ config/friendsandfoes.json | 55 +++++++++++++++ config/frostiful.json | 91 +++++++++++++++++++++++++ config/villagernames.json5 | 20 ++++++ config/villagernames/customnames.txt | 0 docker-compose.yml | 2 +- 10 files changed, 369 insertions(+), 2 deletions(-) create mode 100644 config/biomesoplenty/biome_toggles.json create mode 100644 config/biomesoplenty/gameplay.toml create mode 100644 config/biomesoplenty/generation.toml create mode 100644 config/fallingtree.json create mode 100644 config/friendsandfoes.json create mode 100644 config/frostiful.json create mode 100644 config/villagernames.json5 create mode 100644 config/villagernames/customnames.txt diff --git a/README.md b/README.md index 5807c1f..3cefbf1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,70 @@ # NEW MC Server - Powered by Garde Studios -Testing WebHook +## Development +### (Prerequisite) Install Docker + +Go to the Website [docker.com](https://www.docker.com/) and download the Docker Desktop Version for you're Operating System. + +In case you're using Linux find a guide on the internet. For RHEL/Fedora/CentOS/Rocky Linux the setup process is as follows: + +```bash +sudo dnf check-update # Update System +sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo # Add the docker repo to dnf +sudo dnf install docker-ce docker-ce-cli containerd.io -y # Install docker engine +sudo systemctl start docker # start docker deamon +sudo systemctl enable docker # enable docker deamon on startup +sudo usermod -aG docker $(whoami) # elevate user to use docker cmd +``` + +### Starting the Server + +> [!WARNING] +> Make sure you first configure the `docker-compose.yml` under the `environment` section to use the appropiate ammount of RAM youre system can provide. +> 16GB isn't sensible in most development/testing environments + +Start a Terminal or use Docker Desktop + +> [!NOTE] +> The first Startup creates the whole infrastructure behind the project and can take up some time. +> Make sure you grab some 0xCOFFE :) + +#### Using Docker CLI + +cd into the repo. + +Start the Server: + +```bash +docker compose up +``` + +To close it just use `ctrl+c`. + +Deamon Mode: + +```bash +docker compose up -d +``` + +To hook into the servers logs use: + +```bash +docker logs +``` + +Killing the server is done in two ways. + +Either by killing it directly: + +```bash +docker kill +``` + +Or by hooking against the compose file: + +```bash +docker compose down +``` + +## Architecture diff --git a/config/biomesoplenty/biome_toggles.json b/config/biomesoplenty/biome_toggles.json new file mode 100644 index 0000000..7bdafb5 --- /dev/null +++ b/config/biomesoplenty/biome_toggles.json @@ -0,0 +1,71 @@ +{ + "aspen_glade_enabled": true, + "auroral_garden_enabled": true, + "bayou_enabled": true, + "bog_enabled": true, + "cold_desert_enabled": true, + "coniferous_forest_enabled": true, + "crag_enabled": true, + "crystalline_chasm_enabled": true, + "dead_forest_enabled": true, + "dryland_enabled": true, + "dune_beach_enabled": true, + "end_corruption_enabled": true, + "end_reef_enabled": true, + "end_wilds_enabled": true, + "erupting_inferno_enabled": true, + "field_enabled": true, + "fir_clearing_enabled": true, + "floodplain_enabled": true, + "forested_field_enabled": true, + "fungal_jungle_enabled": true, + "glowing_grotto_enabled": true, + "grassland_enabled": true, + "gravel_beach_enabled": true, + "highland_enabled": true, + "hot_springs_enabled": true, + "jacaranda_glade_enabled": true, + "jade_cliffs_enabled": true, + "lavender_field_enabled": true, + "lush_desert_enabled": true, + "lush_savanna_enabled": true, + "maple_woods_enabled": true, + "marsh_enabled": true, + "mediterranean_forest_enabled": true, + "moor_enabled": true, + "muskeg_enabled": true, + "mystic_grove_enabled": true, + "old_growth_dead_forest_enabled": true, + "old_growth_woodland_enabled": true, + "ominous_woods_enabled": true, + "orchard_enabled": true, + "origin_valley_enabled": true, + "overgrown_greens_enabled": true, + "pasture_enabled": true, + "prairie_enabled": true, + "pumpkin_patch_enabled": true, + "rainforest_enabled": true, + "redwood_forest_enabled": true, + "rocky_rainforest_enabled": true, + "rocky_shrubland_enabled": true, + "scrubland_enabled": true, + "seasonal_forest_enabled": true, + "shrubland_enabled": true, + "snowblossom_grove_enabled": true, + "snowy_coniferous_forest_enabled": true, + "snowy_fir_clearing_enabled": true, + "snowy_maple_woods_enabled": true, + "spider_nest_enabled": true, + "tropics_enabled": true, + "tundra_enabled": true, + "undergrowth_enabled": true, + "visceral_heap_enabled": true, + "volcanic_plains_enabled": true, + "volcano_enabled": true, + "wasteland_enabled": true, + "wasteland_steppe_enabled": true, + "wetland_enabled": true, + "wintry_origin_valley_enabled": true, + "withered_abyss_enabled": true, + "woodland_enabled": true +} \ No newline at end of file diff --git a/config/biomesoplenty/gameplay.toml b/config/biomesoplenty/gameplay.toml new file mode 100644 index 0000000..2e9ef27 --- /dev/null +++ b/config/biomesoplenty/gameplay.toml @@ -0,0 +1,3 @@ +[general] + #Add various BOP resources to the Wandering Trader trade pool. + wandering_trader_trades = true diff --git a/config/biomesoplenty/generation.toml b/config/biomesoplenty/generation.toml new file mode 100644 index 0000000..cd38744 --- /dev/null +++ b/config/biomesoplenty/generation.toml @@ -0,0 +1,13 @@ +[nether] + #The weighting of bop biome regions in the nether. + bop_nether_region_weight = 13 + #The weighting of rare bop biome regions in the nether. + bop_nether_rare_region_weight = 2 + +[overworld] + #The weighting of primary bop biome regions in the overworld. + bop_primary_overworld_region_weight = 10 + #The weighting of rare bop biome regions in the overworld. + bop_overworld_rare_region_weight = 2 + #The weighting of secondary bop biome regions in the overworld. + bop_secondary_overworld_region_weight = 8 diff --git a/config/fallingtree.json b/config/fallingtree.json new file mode 100644 index 0000000..e0a77ae --- /dev/null +++ b/config/fallingtree.json @@ -0,0 +1,48 @@ +{ + "trees": { + "allowedLogs": [], + "deniedLogs": [], + "allowedLeaves": [], + "allowedNonDecayLeaves": [], + "deniedLeaves": [], + "breakMode": "INSTANTANEOUS", + "detectionMode": "WHOLE_TREE", + "maxScanSize": 500, + "maxSize": 100, + "maxLeafDistanceFromLog": 15, + "maxSizeAction": "ABORT", + "breakOrder": "FURTHEST_FIRST", + "minimumLeavesAroundRequired": 1, + "includePersistentLeavesInRequiredCount": true, + "treeBreaking": true, + "leavesBreaking": true, + "leavesBreakingForceRadius": 0, + "allowMixedLogs": false, + "breakNetherTreeWarts": true, + "breakMangroveRoots": true, + "searchAreaRadius": -1, + "allowedAdjacentBlocks": [], + "adjacentStopMode": "STOP_ALL", + "spawnItemsAtBreakPoint": false + }, + "tools": { + "allowed": [], + "denied": [], + "durabilityMode": "NORMAL", + "ignoreTools": false, + "damageMultiplicand": 1.0, + "damageRounding": "ROUND_DOWN", + "speedMultiplicand": 0.0, + "forceToolUsage": false + }, + "player": { + "allowedTags": [] + }, + "enchantment": { + "requireEnchantment": false + }, + "sneakMode": "SNEAK_DISABLE", + "breakInCreative": false, + "lootInCreative": true, + "notificationMode": "ACTION_BAR" +} \ No newline at end of file diff --git a/config/friendsandfoes.json b/config/friendsandfoes.json new file mode 100644 index 0000000..ebc281f --- /dev/null +++ b/config/friendsandfoes.json @@ -0,0 +1,55 @@ +{ + "checkForNewUpdates": false, + "enableCopperGolem": true, + "generateCopperGolemAreaStructure": true, + "copperGolemAreaStructureWeight": 1, + "generateCopperGolemInAncientCity": true, + "copperGolemAncientCityCenterWeight": 10, + "enableCrab": true, + "enableCrabSpawn": true, + "crabSpawnWeight": 14, + "crabSpawnMinGroupSize": 2, + "crabSpawnMaxGroupSize": 4, + "reachingStatusEffectModifier": 1, + "enableGlare": true, + "enableGlareSpawn": true, + "enableGlareGriefing": true, + "glareSpawnWeight": 4, + "glareSpawnMinGroupSize": 1, + "glareSpawnMaxGroupSize": 1, + "enableMauler": true, + "enableMaulerSpawn": true, + "maulerDesertSpawnWeight": 8, + "maulerDesertSpawnMinGroupSize": 1, + "maulerDesertSpawnMaxGroupSize": 1, + "maulerBadlandsSpawnWeight": 16, + "maulerBadlandsSpawnMinGroupSize": 1, + "maulerBadlandsSpawnMaxGroupSize": 1, + "maulerSavannaSpawnWeight": 32, + "maulerSavannaSpawnMinGroupSize": 1, + "maulerSavannaSpawnMaxGroupSize": 1, + "enableMoobloom": true, + "enableMoobloomSpawn": true, + "moobloomSpawnWeight": 4, + "moobloomSpawnMinGroupSize": 2, + "moobloomSpawnMaxGroupSize": 4, + "enableIceologer": true, + "enableIceologerSpawn": true, + "enableIceologerInRaids": true, + "generateIceologerCabinStructure": true, + "enableIllusioner": true, + "enableIllusionerSpawn": true, + "enableIllusionerInRaids": true, + "generateIllusionerShackStructure": true, + "generateIllusionerTrainingGroundsStructure": true, + "enableZombieHorseTrap": true, + "enableRascal": true, + "enableRascalSpawn": true, + "enableTuffGolem": true, + "generateTuffGolemInStronghold": true, + "enableWildfire": true, + "generateCitadelStructure": true, + "enableBeekeeperVillagerProfession": true, + "generateBeekeeperAreaStructure": true, + "beekeeperAreaStructureWeight": 2 +} diff --git a/config/frostiful.json b/config/frostiful.json new file mode 100644 index 0000000..96bb5d4 --- /dev/null +++ b/config/frostiful.json @@ -0,0 +1,91 @@ +{ + "clientConfig": { + "frostOverlayStart": 0.5, + "doColdHeartOverlay": true, + "renderDripParticles": true, + "disableFrostOverlayWhenWearingFrostologyCloak": true, + "shakeHandWhenShivering": true, + "handShakeIntensity": 1.0 + }, + "updateConfig": { + "currentConfigVersion": 2, + "enableConfigUpdates": true + }, + "environmentConfig": { + "doDryBiomeNightFreezing": true, + "nightTemperatureShift": -1, + "coldBiomeTemperatureChange": -1, + "freezingBiomeTemperatureChange": -3, + "rainWetnessIncrease": 1, + "touchingWaterWetnessIncrease": 5, + "dryRate": 1, + "onFireDryDate": 50, + "onFireWarmRate": 50, + "powderSnowFreezeRate": 30, + "warmthPerLightLevel": 2, + "minLightForWarmth": 5, + "ultrawarmWarmRate": 15, + "enableSeasonsIntegration": true + }, + "combatConfig": { + "doChillagerPatrols": true, + "straysCarryFrostArrows": true, + "maxFrostSpellDistance": 25.0, + "frostWandCooldown": 120, + "frostWandRootTime": 100, + "frostologerHeatDrainPerTick": 30, + "packedSnowballFreezeAmount": 500, + "packedSnowballDamage": 2.0, + "packedSnowballVulnerableTypesDamage": 5.0, + "frostologerPassiveFreezingPerTick": 2, + "frostologerMaxPassiveFreezing": 0.5, + "biterFrostBiteMaxAmplifier": 2, + "chillagerFireDamageMultiplier": 1.5, + "frostologerIntolerableHeat": 9, + "furUpgradeTemplateGenerateChance": 0.5, + "skateUpgradeTemplateGenerateChance": 0.33, + "veryProtectiveFrostResistanceMultiplier": 1.0, + "protectiveFrostResistanceMultiplier": 0.5 + }, + "freezingConfig": { + "doPassiveFreezing": true, + "doWindSpawning": true, + "windSpawnStrategy": "POINT", + "spawnWindInAir": true, + "windDestroysTorches": true, + "doSnowPacking": true, + "passiveFreezingTickInterval": 1, + "windSpawnCapPerSecond": 15, + "windSpawnRarity": 750, + "windSpawnRarityThunder": 500, + "maxPassiveFreezingPercent": 1.0, + "passiveFreezingWetnessScaleMultiplier": 2.1, + "soakPercentFromWaterPotion": 0.5, + "sunLichenHeatPerLevel": 500, + "sunLichenBurnTime": 60, + "campfireWarmthSearchRadius": 10.0, + "campfireWarmthTime": 1200, + "freezingWindFrost": 160, + "conduitPowerWarmthPerTick": 12, + "heatFromHotFloor": 12, + "shiverBelow": -0.51, + "shiverWarmth": 1, + "stopShiverWarmingBelowFoodLevel": 10, + "warmFoodWarmthTime": 1200 + }, + "icicleConfig": { + "iciclesFormInWeather": true, + "becomeUnstableChance": 0.05, + "growChance": 0.02, + "growChanceDuringRain": 0.09, + "growChanceDuringThunder": 0.15, + "frostArrowFreezeAmount": 1000, + "thrownIcicleFreezeAmount": 1500, + "icicleCollisionFreezeAmount": 3000, + "maxLightLevelToForm": 8, + "minSkylightLevelToForm": 11, + "thrownIcicleDamage": 1.0, + "thrownIcicleExtraDamage": 3.0, + "thrownIcicleCooldown": 10 + } +} \ No newline at end of file diff --git a/config/villagernames.json5 b/config/villagernames.json5 new file mode 100644 index 0000000..ae95e0f --- /dev/null +++ b/config/villagernames.json5 @@ -0,0 +1,20 @@ +{ + // Use the custom name list, editable in ./mods/villagernames/customnames.txt, seperated by a comma. If custom names are found, the default name list is ignored. + "useCustomNames": true, + // Use the list of pre-defined female names when naming villagers. + "useDefaultFemaleNames": true, + // Use the list of pre-defined male names when naming villagers. + "useDefaultMaleNames": true, + // Disabled by default. Whether both custom and default names should be used to name villagers. Custom names will probably not be chosen often due to the amount of default names. + "useBothCustomAndDefaultNames": false, + // If enabled, also gives modded villagers a name. If you've found a 'villager'-entity that isn't named let me know by opening an issue so I can add it in. + "nameModdedVillagers": true, + // Whether the profession should be added to the villager's trade screen next to their name. + "showProfessionOnTradeScreen": true, + // If enabled, switches the name and profession on the villager trading screen. Result: - . + "switchNameAndProfessionTradeScreen": false, + // Whether the merchant level (novice, apprentice etc.) should be hidden on the trade screen. + "hideMerchantLevelTradeScreen": false, + // If enabled, the mod capitalizes each word in the custom name list. + "shouldCapitalizeNames": true +} \ No newline at end of file diff --git a/config/villagernames/customnames.txt b/config/villagernames/customnames.txt new file mode 100644 index 0000000..e69de29 diff --git a/docker-compose.yml b/docker-compose.yml index be90b9e..62a098b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -46,7 +46,7 @@ services: ports: - 30066:25565 # Connection Port - 31066:25575 # Rcon - - 8080:8080 # Squaremap + - 8090:8080 # Squaremap - 9001:25585 # Fabric Exporter volumes: - ./data:/data