partiusfabaa / cs2-ranks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Player Ranking

Each player is assigned a rank based on their accumulated experience points. Ranks range from "None" to the prestigious "The Global Elite."

Experience Points

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.

Level Progression

Players progress through levels based on their experience points. Level achievements are announced in the chat, providing recognition for their dedication and skill.

Events and Rewards

The plugin tracks events like round victories, defeats, and MVP awards, awarding or deducting experience points accordingly.

Database Integration

Player statistics are stored in a MySQL database, allowing for persistent tracking of player progress even after disconnecting.

Top Players List

Players can check the top-ranking players on the server, including their rank, experience points, and kill/death ratio.

Command for Configuration Reload

Server administrators can reload the plugin configuration on-the-fly using the css_lr_reload console command.

Customizable Configuration

Server administrators can fine-tune the plugin's behavior, including experience point rewards for specific events, minimum player count for XP gain, and more.

Installation

  1. Install CounterStrike Sharp and Metamod:Source
  2. Download Ranks
  3. Unzip the archive and upload it to the game server

Commands

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

Config

Other

  • TableName: "lvl_base",         ; // Database table name
  • Prefix: "[ {BLUE}Ranks {DEFAULT}]"        // Chat prefix
  • UseCommandWithoutPrefix: true         // Is it possible to write top and rank 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

Events

  • 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

Weapons

You get extra experience for killing with this weapon (you can add your own weapons without weapon_)

  • knife: 5
  • awp: 2

Database connection

  • Host: "HOST"
  • Database: "DATABASE"
  • User: "USER"
  • Password: "PASSWORD"

Color Tags

{DEFAULT}, {WHITE}, {DARKRED}, {GREEN}, {LIGHTYELLOW}, {LIGHTBLUE}, {OLIVE}, {LIME}, {RED}, {LIGHTPURPLE}, {PURPLE}, {GREY}, {YELLOW}, {GOLD}, {SILVER}, {BLUE}, {DARKBLUE}, {BLUEGREY}, {MAGENTA}, {LIGHTRED}, {ORANGE}

About


Languages

Language:C# 100.0%