kernitus / BukkitOldCombatMechanics

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

API support #700

Open kernitus opened 5 months ago

kernitus commented 5 months ago

Allow others plugins to change players' modesets and query what mode they are in

A248 commented 5 months ago

Related to this, would it be possible to change a player's modesets using the API without changing all other players' modesets?

kernitus commented 5 months ago

Related to this, would it be possible to change a player's modesets using the API without changing all other players' modesets?

Yes, that would make sense - as long as the modeset is allowed for the world the player is in.

If you have other ideas for the API please post them here.

Volcan4436 commented 2 months ago

it would also be great if the API let you Interact with the mechanic changes so anticheats can determine in its OCM doing it

kernitus commented 2 months ago

it would also be great if the API let you Interact with the mechanic changes so anticheats can determine in its OCM doing it

As in have custom events that the anticheat can listen to or something along those lines?