By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

An open source custom enchantment plugin for PocketMine-MP
version 2.1.8
Approved
Direct Download How to install?
Switch version
906 Downloads / 23774 Total
33 Reviews
Plugin Description §

PiggyCustomEnchants Poggit-CI Discord

PiggyCustomEnchants is an open-sourced custom enchants plugin for PocketMine-MP featuring over 90 custom enchantments.

FAQ

Q: How do I create/use an enchanted book? A: If you want to create an enchanted book, use the /ce enchant command on a normal book. Afterwards, you place the item you want to enchant on top of the enchanted book. It will then enchant your item.

Prerequisites

  • Basic knowledge on how to install plugins from Poggit Releases and/or Poggit CI
  • PMMP 3.2.0 or greater

Installation & Setup

  1. Install the plugin from Poggit.
  2. (Optional) Configure your PiggyCE
    • Enchantment rarities, max levels, names, & descriptions can be configured in their respective JSON files (rarities, max_levels, display_names, descriptions)
    • Extra enchantment settings can be found under extra_data.json
    • The config.yml has many options. Some that you should pay attention to are:
      • disabled-enchants: Allows certain enchants to be disabled
           disabled-enchants:
             - Porkified
        
      • per-world-disabled-enchants: Allows certain enchants to be disabled in specific worlds
           per-world-disabled-enchants:
             # Disables Porkified & Volley in PlotWorld
             PlotWorld:
               - Porkified
               - Volley
             # Disables Jetpack in SurvivalWorld
             SurvivalWorld:
               - Jetpack
        
      • world-damage: Toggles world damage for explosive enchantments
      • chances: Allow chances of reactive enchantments to be configured
  3. (Optional) Install additional plugins supporting PiggyCE.
  4. You're done! Start your server.

Plugins Using PiggyCE

  • PiggyCustomEnchantsShop (Official) - PiggyCustomEnchantsShop is an add-on the the PiggyCustomEnchants plugin, adding shops.
  • PCEAllyChecks (Official) - PCEAllyChecks is an extension to the PiggyCustomEnchants plugin which utilizes the AllyChecks feature introduced in v2.1.0.
  • Kits
    • EasyKits (Recommended) - A kit plugin for everyone
    • AdvancedKits - A PocketMine-MP plugin that adds kits to your server with many features and support for UIs (FormAPI plugin) and custom enchantments (PiggyCustomEnchants)
    • KitUI - Advance AdvancedKits! Select Kits from a form, just do /kit and get kits info and select it if available!
    • KitsPlus - A Simple and Cutomizeable Plugin by WitherXTeam that Uses LibFormAPI and Supports PiggyCustomEnchants!
  • EnchantShopUI - A Custom Enchantment Shop

Commands

Command Description Permissions Aliases
/customenchant Main command for PiggyCustomEnchants piggycustomenchants.command.ce /ce
/customenchant about Shows version and author information piggycustomenchants.command.ce.about /ce about
/customenchant enchant Command to enchant an item with custom enchants piggycustomenchants.command.ce.enchant /ce enchant
/customenchant help Lists all PiggyCustomEnchant commands piggycustomenchants.command.ce.help /ce help
/customenchant info Gives information on a custom enchant piggycustomenchants.command.ce.info /ce info
/customenchant list Lists all PiggyCustomEnchants enchants piggycustomenchants.command.ce.list /ce list
/customenchant nbt Outputs the NBT of the held item piggycustomenchants.command.ce.nbt /ce nbt
/customenchant remove Removes a custom enchant from the held item piggycustomenchants.command.ce.remove /ce remove

Permissions

Permissions Description Default
piggycustomenchants Allows usage of all PiggyCustomEnchants features op
piggycustomenchants.command Allow usage of all PiggyCustomEnchants commands op
piggycustomenchants.command.ce Allow usage of the /customenchant command op
piggycustomenchants.command.ce.about Allow usage of the /customenchant about subcommand true
piggycustomenchants.command.ce.enchant Allow usage of the /customenchant enchant subcommand op
piggycustomenchants.command.ce.help Allow usage of the /customenchant help subcommand true
piggycustomenchants.command.ce.info Allow usage of the /customenchant info subcommand true
piggycustomenchants.command.ce.list Allow usage of the /customenchant list subcommand true
piggycustomenchants.command.ce.nbt Allow usage of the /customenchant nbt subcommand true
piggycustomenchants.command.ce.remove Allow usage of the /customenchant remove subcommand op
piggycustomenchants.overridecheck Allow overriding of custom enchant level limit and item restriction false

