OldCombatMechanics

OldCombatMechanics

46.1k Downloads

Plug-in affects disabled worlds

GabrielChev opened this issue ยท 3 comments

commented

Hello,

Is there a way to completely disable the plug-in in a world ?

I put the world "world" in world blacklist and after in all blacklists for turn-off the plug-in just in this world.
But i noted that :

The shield continues to not deflects the arrow like normally in vanilla 1.18
The calculation of damage is not the same as in vanilla (Full Protection 4 netherite is much too resistant, don't know if it's because of the damage given calculation or protection enchant claculation or maybe netherite)

My server is Paper-Spigot version 1.18.2

Here is my config.yml (in txt format for transfer) :

config.txt

No log error

Thanks in advance for your help

commented

Would you have some examples of what the damage being actually done vs what you expect it to be? Perhaps you could collect logs by turning on debug mode in the config

commented

It would take a long time to set up BUT If You have any doubts about the damage, Note that my configuration affects a blacklisted-world also in another way :

  • shield-damage-reduction is active in the blacklisted world
  • shield do not block arrow in a blacklisted world

Please, their is a way to COMPLETLY disable the plug-in in a specific world ? (check my config.txt)
Thanks in advance

commented

apologies for the previous (since deleted) reply, I had several tabs open and replied to the wrong issue oops

the issue is that you have worlds: [world] at the root level of the config, not under the shield-damage-reduction section. if you wish to blacklist it only in world, you would need to do the following:

shield-damage-reduction:
  # This module allows changing the damage reduction behaviour of shields
  enabled: true
  worlds: [world]

as of right now there is no way to whitelist/blacklist ALL modules simultaneously, so you'll need to specify this worlds section under each module section. i will look into adding a global toggle in the future & also updating the default config file as it is missing the worlds section for that module!