Variables

Variables

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)

Default configuration:
https://hostr.co/file/970/JArmxBSypPTV/VariablesConf.png

Installation:
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.

Commands:
/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.

Permissions:
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).

To-do:
Any suggestions? Please let me know!


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    94876
  • Created
    Sep 8, 2015
  • Last Released File
    Sep 10, 2015
  • Total Downloads
    1,022
  • License

Categories

Members

Recent Files

Bukkit