Community listing page, reviews may not be monitored by the author.
Variable Commands
No reviews yet
Allows use of variables in commands.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
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.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
This project is deprecated and will not be maintained or updated. Unless I feel like it. But I probably won't.
This is a server-side Fabric mod that adds variables to commands. You can set a value to a variable and reference it in any command.
To set a value to a variable: /var set <variable name> <value>
The value is always stored as text (a string), as commands are inherently text-based, but converted to a number as needed.
To reference a variable in a command, write $<variable>. e.g., /gamemode $my_mode
Variables can also be used in the 'if' execute subcommand e.g., /execute if var my_num = 5 run kill
You can also operate on variables: e.g., /var operation my_num + 13
FABRIC API REQUIRED
Screenshots
Gallery
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
By the numbers
Statistics
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources