Cousin Tribe Ladder

Paid Cousin Tribe Ladder 1.11

This resource is paid, and requires to be purchased
- Discord periodic leaderboard No longer shows duplicate tribe entries. (Tribes need to have the same name accross all maps)

- New tribe_scores table Added to the database (auto-created on startup). This is the new canonical store for tribe rankings.


The new tribe_scores table starts empty on first launch. Previous scores from the old system are not automatically carried over. If you want to preserve existing scores, run this SQL once before restarting the plugin:

SQL:
INSERT INTO tribe_scores (tribe_name, tribe_score, last_updated)
SELECT tribe_name, MAX(tribe_score), UNIX_TIMESTAMP()
FROM players
WHERE tribe_name != '' AND tribe_name != 'NoTribe' AND tribe_id > 0
GROUP BY tribe_name
ON DUPLICATE KEY UPDATE
  tribe_score = VALUES(tribe_score),
  last_updated = VALUES(last_updated);
Latest Version 1.11 -> Small fix for error handling when the plugin's license verification system make HTTPS call to the API end point.

Was happenning if the network call fails (due to DNS issues, network timeout, SSL handshake error, or connectivity problems), the exception was not caught, causing the entire server to crash.
You can now add webhooks to get nice leaderboards and kill feeds in your discord !

Attachments

  • killFeed.png
    killFeed.png
    14.2 KB · Views: 270
  • leaderboard.png
    leaderboard.png
    22.4 KB · Views: 273
Back
Top