ServerVariables | Custom Data and Variables for Players [1.8-26.2] icon

ServerVariables | Custom Data and Variables for Players [1.8-26.2] -----

Create your own player (and server) variables and manage their values using commands!




-Added compatibility with 26.2.
----------, Jun 20, 2026

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

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, May 1, 2026

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

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, Apr 13, 2026

-Added compatibility with 26.1
----------, Mar 28, 2026

-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 commands to modify player data, more info in the wiki.
-Fixed /svar list display command format when mini message is enabled.

A lot of changes were made in the file/data access system of the plugin so if you find a bug tell me in the discussion!
----------, Jan 31, 2026

-Added compatibility with 1.21.11
----------, Dec 16, 2025

-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. (thanks to Technofied)

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, Nov 12, 2025

-Added compatibility with 1.21.9
----------, Oct 3, 2025

IMPORTANT UPDATE!
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.
----------, Sep 24, 2025

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

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, Aug 11, 2025

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

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, Jul 18, 2025

-Added compatibility with 1.21.7
-Fixed HEX colors in 1.21 versions.
----------, Jul 3, 2025

-Added multiple new parameters to MySQL config to customize the connection with your needs.

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, May 19, 2025

-Added max_decimals limitation to Double type variables.
-Added: Optimized player data storage.
-Fixed issue with Integer values not supporting long numbers.

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, Mar 18, 2025

-Fixed important missing SQL sentence when trying to update player names on data.
----------, Oct 15, 2024

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

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, Aug 9, 2024

-Added compatibility with 1.21.
----------, Jun 19, 2024

-Added: Increased performance when getting variables and having big amounts of player data.
----------, Jun 2, 2024

-Added the possibility to set values with spaces to variables, using double quotes: /svar set <variable> "value with space" <player>. Don't use spaces on the possible_values property.
-Added silent_commands_hide_errors option to the config. When enabled, error messages will also be hidden when silent:true is added to commands.

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, May 8, 2024

-Fixed important lag when saving players.
-Fixed issue when trying to get data from a corrupted player data file.
----------, Apr 12, 2024

-Modified: /svar reset <variable> all command is now /svar reset <variable> *
-Fixed important lag issue when loading data while having MySQL enabled.

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, Feb 20, 2024

-Added /svar reset <variable> all command, to reset a variable for all players.

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, Jan 27, 2024

-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>%

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, Nov 8, 2023

-Fixed important bug from latest update, loading server data.
----------, Oct 2, 2023

-Added multi-config system for variables creation.

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, Sep 28, 2023

-Added some value parameters to command tab completion
-Fixed bug when trying to add integer values to variables with DOUBLE value type.

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, Sep 19, 2023

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

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, Sep 5, 2023

-Added limitations option for variables (max value and min value).
-Added %servervariables_value_otherplayer_<player>_<variable>% and %servervariables_display_otherplayer_<player>_<variable>% PlaceholderAPI variables.

Remember to check the WIKI!
https://ajneb97.gitbook.io/servervariables/
----------, Sep 2, 2023

-Fixed: Now you can use /svar set on offline players.
----------, Aug 7, 2023

-Added MySQL support. For now, only for PLAYER variables.

I haven't work with databases since a long time, so tell me in the discussion if you find any bugs!
----------, Jul 6, 2023

-Added compatibility with 1.20.
----------, Jun 8, 2023

-Added silent:true parameter to commands, that allows to hide the information message.
----------, Jun 4, 2023

-Added display values for variables. The display value is optional and it is only a visual representation of the variable which can be used as a PlaceholderAPI variable. It is added on the possible_values option section.
----------, Mar 1, 2023

-Fixed compatibility with Java 8.
-Fixed small issue with the %servervariables_globalvalue_<variable>% placeholder.
----------, Feb 19, 2023

-Added update checker system.
-Added missing tab autocomplete on /svar set <variable> command.
----------, Feb 4, 2023

Resource Information
Author:
----------
Total Downloads: 11,825
First Release: Feb 3, 2023
Last Update: Jun 20, 2026
Category: ---------------
All-Time Rating:
60 ratings
Find more info at ajneb97.gitbook.io...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings