Tags: ToberoCat/ImprovedFactions
Tags
Tighten ban/unban behavior and improve ban UX (#351) * Added spanish support (#316) * Update FactionClusters.kt * Added spanish language support next steps make completly i18n system... * Fix: Prevent cross-faction ban/kick vulnerability - Add validation in BanCommand to check target is in executor's faction - Add validation in KickCommand to check target is in executor's faction - Add defensive validation in Faction.ban() method - Create PlayerNotInFactionException using LocalizedException Fixes issue where players could ban/kick members of other factions, causing them to be removed from their own faction. * Add Arsh-S to CONTRIBUTORS.md * Restrict bans to members and fix unban parsing - Require target to be in the same faction for bans - Prevent cross-faction unbans - Add FactionBan argument parser for /f unban - Handle placeholder exceptions and add missing ban localization * Feature: Notify players when they are banned - Send a direct ban message to the target player - Add base.faction.you-were-banned localization entries * Fix: Remove duplicate FactionBanArgumentParser imports and registrations --------- Co-authored-by: Aleksander Haugas <aleksander.haugas@outlook.com>
PR for 2.3.1: bugfixes and more (#323) * Change source for SpigotUpdateChecker and rebuild * Fix command prefix for /factions help * Remove broken characters and make the folder IntelliJ IDEA Resource Bundle compatible, increment version number
PreviousNext