kernitus / BukkitOldCombatMechanics

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

Placeholder for combat mode #687

Closed NigthDay closed 8 months ago

NigthDay commented 1 year ago

Hello! I would like there to be a placeholder that indicates when the player has oldcombat activated or deactivated, it is an option that I currently need and it would help me a lot in what I am trying to do, and clearly also for someone else who finds it a function.

kernitus commented 9 months ago

Can you elaborate on what "placeholder" means and what it would look like?

NigthDay commented 9 months ago

Can you elaborate on what "placeholder" means and what it would look like?

something like %ocm_player_is_toggle% == true or false (yes or no)

kernitus commented 9 months ago

Are you talking about PlaceholderAPI?

kernitus commented 9 months ago

@NigthDay Apparently we already had PlaceholderAPI support. I have updated it for the upcoming modeset functionality. If you would like to try the newest test build with the %ocm_modeset% placeholder.

NigthDay commented 9 months ago

not working

El sáb, 6 ene 2024 a la(s) 1:39 p.m., kernitus @.***) escribió:

@NigthDay https://github.com/NigthDay Apparently we already had PlaceholderAPI support. I have updated it for the upcoming modeset functionality. If you would like to try the newest test build https://ci.rayzr.dev/job/OldCombatMechanics with the %ocm_modeset% placeholder.

— Reply to this email directly, view it on GitHub https://github.com/kernitus/BukkitOldCombatMechanics/issues/687#issuecomment-1879764388, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYBEMOWMEAORCGJMPTAPR5DYNGD5PAVCNFSM6AAAAAA5F7Y7PCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZG43DIMZYHA . You are receiving this because you were mentioned.Message ID: @.***>

kernitus commented 9 months ago

not working El sáb, 6 ene 2024 a la(s) 1:39 p.m., kernitus @.) escribió: @NigthDay https://github.com/NigthDay Apparently we already had PlaceholderAPI support. I have updated it for the upcoming modeset functionality. If you would like to try the newest test build https://ci.rayzr.dev/job/OldCombatMechanics with the %ocm_modeset% placeholder. — Reply to this email directly, view it on GitHub <#687 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYBEMOWMEAORCGJMPTAPR5DYNGD5PAVCNFSM6AAAAAA5F7Y7PCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZG43DIMZYHA . You are receiving this because you were mentioned.Message ID: @.>

Works for me

image