Clans REBORN

Clans REBORN 3.0.35

  • IMPORTANT: This patch does change the default used/named clans-datafile to data/Clans.json.
    Any prior existing older file will be automatic taken once and saved as the new.
    This way you loose no data! You need no action.
  • Any further load and save gets then served from the new file.
  • Fixed radar not being removed from players when clan was disbanded
  • This update does complete re-integrate the former inbuilt ClanRadar functions
    This is the initial version; Deeply tested versus common NRE's and also versus the here possible security-leaks.
  • IMPORTANT: The radar needs to force the player-accounts to have the "BasePlayer.PlayerFlags.IsAdmin" being set and synced -> to draw the radar on the client -> revoked & synced on each refresh interval
  • To current code does already contain a 3-staged-fallback-solution to revert any temporary granted adminflags guarenteed back into dust again, and this under several possible faultoptions.

    1) Any forced admin-flag gets instant (miliseconds) revoked after the drawings.
    2) This is also checked|done again when the radar-class was disabled by command, player died, or plugin gets unloaded<>reloaded
    3) In case of all failed up to here to remove the flag, the plugin saved before the needed information direct on the player connection, and gets then lastly checked<>revoked on the next plugin load and|or player login|initialization :p

  • The config-options are still the same like they were before.
    For this intial "testing-phase" i packed them all under one category for the first time
  • A documentation for this comes after reaching a full stable radar section and some cosmetics being applied to the radar-drawer and the config-switches.
  • Like
Reactions: DoC
  • Added missing "clans.canjoin" permission registration
  • Like
Reactions: EvilynCorporated
  • Added optional permission|switch to join a clan:
    JavaScript:
        "permissionToJoinClan": "clans.canjoin",
        "usePermToJoinClan": false
  • Like
Reactions: EvilynCorporated
  • Patched for compatibility with reduced Log-file capabilities (Chat.txt removed from game)
  • Added config option"forceClanFFNoDeactivate" (default: FALSE) as completition to the equivalent switch for Allys. TRUE would prevent any deactivation by individual players.
  • Like
Reactions: Pur3x
  • Removed left debug-code spamming the console with member-names
  • Optimized the clan overview text-splitter functions to guarantee all relevant data being displayed
  • Made clan internal member select by chatcommands failsafe.
    This way a player should always be able to find by partial name