diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectAcceleratedEscape.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectAcceleratedEscape.kt index 11b4044..5e2de7d 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectAcceleratedEscape.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectAcceleratedEscape.kt @@ -19,7 +19,7 @@ class EffectAcceleratedEscape: Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: EntityDamageEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.entity.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.entity.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectBountifulHarvest.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectBountifulHarvest.kt index 0456e93..c29ada4 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectBountifulHarvest.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectBountifulHarvest.kt @@ -35,7 +35,7 @@ class EffectBountifulHarvest : Effect( @EventHandler(priority = EventPriority.LOW, ignoreCancelled = true) fun handle(event: BlockDropItemEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.block.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.block.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectBravery.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectBravery.kt index f54854a..4b7cad1 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectBravery.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectBravery.kt @@ -22,7 +22,7 @@ class EffectBravery: Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: EntityDamageByEntityEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.entity.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.entity.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectCraftsmanship.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectCraftsmanship.kt index 66de72f..58bee2e 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectCraftsmanship.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectCraftsmanship.kt @@ -16,7 +16,7 @@ class EffectCraftsmanship : Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: PlayerItemDamageEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.player.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.player.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectDazzle.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectDazzle.kt index 4a96dcf..d74ef4f 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectDazzle.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectDazzle.kt @@ -23,7 +23,7 @@ class EffectDazzle : Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: EntityDamageByEntityEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.entity.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.entity.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectDodging.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectDodging.kt index d4de496..deeab41 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectDodging.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectDodging.kt @@ -17,7 +17,7 @@ class EffectDodging: Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: EntityDamageEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.entity.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.entity.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectDynamicMining.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectDynamicMining.kt index a10b3a6..6999b1f 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectDynamicMining.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectDynamicMining.kt @@ -22,7 +22,7 @@ class EffectDynamicMining : Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: BlockBreakEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.block.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.block.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectEfficientBrewing.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectEfficientBrewing.kt index 97a51c4..3b99111 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectEfficientBrewing.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectEfficientBrewing.kt @@ -21,7 +21,7 @@ class EffectEfficientBrewing : Effect( fun handle(event: InventoryClickEvent) { val player = event.whoClicked - if (this.config.getStrings("disabled-worlds").contains(player.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(player.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectEndangering.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectEndangering.kt index f0f002a..ec334dc 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectEndangering.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectEndangering.kt @@ -19,7 +19,7 @@ class EffectEndangering : Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: EntityDamageByEntityEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.entity.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.entity.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectEyeOfTheDepths.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectEyeOfTheDepths.kt index e414b03..dae9df6 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectEyeOfTheDepths.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectEyeOfTheDepths.kt @@ -18,7 +18,7 @@ class EffectEyeOfTheDepths: Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: PlayerFishEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.player.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.player.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectGoldenYield.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectGoldenYield.kt index 8b03d97..47c1f05 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectGoldenYield.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectGoldenYield.kt @@ -19,7 +19,7 @@ class EffectGoldenYield: Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: BlockDropItemEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.block.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.block.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectInfernalResistance.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectInfernalResistance.kt index 393f03c..82c2c13 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectInfernalResistance.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectInfernalResistance.kt @@ -17,7 +17,7 @@ class EffectInfernalResistance: Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: EntityDamageEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.entity.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.entity.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectMagneticRod.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectMagneticRod.kt index 3d199a2..f955267 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectMagneticRod.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectMagneticRod.kt @@ -16,7 +16,7 @@ class EffectMagneticRod : Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: PlayerFishEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.player.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.player.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectMasterLumberjack.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectMasterLumberjack.kt index 847cac1..6577035 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectMasterLumberjack.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectMasterLumberjack.kt @@ -35,7 +35,7 @@ class EffectMasterLumberjack : Effect( @EventHandler(priority = EventPriority.LOW, ignoreCancelled = true) fun handle(event: BlockDropItemEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.block.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.block.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectMysticResilience.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectMysticResilience.kt index 84af8ea..d22f839 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectMysticResilience.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectMysticResilience.kt @@ -18,7 +18,7 @@ class EffectMysticResilience : Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: EntityPotionEffectEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.entity.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.entity.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectOvercompensation.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectOvercompensation.kt index 073560b..42a3582 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectOvercompensation.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectOvercompensation.kt @@ -19,7 +19,7 @@ class EffectOvercompensation : Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handleLevelling(event: EnchantItemEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.enchanter.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.enchanter.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectPotionmaster.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectPotionmaster.kt index ef58dc2..0a4d21a 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectPotionmaster.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectPotionmaster.kt @@ -27,7 +27,7 @@ class EffectPotionmaster : Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: BrewEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.block.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.block.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectReimbursement.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectReimbursement.kt index 38c8c31..be21d75 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectReimbursement.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectReimbursement.kt @@ -16,7 +16,7 @@ class EffectReimbursement : Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handleLevelling(event: EnchantItemEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.enchanter.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.enchanter.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSatiation.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSatiation.kt index 7298d6e..e4bb08c 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSatiation.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSatiation.kt @@ -17,7 +17,7 @@ class EffectSatiation: Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: FoodLevelChangeEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.entity.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.entity.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSeamlessMovement.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSeamlessMovement.kt index 637597e..510e75d 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSeamlessMovement.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSeamlessMovement.kt @@ -17,7 +17,7 @@ class EffectSeamlessMovement: Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: EntityDamageEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.entity.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.entity.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSecondChance.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSecondChance.kt index 1e49fd6..8c5f46f 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSecondChance.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSecondChance.kt @@ -17,7 +17,7 @@ class EffectSecondChance: Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: PlayerItemDamageEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.player.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.player.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSerratedStrikes.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSerratedStrikes.kt index a390fdd..ad1dfad 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSerratedStrikes.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSerratedStrikes.kt @@ -20,7 +20,7 @@ class EffectSerratedStrikes : Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: EntityDamageByEntityEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.entity.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.entity.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectShamanism.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectShamanism.kt index 283974f..6178e6a 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectShamanism.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectShamanism.kt @@ -17,7 +17,7 @@ class EffectShamanism: Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: EntityRegainHealthEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.entity.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.entity.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSpelunking.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSpelunking.kt index 1f2e202..1e354ae 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSpelunking.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectSpelunking.kt @@ -35,7 +35,7 @@ class EffectSpelunking : Effect( @EventHandler(priority = EventPriority.LOW, ignoreCancelled = true) fun handle(event: BlockDropItemEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.block.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.block.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectStrongImpact.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectStrongImpact.kt index b92c59f..69f4aaf 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectStrongImpact.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectStrongImpact.kt @@ -18,7 +18,7 @@ class EffectStrongImpact : Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: EntityDamageByEntityEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.entity.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.entity.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectVersatileTools.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectVersatileTools.kt index 62ecaa7..8fc2914 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectVersatileTools.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/effects/effects/EffectVersatileTools.kt @@ -17,7 +17,7 @@ class EffectVersatileTools: Effect( @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true) fun handle(event: EntityDamageByEntityEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.entity.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.entity.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillAlchemy.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillAlchemy.kt index aa1dc89..70e526b 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillAlchemy.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillAlchemy.kt @@ -32,7 +32,7 @@ class SkillAlchemy : Skill( @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) fun handleLevelling(event: BrewEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.block.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.block.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillArmory.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillArmory.kt index b744972..1632c5a 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillArmory.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillArmory.kt @@ -14,7 +14,7 @@ class SkillArmory : Skill( ) { @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) fun handleLevelling(event: EntityDamageByEntityEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.entity.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.entity.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillCombat.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillCombat.kt index 84f11f3..6b0b94d 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillCombat.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillCombat.kt @@ -15,7 +15,7 @@ class SkillCombat : Skill( ) { @EventHandler(priority = EventPriority.MONITOR) fun handleLevelling(event: EntityDeathByEntityEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.killer.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.killer.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillEnchanting.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillEnchanting.kt index 1786870..9035574 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillEnchanting.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillEnchanting.kt @@ -13,7 +13,7 @@ class SkillEnchanting : Skill( ) { @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) fun handleLevelling(event: EnchantItemEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.enchanter.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.enchanter.world.name)) { return } val player = event.enchanter diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillExploration.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillExploration.kt index 8c9cec1..77e2435 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillExploration.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillExploration.kt @@ -16,7 +16,7 @@ class SkillExploration : Skill( ) { @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) fun handleLevelling(event: PlayerMoveEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.player.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.player.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillFarming.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillFarming.kt index 67867dc..e790e49 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillFarming.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillFarming.kt @@ -32,7 +32,7 @@ class SkillFarming : Skill( @EventHandler(ignoreCancelled = true, priority = EventPriority.MONITOR) fun handleLevelling(event: BlockBreakEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.block.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.block.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillFishing.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillFishing.kt index ccaa842..991e7cf 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillFishing.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillFishing.kt @@ -13,7 +13,7 @@ class SkillFishing : Skill( ) { @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) fun handleLevelling(event: PlayerFishEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.player.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.player.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillMining.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillMining.kt index f6c7209..8a4104c 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillMining.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillMining.kt @@ -31,7 +31,7 @@ class SkillMining : Skill( @EventHandler(ignoreCancelled = true, priority = EventPriority.MONITOR) fun handleLevelling(event: BlockBreakEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.block.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.block.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillWoodcutting.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillWoodcutting.kt index 8f87f2e..123a8e9 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillWoodcutting.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/skills/skills/SkillWoodcutting.kt @@ -31,7 +31,7 @@ class SkillWoodcutting : Skill( @EventHandler(ignoreCancelled = true, priority = EventPriority.MONITOR) fun handleLevelling(event: BlockBreakEvent) { - if (this.config.getStrings("disabled-worlds").contains(event.block.world.name)) { + if (this.config.getStrings("disabled-in-worlds").contains(event.block.world.name)) { return } diff --git a/eco-core/core-plugin/src/main/resources/effects.yml b/eco-core/core-plugin/src/main/resources/effects.yml index c0b8ad3..798f48f 100644 --- a/eco-core/core-plugin/src/main/resources/effects.yml +++ b/eco-core/core-plugin/src/main/resources/effects.yml @@ -6,14 +6,14 @@ bountiful_harvest: # for quadruple. chance-per-level: 8 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] versatile_tools: description: "&8Deal &a%percent_more%%&8 more damage with pickaxes" # The percent (%) more damage to deal with a pickaxe for each level of the effect. percent-more-per-level: 4 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] eye_of_the_depths: description: "&a%chance%%&8 chance to get rare drops from fishing" @@ -29,7 +29,7 @@ eye_of_the_depths: # ecoweapons:reaper_scythe razor:4 criticals:3 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] rare-loot-items: - enchanted_book confusion:1 - enchanted_book confusion:2 @@ -51,14 +51,14 @@ serrated_strikes: # The amount of bleed ticks to give bleed-ticks: 4 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] seamless_movement: description: "&a%chance%%&8 chance to ignore fall damage" # The chance to ignore fall damage, as a percentage chance-per-level: 2 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] potionmaster: description: "&8Brewed potions last &a%percent_more%%&8 longer" @@ -72,7 +72,7 @@ potionmaster: - "&8ยป &f+&e%seconds%&f Seconds" # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] shamanism: description: "&8Heal &a%percent_faster%%&8 faster" @@ -80,7 +80,7 @@ shamanism: percent-faster-per-level: 4 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] craftsmanship: description: "&8Axes take &a%percent_less%%&8 less durability damage" @@ -88,7 +88,7 @@ craftsmanship: percent-less-per-level: 2 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] second_chance: description: "&8Items have a &a%chance%%&8 chance to instantly repair below &a30&8 durability" @@ -100,7 +100,7 @@ second_chance: chance-per-level: 0.1 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] efficient_brewing: description: "&8Potions take &a%seconds_less%&8 less seconds to brew" @@ -108,7 +108,7 @@ efficient_brewing: ticks-less-per-level: 6 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] mystic_resilience: description: "&a%chance%%&8 chance to ignore negative potion effects" @@ -116,7 +116,7 @@ mystic_resilience: chance-per-level: 0.1 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] satiation: description: "&8Lose &a%percent_less%%&8 less hunger" @@ -124,7 +124,7 @@ satiation: percent-less-hunger-per-level: 2 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] golden_yield: description: "&a%chance%%&8 chance to get &a5x&8 drops" @@ -135,7 +135,7 @@ golden_yield: drop-multiplier: 5 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] dodging: description: "&a%chance%%&8 chance to ignore incoming damage" @@ -143,7 +143,7 @@ dodging: chance-per-level: 0.5 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] accelerated_escape: description: "&8Run &a%percent_faster%%&8 faster for &a1.5&8 seconds after taking damage" @@ -154,7 +154,7 @@ accelerated_escape: ticks: 30 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] infernal_resistance: description: "&a%chance%%&8 chance to ignore fire damage" @@ -162,7 +162,7 @@ infernal_resistance: chance-per-level: 2 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] bravery: description: "&8Take &a%percent_less%%&8 less damage from bosses" @@ -170,7 +170,7 @@ bravery: percent-less-per-level: 1.5 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] dazzle: description: "&a%chance%%&8 chance to give your opponent nausea for &a%seconds%&8 seconds" @@ -181,7 +181,7 @@ dazzle: # The chance to give nausea per level, as a percentage chance-per-level: 1.5 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] strong_impact: description: "&a%chance%%&8 chance to deal &a3x&8 damage" @@ -190,14 +190,14 @@ strong_impact: # The chance to deal 3x damage, per level chance-per-level: 0.2 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] endangering: description: "&a%chance%%&8 chance to remove your opponents invulnerability frame" # The chance as a percentage chance-per-level: 3 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] spelunking: description: "&a%chance%%&8 to get &a%multiplier%x&8 drops from ores" @@ -226,7 +226,7 @@ spelunking: # for quadruple. chance-per-level: 8 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] dynamic_mining: description: "&a%chance%%&8 chance to get Haste III for &a%seconds%&8 seconds when breaking blocks" @@ -239,21 +239,21 @@ dynamic_mining: # The level of haste to give level: 3 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] reimbursement: description: "&a%chance%%&8 chance to get experience back after enchanting" # The chance to get experience back, as a percentage chance-per-level: 0.5 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] overcompensation: description: "&a%chance%%&8 chance to get lapis back after enchanting" # The chance to get experience back, as a percentage chance-per-level: 0.75 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] master_lumberjack: description: "&a%chance%%&8 to get &a%multiplier%x&8 drops from trees" @@ -279,11 +279,11 @@ master_lumberjack: # for quadruple. chance-per-level: 6 # Disabled worlds - disabled-worlds: [] + disabled-in-worlds: [] magnetic_rod: description: "&8Increases fishing speed by &a%percentage%%" # Speed is as a percentage. speed-per-level: 5 # Disabled worlds - disabled-worlds: [] \ No newline at end of file + disabled-in-worlds: [] \ No newline at end of file diff --git a/eco-core/core-plugin/src/main/resources/skills/alchemy.yml b/eco-core/core-plugin/src/main/resources/skills/alchemy.yml index 42ea4d9..3841c10 100644 --- a/eco-core/core-plugin/src/main/resources/skills/alchemy.yml +++ b/eco-core/core-plugin/src/main/resources/skills/alchemy.yml @@ -1,7 +1,7 @@ name: "Alchemy" description: "Brew potions to earn Alchemy XP" max-level: 50 -disabled-worlds: [] +disabled-in-worlds: [] gui: item: 'player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTExYTNjZWM3YWFmOTA0MjEyY2NmOTNiYjY3YTNjYWYzZDY0OTc4M2JhOTBiOGI2MGJiNjNjNzY4N2ViMzlmIn19fQ==' diff --git a/eco-core/core-plugin/src/main/resources/skills/armory.yml b/eco-core/core-plugin/src/main/resources/skills/armory.yml index 1e965bc..0a1dd0b 100644 --- a/eco-core/core-plugin/src/main/resources/skills/armory.yml +++ b/eco-core/core-plugin/src/main/resources/skills/armory.yml @@ -1,7 +1,7 @@ name: "Armory" description: "Take damage to earn Armory XP" max-level: 50 -disabled-worlds: [] +disabled-in-worlds: [] gui: item: 'player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTI2Yjc3MjMyOWNmMzJmODY0M2M0OTI4NjI2YjZhMzI1MjMzZmY2MWFhOWM3NzI1ODczYTRiZDY2ZGIzZDY5MiJ9fX0=' diff --git a/eco-core/core-plugin/src/main/resources/skills/combat.yml b/eco-core/core-plugin/src/main/resources/skills/combat.yml index 037fa79..8456ae5 100644 --- a/eco-core/core-plugin/src/main/resources/skills/combat.yml +++ b/eco-core/core-plugin/src/main/resources/skills/combat.yml @@ -1,7 +1,7 @@ name: "Combat" description: "Kill mobs to earn Combat XP" max-level: 50 -disabled-worlds: [] +disabled-in-worlds: [] gui: item: 'player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGVlYmI4YjAzY2QyN2QzNDM1ZTExNTYxNmI4ZWQzNWRjYjQyN2FmNWIwYjFjYzUyNmQzMjY1YTcyZDQ5M2UifX19' diff --git a/eco-core/core-plugin/src/main/resources/skills/enchanting.yml b/eco-core/core-plugin/src/main/resources/skills/enchanting.yml index 5ab5e4c..90fa3e5 100644 --- a/eco-core/core-plugin/src/main/resources/skills/enchanting.yml +++ b/eco-core/core-plugin/src/main/resources/skills/enchanting.yml @@ -1,7 +1,7 @@ name: "Enchanting" description: "Enchant items to earn Enchanting XP" max-level: 50 -disabled-worlds: [] +disabled-in-worlds: [] gui: item: 'player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjI2NzJjODdlZWY2ODE4ODI4OTE4ZGQzY2EwMzg1NmNjYjQzNjZlN2M5YWMyNjI0YTk0MmYwZGI3ZTk2YSJ9fX0=' diff --git a/eco-core/core-plugin/src/main/resources/skills/exploration.yml b/eco-core/core-plugin/src/main/resources/skills/exploration.yml index 8851f47..cc175da 100644 --- a/eco-core/core-plugin/src/main/resources/skills/exploration.yml +++ b/eco-core/core-plugin/src/main/resources/skills/exploration.yml @@ -1,7 +1,7 @@ name: "Exploration" description: "Move to earn Exploration XP" max-level: 50 -disabled-worlds: [] +disabled-in-worlds: [] gui: item: 'player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODQ0OWI5MzE4ZTMzMTU4ZTY0YTQ2YWIwZGUxMjFjM2Q0MDAwMGUzMzMyYzE1NzQ5MzJiM2M4NDlkOGZhMGRjMiJ9fX0=' diff --git a/eco-core/core-plugin/src/main/resources/skills/farming.yml b/eco-core/core-plugin/src/main/resources/skills/farming.yml index 0861885..721712e 100644 --- a/eco-core/core-plugin/src/main/resources/skills/farming.yml +++ b/eco-core/core-plugin/src/main/resources/skills/farming.yml @@ -1,7 +1,7 @@ name: "Farming" description: "Harvest crops to earn Farming XP" max-level: 50 -disabled-worlds: [] +disabled-in-worlds: [] gui: item: 'player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjdjMzNjZDBjMTRiYTgzMGRhMTQ5OTA3ZjdhNmFhZTgzNWI2YTM1YWVhMDFlMGNlMDczZmIzYzU5Y2M0NjMyNiJ9fX0=' diff --git a/eco-core/core-plugin/src/main/resources/skills/fishing.yml b/eco-core/core-plugin/src/main/resources/skills/fishing.yml index 6d90936..ad3a980 100644 --- a/eco-core/core-plugin/src/main/resources/skills/fishing.yml +++ b/eco-core/core-plugin/src/main/resources/skills/fishing.yml @@ -1,7 +1,7 @@ name: "Fishing" description: "Fish to earn Fishing XP" max-level: 50 -disabled-worlds: [] +disabled-in-worlds: [] gui: item: 'player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGRhNzcwYjY4NzRmYWJkMjhhNzM0NTI2YzU3MzlmMGNkNmI2YTk1NDhjYjlkZGI1NmZiMmRjMjVmODQ5NWMxIn19fQ==' diff --git a/eco-core/core-plugin/src/main/resources/skills/mining.yml b/eco-core/core-plugin/src/main/resources/skills/mining.yml index b9dbbf9..c43e78d 100644 --- a/eco-core/core-plugin/src/main/resources/skills/mining.yml +++ b/eco-core/core-plugin/src/main/resources/skills/mining.yml @@ -1,7 +1,7 @@ name: "Mining" description: "Break blocks to earn Mining XP" max-level: 50 -disabled-worlds: [] +disabled-in-worlds: [] gui: item: 'player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmIxYzI2OGVmZWM4ZDdkODhhMWNiODhjMmJmYTA5N2ZhNTcwMzc5NDIyOTlmN2QyMDIxNTlmYzkzY2QzMDM2ZCJ9fX0=' diff --git a/eco-core/core-plugin/src/main/resources/skills/woodcutting.yml b/eco-core/core-plugin/src/main/resources/skills/woodcutting.yml index 0911072..36b9a43 100644 --- a/eco-core/core-plugin/src/main/resources/skills/woodcutting.yml +++ b/eco-core/core-plugin/src/main/resources/skills/woodcutting.yml @@ -1,7 +1,7 @@ name: "Woodcutting" description: "Cut down trees to earn Woodcutting XP" max-level: 50 -disabled-worlds: [] +disabled-in-worlds: [] gui: item: 'player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjBjZDEzMjIzYThkOWMxNzNjZWRjZTZjNGJlYmViYTA2YTI0YTFiYTI3NWRkM2ViNWM3OTMzZjlhNzRiYTAxMSJ9fX0='