Configuration
This document details the configuration settings for the currency and reward system.
General Settings
Currency
Type
String
Description
The name of the currency used in the system
Default
"Skyorb"
Example
"Currency": "Skyorb"
Currency Format
Type
String
Description
Defines how currency amounts are displayed. Uses placeholders: {currency} for the currency name and {amount} for the value
Default
"{currency} {amount}"
Example
If currency is "Skyorb" and amount is 100, displays as "Skyorb 100"
Abbreviasi Numerik
Type
Boolean
Description
Enables/disables abbreviasi numerik for currency
Default
false
Reward Settings
Reward Chance
Type
Number
Description
Percentage chance of receiving a reward (0-100)
Default
100
Valid Range
0-100
Boss Reward
Type
String
Description
Formula for calculating boss rewards. Uses {hp} placeholder for boss HP
Default
"{hp}/4*0.5"
Example
For a boss with 1000 HP: (1000/4)*0.5 = 125 reward
NPC Reward
Type
String
Description
Formula for calculating NPC rewards. Uses {hp} placeholder for NPC HP
Default
"{hp}/4*1.2"
Example
For an NPC with 100 HP: (100/4)*1.2 = 30 reward
Death and Special Rewards
Drop on Death
Type
Number
Description
Fraction of currency lost on death. Set to 0 to disable
Default
0.5
Valid Range
0-1
Example
0.5 means 50% of currency is lost on death
Reward From Statue
Type
Boolean
Description
Enables/disables rewards from statue-spawned enemies
Default
false
Reward From Friendly NPC
Type
Boolean
Description
Enables/disables rewards from friendly NPCs
Default
false
Example Configuration
{
"Currency": "Skyorb",
"Currency Format": "{currency} {amount}",
"Abbreviasi Numerik": false,
"Reward Chance": 100,
"Boss Reward": "{hp}/4*0.5",
"NPC Reward": "{hp}/4*1.2",
"Drop on Death": 0.5,
"Reward From Statue": false,
"Reward From Friendly NPC": false
}
Last updated