Care Packages
Kits would be a lot cooler if they fell from the sky in awesome pods. Care Packages allows you to create your own Care Packages with a custom inventory, price, (using Vault economy) and description. Players can then use a command to call a care package and it will drop from the sky in a pod with a chest inside containing a custom inventory.
Features
- Supports Vault economy, so you can charge players for getting Care Packages
- Very customizable
- Unique protection feature allows you to prevent players from dropping care packages where they cannot build, no matter what protection plugin you're using
- Easy API so other developers can add automatic care packages to mini-games or other plugins
Installation, Setup, and Configuration
To install Care Packages, simply place it in your plugins directory and reload/restart your server. To configure the plugin, find the config.yml inside of the CarePackages directory (files only generated after reload/restart) inside of the plugins directory. If your server uses Vault and you would like to be able to add prices to care packages, set "use-vault" to "true". Next, add/customize the "protection-plugins" list to match all plugins used for region protection on your server. This may include WorldGuard, Factions, or PlotMe. Care Packages decides if a player should be allowed to place a care package in a specific area by sending fake block events to all plugins in the list, so you can add any plugins, even custom plugins to this list. Do NOT add anti-cheat plugins to this list, as it may think the player is hacking.
Commands
- /carepackage help - Take a guess, genius.
- /carepackage list - Display a list of loaded care packages. (Excludes packages that player doesn't have permission for)
- /carepackage get <package> - Send a care package to player's eye location
- /carepackage give <package> <player> - Sends package to a specified player's eye location
- /carepackage create <package> [cost] [description] - Create a new care package
- /carepackage delete <package> - Delete a care package
Permissions
- carepackage.get - Allows use of the /carepackage get <package> command.
- carepackage.give - Allows use of the /carepackage give <package> <player> command.
- carepackage.package.<package> - Allows a player to get or give one specific package (also requires base permission for getting or giving)
- carepackage.create - Allows use of the /carepackage create <package> [cost] [description] command.
- carepackage.delete - Allows use of the /carepackage delete <package> command.
- carepackage.bypasscost - Allows player to receive care packages without paying (Only necessary if using Vault economy)
@huntershenep
Hello! I know how to fix this without a reload. To start, when you create your CarePackage, you need to leave the chest exactly where it is and don't edit it! I ran into that bug too, but that fixed it for me! Hope this worked!
Can you tell me how to add the items into the care packages? please
first
hi can i get the source code for this plugin id give full credits to you for this plugin or can i help you develop this plugin id love to help you expand this plugin
@huntershenep
I'm sorry about that, that was one of the errors I was dealing with in developing this project, I thought I fixed it. If you reload your server to let the care packages load again, I think that should fix it. If not, I'll see what I can do to fix it.
Hello, everything seems to be working except for receiving the items. I am using 1.8, but here's what I get http://puu.sh/gog9c/13847a4898.jpg there aren't any errors either