Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunreth authored Jul 7, 2021
1 parent 81fa0e0 commit 1aaa9f0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@ https://forums.alliedmods.net/showthread.php?p=2714046
![image](https://i.imgur.com/hSr2Jsm.jpeg)

# Admin Commands (ROOT FLAG)
- sm_delete_winrates
- `sm_delete_winrates`
- Deletes all rows from database
- sm_delete_player_winrates <STEAM_1:0:0000000>
- `sm_delete_player_winrates` <STEAM_1:0:0000000>
- Deletes a player using STEAMID
- sm_delete_map_winrates <map_name>
- `sm_delete_map_winrates` <map_name>
- Deletes a map by entering exact name


# CVars
- sm_nmrih_winrates_enabled
- `sm_nmrih_winrates_enabled` (1/0) (Default: 1)
- Enable or disable NMRiH Winrates
- sm_nmrih_winrates_debug
- `sm_nmrih_winrates_debug` (1/0) (Default: 0)
- Will spam messages in console and log about any SQL action
- sm_nmrih_winrates_database
- `sm_nmrih_winrates_database` (Default: nmrih_winrates)
- Name of database keyvalue stored in sourcemod/configs/databases.cfg
- sm_nmrih_winrates_table
- `sm_nmrih_winrates_table` (Default: winrates_table)
- Name of table used by database previously defined

# Install
- Simply copy and merge /addons folder with the one in your game directory
- Edit configs/winrates_exclude.cfg --> Add excluded maps from plugin detection, won't be taken into account
- Edit configs/databases.cfg --> Insert a new keyvalue set like the following example:
- Edit `configs/winrates_exclude.cfg` --> Add excluded maps from plugin detection, won't be taken into account
- Edit `configs/databases.cfg` --> Insert a new keyvalue set like the following example:

`"nmrih_winrates"
{
Expand Down

0 comments on commit 1aaa9f0

Please sign in to comment.