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

A crate plugin for PocketMine-MP supporting unlimited crate types
version 2.0.3
Direct Download How to install?
Switch version
532 Downloads / 4114 Total
10 Reviews
Plugin Description §

PiggyCrates Poggit-CI

PiggyCrates is a simple and customizable crates plugin, supporting an unlimited amount of crate types. It also supports vanilla and custom enchants, such as PiggyCustomEnchants.


Command Description Permissions Aliases
/crate <crate> Changes a chest to a crate by tapping piggycrates.command.crate N/A
/key Gives a player a specific crate key piggycrates.command.key N/A
/keyall Gives all online players a specific crate key piggycrates.command.keyall N/A


Permissions Description Default
piggycrates Allows usage of all PiggyCrates features false
piggycrates.command Allow usage of all PiggyCrates commands op
piggycrates.command.crate Allow usage of all /crate commands op
piggycrates.command.key Allow usage of the /key command op
piggycrates.command.keyall Allow usage of the /keyall command op

Issue Reporting

  • If you experience an unexpected non-crash behavior with PiggyCrates, click here.
  • If you experience a crash in PiggyCrates, click here.
  • If you would like to suggest a feature to be added to PiggyCrates, 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.


  • We do not support any spoons. Anything to do with spoons (Issues or PRs) will be ignored.
  • We are using the following virions: Commando.
    • You MUST use the pre-compiled phar from Poggit-CI instead of GitHub.
    • If you wish to run it via source, check out DEVirion.
  • Check out our installation guide at PiggyDocs.
    • Any custom enchantment plugin can be used, as long as the custom enchant has been registered to the server.
  • Check out our Discord Server for additional plugin support.


   Copyright 2018-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

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   See the License for the specific language governing permissions and
   limitations under the License.

What's new §
  • Added virion checks
  • Added message on invalid enchant config (#53)
  • Added name/lore/enchant examples (#52)
  • Fix potential crashes from missing crate types
  • PHPStan Level 8
  • Bump to v2.0.2
  • Added Poggit update checks
  • poggit: incorrect syntax, builds commando virion now.
  • Crate items now have a lore option
  • Crates & crate items now have a command option
  • Fixed an extreme permission issue
  • Now using Commando virion for command handling.
  • Crates are now saved as tiles.
  • Floating text particles have been added.
  • Crate roulettes have been added.
  • Crate items now support NBT
  • Crate item names are now optional
  • PiggyCustomEnchants 2.0.0 support
  • Bump to v1.5.0
  • Add /keyall command
  • Correct /key usage
  • Change messages for giving and added a receiving message.
  • Poggit: Comply with C1a, C2b, B3
  • Version: bumped to v1.4.0
  • Config: Delete obnoxious ASCII to reduce file size.
  • API: bumped to v3.2.0
  • Bump minor version, renamed config property
      • changed command to commands because it is more logical. please update crates.yml accordingly.
      • bump minor version.
  • Cleanup
  • Close #42, added support for multiple commands
    • Tested.
  • Fix #37
  • Fixed #38
  • Fixed permission problem with /key
  • Updated PHPDocs + Added PHPDocs for fields

using v2.0.4
31 Mar 20
[04:59:28] [Server thread/CRITICAL]: ErrorException: "Undefined index: amount" (EXCEPTION) in "plugins/PiggyCrates.phar/src/DaPigGuy/PiggyCrates/PiggyCrates" at line 63 (Yes i read the message pls help XD)
using v2.0.4
30 Mar 20
I doesnt work for me when i do /crate (text) it says "invalid " when i type it in. Please help me or fix it. I use minehub poketmine host
using v2.0.4
30 Mar 20
Again, thanks for the preview. :D
using v2.0.3
24 Mar 20
Asynchronous Worker #2 thread/CRITICAL]: TypeError: "json_decode() expects parameter 1 to be string, bool given" (EXCEPTION) in "plugins/PiggyCrates.phar/src/DaPigGuy/PiggyCrates/tasks/CheckUpdatesTask" at line 38 [07:28:32] [Asynchronous Worker #2 thread/
using v2.0.2
05 Dec 19
using v1.5.0
12 May 19
Permissions? Also can someone tell me how to get permissions of other plugins?
using v1.4.0
17 Jan 19
Nice! Thank you :)
using v1.4.0
25 Nov 18
Simple and easy setup. Nice
using v1.2.0
08 Sep 19
This plugin is awesome, however.. I recommend adding the availability to see the keys IDs in the config. It would be nice to be able to put keys inside crates. For example: A uncommon key as a reward inside a common crate. Please add!
using v1.2.0
02 Jul 18
Great Plugin!

Reply to review by :

Supported API versions
PiggyCustomEnchants 2.0.1
View Plugin
Producers §
  • Collaborators:
    • @Aericio
  • Contributors:
    • @Heisenburger69
    • @JackMD
    • @SalmonDE
License §
Manage tiles

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