feat: Add FactionsBridge integration.#286
Open
CallumJohnson wants to merge 2 commits intomasterfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FactionsBridge <> libreforge Integration
Triggers
faction_createPLAYER,TEXT(faction tag)faction_joinPLAYER,TEXT(faction tag)faction_leavePLAYER,TEXT(faction tag)faction_claimPLAYER,LOCATION(chunk centre)faction_unclaimPLAYER,LOCATION(chunk centre)faction_renamePLAYER,TEXT(new name),VALUE1.0 if leaderfaction_disbandPLAYER,TEXT(faction tag),VALUE1.0 if executorfaction_unclaim_allPLAYER,TEXT(faction tag),VALUE1.0 if executorEffects
faction_add_powerpowerfaction_set_powerpowerplayer_add_powerpowerplayer_set_powerpowerfaction_add_bankamountfaction_set_bankamountfaction_add_tntamountfaction_remove_tntamountfaction_add_pointspointsfaction_set_pointspointsfaction_set_titletitlefaction_add_strikereason(optional)faction_remove_strikereason(optional)Conditions
has_factionfaction_power_abovepowerfaction_power_belowpoweris_faction_rolerolefaction_role_at_leastroleRECRUIT < NORMAL < OFFICER < CO_LEADER < LEADER)in_faction_territoryfaction_relation_isfaction,relationFilters
leave_reasonLEAVE,KICK,UNKNOWNfaction_leavedisband_reasonCOMMAND,PLUGIN,INACTIVITY,LEAVE,UNKNOWNfaction_disbandfaction_roleLEADER,CO_LEADER,OFFICER,NORMAL,RECRUITPLAYERfaction_role_at_leastLEADER,CO_LEADER,OFFICER,NORMAL,RECRUITPLAYERowner_onlytrue/falsefaction_rename: restrict to leader onlyexecutor_onlytrue/falsefaction_disband,faction_unclaim_all: restrict to executor onlyfaction_relationENEMY,TRUCE,ALLY,MEMBER,NONEPLAYER+VICTIMMutators
faction_leader_as_playerPLAYERwith the faction leader of the dispatcher's factionvictim_faction_leader_as_playerPLAYERwith the faction leader of the victim's faction