SirBlobman / CombatLogX

A modular Spigot plugin that prevents players from logging out during combat and has many expansions for extra features.
https://www.spigotmc.org/resources/31689/
GNU General Public License v3.0
149 stars 50 forks source link

Whitelist/Blacklist option CheatPrevention.yml #807

Open TylorTurner opened 6 months ago

TylorTurner commented 6 months ago

Server Implementation

Paper

Server Version

1.19.4

CombatLogX Version

11.4.0.1.1193

Feature Request

Whitelist/Blacklist option CheatPrevention.yml I personally would like to whitelist putting out fire while in Pvp.

CarissaCoding commented 6 months ago

Hi there!

Thanks for reaching out with your feature request. Adding a whitelist/blacklist option to CheatPrevention.yml for actions like putting out fire during PvP sounds like a valuable addition to enhance gameplay.

To implement this feature, we'll need to make some adjustments to the CheatPrevention.yml file. Specifically, we'll add a section for whitelisting/blacklisting actions related to putting out fire during PvP encounters.

# Whitelist/Blacklist Options

whitelist:
  pvp_actions:
    - extinguish_fire

blacklist:
  # Add any specific actions you want to blacklist here

In this example, the whitelist section includes the extinguish_fire action within the pvp_actions category, allowing players to put out fire during PvP encounters. If there are any other actions you'd like to whitelist or blacklist, feel free to let me know, and we can adjust the configuration accordingly.

Once we finalize the changes, we'll ensure they're compatible with Paper 1.19.4 and CombatLogX 11.4.0.1.1193.

Looking forward to your feedback on this approach!

Best regards, Carissa

TylorTurner commented 6 months ago

Thank you so much!