Haxley / MysteryCrate

MysteryCrate plugin for PocketMine-MP // McPe 1.2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MysteryCrate

HitCount License Poggit Release
HitCount GitHub license Poggit-CI

A MysteryCrate plugin for PocketMine-MP // McPe 1.2

Features

  • This plugin adds custom crates to your server.
  • Crates can be opened with a custom key.
  • Easy to use crates.yml for adding custom items to the crate.
  • Upon opening the crate particles are generated telling player someone opened the crate.
  • Ability to give enchanted item to players.
  • Ability to give custom enchanted items to players. Requires PiggyCustomEnchants by @DaPigGuy
  • Fool proof. Players cannot grief it.
  • You can set multiple crates using the pattern set in crates.yml.
  • The entire plugin is suited for PocketMine-MP latest API.

How to setup?

  • For adding enchants that are not registered by PocketMine-MP you may use VanillaEnchantments by @TheAz928 or TeaSpoon by @CortexPE for adding enchants on the items.
  • Additionally you can also add CustomEnchants to the items. For this you require PiggyCustomEnchants by @DaPigGuy.
  • Get the .phar and drop the into your plugins folder.
  • Next navigate to the crates.yml file and edit/set the block you want the crate to be recognized with under block: "ID:META" key.
  • Make sure that name of the world where crate is located is same as the world folder name.
  • Now mention the name of theworld where the crate is located in crateWorld.
  • Reload the server.
  • Place the block down you initially set in crates.yml under block: "ID:META" key.
  • Place a chest ID: 54 on top of that block.
  • To open the crate you require a crateKey.
  • To get the key use /key [type] [player] [amount] in-game and then tap the crate with it. You can set/see the crate type in crates.yml file.

Commands and Permissions

Description Command Permission Default
Crate Key /key [playerName] [amount] mc.command.key op
Use a crate ~ mc.crates.use true
Destroy a crate ~ mc.crates.destroy op
Create a crate ~ mc.crates.create op

TODO's

  • Add basic particles.
  • Add floating text above the crate(s).
  • Finish working on commands.
  • Add custom crates.ymlto declare custom items to be given to players.
  • Make setup a bit easier.
  • Make it so that not random items are generated in all the slots as discussed #1
  • Add support for making more than one crate.
  • Add support for normal enchants.
  • Add support for custom enchants.

Info

  • Make sure to subscribe to be updated for when i release more stuff on my YT channel.
  • Support is appreciated.
  • Please don't hesitate to ask questions or report bug report in issues section.

Credits

Video

YouTube

About

MysteryCrate plugin for PocketMine-MP // McPe 1.2

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%