Issue Reporting

  • If you experience an unexpected non-crash behavior with PiggyCustomEnchants, click here.
  • If you experience a crash in PiggyCustomEnchants, click here.
  • If you would like to suggest a feature to be added to PiggyCustomEnchants, click here.
  • If you require support, please join our discord server here.
  • Do not file any issues related to outdated API version; we will resolve such issues as soon as possible.
  • We do not support any spoons of PocketMine-MP. Anything to do with spoons (Issues or PRs) will be ignored.
    • This includes plugins that modify PocketMine-MP's behavior directly, such as TeaSpoon.

Additional Information

  • We do not support any spoons. Anything to do with spoons (Issues or PRs) will be ignored.
  • We are using the following virions: Commando and libFormAPI.
    • Unless you know what you are doing, use the pre-compiled phar from Poggit-CI and not GitHub.
    • If you wish to run it via source, check out DEVirion.
  • Detailed Plugin Setup, Custom Enchantment List, & API Documentation available at PiggyDocs.

License

   Copyright 2017-2020 DaPigGuy

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

What's new §
  • Allow combining of two books with the same enchants
  • Cleaned up virion checks
  • CustomEnchantsCommand now implements PluginIdentifiableCommand
  • Fixed held item enchants retaining when swapping item in same slot
  • Bumped version to 2.1.8
  • Fixed Overload + combat logger plugins resulting in a crash
  • Bumped version to 2.1.7
  • Fixed crash when using Deep Wounds (#289)
  • Bumped version to 2.1.6
  • Fixed errors on plugin installations after 2.1.4 (#287)
  • Bump version to 2.1.5
  • Added customizable enchantment cooldowns (#271)
  • Update Commando to 0.6
  • Fixed typo in /ce usage
  • Bumped version to 2.1.4
  • Add option to disable PiggyCE enchantment books (#274)
  • Rarities are now customizable
  • Telepathy now drops items when inventory is full
  • Simplified CE classes (#268)
    • Cleaned up CustomEnchant constructor
    • Simplified defining usage/item types (backwards compatible)
    • Cleaned up RadarEnchant class
  • Fixed enchantment books taking several tries to enchant
  • Bump version to 2.1.3
  • Fixed hardcoded base value in Grow enchant
  • Nuked majority of @param & @return PHPDocs
  • Bumped version to 3.11.2
  • Added /ce remove
  • Added Lucky Charm enchantment
  • Majority of values used by enchantments are now configurable
  • Reaction chances can now be up to 5 decimal places
  • Telepathy now affects XP
  • Fixed issues with Shielded & Obsidianshield toggling off
  • Fixed possible recursion with enchantments breaking blocks
  • Cleaned up EventListener
  • Enchantment "display names" are now customizable
  • Enchantment max levels are now customizable
  • Added "ally checks" allowing other plugins to exempt allied players from specific enchantments (forcefield, autoaim, etc)
  • Jetpack enchant now speeds up when sprinting
  • Quick equipping armor now replicates vanilla behavior
  • Elytras now count as chestplates
  • Fixed spider enchant unintentionally activating on half blocks
  • Fix Commando packet hooker not being registered
  • Fix crash related to parachute
  • Fix crash related to driller (#255)
  • Fixed potential crash w/ anti knockback
  • Fix potential error with remote enchant disabler
  • Minor API changes
    • Added methods ReactiveTrait::getBaseChance(), ReactiveTrait::getChanceMultiplier(), ReactiveTrait::setChanceMultiplier()
    • Changed 1st parameter of ReactiveTrait::getChance() to player (Potential BC break)
    • Changed ReactiveTrait::getChance() return type to float
    • Added "maxLevel", "displayName", & "description" parameters to CustomEnchant constructor
    • Added methods CustomEnchant::getDisplayName() & CustomEnchant::setDisplayName()
    • Added methods CustomEnchant::getDescription() & CustomEnchant::setDescription()
    • Removed PiggyCustomEnchants::getEnchantmentDescription() (Potential BC break)
    • Added internal method PiggyCustomEnchants::getEnchantmentData()
    • Marked PiggyCustomEnchants::areFormsEnabled() as internal
  • Fixed autoaim (#249)
  • Fixed crash w/ Overload (#229)
  • Fixed Jackpot unintentionally giving iron ingots (#244)
  • Fixed mining Lapis Ore with smelting giving dye (#236)
  • Possible fixed a crash w/ Molten (#237)
  • Fix potential crash when checking remotely disabled enchants
  • Use particle id constant for 3.11.2
  • PHPStan Level 7
  • Fix crash related to PMMP 3.11.2
  • Fix PiggyCustomEnchantsShop - @JaxkDev
    • When using PiggyCEShop it send the enchant name with spaces, causing it to not get the correct enchant.
  • Fixed duplication bug - @luca28pet
    • caused armor items were copied over and over into the first 4 inventory slots
  • Bump to v2.0.4
  • Added virion checks on startup
  • Fixed being unable to interact with items enchanted only with vanilla enchants
  • Fixed incorrect command name being registered
  • Parachute no longer activates when flying/climbing
  • Fixed being unable to enchant books
  • Fixed enchantments on armor disabling & enabling when durability changes
  • Fixed potential crash caused by Hallucination
  • Fixed potential crashes/issues with max health caused by Overload
  • Bombardment Enchantment
  • Deep Wounds Enchantment
  • Homing Enchantment
  • Grow & Shrink enchantment
  • Jetpack now allows disabling mid air w/ Parachute
  • Parachute no longer activates while Jetpack is active
  • Added dust particles back to Poisonous Cloud enchantment
  • Changed forcefield particles
  • Cactus no longer attacks non-living entities
  • Added missing ignoreCancelled & priority annotations
  • Fixed errors w/ Auto Aim & Volley
  • v2.0.0 rewrite!
  • Enabling/disabling enchantments in certain worlds/globally is now built into the plugin. (#94)
  • Added a remote enchant disabler for emergency situations (disable affects all servers).
  • Custom enchantments that are disabled will not have their tasks enabled.
  • Execution chances of enchantments are now configurable.
  • Custom enchantments are now registered into PocketMine-MP.
  • Now using Commando virion for command handling.
  • The form version of /ce has been improved upon.
  • Explosive enchants now have a toggle for world damage.
  • Added checks for applying books. (#209)
  • Parachute now uses negative Levitation effect to simulate slow falling.
  • Fixed a few CE descriptions
  • Fixed issue where throwing a projectile and switching to a different weapon would trigger the custom enchants of that weapon. (#157)
  • Fixed "WitherSkull Enchant does not apply Wither Effect." (#182)
  • Fixed pigs/wither skulls remaining. (#189)
  • "Maximum -5 is less than the minimum 0" issue has been fixed. (#211)
  • Bump to v1.4.6, Entity->Actor changes for 1.12
  • v1.4.5, add lore/name remove on removeEnchant
  • Closes #198, given choice to use name / lore, or both.
  • Closes #194, use Item::setLore instead of Item::setCustomName
    • Enchantments prior to this change will continue to work, but all new enchantments added will be added to lore instead of name.
  • Bump to v1.4.3
  • Cleanup
  • Fix #171
  • Fix #180
  • Fixed #173 (PR by @r7vmc)
    • Fixed Argument 2 passed to pocketmine\entity\Entity::createEntity() must be an instance of pocketmine\level\Level, null given
  • Fixed PiggyLightning
  • Fixed a bug fix
  • Fixed autorepair not affecting armor
  • Fixed errors with Cactus and Forcefield + Added PHPDocs for fields
  • Fixed forms
  • Fixed #173
    • closing the entity doesn't return the level nor playing Hit Ground Sound
    • but Flagging for despawn does it
  • Fixed soulbound on armor
  • Update Tank enchantment description by @Haxley
  • PiggyObsidian: remove extra parameter in onBreak()
  • Poggit: Comply with Rule C1a, B3, and C2a
  • Update Player::dataPacket() to Player::sendDataPacket()
  • Update PluginManager->callEvent() to Event->call()
  • Update to libFormAPI, bump to v1.4.0
  • Bump PMMP API to 3.2.0

Fixes

  • Fixed effect split changes to Endershift not applying.
  • Fixed error with Explosive
  • Fixes to tasks for scheduler changes
  • Fixed #159 (ArgumentCountError: "Too few arguments to function pocketmine\item\enchantment\Enchantment::__construct())
  • Fixed #160 (Removal of the isAxe(), isPickaxe(), etc.)
  • Fixed #163 (EventListener does not properly check for enchantment compatibility when enchanting with books)
  • Fixed #164 (Typehints to Enchantment class)
  • Fixed #165 (Changes to EntityDamageEvent)
  • Fixed #166 (Errors with HallucinationTask)

Changes

  • Bumped API to 3.0.0

Additions

  • Added API to unregister enchants and add enchant incompatibilities
  • Added Description parameter to API
  • New enchants!
    • Auto Aim: Aim at nearest target
    • Poisonous Cloud: Create a cloud of poisonous gas around you
    • Shielded: Gives resistance per level per piece of armor

Changes

  • Armor enchants now effect weapon enchants
  • CE command no longer ignore arguments when Forms are enabled
    /ce enchant
    • Before: Brings you to the CE Menu form
    • After: Brings you directly to the Enchant form
  • Changes to Forcefield
  • Improve checking of enchant incompatibilities
  • Improvements to Radar
  • Improvements to Revive
    • Revive now stacks
    • There are now side effects (Slowness & Nausea)
    • A particle beam will launch into the sky when Revive is activated to signal nearby enemies!
    • A tip will now indicate that you were revived
  • Improvements to Spider
  • Items from Porkified now despawn within 15 seconds to prevent lag
  • Main::addEnchantment() now matches Item::addEnchantment()
  • Now using PMMP's Enchantment Registering function
  • Volley Arrows will now despawn on collision.
  • Update to 3.0.0-ALPHA11
  • Soulbound now stacks
  • Wither Skulls & Fireballs will despawn when colliding with a wall

Fixes

  • Fix capitalization.
  • Fixed Radar detecting dead players
  • Fixed Wither Skull & Fireballs drifting endlessly.
  • Fixed error with other plugins registering enchanted books (#96)
  • Fixed error with enchanted books (#108)
  • Fixed Hallucination not working with the latest NBT changes
  • Resolved Compatibility Issues with PureEntitiesX
  • Stop adding effect if player already has it (#98)

Changes

  • Support for new PMMP enchant API

Additions

  • New Enchants!
    • Backstab: When hitting from behind, you deal more damage.
    • Disarmor: 10l% chance to disarmor enemy
    • Focused:Nausea will affect you less
    • Vacuum: Suck up items in a 3l radius
  • New Subcommand
    • /ce info: Get description of an enchant

Changes

  • Radar now only shows the distance when held
  • API Changes
    • CustomEnchants::getEnchantByName() has been changed to CustomEnchants::getEnchantmentByName()

Fixes

  • Fix duplication w/ Driller
  • Fix error with Hallucination when used on mobs
  • Fixed Explosive acting like a normal explosion

Additions

  • Added an option to disable jetpacks in certain worlds

Changes

  • Force now affects Volley, Porkified, Blaze.
  • Now fully using TextFormat constants
  • Updated entity classes. Fireballs now despawn

Fixes

  • Fixes issue #28 (ErrorException: "Division by zero")
  • Fixes issue #59 (Armor duplicating after death)
  • Fixed rarity colors not working

scapularbore
using v2.1.7
19 May 20
Could you please make a enchant to break bedrock. or i can do it myself.
ZZWILLIAMXXTrue
using v2.1.7
23 Apr 20
ZZWILLIAMXXTrue
using v2.1.6
18 Apr 20
ZZWILLIAMXXTrue
using v2.1.4
15 Apr 20
SexyLush
using v2.1.3
05 Apr 20
amazing plugin but the 2.1.3 is giving me and error rn just downloaded it
Johnsonk79
using v2.1.3
05 Apr 20
oink :)
ZZWILLIAMXXTrue
using v2.1.3
04 Apr 20
SexyLush
using v2.1.2
05 Apr 20
im getting an overall error
TickTockKillers
using v2.1.0
23 Feb 20
Ayyy 2.1.0
Itzdvbravo
using v2.0.4
09 Feb 20
A feature where with a command or an item obtainable whcih u can use to increase the lvl of an enchantment, max lvl can be configurable amount, add a system in which u can add an configurable amount of enchantments [Not vanilla enchants] in an item
Invy55
using v2.0.4
08 Feb 20
creeperplayer20
using v2.0.4
21 Jan 20
top 11/10
Johnsonk79
using v2.0.4
07 Jan 20
great, but being able to remove an item's ce would be an awesome feature
ZZWILLIAMXXTrue
using v2.0.3
28 Dec 19
Very good, though adding
aminozomty
using v2.0.3
25 Dec 19
exelent plugin 💪😀👍
pistolswang013
using v2.0.2
05 Dec 19
AndroidMinDa
using v2.0.1
24 Mar 20
Very good
nghiaomgvn
using v2.0.1
18 Nov 19
You can add / ce remove [name ce] to remove false charms on items ?
Minecraftfan714
using v1.4.6
02 Sep 19
love it :D
ZZWILLIAMXXTrue
using v1.4.6
23 Jul 19
Play2KillTV
using v1.4.5
28 Jun 19
What are the max levels of each custom enchatments?
SilverzPlayz
using v1.4.5
06 Jun 19
Could you add Books /ce book (enchant) (level) (player), and you can place the book on ground and throw item on top for the enchant to happen!
Itzdvbravo
using v1.4.5
27 Apr 19
Great plugin but can you add system like there i a chance of ce merging into the tool?
antokiller
using v1.4.3
28 Feb 19
Nice plugins but can you add a function for cexp? And sorry for my english i am a french
Bruth78
using v1.4.2
22 Feb 19
Great Plugin!
Wertzui123
using v1.4.2
13 Jan 19
1.Can i made my Own enchants? 2.Can i recharge the Jetpack? Nice Plugin!
JackMD
using v1.4.1
25 Nov 18
AWESOME LOVE IT!!:heart::heart:
JGYTVevo
using v1.1.1
01 Jun 18
Please make for 1.4 that would be great!
GoldenTheMaster
using v1.1.1
06 Mar 18
One of the most unique plugins out there! Works very well with KitUI and the enchantments are a blast to mess around with!
brexmania123
using v1.1.1
28 Feb 18
BurritoMan46
using v1.1.1
13 Feb 18
Very Nice! Just Add That On PiggyCEShop You Could Buy Custom Enchanted Books!
inaughtysteve
using v1.1.0
01 Jan 18
Very useful, although the advancedkits plugin does not work. But, this plugin is great
DaPigGuy
08 Jan 18
Thanks! For your AdvancedKit issue, you can create an issue on the AdvancedKit repo.
David202020
using v1.1.0
01 Jan 18
good
DaPigGuy
08 Jan 18
Thanks!

Reply to review by :

Supported API versions
3.11.2
->
3.12.5
Producers §
  • Collaborators:
    • @Aericio
  • Contributors:
    • @95CivicSi
    • @Awzaw
    • @Haxley
    • @Heisenburger69
    • @JaxkDev
    • @Muqsit
    • @RubyTemple
    • @jasonwynn10
    • @luca28pet
    • @r7vmc
License §
Categories:
General
Mechanics
Fun
Permissions
Manage entities
Manage blocks/items
Permissions
Commands
Edit world
Asynchronous tasks

You can leave one review per plugin release, and delete or update your review at any time

Loading...