Fandom

McMMO Wiki

Plugin Compatibility

56pages on
this wiki
Add New Page
Talk0 Share

Calling mcMMO functions

mcMMO has a few functions plugin authors can call to make their plugin more compatible with mcMMO. You will of course need mcMMO as a library to call it.

inSameParty(Player playera, Player playerb)

This is a boolean that will return true if both players are in an mcMMO party, use this to cancel damage events if your plugin handles damage between players.

isPartyChatToggled(Player player)

This is a boolean that will return true if the player is currently toggled for party chat, typically you will want to check for this if your plugin modifies chat, if it comes up true do not proceed with your own chat modifications for maximum compatibility.

isAdminChatToggled(Player player)

This is a boolean that will return true if the player is currently toggled for admin chat, typically you will want to check for this if your plugin modifies chat, if it comes up true do not proceed with your own chat modifications for maximum compatibility.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.