Game Plugin Commands
HLStats Plugin Commands
The HLStats Plugin provides a variety of commands for interacting with server statistics. While the default command to display the menu is /hlx
, you can customize this command by modifying the plugin source.
Commands
These are the commands that HLStats recognizes and will display information in-game if any of these commands is detected:
Command | Description |
---|---|
/rank | Displays the player's rank. |
/next | Shows the player's progress to the next rank. |
/top10 | Lists the top 10 players. |
/clans | Displays clan information. |
/status | Shows server status information. |
/statsme | Displays personal statistics. |
/weapons | Shows weapon statistics. |
/accuracy | Displays the player's accuracy stats. |
/targets | Shows the player's targets. |
/kills | Displays the player's kill stats. |
/hlx_hideranking | Toggles hiding the player's ranking. |
TOP PLAYERS
The top
command will display the top {number}
players, where {number}
can be any value (e.g., /top5
, /top15
, /top20
), but the limit is 50.
Additionally, the plugin includes options for automated and event menus:
- Automated Menu: Opens the automated menu for players.
- Events Menu: Displays the events menu.
Customizing the Menu Command
The /hlx
command is used to display the menu by default. However, you can change this to any command you prefer by editing the plugin source code.
Applying Changes and Important Notes
After making your changes to the plugin source code:
- Recompile the Plugin: Use the appropriate compiler (e.g., AMXX or SourceMod compiler) to recompile the updated source code.
- Deploy the Plugin: Replace the existing compiled file (e.g.,
.amxx
,.smx
) on your server with the newly compiled version. - Restart or Reload: Restart the server or reload the plugin to apply the changes.
Important Notes
- These commands are designed for game plugins (e.g., AMXX, SourceMod) and may vary based on the platform used.
- Ensure that all required commands are included and functional to maintain compatibility with HLStats.