FULL WIKI ON THIS LINK:
https://ajneb97.gitbook.io/servervariables/
DISCORD SUPPORT:
(This is a Spanish Discord, however there is a category for both spanish and english support. Go to the "Plugins Ajneb97" category and there you can ask for help in the "general" channel. If you need MY help specifically, then ask me in the discussion of the plugin here on SpigotMC) CLICK HERE
SPIGOTMC POST:
IMAGE TRANSCRIPTION
IMAGE TRANSCRIPTION
What can I do with ServerVariables?
This plugin allows you to create your own variables for the server and players, meaning you have total control on which values you set. Variables are modified through commands, and you can obtain them by using the /svar get
Some examples of what you can do with the plugin:
- An economy system, creating multiple currencies.
- A portal that has an on/off status.
- Custom player points system.
- Set a number of infractions to a player when they do something wrong.
- A life system, tracking when the player dies and reducing the amount of lives the player has (Using my plugin ConditionalEvents).
Features:
✓ Create player variables
✓ Create global (or server) variables
✓ Value type for variables: TEXT, INTEGER, DOUBLE
✓ Possible values for variables
✓ Possible display values for variables
✓ Initial value for variables
✓ Commands to set/get/increment/reduce/reset a certain variable for the player or the server
✓ Easy to configure
✓ PlaceholderAPI support to display variable values wherever you want.
✓ Developer API
✓ Works with 1.8+
✓ MySQL
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 14h ago | 1 | ||||
| 14h ago | 1 | ||||
| 14h ago | 1 | ||||
| 14h ago | 1 | ||||
| 14h ago | 1 | ||||
| 14h ago | 1 | ||||
| 14h ago | 1 | ||||
| 14h ago | 1 | ||||
|
R
3.4.1
|
14h ago | 1 | |||
|
R
3.3.1
|
14h ago | 1 | |||
|
R
3.2.1
|
14h ago | 1 | |||
|
R
3.1.1
|
14h ago | 1 | |||
| 14h ago | 1 | ||||
| 14h ago | 1 | ||||
|
R
2.7.1
|
14h ago | 1 | |||
|
R
2.6.3
|
14h ago | 1 | |||
|
R
2.6.2
|
14h ago | 1 | |||
|
R
2.6.1
|
14h ago | 1 | |||
|
R
2.5.2
|
14h ago | 1 | |||
|
R
2.5.1
|
14h ago | 1 | |||
|
R
2.4.2
|
14h ago | 1 | |||
|
R
2.3.4
|
14h ago | 1 | |||
|
R
2.3.3
|
14h ago | 1 | |||
|
R
2.3.2
|
14h ago | 1 | |||
|
R
2.3.1
|
14h ago | 1 | |||
|
R
2.2.2
|
14h ago | 1 | |||
|
R
2.2.1
|
14h ago | 1 | |||
|
R
2.1.3
|
14h ago | 1 | |||
|
R
2.1.2
|
14h ago | 1 | |||
|
R
2.1.1
|
14h ago | 1 |
- Fixed important bug when accessing non existent player data.
- Added compatibility with 26.3.
- Fixed issue regarding data not being loaded correctly for players.
- Fixed issue when using double quotes to specify a value in /svar set and /svar list set/add commands.
- Added %servervariables_possible_value_display_<variable>:<value>% PlaceholderAPI variable to get the display of a certain possible value of a variable defined in the config.
- Added compatibility with 26.2.
- Added retain_player_data_until_restart option to the config. When enabled, data of players that join the server will be maintained in memory until the server restarts, meaning gets/sets of variables will be possible to do if the player has disconnected.
- Added %servervariables_list_values_<variable>% PlaceholderAPI variable to show all the set values from a player list.
- Added %servervariables_list_globalvalues_<variable>% PlaceholderAPI variable to show all the set values from a global list.
- Added variables.list_values_separator configuration to modify the separator used in the previous variables.
- Modified: Small improvement when loading player data before joining the server.
- Added compatibility with 26.1
- Added: Optimized player data loading. Now, the plugin will not load all player data into memory, and instead, only when they join the server. This comes with some restrictions on the /svar reset command, more info in the wiki.
- Fixed /svar list display command format when mini message is enabled.
- Added compatibility with 1.21.11
- Added MiniMessage support. You can now use MiniMessage format for every text/message in the plugin by enabling the option in the config.
- Fixed wrong value being returned in %servervariables_display_otherplayer_<player>:<variable>% PlaceholderAPI variable.
- Added compatibility with 1.21.9
ServerVariables is updated to version 3.x with a new variable type: LISTS. A big update that allows the creation of list variables with many elements, that can be accessed through commands and PlaceholderAPI variables.
This update also include the following:
- Vast changes on the API: Separation between Normal variable and List variable (if you are using the API, you'll need to make changes when updating)
- Data access/storage optimization.
- Added manage_out_of_range property to variable limitations. If this option is set to true, when changing the variable's value, to something that is outside the max/min limits, the out of range error will disappear and instead, the limit will be used as the new value.
- Modified config file code and access.
Some changes were made on the file management system on the plugin, so I recommend you make a backup of your plugin files.
- Added compatibility with 1.21.8.
- Added %servervariables_initial_value_<variable>% PlaceholderAPI variable.
- Added update_notify option in the config to enable/disable join notifications when there is a new version.
- Added new methods to the API.
- Fixed and updated some dependencies
- Fixed API issues.
- Added compatibility with 1.21.7
- Fixed HEX colors in 1.21 versions.
- Added multiple new parameters to MySQL config to customize the connection with your needs.
- Added max_decimals limitation to Double type variables.
- Added: Optimized player data storage.
- Fixed issue with Integer values not supporting long numbers.
- Added getOldValue() method to the VariableChangeEvent on he API.
- Fixed issue on database connection regarding UUID column.
- Fixed issue on database connection regarding public key retrieval.
- Added compatibility with 1.21.
- Added: Increased performance when getting variables and having big amounts of player data.
- Fixed important lag when saving players.
- Fixed issue when trying to get data from a corrupted player data file.
- Modified: /svar reset <variable> all command is now /svar reset <variable> *
- Fixed important lag issue when loading data while having MySQL enabled.
- Added /svar reset <variable> all command, to reset a variable for all players.
- Added max characters length limitation for variables.
- Modified PlaceholderAPI variable %servervariables_value_otherplayer_<player>_<variable>% to %servervariables_value_otherplayer_<player>:<variable>%
- Modified PlaceholderAPIvariable %servervariables_display_otherplayer_<player>_<variable>% to %servervariables_display_otherplayer_<player>:<variable>%
- Fixed important bug from latest update, loading server data.
- Added multi-config system for variables creation.
- Added some value parameters to command tab completion
- Fixed bug when trying to add integer values to variables with DOUBLE value type.
- Added bStats.
- Fixed issue with %servervariables_value_otherplayer_<player>_<variable>% and %servervariables_display_otherplayer_<player>_<variable>% PlaceholderAPI variables.
- Fixed possible syncronization bug when using MySQL.
- Added limitations option for variables (max value and min value).
- Added %servervariables_value_otherplayer_<player>_<variable>% and %servervariables_display_otherplayer_<player>_<variable>% PlaceholderAPI variables.