Get/Set Tier

Changes the tier of the target items.

/goop mmoitems setTier <player> <slot> <value>

Will fail if the tier is not loaded. Case Insensitive.


Detects if any of the target items have the specified tier. If any does, the players' score will change.

/goop mmoitems getTier <player> <slot> <value> <objective> [±]<score>[%]

Will fail and do nothing if none of the items in the slots has the specified tier.

Args Breakdown (What everything does)

<Player>

  • The player whose inventory items will be set of a specific tier.

  • Supports a few vanilla selectors.


<Slot>

  • 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*


<Value>

  • Internal name of the Tier you want. Case insensitive.

  • With the (case-sensitive) none keyword

    • Tierless MMOItems will be detected by Get Tier and cause the scoreboard change to happen.

    • Vanilla items will be detected by Get Tier and cause the scoreboard change to happen.

    • Set Tier will remove the tier of any mmoitem (GooP 31.10.2021).


Only for Get Tier:

<Objective>

  • The name of the scoreboard objective that will store the results.


[±]<score>[%]

  • The score that will be set if any item in the specified slots matches the tier.

  • May be an operation performed on the score the player already has. See Plus Minus Percent.

Tips

  • With Get Tier, you may use the none keyword to detect both vanilla and tierless MMOItems.

    • Set Tier removes tiers with this keyword (GooP 31.10.2021).


  • This command will convert vanilla items into MMOItems, according to the type chart in MMOItems Converter page.

Simple Examples:

/goop mmoitems setTier gunging mainhand LEGENDARY

Will set the tier of whatever player gunging is holding to LEGENDARY


/goop mmoitems setTier cocopad * none

Removes tiers of every item in cocopad's inventory.


/goop mmoitems getTier atusoto mainhand EPIC tEpic +3

Will add 3 to whatever score player atuosto has in the objective tEpic if they are holding an EPIC-tier item. If they are not holding an epic-tier item, their original score will remian unchanged.

Example: Tier-based deconstructor station (Containers+MythicMobs)

This will be a station that deconstructs MMOItems based on their tier. You may rig it to work however it fits your needs, as it is separate from the config drop tables, it will:

  • Players will put the required materials into it (GooP Containers)

  • It will run a series of commands and checks to consume and give materials (MythicMobs)

  • Flash in different colors depending on failure or success (GooP Containers)

Notes

This particular example's main purpose is offering players 100% success rate in exchange for emeralds, the server's official currency.

The mythic skills have an Easter Egg, when attempting to deconstruct a single common item, the price will be huge (4x legendary). If a player chooses to take this offer, the result will be a Rocket Launcher instead of the default deconstruction result (Salt).