Skip to main content

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:

CommandDescription
/rankDisplays the player's rank.
/nextShows the player's progress to the next rank.
/top10Lists the top 10 players.
/clansDisplays clan information.
/statusShows server status information.
/statsmeDisplays personal statistics.
/weaponsShows weapon statistics.
/accuracyDisplays the player's accuracy stats.
/targetsShows the player's targets.
/killsDisplays the player's kill stats.
/hlx_hiderankingToggles 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:

  1. Recompile the Plugin: Use the appropriate compiler (e.g., AMXX or SourceMod compiler) to recompile the updated source code.
  2. Deploy the Plugin: Replace the existing compiled file (e.g., .amxx, .smx) on your server with the newly compiled version.
  3. 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.