Skip to content

Update v0.1.3

Latest

Choose a tag to compare

@malusic23354 malusic23354 released this 16 Nov 09:00

Changelog

0.1.3

Added

  • %daclans_prefix% placeholder that shows the clan name in brackets (e.g. [ClanName] ) for players in a clan and nothing for players without one.
  • chat.prefix option in config.yml (default "[<clan>] ") to change the prefix format. Set it to "" to turn it off.

Changed

  • CarbonChat integration updated to the CarbonChat 3.x API (de.hexaoxi:carbonchat-api:3.0.0-beta.26). Clan and ally channels now check membership through the new speech/hearing permission methods and use the daclans.chat permission node.
  • Chat formats that wrap a clan placeholder now begins and ends with a closed bracket [].

Features

  • Added /clan info [clan], /clan list [page] and /clan members [clan] so players can browse clans and member rosters
  • Added clan descriptions with /clan description [text], persisted per clan
  • Added /cc <message> clan chat and /ac <message> ally chat with configurable MiniMessage formats
  • Added optional CarbonChat integration that registers daclans:clan and daclans:ally channels when CarbonChat is installed
  • Added /clan logs [clan] with the 20 most recent bank entries, purged after 30 days
  • Added configurable last-online tracking, shown in /clan members and the settings menu
  • Added configurable leader inactivity handling that can transfer leadership or disband the clan
  • Added per-type clan leaderboards through /clan top [page] [type] and %daclans_top_<n>_TYPE%
  • Added a public API and cancellable Bukkit events for clan actions, bank changes, diplomacy and chat
  • Invites now expire according to clan.invite-expiry-seconds; set it to 0 to disable expiry

Fixes

  • Bank balances are stored as integer cents, removing floating-point drift
  • ClanManager.remove() now clears pending invites and ally requests, and removes the clan from other clans' ally and enemy lists
  • Expired invites, ally requests and old bank logs are cleaned up periodically
  • SqlStorage.save() snapshots clan data before scheduling asynchronous work
  • Database migrations are tracked with a schema_version table instead of swallowing errors
  • Bounty blocking now resolves uncached player names instead of relying only on the offline-player cache
  • /clan kick now works for offline members

Configuration

  • Added clan.bank-logs, clan.last-seen, clan.inactivity, clan.cleanup-seconds, clan.list-page-size, clan.description-max-length, chat and anti-teaming.per-clan-cooldown-seconds
  • Added description to default-permissions
  • Added hooks.carbonchat
  • Added daclans.command.info, list, members, description, logs, logs.others, cc and ac permissions

Build and release

  • Added a GitHub Actions build workflow
  • Added ./gradlew bumpVersion to bump the plugin version and README badge