✨Blueprint Nodes

This plugin has some very useful Blueprint Nodes, let's see how each one works.

UES

In this category we only have 2 nodes, and they are the most important.

Discount Money

Removes a specific amount of money from a player.

Quantity to Remove: The amount of money to remove.

Currency Type: The type of currency that should remove the money

(Regardless if All Currencies are Compatible is true)

Currency Warehouse: From which warehouse will you remove the money.

Force Discount: If true, it will discount the money even if there isn't enough to cover the full amount.

Modify Money

Modifies the money in a specific warehouse by either adding or defining the amount.

Quantity: The amount of money that will be modified.

Currency Type: The type of currency that will be modified.

Define Instead Add: If marked as true, instead of adding/removing the amount of money from the currency, it will update the currency value to be equal to the Quantity.

Currency Warehouse: From which warehouse will you modify the money.

UES | Info

In this category we have 6 nodes, each one can be very useful in returning some information to you.

Can Discount Money

Checks if the player can remove (or discount) a certain amount of money.

If there isn't enough in the specified warehouse or currency, this function will return false.

Get Bigger Currency

Returns the currency with the highest value in the specified warehouse.

If a minimum value is specified (MinValue), only currencies above this value will be considered.

Get Smallest Currency

Returns the currency with the smallest value in the specified warehouse.

Useful when you need to identify the least valuable currency for a particular storage location.

Get Total Money

Calculates and returns the total money from both the bank and in-hand storage.

This function combines the total of all available money in all warehouses.

Get Total Money by Currency Type

Returns the total money available of a specific currency type in a specified warehouse.

Get Total Money in Warehouse

Returns the total money available in a specific warehouse (Bank or InHands).

Last updated