kernitus / BukkitOldCombatMechanics

Spigot plugin to configure combat mechanics from 1.9 onwards
https://www.spigotmc.org/resources/19510/
Mozilla Public License 2.0
168 stars 72 forks source link

Disabled plug-in for specific item or players or zone #610

Closed GabrielChev closed 2 years ago

GabrielChev commented 2 years ago

Hello,

Is their a way to disabled the plug-in just for specific item or zone ? I use the plug-in but i want continue to use the new version at the same time in the same server. For exemple can i rename a sword and re-apply the 1.18 stats for this specific item renamed ? Other way : Is it possible in a specific zone to disable all the plug-in on the same server and same world?

Thanks a lot in advance

kernitus commented 2 years ago

The plugin works on a worlds or player level, not on an item level. You can specify which worlds the whole plugin or the various modules are enabled in by changing the worlds list in the config. You can also use the toggle and enable/disable commands to change the attack version for players programmatically. More information about the commands can be found here.

GabrielChev commented 2 years ago

The plugin does't works correctly on a world level. I blacklisted a world but the calcul of armor resistance (or domage taken i don't know) continue to be modify on it. Can you help me on that, i have disabled ALL in config file for this world and add it in blacklist

detobel36 commented 2 years ago

So, you request a new feature, because an existing feature has a bug ?
May be we can try to fix the bug before to add new feature 😉

I think we can begin to try to debug if you give us your configuration file, the version of the plugin and the version of the server. Please check also you don't have error in logs.

GabrielChev commented 2 years ago

Hello, Thanks a lot for your answer. I found the bug after i made my request, it's not a question anymore. I put the world "world" in all blacklist for turn-off the plug-in just in this world. But i noted that :

The 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

kernitus commented 2 years ago

Following the bug at #615