Configuration

The ItsMyMeta plugin allows for comprehensive and detailed configuration, tailored to your specific needs. This section introduces you to the various parameters and how they're utilized in the configuration process.

In the example, each item within this category consists of an id and a type. The id uniquely identifies each piece of metadata, while the type defines the kind of data to be stored (e.g., string, integer, double).

The subsequent sections delve deeper into each parameter and its possible values, providing a comprehensive guide to configuring ItsMyMeta to your specific needs.

meta:
- id: "MetaId"
type: #

Type

This parameter defines the type of data or 'meta' you wish to store

Supported type:

TypeExampleDescription
stringHello worldA sequence of characters or text.
integer12345A whole number without decimals.
double123.45A number that can have decimal places.
type: TEXT

Team

Team Mode offers the functionality to assign identical values to all players within a designated team.

Supported team:

IDDescription
playerAll players have their own value
globalAll players have the same value
superiorSkyblock2All members of the island have the same value
bentoBoxAll members of the island have the same value
factionsUUIDAll members of the faction have the same value
huskTownAll members of the town have the same value
team: TEXT 

Default value

This parameter sets the default value for a particular meta.

default: TEXT | NUMBER 

Maximum amount

This allows you to set a cap for the meta value. For unlimited values, set this parameter to -1.

max: NUMBER

Placeholder

Set the value of a meta the same of placeholder

placeholder: FORMULA

Currency

Transform the meta as a currency

currency:
  enabled: BOOLEAN
  name: TEXT
  payable: BOOLEAN
  vault: BOOLEAN
  local: BOOLEAN
  commands:
    - TEXT

Statistics

The statistics function permits the metadata value to increment according to specific triggers.

Trigger system see here for a how-to

statistics: 
  - id: TEXT
    trigger: TEXT
    filters: LIST
    conditions: LIST