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.2
Approved
Direct Download How to install?
Switch version
1402 Downloads / 18296 Total
27 Reviews
Plugin Description §

PiggyCustomEnchants Poggit-CI

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.

Q: ErrorException: "Invalid argument supplied for foreach()" (EXCEPTION) in "plugins/PiggyCustomEnchants.phar/src/DaPigGuy/PiggyCustomEnchants/PiggyCustomEnchants" at line 54 A: This is due to an outdated configuration from Version 1.0.0. You should delete your old configuration to allow PiggyCE to re-generate a new configuration.

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.

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.
    • You MUST use the pre-compiled phar from Poggit-CI instead of GitHub.
    • If you wish to run it via source, check out DEVirion.
  • Plugin setup/configuration information & API Documentation available at PiggyDocs.
  • You can find a list of custom enchants at PiggyDocs.
  • Check out our Discord Server for additional plugin support.

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.

Plugins using PiggyCE

If you use PiggyCustomEnchants and want your plugin to be shown in the list below, join our discord server and ask to be added.

  • Requirement: must be a plugin approved on Poggit-CI.

PiggyCustomEnchantsShop (OFFICIAL)

PiggyCustomEnchantsShop: PiggyCustomEnchantsShop is an add-on the the PiggyCustomEnchants plugin, adding UI/sign shops.

PCEAllyChecks (OFFICIAL)

PCEAllyChecks: PCEAllyChecks will prevent certain custom enchants from affecting your faction members/allies on FactionsPro and FactionsPE (PiggyCE v2.1.0+ required).

AdvancedKits

AdvancedKits: AdvancedKits is a simple yet useful PocketMine-MP kit plugin.

KitUI

KitUI: Advance AdvancedKits! Select Kits from an UI, just do /kit and get kits info and select it if available!

What's new §
  • 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

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!
Aericio
28 Feb 19
Yes, you can make your own custom enchants via our API.
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!
SmiggyGaming
using v1.1.1
14 Apr 18
Its says “Unable to perform this command” please help but i love this so much please make it work.
haKingdomsCraft
using v1.1.1
20 Mar 18
Please help Plugin don’t Working to me is keeping Disbling also I not know what I do please Help me Replay me how to fix it my proplem
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.11.4
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...