Each player is assigned a rank based on their accumulated experience points. Ranks range from "None" to the prestigious "The Global Elite."
Players earn experience points for various in-game achievements, such as kills, assists, and MVP awards. Experience contributes to both their rank and overall score.
![](https://private-user-images.githubusercontent.com/96542489/285987455-e8f76e69-6d18-48e8-8d8d-c45a34142f99.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM3NTk0OTIsIm5iZiI6MTcyMzc1OTE5MiwicGF0aCI6Ii85NjU0MjQ4OS8yODU5ODc0NTUtZThmNzZlNjktNmQxOC00OGU4LThkOGQtYzQ1YTM0MTQyZjk5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE1VDIxNTk1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkNmUzMjc0YzlhOGMxZjUzYjg4YjY2YzA5ZjY1MWI3OGNhOWViY2I3NDQ4NDQ1MDQ2NGI3MWU1N2FhZDEwNGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.R19MkZs_WCLWC1A0iuRx4wM48svyLPfzKneEEPHrvug)
Players progress through levels based on their experience points. Level achievements are announced in the chat, providing recognition for their dedication and skill.
The plugin tracks events like round victories, defeats, and MVP awards, awarding or deducting experience points accordingly.
Player statistics are stored in a MySQL database, allowing for persistent tracking of player progress even after disconnecting.
Players can check the top-ranking players on the server, including their rank, experience points, and kill/death ratio.
Server administrators can reload the plugin configuration on-the-fly using the css_lr_reload console command.
Server administrators can fine-tune the plugin's behavior, including experience point rewards for specific events, minimum player count for XP gain, and more.
- Install CounterStrike Sharp and Metamod:Source
- Download Ranks
- Unzip the archive and upload it to the game server
Command | Description |
---|---|
css_lr_reload |
reloads the configuration (server console only) |
css_lvl or !lvl |
opens a menu where you can view all ranks |
css_top or !top or top |
displaying the top 10 players in chat |
css_rank or !rank or rank |
chat statistics display |
css_lr_giveexp <username or #userid> [exp (def. 0)] (@css/root) |
allows you to give the player experience |
css_lr_takeexp <username or #userid> [exp (def. 0)] (@css/root) |
allows you to take away a player experience |
css_lr_enabled 1/0 |
allows you to disable ranks (useful for minigame servers) (ONLY SERVER CONSOLE) you can put it in the cfg |
- TableName: "lvl_base", ; // Database table name
- Prefix: "[ {BLUE}Ranks {DEFAULT}]" // Chat prefix
- UseCommandWithoutPrefix: true // Is it possible to write
top
andrank
without the prefix? true - yes | false - no - ShowExperienceMessages: true // Do I show the player chat messages how much experience he has gained? true - yes | false - no.
- MinPlayers: 4 // Minimum number of players to gain experience
- InitialExperiencePoints: 1000 // How much experience a player will have when they first log into the server
- EventRoundMvp: 12 // Amount of experience for MVP
- EventPlayerDeath:
- Kills: 13 // Amount of experience gained per kill
- Deaths: 20 // The amount of experience you lose per death
- Assists: 5 // The amount of experience you get for assisting in a kill
- KillingAnAlly: 6 // The amount of experience you lose for killing an ally
- EventPlayerBomb:
- DroppedBomb: 5 // The amount of experience lost for losing a bomb
- PlantedBomb: 3 // The amount of experience you get for planting a bomb
- DefusedBomb: 3 // The amount of experience you get for defusing a bomb
- PickUpBomb: 3 // The amount of experience you get for picking up a bomb
- EventRoundEnd:
- Winner: 5 // The amount of experience gained per round won
- Loser: 8 // The amount of experience lost for losing a round
You get extra experience for killing with this weapon (you can add your own weapons without weapon_
)
- knife: 5
- awp: 2
- Host: "HOST"
- Database: "DATABASE"
- User: "USER"
- Password: "PASSWORD"
{DEFAULT}
, {WHITE}
, {DARKRED}
, {GREEN}
, {LIGHTYELLOW}
, {LIGHTBLUE}
, {OLIVE}
, {LIME}
, {RED}
, {LIGHTPURPLE}
, {PURPLE}
, {GREY}
, {YELLOW}
, {GOLD}
, {SILVER}
, {BLUE}
, {DARKBLUE}
, {BLUEGREY}
, {MAGENTA}
, {LIGHTRED}
, {ORANGE}