Home›Java›Mods›Variables
ModsJava

Variables

Minecraft Java mod. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
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:
[​IMG]

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:
Spoiler
/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:
Spoiler
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!

Unless you mind, please leave a review!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Variables is a free Minecraft Java mod. Downloaded 1,258 times (via Spigot). Download it and open it directly in the game.

Explore more