Variables

Quick rating

Variables

No reviews yet

This project adds a variables, what can simplyfing mapmaking

Tech
QoL & Tweaks
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
MIT License
Latest Version
variablemod-1.21.8-v1.0.0.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

logo.png Modrinth-Button-64.png Curseforge-Button-64.png Github-Button-64.png

separator.png

v-icon.png О моде / About the Mod

VariableMod — серверный мод для Fabric, добавляющий систему переменных для команд и чата. Создавай переменные через /variable и подставляй их в любые команды и сообщения через синтаксис v:имя. Встроенные переменные v!: автоматически отдают данные игрока — координаты, здоровье, ник, время и многое другое.

Подходит для: автоматизации команд, динамических объявлений, шаблонов команд для датапаков, серверных хабов и любых сценариев где нужны подстановки.


VariableMod is a server-side Fabric mod that adds a variable system for commands and chat. Define variables via /variable and insert them anywhere using v:name syntax. Built-in variables v!: automatically resolve player data — coordinates, health, nickname, time, and more.

Use cases: command automation, dynamic announcements, datapack command templates, server hubs, and any scenario where text substitution is needed.

separator.png

v-icon.png Ключевые возможности / Key Features

[ RU ]

  • Создавай переменные прямо в игре через команду /variable new
  • Используй v:имя в любой команде или сообщении чата — значение подставляется автоматически
  • Встроенные переменные v!: — координаты, здоровье, еда, ник, измерение, время и другие
  • Два типа переменных: text и number (number проверяет числовое значение)
  • Переменные сохраняются как JSON-файлы в папке мира — работают между перезапусками
  • Автодополнение имён переменных в командах
  • Поддержка в /say, чате и любых перехватываемых командах

[ EN ]

  • Create variables in-game via /variable new
  • Use v:name in any command or chat message — value is substituted automatically
  • Built-in variables v!: — coordinates, health, food, nickname, dimension, time, and more
  • Two variable types: text and number (number enforces numeric values)
  • Variables saved as JSON files in the world folder — persist across restarts
  • Tab-completion for variable names in commands
  • Works in /say, chat messages, and any intercepted command

separator.png

v-icon.png Команды / Commands

Все команды требуют права оператора (уровень 2). / All commands require operator permission (level 2).

Команда / Command Описание / Description
/variable new <name> <value> Создать переменную / Create a variable
/variable edit <name> <value> Изменить значение / Edit a variable's value
/variable delete <name> Удалить переменную / Delete a variable
/variable type <name> text|number Задать тип переменной / Set variable type
/variable cfg <name> Показать значение и тип / Show value and type
/variable list Список всех переменных / List all variables
/variable builtins Список встроенных переменных v!: / List built-in variables

separator.png

v-icon.png Встроенные переменные / Built-in Variables

Переменная / Variable Описание / Description
v!:nickname Отображаемое имя игрока / Player's display name
v!:name Имя игрока без форматирования / Raw username
v!:gamemode Режим игры / Current game mode
v!:world Текущее измерение / Current dimension
v!:x / v!:y / v!:z Координаты блока / Block coordinates
v!:health Здоровье / Current health
v!:food Уровень сытости / Food level
v!:xp Суммарный опыт / Total experience points
v!:level Уровень опыта / Experience level
v!:time Игровое время ЧЧ:мм / In-game time HH:mm
v!:date Реальная дата гггг-ММ-дд / Real-world date yyyy-MM-dd
v!:day Номер игрового дня / In-game day number
v!:onlinecnt Игроков онлайн / Players online

separator.png

v-icon.png Пример использования / Example Workflow

[ RU ]

  1. Создай переменную: /variable new hub 0 64 0
  2. Используй в команде: /tp @s v:hub
  3. Объяви координаты в чате: Я нахожусь на v!:x v!:y v!:z в v!:world
  4. Измени значение: /variable edit hub 100 64 -200
  5. Сделай числовую переменную: /variable type lives number/variable edit lives 3

[ EN ]

  1. Create a variable: /variable new hub 0 64 0
  2. Use it in a command: /tp @s v:hub
  3. Announce coordinates in chat: I'm at v!:x v!:y v!:z in v!:world
  4. Change the value: /variable edit hub 100 64 -200
  5. Make a numeric variable: /variable type lives number/variable edit lives 3

separator.png

v-icon.png Поддерживаемые версии / Supported Versions

Версия / Version Поддержка / Support
1.21 — 1.21.5 ✅ Supported

Fabric only — Requires Fabric API

separator.png

v-icon.png Хранение данных / Storage

[ RU ]

Переменные сохраняются как JSON-файлы в папке мира:

<world save>/variable/commands/v/<name>.json

Файлы можно редактировать вручную пока сервер остановлен.

[ EN ]

Variables are saved as JSON files inside the world folder:

<world save>/variable/commands/v/<name>.json

Files can be edited manually while the server is stopped.

