Closed crashzk closed 3 months ago
I checked on this issue, but it seems like it's a rank config problem. So I recommend you to check this issue again with the official rank config.
Strange, as I have a valid .json
file for the ranks.jsonc
file:
{
"Silver I": {
"Name": "Silver I",
"Point": -1
},
"Silver II": {
"Name": "Silver II",
"Point": 250
},
"Silver III": {
"Name": "Silver III",
"Point": 540
},
"Silver IV": {
"Name": "Silver IV",
"Point": 820
},
"Silver Elite": {
"Name": "Silver Elite",
"Point": 1300
},
"Silver Elite Master": {
"Name": "Silver Elite Master",
"Point": 1800
},
"Gold Nova I": {
"Name": "Gold Nova I",
"Point": 2300
},
"Gold Nova II": {
"Name": "Gold Nova II",
"Point": 2900
},
"Gold Nova III": {
"Name": "Gold Nova III",
"Point": 3500
},
"Gold Nova Master": {
"Name": "Gold Nova Master",
"Point": 4100
},
"Master Guardian I": {
"Name": "Master Guardian I",
"Point": 4900
},
"Master Guardian II": {
"Name": "Master Guardian II",
"Point": 5500
},
"Master Guardian Elite": {
"Name": "Master Guardian Elite",
"Point": 5900
},
"Distinguished Master Guardian": {
"Name": "Distinguished Master Guardian",
"Point": 6500
},
"Legendary Eagle": {
"Name": "Legendary Eagle",
"Point": 7200
},
"Legendary Eagle Master": {
"Name": "Legendary Eagle Master",
"Point": 7900
},
"Supreme Master First Class": {
"Name": "Supreme Master First Class",
"Point": 8800
},
"Global Elite": {
"Name": "Global Elite",
"Point": 10000
}
}
K4-System.json
file configured like this:
// This configuration was automatically generated by CounterStrikeSharp for plugin 'K4-System', at 2024/05/18 09:20:18
{
"general-settings": {
"load-messages": true,
"spawn-message": true,
"module_ranks": true,
"module_stats": true,
"module_times": true,
"module_utils": true,
"lvl-ranks-table": false,
"ffa-mode": false,
"expensive-command-cooldown": 3,
"table-purge-days": 30,
"admin-settings": [
{
"permission": "@myplugin/owner-permission",
"listcolor": "red",
"clantag": "[Owner]"
},
{
"permission": "#myplugin/admin-group",
"listcolor": "lightblue",
"clantag": "[Admin]"
}
]
},
"command-settings": {
"rank-commands": [
"rank",
"myrank"
],
"top-commands": [
"top",
"ranktop",
"toplist"
],
"resetmyrank-commands": [
"resetmydata"
],
"ranks-commands": [
"ranks",
"ranklist"
],
"stat-commands": [
"stats",
"mystats",
"stat",
"mystat",
"statistic",
"statistics"
],
"time-commands": [
"time",
"mytime",
"playtime"
],
"admin-list-commands": [
"admins",
"listadmins"
]
},
"database-settings": {
"host": "hostip",
"username": "username",
"database": "database",
"password": "password",
"port": 3306,
"sslmode": "none",
"table-prefix": "",
"lvlranks-table-name": "lvl_base"
},
"statistic-settings": {
"stats-for-bots": false,
"warmup-stats": false,
"minimum-players": 4
},
"util-settings": {
"admin-list-enable": false,
"connect-message-enable": false,
"disconnect-message-enable": false
},
"rank-settings": {
"rank-based-team-balance": false,
"rank-based-team-balance-max-difference": 200,
"display-toplist-placement": true,
"display-toplist-placement-max": 10,
"display-toplist-placement-tag": "Top{placement} |",
"killstreak-reset-on-round-end": false,
"start-points": 0,
"country-tag-before-rank": false,
"playername-in-kill-messages": false,
"points-for-bots": false,
"warmup-points": false,
"round-end-points": true,
"minimum-players": 4,
"scoreboard-clantags": false,
"scoreboard-score-sync": false,
"vip-multiplier": 0,
"dynamic-death-points": true,
"dynamic-death-points-max-multiplier": 3,
"dynamic-death-points-min-multiplier": 0.5
},
"point-settings": {
"death": -1,
"kill": 1,
"headshot": 1,
"penetrated": 1,
"noscope": 1,
"thrusmoke": 1,
"blind-kill": 1,
"team-kill": -10,
"suicide": -10,
"assist": 1,
"assist-flash": 1,
"round-win": 1,
"round-lose": -1,
"mvp": 1,
"bomb-drop": 0,
"bomb-pickup": 0,
"bomb-defuse": 1,
"bomb-defuse-others": 1,
"bomb-plant": 1,
"bomb-explode": 1,
"hostage-hurt": -2,
"hostage-kill": 2,
"hostage-rescue": 1,
"hostage-rescueall": 1,
"long-distance-kill": 1,
"long-distance": 30,
"seconds-between-kills": 0,
"double-kill": 1,
"triple-kill": 2,
"domination": 3,
"rampage": 4,
"mega-kill": 5,
"ownage": 6,
"ultra-kill": 7,
"killing-spree": 8,
"monster-kill": 9,
"unstoppable": 10,
"godlike": 11,
"grenade-kill": 1,
"inferno-kill": 1,
"impact-kill": 1,
"taser-kill": 1,
"knife-kill": 1,
"playtime-points": 0,
"playtime-minutes": 0
},
"ConfigVersion": 12
}
In any case, I sent the new version and test it now, if anything I'll get back to you.
I am receiving the following log and error: