Sueta

Your Own Variables

4.7

[ abandoned ]

·Plugin

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

  • %yov_<variable>%

✔ Player Variables

  • Stored as: <player>_<variable>
  • Accessed via: %yov_player_key:<variable>%

✔ Storage Migration System

/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

/yov set test 1
/yov set test 1.0
/yov set test hello world
/yov set level 5 playerName

Modifying variables

/yov add test 5
/yov rem test 1
/yov delete test

Silent mode

/yov add test 1 player -s

Checking Variables

/yov check test
/yov check playerName_coins

PlaceholderAPI Usage

Global variable

%yov_test%

Player variable

%yov_player_key:coins%

Rounded values

%rounded:coins%
%rounded_1:coins%
%rounded_2:coins%
%rounded_player_key:coins%
%rounded_player_key_2:coins%

Default variables

variables:
claim_points: "200"

Integration Example (ConditionalEvents)

conditions:
  check-level: '%yov_player_key:level% >= 20'

Dynamic variable creation

/yov set example 1 %player_name% -s

Permissions

PermissionDescription
yov.adminFull access

Storage Types
Supports:

  • YAML
  • SQLite
  • MariaDB

Switch storage:

/yov migrate <old> <new>

YAML Structure Example

global:
  season: "1"

players:
  haizenfell:
    coins: "500"
    kills: "10"

Similar projects

Plugin →