This plugin is made mainly for, but not limited to, obtaining statistics. The plugin will let you define your own variables and use a command for setting the value of a variable, for a certain player. You can use a third-party plugin to execute the command each time you want to, for instance, add 1 to the variable.
- MySQL support
- UUID support
- Define how many variables you want, per player
- Modify a variable value by executing a command
- Send a message to the player once a variable is modified (optional)
Load the plugin once, then modify the generated configuration file. The database must exist already, or the plugin will not function properly. Once the configuration is updated, reload the plugin configuration with /variables reload (needs the variables.reload permission). When this is done, you can start using the plugin.
To modify the text sent to the player when executing a command, you have to modify it in the configuration file.
/variables [player] [variable] [value] - Modify a players' variables with this main command.
/var [player] [variable] [value] - Short command for /variables.
/addvar [variable] - Add a variable to the database.
/delvar [variable] - Delete a variable from the database.
/checkvar [player] [variable] - Check a player's value for a certain variable.
/variables reload - Reloads the variable configuration.
variables.use - Permission to use /variables and /var
variables.add - Permission to add a variable with /addvar.
variables.delete - Permission to delete a variable with /deletevar.
variables.check - Permission to check a player's value for a variable with /checkvar.
variables.reload - Permission to reload the variable configuration (also need variables.use permission).
Any suggestions? Please let me know!
Unless you mind, please leave a review!