Cactus Crate
Friendly Reminder: Dev will be moved to CrateReloaded
About
Cactus Crates aka Mystery Crates allows you to create crates with customizable rewards. The types of rewards you can receive is limitless, ranging from Items, Ranks, Kits, ect. Crates allow you to have an default reward along additional rewards.
Features
- Physical/Virtual
- Multiple Crates
- Randomized Rewards
- Buy Crates, Vault Support
- Crate GUI
- Customizable Prefix/Crates/Messages
- Customizable Rewards (Ranks, Items, Ect)
Commands Information
name | usage | permission |
---|---|---|
crate | /crate | cactuscrate.crate |
info | /crate info | cactuscrate.info |
give | /crate give [Player] [Amount] [Crate Name] | cactuscrate.give |
giveall | /crate giveall [Online/Offline/All] [Amount] [Crate Name] | cactuscrate.giveall |
open | /crate open [Crate Name] | cactuscrate.open |
reload | /crate reload | cactuscrate.reload |
buy | /crate buy [Crate Name] [Amount] | cactuscrate.buy |
More Information
Tutorial
Feature Request
Please view crate reloaded and post feature request on there
Metrics
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org.
Credits
- Myself - Coding
- Bukkit Forums - Bunch of Good Information
- Master1918 - Original Idea
- Koz - Tutorial
- LordKainzo - Helping out.
Crate Reloaded
Development will be moved to Crate Reloaded
Was the source on github or anything btw?
Thoughts on 1.0.3 .... I think if you only have one type of crate - it should open it when you do /crate open - not require the command to open the crate - but that is a really small item.
okay, after giving it a proper test.
1) console commands work just fine as stated previously
2) Default config has some errors " playermessage: The contained $200!"
3) I would avoid storing any information if you do move towards actually giving the player a chest-item with the random contents available. However, a config option to "use-physical-chest" would be best. The name of the chest could be the name of the reward, "detail: '100 souls'"
4) If you arent already hooked into Vault - I would use that for all eco transactions - I havent checked the code but was just making sure :)
The plugin works very well at this time - aside from a few cosmetic/bug fixes. I think a lot would greatly prefer having a Loot Crate they could trade to friends or sell vs having it stuck on the player. 80% of most server owners will use this in conjunction with Buycraft to just sell a crate (or give away) and it has options to ensure the player has space in inventory, etc.
@nelbrenn
Can you tell us what version you are running? Also, I have tested v1.0.2 and it does give the player an crate as long as he is online but does not return a message to the console.
Also, I am not sure how I would do crate rewards per group permissions, but there will be an update to support multiple crates, and hopefully you can use that to your advantage.
@LordKainzo
Thanks LordKainzo, I be sure to check that out.
Important
Please note, things are subject to change with new features which will cause nothing major but a few minor additions that you will have to make.
ex. In 1.0.3 Multiple Crates, Commands will have unique crate identifiers to support multiple crates.
/give {Player} {Amount} will be /give {Player} {Amount} {CrateName}
For more information about the future 1.0.3 update, check out this page
@nelbrenn
Giving crates from console is very important and should be relatively easy to do as long as the current player is online. Dino said that the give cmd should be functional in the latest - have you tried it yet?
im out of town but will give it a testing soon
And, if you add the Chest item, can you make a place in the config if you want it a item? Oh and i also have another idea! When you do /Crate Open it should bring up a GUI which has Chest Items, when u click on them it automaticly opens a crate. This would be awesome! Thanks So Much! Nelbrenn
Dinosaurs, Can you make certain crate rewards PER group permmisions? And can you fix it so you can give crates from console?
@Dinosawrs
As previously mentioned, I think it's a good idea to have the crate upon obtaining/grant become an item that when right-click will randomly select the rewards from the predesignated list.
There's a few plugins that do this so you can check in the methods exactly how. http://dev.bukkit.org/bukkit-plugins/greencrate/ Just trying to help you out :)
@Dinosawrs
Ok thank you for your consideration I will be looking forward to the release of it
@SomeOldNigaa
Hello SomeOldNigga, I definitely will consider your idea and possibly make that idea into an reality.
...it will just take some time.
Please Adopt this idea,
Can you make the crate an actual object like a Chest and it come into your inventory and you can name the chest in the config such as "PvP Mystery Chest" and when you place the chest on the ground it disappears and the items inside go into the players inventory. Please consider this idea i think it would be a fun idea for the plugin and make it so much more better.
@LordKainzo
Alright, going to add you then, and I don't actually have an jenkins or public build area right now as I never thought about it, since this is my first plugin. I will setup something soon, going to first finish off some docs.
Yes, Color codes are accepted. You can also use {FORMAT}
ex. {DARK_BLUE}, {BOLD}, {UNDERLINE}
Thanks for willing to help out :) -Dinosawrs
@Dinosawrs
Sounds good and I dont mind being added - if you have a jenkins or other build area - let me know so I can grab recent builds.
Also - int he player messages - are color codes *&a* accepted?
Thanks LordKainzo, I probably will need some help testing as I do make mistakes. If you want, I can add you as an tester to the page?
As for the broken page, it is because I am currently prepping for an 1.0.3 release. Since right now I have time, I am fixing the pages and adding in new pages/documentation for 1.0.3.
-Dinosawrs
@Dinosawrs
Sounds good! Also I'm somewhat of a tester/designer - I can try and test out new builds before DBO if youd like depending on time I have on hand.
Also when clicking on "Crate Config" You don't have the permission to access the requested resource. It is either read-protected or not readable by the server.
@LordKainzo
Hello LordKainzo, I am pretty sure the give command is fixed in 1.0.2 (I'm assuming you are running 1.0.1). Also there are no events/tasks in this plugin, unless you consider Metrics, which you can freely opt-out in Metrics/config.yml.
Thanks for taking interest in my plugin! -Dinosawrs
is it possible to issue the give command from console?
Also - is it possible to give custom items with the give command? Just looking through this plugin seems pretty awesome.
Do any events run/happen btw? I'm looking to make sure the plugins are highly optimized and i wanna make sure this one is :)
Oh Dinosawrs, i have another Idea! Can you Make a Non-Perm Group to each crate so if someone is a $20 donor rank and wins a $10 rank its not possible? Thanks!
@Lobomite
Yes, Multiple Crates is an planned feature.
@nelbrenn
Ill add in a feature to disable multiple rewards just for you.
-Dinosawrs
Hey, could you make a system for multiple crates? For example if i wanted to have 5 different crates with different possibilities in each one of them. Please :)? And perhaps an option to make the crates physical (chest) and when you right click them you receive the items.
I Wish i could Disable multiple rewards... and heres my crates.yml: http://pastebin.com/n91FiiNs