View Single Post
Author Message
KoNLiG
AlliedModders Donor
Join Date: Sep 2020
Location: Israel
Old 01-25-2021 , 16:34   [CS:GO/Any] Top System [MySQL] (v1.0 | 25 January 2020)
Reply With Quote #1

Top System


Description:
This plugin offers a modular Top System, that allows players to see who is the best player in each top category.

Features:

Quote:
• Automatically updates each category players stats in real-time.
• Organizable with categories.
• Special feature which allows to automatically reset and save the top winners in each category every certain time, changeable with a ConVar.
• Ability for Root administrators to reset and save a specific top category.
• No limit to adding categories.
• Option to create your own categories.
Commands:
Quote:
sm_tops - Access the top categories list menu.
sm_top - Access the tops categories list menu. (An Alias)
Comes with 6 categories (You can edit & create one by yourself):
Quote:
1. Top Awp Kills
2. Top Deaths
3. Top Kills
4. Top Knife Kills
5. Top MVP's
6. Top Playtime [Minutes]
Installation:

Quote:
1. Place 'TopSystem.smx' in '/csgo/addons/sourcemod/plugins/'.
2. Place your desired categories in '/csgo/addons/sourcemod/plugins/'.
3. Add database config 'TopSystem' to '/csgo/addons/sourcemod/configs/databases.cfg'.
Quote:
"TopSystem"
{
"driver" "mysql"
"host" ""
"database" ""
"user" ""
"pass" ""
//"timeout" "0"
//"port" "0"
}
ConVars:
Code:
// Starting points to set for every category once its created.
// -
// Default: "0"
top_categories_start_points "0"

// Amount of days until every top category resets, 0 to disable the reset.
// -
// Default: "7"
// Minimum: "0.000000"
// Maximum: "90.000000"
top_days_until_reset "7"

// If true, every progress change will be print with a chat message, 0 To disable the print.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
top_print_progress_messages "1"

// Amount of clients that will be shown on the quests menu.
// -
// Default: "50"
// Minimum: "5.000000"
// Maximum: "100.000000"
top_show_clients_amount "50"
Change Log:
Quote:
25 January, 2020 [1.0]
• Released the mod.
To compile you have to use 1.11+ SourceMod compiler.

GitHub Repository
Latest Release
__________________
For questions/plugin requests contact me:

• Discord: KoNLiG#6417
• Steam: KoNLiG

Last edited by KoNLiG; 12-01-2021 at 14:39.
KoNLiG is offline