🔄 Process


The Process feature allows items to be converted into other predefined items, enabling players to reuse or recycle items for future use.

Process GUI

⚙️ How Process Works

When you place an item that matches the specified conditions, the GUI will display the possible items that the main item can be processed into. Once you click confirm, you will receive the processed item.


🔑 Permission

Each station has its own permission requirement in order to be used. Of course, you can customize or change the permission to suit your needs.


🌟 Features


1. Material Item

If enabled, this means the operation of the station will require the specified materials in order to function as intended. You can define one or more material items, and the station will only execute if the player provides the required materials.

Note: type is the type of the MMOItem. id is the ID of the MMOItem. amount is the quantity of the material required. slot is the GUI slot where the material must be placed.

Options

These are additional conditions that enhance material requirements:

  • match-item-type: The material will only be accepted if the item placed in the item slot has the matching type specified here.

  • match-item-tier: The material will only be accepted if the item placed in the item slot has the matching tier specified here.

  • match-item: The material will only be accepted if the item placed in the item slot has the matching According to the item defined in match-item specified here.


2. Chance Item

If enabled and used in conjunction with chance-based mechanics, the Chance Item provides an additional success rate boost on top of the existing base chance. This item acts as a support to increase the overall likelihood of success during actions such as upgrading

Note: type is the type of the MMOItem. id is the ID of the MMOItem. amount is the quantity of the material required. slot is the GUI slot where the material must be placed. chance This sets the success chance for the Chance Item

Options

These are additional conditions that enhance material requirements:

  • match-item-type

  • match-item-tier

  • match-item


3. Material Formula

The Material Formula feature provides a highly flexible way to dynamically calculate the cost and material requirements for item.

Material Increase

When this feature is enabled (enabled: true), the quantity of material items required for an gem add socket will increase as the item's level rises. This ensures that higher-level upgrades demand a greater investment from players, providing a more balanced progression. The increase is determined by a custom formula you define, giving you precise control over the scaling.

In Short: Level Up = Material Requirements.

Formula Configuration

Basic: you can use the basic default chance calculation or create your own custom formula to control how the chance is calculated. Custom Placeholders: The formula supports specific placeholders that will be replaced with dynamic values during calculation.


4. Cost

This feature allows you to use currencies such as PlayerPoints, CoinsEngine, or Vault.


5. Default Chance

This feature allows you to set the success chance of this station yourself, in cases where Tier is not enabled.


6. Tiers

This feature allows you to set the success chance based on the tiers of the item placed in the item slot. If the item's tier matches the specified tiers, the chance will be applied accordingly. If none of the tier conditions are met, the chance will be taken from the no-tier-chance setting.


🔁 7. Process Item

The process item feature supports processing multiple items at once. You can insert as many items as needed into the GUI, and the system will process all of them simultaneously based on your configuration.


7.1 Default Process Item

You must define the MMOItems ID under the process-item section for the feature to function properly. The process system is divided into several parts:


1. Conditions

These are requirements that must be met for the item to be processed. If the condition involves items, it will check the player's inventory.


2. Process-Items

Process-items are the results that players receive when the process is successfully completed.

Here is a table of condition types and their formats:

Type

Format

Example

Description

MMOItems

MMOITEM;<type>;<id>;<amount>

MMOITEM;MATERIAL;RARE_DIAMOND;10

Requires a specific MMOItem and amount

Vanilla

VANILLA;<material>;<amount>

VANILLA;STONE;15

Requires a specific vanilla item and amount

Placeholder

PLACEHOLDER;<placeholder>;<syntax>;<result>

PLACEHOLDER;%luckperms_groups%;==;default

Checks placeholder value matches result

Vault

vault;<amount>

vault;123

Requires the player to have a certain amount of money

Level

LEVEL;<amount>

LEVEL;123

Requires the player to have a certain level

CoinsEngine

COINSENGINE;<currency>;<amount>

COINSENGINE;nwcoin;100

Requires the player to have a certain amount of money

PlayerPoint

playerpoint;<amount>

playerpoint;100

Requires the player to have a certain amount of money

Nexo

nexo;<material>;<amount>

Nexo;Custom_block;15

Requires a specific nexo item and amount

ItemsAdder

ia;<namespace>;<amount>

ia;<test:test>;1

Requires a specific ItemsAdder item and amount

These conditions give you a flexible way to control when a player is allowed to process items.

Explanation of <syntax>

PLACEHOLDER;<placeholder>;<syntax>;<result>

Available <syntax> Options:

Example Usages:

  • "PLACEHOLDER;%player_level%;>=;30"

  • "PLACEHOLDER;%luckperms_group%;==;vip"

  • "PLACEHOLDER;%player_health%;<;10"

  • "PLACEHOLDER;%some_placeholder%;has_value"


3. Display

Display is used to define where the item should appear on the GUI for process-items, including the specific slots. It also supports showing display items for types like Placeholder, Level, and Vault.


4. Required Upgrade-level & Amount

required-upgrade-level: This is an optional setting. When you press Confirm, if the item does not have the required upgrade level, the process will be blocked.

required-amount: This is also checked when you press Confirm.


🎚 8.2 Process Item Groups

process-items-groups works by grouping output items based on the tier of the item placed in the GUI.


Example Full Config

Last updated