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:
Type | Example | Description |
---|---|---|
string | Hello world | A sequence of characters or text. |
integer | 12345 | A whole number without decimals. |
double | 123.45 | A 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:
ID | Description |
---|---|
player | All players have their own value |
global | All players have the same value |
superiorSkyblock2 | All members of the island have the same value |
bentoBox | All members of the island have the same value |
factionsUUID | All members of the faction have the same value |
huskTown | All 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