/goop mmoitems stat <stat> <player> <slot> [±]<value>[%] [range] [objective] [±][score][%]
Can also edit non-numeric stats, see tips section.
Choose the stat you want to edit here, I recommend using the tab-completer for the full and exact list of what you have loaded, though you can also find some stats here.
The players whose inventory will be checked, and score changed.
Supports a few vanilla selectors.
The slot in the player's inventory that will be checked. To read on slots see Inventory Slots.
Examples: mainhand, offhand, chest, feet, any, 0-8, ec*
The operation to perform on this stat, for example +2 to increase level by two, or just a plain numer like 5 to set the level to 5.
If not numeric:
Text: Anything, use __ instead of spaces for stats like TIER
Boolean: true, false, or toggle for stats like TWO_HANDED
Text List: Anything, use __ instead of spaces, to add entries to stats like NBT_TAGS.
Use the - prefix to remove the entry itself.
Use the -all keyword to clear the list
You may use the read keyword to make use of [range] argument without modifying the value.
Value of this stat by which this command will succeed.
For numeric stats, a number range in the vanilla format (2..4, 10.., etc.)
For boolean stats, either true or false.
For text stats, the exact string to match.
For text lists...
If you enter a numeric range, it will be the size of the list that will allow to succed.
If you enter a text value, if the list contains it exactly, this command will succeed.
If the range check does not pass, the item will suffer no modifications, and the player's score wont change.
The name of the scoreboard objective that will store the results, which only works for numeric stats.
If the command succeeds, an operation to perform on the player's score. See Plus Minus Percent.
Use the read keyword to set the score to 100x the final numeric value of this stat (100x to preserve decimals).
If the stat is boolean type (true / false), it will output a 1 (true) or a 0 (false) into the score.
For numeric stats:
You perform operations using PMP
For boolean stats:
Use true to enable.
Use false to disable.
Use toggle to toggle it.
For string (single text line) stats:
The value becomes exaclty what you write
If you wanted to add a space for any reason, use a double underscore __ instead.
For string list (text list) stats:
Whatever you write is added to the list, for example Mage
If it starts with a minus, it gets removed instead, for example -Mage
If you wanted to add a space for any reason, use a double underscore __ instead.
You can use the -all keyword to clear the list.
Use the read keyword to make no changes to the stats, but check for 'range' and change scoreboard.
When numeric, range is a number range (2.., 4..5, -2..-1)
When text, the range is just a word that must be matched exactly.
When boolean, the range is the value that must be matched.
When string list, a numeric range indicates list size, while a word indicates an entry of the list.
GooP Makes correct use of MMOItem's ItemStat merging system, such that activating 'external-sh: true' in their config under 'keep-data,' you may increase the RevID of items without losing changes made by this command:
keep-data:
display-name: true
lore: true
enchantments: true
soulbound: true
upgrades: true
gemstones: true
modifications: true
external-sh: true
/goop mmoitems stat GOOP_MINIONS SilentAsh chest +2
Increases minion capacity bonus of SiletnAsh's chestplate by two
/goop mmoitems stat MAGIC_DAMAGE cocopad ec* +10%
Increases by 10% the magic damage bonus of all items in cocopad's enderchest.
/goop mmoitems stat STORED_TAGS Aslexia mainhand TAG__WITH__SPACES_2
Adds a tag "TAG WITH SPACES_2" to the stored tags stat of Aslexia's mainhand item.
/goop mmoitems stat REQUIRED_CLASS gunging mainhand -Cleric
Removes cleric class requirement from gunging's mainhand item.
/goop mmoitems stat REQUIRED_CLASS Wammets mainhand -unused__text 3.. oS:
The command will succeed if the item held by Wammets has three or more class restrictions.
/goop mmoitems stat REQUIRED_CLASS Schloch mainhand -unused__text Rogue oS:
The command will succeed if the item held by Schloch is restricted to be used by Rogues.
/goop mmoitems stat ARMOR Ipecac3 mainhand,offhand,head,chest,legs,feet +0 20.. oS:
The command will succeed if the combined armor of all the items equipped by Ipecac3 is greater or equal to 20
/goop mmoitems stat ARMOR moss_ter offhand TWO_HANDED true oS:
The command will succeed if moss_ter's offhand item is two-handed
/goop mmoitems stat SET ToastyElla * PLATINUM true oS:
The command will succeed if any of ToastyElla's inventory items has the platinum set bonus