[NT] NEOTOKYO° Stats & Ranking (1.2.0)
Stats & Ranking for NEOTOKYO°.
Point gain is as balanced as I could make it. Most other ranking plugins are too time played based, having to play a lot to get points, leaving new players with no hope of getting anywhere near the top 10. Or deadlock once players reach a certain point range.
(Eventually players cant gain enough points to overcome point loss on death. Deadlocking their stats until enough players catch up to their rank.)
This ranking system aims to be rewarding to skilled players with little reward to players who've played the most. I've used this system before in private plugins, in which new players have been able to get into the top 10 with players who have been playing for weeks, as long as they were skilled enough. Players in the top 10 could still easily gain points and not deadlock, but still allowing players to overtake.
Config - This can be changed in
cfg/sourcemod/plugin.fg_stats_nt.cfg.
- sm_ntstats_enabled - Enables or Disables NEOTOKYO° Stats & Ranking (Default 1).
- sm_ntstats_onoff - Allows players to rankoff and rankon. (Default 1).
- sm_ntstats_20xp - Players earn 3 points for reaching Lieutenant. (Default 1).
- sm_ntstats_ff_penalty - Amount of points to take away from Team Killers. 0 to disable. (Default 5, Min 0, Max 20).
- sm_ntstats_hidechat - session, top, stats, rankon and rankoff are hidden from chat. (Default 1). NEW!
- sm_ntstats_end_ff_penalty - Enables or Disables FF Kill penalties at the end of a round. (Default 0). NEW!
- sm_ntstats_end_scoring - Enables or Disables kill scoring at the end of a round. (Default 1). NEW!
Admin Commands
- sm_ntstats_reset - Resets NEOTOKYO° Stats & Ranking stats. (config flag).
- sm_ntstats_inactive - Deletes players who haven't played for # of days. (config flag).
- sm_rankon / sm_rankoff - Rankon and offs a players rank, also disables them from rankon while an admin has them rankoff. (ban flag). NEW!
Public Commands
- sm_stats <#userid|name> - Lets you see another players stats. NEW!
Public Chat Commands
- rank - Displays your rank in chat publicly.
- session - Displays your session info.
- statsme - Displays your stats.
- top - Displays top10 players
- rankon / rankoff - Freezes or Unfreezes your point gain/lose. (This does not save your rank, other players will still go past you. EG: If your rank #1 and rankoff, other players can still become rank #1. Point gain/loss is only enabled/disabled when your dead. These commands are for players who wish to play for fun, not for rank.)
All chat commands also work with ! or / .
Database
Works with MySQL or sqlite.
Plugin will use
fg_stats_nt or
storage-local if the formers not set. fg_stats table.
Compatiblity
XP stats are compatible with my other Neotokyo plugins, And should be with any other plugin that modifies players XP on round restart and player death or spawn.
Credits
- FrostbyteX & MikeJS - I learned a lot from their plugin sources and ideas.
- quadeye.com.au | mpower0000 - Feedback and testing.
Change log
- 1.1.0 - 25/7/09
- -top10 displays tied players & time played.
- -Fixed rankoff toggle bug that was displaying a message on connect.
- -Additional convars & options
- -Team Kill penalty convars.
- -Players earn 3 points for reaching Lieutenant.
- 1.1.1 - 25/7/09
- Fixed an array bug causing top10 to not display.
- Removed time played from top10 to fix a length bug.
- 1.2.0 - 29/7/09
- Reduced occurrence of top10 length bug.
- Rebalanced point gain/loss.
- Stats no longer count bot kills.
- Additional Commands
- Public command:
- sm_stats <#userid|name>, lets players view other players stats.
- Admin commands:
- sm_rankon <#userid|name> && sm_rankoff <#userid|name>. Ranks on or (off targets point gain/loss and disables them from rankon).
- Fixed a rankoff cancel bug.
- Fixed killtimer errors.
- Bonus points for knife kill.
- Bonus points for round end. (Extra if alive at round end.) No bonus points for ghost captures yet.
- Additional convars & options
- stats, top, session, rankon and rankoff are hidden from chat.
- FF Penalty after a round end.
- Scoring after a round end.
- session now displays total score.
- session now displays total XP.
- rank text is also sent to console.