separator.png

v-icon.png Язык / Language

Русский • English

logo.png

Modrinth CurseForge GitHub

separator.png

v-icon.png О моде / About the Mod

VariableMod — локальный мод для Fabric, добавляющий систему переменных для команд и чата. Создавай переменные через /variable и подставляй их в любые команды и сообщения через синтаксис v:имя. Встроенные переменные v!: автоматически отдают данные игрока — координаты, здоровье, ник, время и многое другое.

Подходит для: автоматизации команд, динамических объявлений, шаблонов команд для датапаков, серверных хабов и любых сценариев где нужны подстановки.


VariableMod is a local-side Fabric mod that adds a variable system for commands and chat. Define variables via /variable and insert them anywhere using v:name syntax. Built-in variables v!: automatically resolve player data — coordinates, health, nickname, time, and more.

Use cases: command automation, dynamic announcements, datapack command templates, server hubs, and any scenario where text substitution is needed.

separator.png

v-icon.png Ключевые возможности / Key Features

[ RU ]

  • Создавай переменные прямо в игре через команду /variable new
  • Используй v:имя в любой команде или сообщении чата — значение подставляется автоматически
  • Встроенные переменные v!: — координаты, здоровье, еда, ник, измерение, время и другие
  • Два типа переменных: text и number (number проверяет числовое значение)
  • Переменные сохраняются как JSON-файлы в папке мира — работают между перезапусками
  • Автодополнение имён переменных в командах
  • Поддержка в /say, чате и любых перехватываемых командах

[ EN ]

  • Create variables in-game via /variable new
  • Use v:name in any command or chat message — value is substituted automatically
  • Built-in variables v!: — coordinates, health, food, nickname, dimension, time, and more
  • Two variable types: text and number (number enforces numeric values)
  • Variables saved as JSON files in the world folder — persist across restarts
  • Tab-completion for variable names in commands
  • Works in /say, chat messages, and any intercepted command
separator.png

v-icon.png Команды / Commands

Все команды требуют права оператора (уровень 2). / All commands require operator permission (level 2).

Команда / Command Описание / Description
/variable new <name> <value> Создать переменную / Create a variable
/variable edit <name> <value> Изменить значение / Edit a variable's value
/variable delete <name> Удалить переменную / Delete a variable
/variable type <name> text|number Задать тип переменной / Set variable type
/variable cfg <name> Показать значение и тип / Show value and type
/variable list Список всех переменных / List all variables
/variable builtins Список встроенных переменных v!: / List built-in variables
separator.png

v-icon.png Встроенные переменные / Built-in Variables

Переменная / Variable Описание / Description
v!:nickname Отображаемое имя игрока / Player's display name
v!:name Имя игрока без форматирования / Raw username
v!:gamemode Режим игры / Current game mode
v!:world Текущее измерение / Current dimension
v!:x / v!:y / v!:z Координаты блока / Block coordinates
v!:health Здоровье / Current health
v!:food Уровень сытости / Food level
v!:xp Суммарный опыт / Total experience points
v!:level Уровень опыта / Experience level
v!:time Игровое время ЧЧ:мм / In-game time HH:mm
v!:date Реальная дата гггг-ММ-дд / Real-world date yyyy-MM-dd
v!:day Номер игрового дня / In-game day number
v!:onlinecnt Игроков онлайн / Players online
separator.png

v-icon.png Пример использования / Example Workflow

[ RU ]

  1. Создай переменную: /variable new hub 0 64 0
  2. Используй в команде: /tp @s v:hub
  3. Объяви координаты в чате: Я нахожусь на v!:x v!:y v!:z в v!:world
  4. Измени значение: /variable edit hub 100 64 -200
  5. Сделай числовую переменную: /variable type lives number/variable edit lives 3

[ EN ]

  1. Create a variable: /variable new hub 0 64 0
  2. Use it in a command: /tp @s v:hub
  3. Announce coordinates in chat: I'm at v!:x v!:y v!:z in v!:world
  4. Change the value: /variable edit hub 100 64 -200
  5. Make a numeric variable: /variable type lives number/variable edit lives 3
separator.png

v-icon.png Поддерживаемые версии / Supported Versions

Версия / Version Поддержка / Support
1.21 — 1.21.8 ✅ Supported

Fabric only — Requires Fabric API

separator.png

v-icon.png Хранение данных / Storage

[ RU ]

Переменные сохраняются как JSON-файлы в папке мира:

<world save>/variable/commands/v/<name>.json

Файлы можно редактировать вручную пока сервер остановлен.

[ EN ]

Variables are saved as JSON files inside the world folder:

<world save>/variable/commands/v/<name>.json

Files can be edited manually while the server is stopped.

separator.png

v-icon.png Язык / Language

Русский • English

Screenshots

Gallery

  • Main command
    Main command
  • Example
    Example
  • v!: example
    v!: example
  • New variable example
    New variable example

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works