Dangerous Caves 2 | Make your caves scary! [1.12.2 - 1.16.5]
v2.2.13Cave mechanics improvement | Paper-optimized | Cross-version support
v2.2.13latest2.2.13 | Fixes & tweaksFeb 6, 2021 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues - help me help you FIXED - Fixed extinguish-damage Magma Monster behaviour. - Fixed health recovery for Mimic. Mob will be reworked soon. - Fixed that if mobs.replace-mobs is not defined, mobs will not spawn at all. - Fixed Cave Golems appearance from blocks ignoring world restrictions. ADDED - Changed project license from GPL-3 to MIT. Don't worry about it, just a small note for other devs. - Refactored and fixed without-target Dead Miner behaviour. It was inverted and renamed to requires-target. - Added requires-target Magma Monster behaviour - mob will not change blocks if it has no target. - Added square root operator for formuals. Write #expression to use it. So, #(153 - 32) + #4 will result you 13. Also added a note about formuals at the start of the config. - Added server-wise option for Ambient Sounds. It will play sounds server(world)-wise, so more than one player will hear it at once. Also server-wise-distance which prevents sounds from playing at close locations; may affect performance, so disabled by default. CONFIG Code (Text): version: 24 # NOTE: Formulas # For formulas you can use all common operators + - * / ^ ( ), for square roots you can use operator # # Also plugin will give you some variables to use in your expression # So, "12^2 * (45.342+32.1) / #43.1" will result you approximately "1698.6" (which is right) caverns: ambient: server-wise: true server-wise-distance: 0 mobs: dead-miner: requires-target: false magma-monster: requires-target: truev2.2.122.2.12 | Minor changes and fixesJan 17, 2021 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you FIXED - Fixed compatibility with 1.12.2. - Temporary workaround for the incompatibility with ItemsAdder plugin. - No longer starting Caves Aging later than it should be. - Fixed GriefPrevention compatibility. ADDED - Added option caverns.aging.use-chance-per-chunk, which toggles chance checking per chunk near players rather than just per player. Should not cause much performance problems. - Lowered value caverns.aging.percentage to 30% because 70% is way too much. - Some inner code tweaks. - Compiled against 1.16.5. CONFIG Code (Text): caverns: aging: use-chance-per-chunk: false schedule-timer: 4 percentage: 30v2.2.112.2.11 | Little thingsSep 27, 2020 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you Apart from this update, I must say that some of features I have planned may not work on legacy versions, such as 1.12 and 1.13, not because it's impossible, but because it's not worth it. Currently only ~6% of servers with DC2 plugin are using legacy versions of the game. It doesn't mean that I'm fully dropping legacy support - current features will still work no matter what, and most of new ones will too, but.. it's time to go, you know. FIXED - Action bar option for Depth Hypoxia should work fine now. ADDED - Slighty optimized a few things - Mobs, Caves Aging, Cave Ins, Depth Hypoxia PAPI placeholder. - Cave Golem can now spawn while mining ores. Set mobs.cave-golem.spawn-from-block to 0 to disable it. - Added option for Smoke Demon to specify light level of spawning and wither effect. - Added option for Hungering Darkness to play additional death sound. - Tab-completion for the commands. Also removed /dc alias. CONFIG Code (Text): mobs: hungering-darkness: death-sound: true smoke-demon: max-light: 11 cave-golem: spawn-from-block: 0.5v2.2.102.2.10 | PlaceholderAPI and old problemsSep 8, 2020 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you FIXED - Removed deprecated protection mode section. - Lands plugin is now in soft-dependencies just in case. - Fixed config reload order, so changing some values should work fine just by reloading plugin once. This bug is kinda old one... - Lava Creeper explosion radius calculation should work fine now. Was using wrong method to calculate power of two, huh. - Ambient Sounds were playing only on one spot ignoring caverns.ambient.near value. - Fixed version check for mobs.use-prespawn. I guess that's why I don't see many Paper users on latest versions? - Fixed some regions checks - Cave Ins and worldguard-flags mode were inverted. ADDED - Added PlaceholderAPI placeholder %dangerouscaves_hypoxia_chance%. You can turn it on in the config. I feel like chance calculating is kinda heavy, so I decided to update placeholder once in a while(configurable). Will optimize it once more in the next version. - New optional light check for mobs spawning. It won't allow you to spawn mobs in any bright places, but could help you if you have some problems with spawning. - Minor internal changes. CONFIG Code (Text): integration: placeholders: hypoxia-chance: enabled: false schedule: 200 respect-try-chance: true calculate-on-join: true mobs: max-light-level: 16v2.2.92.2.9 | Hotfix & Lands supportAug 16, 2020 If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you FIXED - Plugin should start fine now. (Thanks to @l3st4tPlugins) - Tried to fix WG protection. ADDED - Lands protection support. ENTITY_GRIEFING for mobs griefing, LEAF_DECAY for cave ins and aging. Set to lands-effectless to disable ambient sounds and hypoxia too. (Thanks to @l3st4tPlugins)v2.2.8a2.2.8a | HotfixAug 16, 2020 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you FIXED - And now it should start just fine.v2.2.82.2.8 | Config update & CompatibilityAug 15, 2020 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you Sorry for a lack of updates, I'm really busy right now :c FIXED - Force-disabled PreSpawn listener ignoring mobs.use-prespawn config value for versions 1.16+. I guess not everyone has time to read resource thread and GitHub issues section, so, to make it less annoying for everyone(including me), I decided to do this. - Tried to fix some issues with Mimics. Again. Please inform me if something related will happen. - mobs.use-prespawn is now disabled by default just in case. - Moved WG and GP protection settings into another section. ADDED - Added enabled option for the most of sections just because " chance to 0" is not that obvious. This is fine if you're lazy to include it into your current config - chance: 0 still works just fine. CONFIG Code (Text): integration: protection: mode: none invert: false caverns: ins: enabled: true ambient: enabled: true hypoxia: enabled: true aging: enabled: true generator: enabled: true mobs: enabled: truev2.2.72.2.7 | Compatibility and regionsJul 7, 2020 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you Please read mindfully. These are small, but rather important changes related to Paper and regions protection. FIXED - Flagless GriefPreventon and WorldGuard support should work properly now. - Removed broken check for Cave-Ins. - Mobs like Watcher should spawn without armor now. - Fixed custom mob heads. ADDED - Added option mobs.use-prespawn to control prefered spawn event. Works only with Paper. As for now, on 1.16 it causes enormous amount of mobs spawning all around the world, so if you're using Paper 1.16 - disable it. There's a bug in Paper 1.16 which ruins this feature. You can see progress on this bug here. - Renamed integration modes. Please check new config. - You can now specify more than one mode if you're using both GriefPrevention and WorldGuard. Just separate it by comma. - Hypoxia message now has placeholder %player - player's nickname. - Changed mob type of Hungering Darkness to Vex, so now it flies through the walls. - Using PaperLib, so on Caves Aging plugin loads chunks in async if Paper is used. CONFIG Code (Text): integration: # Available options: worldguard, worldguard-flags, griefprevention, griefprevention-flags, none # If you have several plugins, you can use multiple checks by dividing modes by comma without spaces # mode: worldguard-flags,griefprevention mode: none mobs: use-prespawn: truev2.2.62.2.6 | Hotfix for mob clickingJun 26, 2020 If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you For the most part this is just for 1.14 and older. 1.15-1.16 users can ignore this update. FIXED - Clicks on mobs should not be a problem anymore. - Update comment in the config with a link to Materials(item ids)v2.2.52.2.5 | Quality of code changes & MC 1.16.1Jun 25, 2020 If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you FIXED - Skip-chunks feature from Caves Aging should work properly now. - Fixed an issue with name-tags when restrict-rename is true. ADDED - Build upon 1.16.1 Spigot-API. - Some more dev API stuff. - Minor changes for default config. Doesn't really matter.v2.2.42.2.4 | Caves Aging fixJun 18, 2020 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you FIXED - Caves Aging is now working. Disabling was caused by regions integration - "invert" option was.. inverted for caves aging. ADDED - Added option to disable chunk loading on caves aging. - Added alias for "summon" subcommand - "spawn". Also "r" for "reload". - Working on some developer API within DC. I don't think that anyone will use it.. but I think that's cool to have it ;D CONFIG Code (Text): caverns: aging: force-load: truev2.2.32.2.3 | GriefPrevention and moreJun 15, 2020 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you Sorry, right now I can't update this project frequently. Just don't have enough time. Residence support is planned, but Residence plugin doesn't have maven repository for developers, and I'm waiting for Zrips' response about it. Also I'm thinking to launch own support Discord server. It's not so useful, but it's easier way to get some more feedback. FIXED - Fixed an error related to WorldGuard. - Fixed rare error on world generation. At least I hope so. - skip-chunks option from Caves Aging is now disabled by default. ADDED - Added GriefPrevention and GriefPreventionFlags integrations. It's not really tested, so feel free to share any related bugs. - Added flagless mode for GP and WG. It's recommended for GriefPrevention because GPFlags' API is a bit weird and I'm not sure if it's even works. - New option torch-remove-chance to remove some torches on Caves Aging. Set to 0 to disable. - Some config tweaks and more comments. You can ignore it if you want to. - Added option night-vision for Hungering Darkness to ignore players with night vision effect. - New options without-target and torches-cooldown for Dead Miner to prevent players from farming torches. CONFIG This one doesn't include any comments or tweaks. If you want to see all the changes - check this link. Code (Text): caverns: aging: torch-remove-chance: 40 mobs: hungering-darkness: night-vision: false dead-miner: without-target: false torches-cooldown: 12v2.2.22.2.2 | Just another fixMay 24, 2020 If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you FIXED - Tried to fix issues with mimics. Again. Please report if you still have any problems. - Fixed Cave Golem's damage logic.v2.2.12.2.1 | Hotfix for the MimicMay 21, 2020 If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you FIXED - Fixed an error when clicking mimic's chest. ADDED - Adjusted mimic's behaviour in chest state to check if there's a block on its "head".v2.2.02.2.0 | WorldGuard integration and moreMay 20, 2020 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you FIXED - Finally fixed lag issue for some servers. Maybe. Anyway, consider updating. - Plugin is now more safe-to-use if config is not updated. - Less block updates in chunk populator. ADDED - Added WG flags support. You still don't need WG installed on your server, but you can use it to limit DC. Flags: dc-entity-grief for Magma Monster, Dead Miner and Lava Creeper, dc-block-change for disabling Cave-Ins and Caves Aging, dc-player-effect for Ambient Sounds and Depth Hypoxia. Integration is disabled by default - check your config. - Added a new mob Cave Golem based on skeleton. Has random ore on a head; attacks with 2x multiplier and gives distracting effects; can be attacked only with pickaxes, otherwise damage is multiplied by 0.07x. - Metadata tag is now optional and disabled by default - not sure, but it can cause memory leak issue. Use it only if you really need it, like for SAML or some other plugin with metadata checks. - Depth Hypoxia formula is now configurable, because I'm not sure if current formula is the best. Also added min and max chance values. CONFIG Code (Text): integration: mode: none invert: false caverns: hypoxia: chance-formula: "depth*inventory" chance-min: 10 chance-max: 90 mobs: add-metadata: false mimic: health: 30 cave-golem: priority: 3 health: 35 name: "&4Cave Golem" slowness: true distract-attack: true damage-modifier: 2.0 nonpickaxe-modifier: 0.07 variants: - COAL_ORE - IRON_ORE - GOLD_ORE - LAPIS_ORE - DIAMOND_ORE - EMERALD_OREv2.1.92.1.9 | Goodbye Temperature, hello HypoxiaMay 15, 2020 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you Working on WorldGuard, GriefPreventionFlags and Towny support for Caves Aging, Depth Hypoxia, Magma Monsters and Lava Creepers. If you have any lags from DC2 - please use spark plugin and report it to me, thread, or this particular issue. FIXED - Fixed config version check. For real this time. - Minor code changes and optimizations. ADDED - Depth Temperature is now replaced with Depth Hypoxia. It gives the same effect, but calculated in other way - based on player's inventory fullness and depth. - Depth Hypoxia supports actionbar messages instead of chat(not available for bukkit servers). - Ambient Sounds can now be played near player instead of straight player's location. CONFIG Code (Text): caverns: ambient: near: 7 hypoxia: worlds: - world - world_nether try-chance: 60 chance-limit: 90 y-max: 42 actionbar: true messages: - "&4I really need more air..." - "&4It is so stuffy down here." - "&4Maybe drop some items from the inventory?"v2.1.82.1.8 | Random goodiesMay 4, 2020 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you I'm planning to replace Depth Temperature with Depth Anoxemia based on player's depth and amount of items in inventory. As I said in latest update - it's better to use another plugin for a good temperature mechanic. FIXED - Workaround with mobs loading chunk problem. Still can't confirm the issue on my server... - Reworked Caves Aging percentage calculation - now it ignores air in total block count. - Magma Monster should not create fire in mid-air now. - EffectTags for 1.12-1.13 support was replaced with ScoreboardTags. Old mobs will no longer work as DC mobs(1.14+ is fine). If you will notice any bugs - you can freely message me. - Creepers should blowup without effects now(1.12-1.13). ADDED - Health configuration for almost every mob(except Crying bat and Hungering Darkness). - Added option to disable binding curse for Hexed Armor. - Limited entity-type list to replace - you can specify which entity you want to replace with DC mobs. - Added option for Magma Monster behaviour change - if it's extinguished(with water) it will be damaged. - Now you can disable vines, rocks, mushrooms and stone-replacement on Caves Aging. CONFIG Code (Text): version: 14 caverns: aging: age-types: vines: true rocks: true mushrooms: true replace: true mobs: replace-mobs: - ZOMBIE - HUSK - SKELETON - STRAY - CREEPER - SPIDER - WITCH - ENDERMAN alpha-spider: health: 16 dead-miner: health: 20 hexed-armor: health: 20 binding-curse: true lava-creeper: health: 20 magma-monster: health: 20 extinguished-damage: false tnt-creeper: health: 20 watcher: health: 20 mimic: health: 20v2.1.72.1.7 | Minor changesApr 25, 2020 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you I want to know if you guys still want to have Depth Temperature feature in DC2. There's plenty of plugins with better temperature mechanics like Caliditas, and DC2 is like "i wanna give this player a temperature debuff just why not". FIXED - Config version detection should work fine now. - EffectTags for 1.12-1.13 was changed for a bit. If you had some spawned DC2 monsters(not on 1.14+) - unfortunately they will probably become ordinary mobs. I'm still searching for a better and more efficient way to detect DC2 mobs on legacy versions. - Size of the jar file is now lower - removed some useless files from it. ADDED - Added a new tick level - PLAYER. 1 execution per 800 vanilla ticks(40 seconds). Works for Ambient Sounds and Depth Temperature. - Config version is now splitted from plugin version with ; instead of -. - A new option to disable sound and effect from Cave-Ins. CONFIG Code (Text): caverns: ins: blast-effect: true blast-sound: true ambient: chance: 6.35 temperature: chance: 40v2.1.62.1.6 | Hotfix for a fixApr 19, 2020 If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you It's better to update from 2.1.5 if you did download it before. Sorry for that. FIXED - Depth Temperature was listening for Caves Aging config section.v2.1.52.1.5 | Minor fixesApr 18, 2020 If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you I'm not going to update this plugin for a week or so. Sorry for it, but I have to do my own things. Anyway, if found a bug - I will try to fix it ASAP. FIXED - Depth Temperature was working even if its chance is 0. - Watcher now applies slowness with more reliable amplifier - lvl 200 was too glitchy. ADDED - Plugin now prints that versions before 1.12 are not really supported.v2.1.42.1.4 | Caves Aging and moreApr 15, 2020 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you FIXED - Fixed Caves Aging scheduler was ignoring its config value. - DC mob are despawnable now. - Second attempt to fix annoying error. ADDED - Caves Aging changes calculation is done in async thread(except horizontal light check). So, it's even more optimized now. - You can limit maximal percentage of "aged" blocks per chunk. - DC mobs are now marked with metadata "DangerousCaves" for SAML support. CONFIG Code (Text): caverns: aging: schedule-timer: 4 percentage: 70v2.1.12.1.1 | Some fixesApr 13, 2020 If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you FIXED: - WG's PvP deny flag should work properly now. - Fixed an console error on some weird circumstances.v2.1.02.1.0 | Compatibility and moreApr 12, 2020 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you FIXED - Cave-Ins "dupe" is finally fixed. - Magma Monster now have its leggings and boots. - Fixed Caves Aging chunk-processing logic for nearby players. - Using lite metrics to make plugin jar size a bit smaller. - Some config tweaks were made. ADDED - Compatibility for 1.12-1.13 version. For mobs detection I'm using really weird system based on potion effects, so, please let me know I you will find any bugs. - Major optimization for mobs processing. - More settings for Cave-Ins - optional sand-like fall and cuboid shape. - Mimic - a new mob that will spawn in custom structures. Natural spawning is disabled by default (no one wants to fill the world with chests, yeah?) - Added sound when Dead Miner places torches. - Added a bit more particles for Smoke Demon. PLANNED: - The Plague - a new mob that will infect you, so you will infect other players. Delayed in 2.1.0 because of a huge gap between updates. - Insomnia hallucinations. - More customization for every mob. - Limiting Caves Aging if N% of caves is "aged" with async calculation. - Your own custom structures. - Spawners and Spawn Eggs with DC's mobs. - your idea here CONFIG: Code (Text): caverns: ins: cuboid: false slow-fall: false radius: 3 generator: mimic-chance: 10 mobs: mimic: priority: 0 name: "&4Mimic" drop-items: - BOOK - SADDLE - OAK_PLANKS - TORCH - COAL - GOLDEN_APPLE - COBWEBv2.0.192.0.19 | Hungering Darkness fix and future updateMar 27, 2020 If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you Right now I'm working on a 2.1.0 update. If everything goes well, 1.12 support and two new mobs will be available at the end of next week. FIXED - Under some weird conditions, Hungering Darkness is spamming with errors in the console. ADDED - Re-added sound from original plugin when Hungering Darkness is alive. - Increased chance of armor generation for Hexed Armor.v2.0.182.0.18 | Reforging existing contentMar 24, 2020 If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you I feil like I'm satisfied (not really) with current state of DC2, so, after this update I will start adding more things to the plugin. If you want to see something related to caves - feel free to share your ideas. FIXED - Smoke Demon and Watcher don't ignore the config now. - Cubes of oak planks should stop from generating. - Minor optimizations for structure generation. ADDED - /dangerouscaves command now contains plugin version.v2.0.152.0.15 | Fixing problemsMar 22, 2020 This update contains config.yml changes. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you I'm sorry for so many updates lately. I hope it's the last one technical update for now. FIXED - Fixed Paper/Spigot compability issue. - Dead Miner's and Watcher's heads should work normally and configurable now (check config comments) - Ambient Sounds are now played near player's head. CONFIG Code (Text): mobs: dead-miner: head-value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzE5MzdiY2Q1YmVlYWEzNDI0NDkxM2YyNzc1MDVlMjlkMmU2ZmIzNWYyZTIzY2E0YWZhMmI2NzY4ZTM5OGQ3MyJ9fX0=" watcher: head-value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDI5MzhmMjQxZDc0NDMzZjcyZjVjMzljYjgzYThlNWZmN2UxNzdiYTdjYjQyODY5ZGI2NGUzMDc5MTAyYmZjNSJ9fX0="v2.0.122.0.12 | TNT CreeperMar 21, 2020 If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you REMOVED - Removed a TNT item from TNT Creeper's head that was also causing a error on some servers.v2.0.112.0.11 | Hotfix for structure generatiorMar 21, 2020 If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you FIXED - Weird structure generation.2.0.102.0.10 | Small Caves Aging reworkMar 21, 2020 This update is requiring to update or regenerate your config. Please see all the changes here or down below. If you found a bug - please let me know through GitHub Issues or plugin's Discussion thread - help me help you ADDED - bStats metrics - Scheduler's delay time for Caves Aging - Caves Aging bounds are now per-world FIXED - Caves Aging scheduler is now a bit safer for world unloads - Lighting check on Cave Aging is now checking just 6 sides of block(was checking a cube 3x3) CONFIG Code (Text): caverns: aging: scheduler-timer: 0 skip-chunks: world: - "-1,-1 1,1"2.0.8Mar 19, 2020
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta