enchants.json
ManticHoes Configuration Files
Below is some help regarding to this file, if you did not know already you can make AS MANY enchants you want using the Enchant Fields found below in enchants.json following JSON formatting.
enabled - whether the enchant is enabled or not
id - unique identifier for the enchant
defaultLevel - the default level of the enchant
maxLevel - the highest level that the enchant can be upgraded to
chance - the likelihood of the enchant activating
chancePerUpgrade - for every additional level of an enchant, this provides a greater chance of activating
tokensPer - this is the amount of the plugin currency that is given when the enchant activates
additionalTokensPerUpgrade - additional amount of plugin currency per level
commandDispatchType - "RANDOM" or "ALL" (self-explanatory)
commands - commands (without /) that can be ran when the enchant activates (array)
messages - these are sent to the player when the reward is activated (array)
publicBroadcastMessageWhenActivated - a single message broadcasted on activation
extraDropsPerLevel - refers to how much extra crop is given per level
expPer - exp per activation
additionalExpPerUpgrade - extra exp per activation
moneyPer - money per activation
additionalMoneyPerUpgrade - extra money per activation
shockwave - whether an enchant has shockwave (a radius breaking enchant)
shockwaveRadius - radius of the "shockwave"
holdingEnchantAmplifierIncreasePerLevel - increase in potion strength per level
holdingEnchants - e.g. "FAST_DIGGING:2147483647:-1" - format is POTION:DURATION:AMPLIFIER (array)
Fields above labelled '(array)' must be in an array (list format) - use this for guidance: https://www.w3schools.com/js/js_json_arrays.asp
Copy and paste the contents of the file into https://codebeautify.org/jsonvalidator and click "Validate JSON", it should then provide steps to where a config error might have occurred.
1
{
2
"enchants": [
3
{
4
"id": "token_finder",
5
"chance": 25.0,
6
"chancePerUpgrade": 0.3,
7
"tokensPer": 1,
8
"additionalTokensPerUpgrade": 1,
9
"defaultLevel": 1,
10
"maxLevel": 15
11
},
12
{
13
"id": "key_finder",
14
"chance": 0.5,
15
"chancePerUpgrade": 0.01,
16
"commands": [
17
"crate give {player} default 1"
18
],
19
"commandDispatchType": "RANDOM",
20
"defaultLevel": 1,
21
"maxLevel": 15,
22
"messages": [
23
"&e&lTREASURE &8&l| &dYou were lucky and found a &l&nkey&r&d while using your harvester hoe!"
24
]
25
},
26
{
27
"id": "spawner_finder",
28
"chance": 0.5,
29
"chancePerUpgrade": 0.01,
30
"commands": [
31
"ss give {player} blaze 1"
32
],
33
"commandDispatchType": "RANDOM",
34
"defaultLevel": 1,
35
"maxLevel": 15,
36
"messages": [
37
"&e&lTREASURE &8&l| &dYou were lucky and found a &l&nspawner&r&d while using your harvester hoe!"
38
]
39
},
40
{
41
"id": "harvest_booster",
42
"chance": 100.0,
43
"chancePerUpgrade": 0.0,
44
"defaultLevel": 1,
45
"maxLevel": 15,
46
"extraDropsPerLevel": 1
47
},
48
{
49
"id": "autosell",
50
"chance": 100.0,
51
"chancePerUpgrade": 0.0,
52
"defaultLevel": 0,
53
"maxLevel": 1,
54
"autosell": true
55
},
56
{
57
"id": "money_finder",
58
"chance": 0.5,
59
"chancePerUpgrade": 0.01,
60
"defaultLevel": 1,
61
"maxLevel": 15,
62
"moneyPer": 5000.0,
63
"additionalMoneyPerUpgrade": 2500.0,
64
"messages": [
65
"&e&lTREASURE &8&l| &dYou were lucky and found extra &l&nmoney&r&d while using your harvester hoe!"
66
]
67
},
68
{
69
"id": "exp_finder",
70
"chance": 0.5,
71
"chancePerUpgrade": 0.01,
72
"expPer": 500,
73
"additionalExpPerUpgrade": 250,
74
"defaultLevel": 1,
75
"maxLevel": 15,
76
"messages": [
77
"&e&lTREASURE &8&l| &dYou were lucky and found &l&nexp&r&d while using your harvester hoe!"
78
]
79
},
80
{
81
"id": "haste",
82
"chance": 100.0,
83
"chancePerUpgrade": 0.0,
84
"defaultLevel": 0,
85
"maxLevel": 3,
86
"holdingEnchants": [
87
"FAST_DIGGING:2147483647:-1"
88
],
89
"holdingEnchantAmplifierIncreasePerLevel": 1
90
},
91
{
92
"id": "shockwave",
93
"chance": 100.0,
94
"chancePerUpgrade": 0.0,
95
"defaultLevel": 0,
96
"maxLevel": 1,
97
"shockwave": true,
98
"shockwaveRadius": 1
99
}
100
],
101
"useLegacyChances": false
102
}
Last modified 1mo ago