Faction Flags, Command System Revamp, More Config Options, More Commands & Many Fixes
Changes in Medieval Factions v4.1
fixed anvils not being lockable
fixed %s showing up in force join command "player has joined faction" message
changed the default vassal power contribution to 75%
fixed vassals/lieges disbanded due to inactivity remaining in their liege/vassal's list of vassals/liege field
created a /mf force removevassal command
fixed value for PermissionNeeded key having an extra ' in en-us.tsv translation file
Callum added cancellable events to the plugin, which should be helpful for developers
Callum overhauled the Command System, completely rewriting both the Command Interpreter class and all command classes, making the code more DRY and introducing a new abstract class
Fixed the key missing for the output of the /mf config command with no arguments
Fixed players being able to steal items from item frames inside claims that they should not have had access to
Fixed players being able to rotate items in item frames inside claims that they should not have had access to
Fixed players being able to fill and empty buckets inside claims that they should not have had access to
Fixed players not being able to break hanging entities when they were in bypass mode
Fixed factionless players being able to steal hanging entities from claimed land
Fixed players being able to grant lock access to themselves and made sure they got alerted that they could not when they attempted to
Fixed players being able to revoke lock access from themselves and made sure they got alerted that they could not when they attempted to
Players are now alerted that they are unable to promote themselves when they attempt to
Players are now alerted that they are unable to demote themselves when they attempt to
Rewrote the Interaction Handler class, making the code more DRY and introducing some new manager classes
implemented the Faction Flags feature, allowing faction owners to customize the functionality of their factions
added the "mustBeOfficerToManageLand" flag
added the "mustBeOfficerToInviteOthers" flag
added the "alliesCanInteractWithLand" flag
added the "vassalageTreeCanInteractWithLand" flag
added the “territoryAlertPopUp” config option, allowing admins to enable/disable the territory alert pop up
added the “territoryAlertColor” config option, allowing admins to set the color of the territory alert pop up
added the “randomFactionAssignment” config option, which when set to true assigns players to a random faction when they join the server for the first time
added a bonus power field to every faction configurable by admin control
created the force rename sub-command
created the force unlock sub-command
created the force create sub-command, allowing admins to create factions with no owners
fixed ‘%s’ showing up in the “Player not found” alert that gets displayed when you type /mf power (playerName) and the player isn’t found
prevented liquids from flowing into claimed land from unclaimed land or claimed land held by another faction
improved the code for the Faction.java class by removing some unused fields
ensured that Faction Events work with all aspects of the plugin
Caibinus fixed the dueling system glitching out if the losing player dies from fire damage.
Removed minutes from "last logged out" alert since it displays a negative number.
added the "allowNeutrality" config option
added the "neutral" faction flag, allowing players to designate their factions as neutral
prevented allied factions from calling neutral factions into war
prevented neutral factions from declaring war on others
prevented factions from declaring war on neutral factions
prevented war if one of the factions involved in a declaration of independence is neutral
Expanded the FactionFlags class to include non-boolean values
added the “dynmapTerritoryColor” faction flag, allowing players to set the color of their territories displayed on the Dynmap thanks to some reworking by Caibinus
added the “territoryAlertColor” faction flag
fixed “null” appearing in alerts that get sent when a player accepts another player’s challenge to duel
fixed factions being unable to request an alliance with the same faction after forging and breaking an alliance without a restart
fixed the name of the player being kicked being displayed as the kicker when a player forcefully kicks another player from their faction
fixed there being an extra space under “Members of (faction name)” in the output of the members command