Mineuniverse
Log in Register
Plugins

Variables

Define your own variables and use commands to modify the variables per player. Good for statistics. MySQL-support.
by _ForgeUser21522911
Download Claim this project
1,044 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Developer Tools General Informational

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!

Variables 1.1
MC 1.8
Release 2015-09-10 Get
Variables 1.0
MC 1.8
Release 2015-09-09 Get

More from _ForgeUser21522911

ServerProtection
2,146
SkyblockOres
20,444

You Might Also Like

LegendaryMessages
Custom Join Messages
963,227
NoPhantom
Disables and prevents phantom spawning with minimal configuration, removing them from the server
998
Player Profile
Player Profile
996
HubClear
Plugin Request by: LightZz123 -- Clears player's inventory on command /lobby then teleports them to the hub
988
kCmds
kCmds - kCommands
986
PingMe
Legit just a /ping command.
986