PCEEasyEnchants is an extension to the PiggyCustomEnchants plugin which allows server owners to easily create custom enchantments without any coding knowledge.
-
Install PiggyCustomEnchants and PCEEasyEnchants from Poggit.
-
Configure PCEEasyEnchants.
-
Basic Configuration
# "id" refers to the enchantment ID that will be registered to PMMP. # "id" should increment from 1000, using any ids below 1000 is highly discouraged. - id: 1000 name: "starve" effects: # "effects.id" accepts effect names and ids. - id: "hunger" # Amplifier is calculated as (amplifier.base + amplifier.multiplier * level). amplifier: base: 0 multiplier: 1 # Duration is calculated as (duration.base + duration.multiplier * level). # "duration.base" and "duration.multiplier" are in ticks (20 ticks = 1 second). duration: base: 60 multiplier: 1
-
-
(OPTIONAL) Further configuration in PiggyCustomEnchants.
-
We recommend further modification to be done via PiggyCustomEnchants after initial setup.
-
Only
effects
should continue to be modified in PCEEasyEnchants rather than inextra_data.json
-
descriptions.json
: Allows you to modify description of the enchantment.{ "starve": "Inflicts Hunger on enemies." }
-
display_names.json
: Allows you to modify the display name of the enchantment.{ "starve": "Hungry Piggy" }
-
rarity.json
: Allows you to modify rarity of the enchantment.{ "starve": "Rare" }
-
max_levels.json
: Allows you to modify the maximum level of the enchantment.{ "starve": 5 }
-
-
You're done! Start your server.
PCEEasyEnchants for PiggyCustomEnchants.
Copyright (C) 2020 Aericio
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.