YourOwnVariables (YOV)
A flexible and powerful variable management system for Minecraft servers.
Allows you to create, modify, delete, migrate, and use both
global and
player-based variables.
Requires:
PlaceholderAPI
Works on all Spigot/Paper versions
1.16.5 – 1.21.11
✨ Features
✔ Global Variables
✔ Player Variables
- Stored as: <player>_<variable>
- Accessed via: %yov_player_key:<variable>%
✔ Storage Migration System
Code (Text):
/yov migrate <from> <to>
✔ Commands
- /yov help
- /yov reload
- /yov set <variable> <value> [player] [-s]
- /yov add <variable> <amount> [player] [-s]
- /yov rem <variable> <amount> [player] [-s]
- /yov delete <variable> [player] [-s]
- /yov check <variable> [player]
- /yov migrate <from> <to>
- /yov userclear <player>
Commands & Usage
Creating variables
Code (Text):
/yov set test 1
/yov set test 1.0
/yov set test hello world
/yov set level 5 playerName
Modifying variables
Code (Text):
/yov add test 5
/yov rem test 1
/yov delete test
Silent mode
Code (Text):
/yov add test 1 player -s
Checking Variables
Code (Text):
/yov check test
/yov check playerName_coins
PlaceholderAPI Usage
Global variable
Player variable
Code (Text):
%yov_player_key:coins%
Rounded values
Code (Text):
%rounded:coins%
%rounded_1:coins%
%rounded_2:coins%
%rounded_player_key:coins%
%rounded_player_key_2:coins%
Default variables
Code (yml (Unknown Language)):
variables:
claim_points: "200"
Integration Example (ConditionalEvents)
Code (yml (Unknown Language)):
conditions:
check-level: '%yov_player_key:level% >= 20'
Dynamic variable creation
Code (Text):
/yov set example 1 %player_name% -s
Permissions
Storage Types
Supports:
Switch storage:
Code (Text):
/yov migrate <old> <new>
YAML Structure Example
Code (yml (Unknown Language)):
global:
season: "1"
players:
haizenfell:
coins: "500"
kills: "10"