About Gambling Stats
Track player wins and losses at Big Wheel, Slot Machines, and Poker Table with ease. Simple JSON file storage, modern UI, permission system, and lightweight efficiency. Open stats GUI with chat commands.
Features
- Automatically tracks player wins and losses at the Big Wheel, Slot Machines, and Poker Table.
- Saves all data to a simple JSON file for easy viewing or integration with websites.
- A clean, modern UI for players to view their own stats.
- A permission system to control who can access the stats GUI.
- Lightweight and efficient, using Harmony patches for reliable stat tracking.
Permissions
This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.
- gamblingstats.use - Required for players to use the chat commands to open the stats GUI.
Commands
This plugin provides both chat and console commands using the same syntax. When using a command in chat, prefix it with a forward slash: `/`.
This plugin provides the following chat commands for players with the required permission:
- /gamblingstats - Opens the main stats GUI.
- /gs - A shorter alias for the same command.
Data File
This plugin stores all player data in a single file located at:carbon/data/GamblingStats.json
This file is created automatically. Deleting this file will permanently reset all player gambling statistics. There is no configuration file for this version.
Installation
- Download the GamblingStats.cs file.
- Place the file into your server's carbon/plugins/ directory.
- The plugin will load automatically.
- Grant the gamblingstats.use permission to the desired groups or players (see Permissions section).