Custom Drops
Custom Drops
Returns broken glass and glowstone
NOTE! New name, same plugin with more features!
Custom Drops was my first plugin that i made. It is just a basic plugin that allows users to retrieve glass, or glowstone they have broken after accidentally breaking it or placing it in the wrong spot.
Downloads (Latest):
- BukkitDev: On right (Prefered)
- DropBox: Download
Source:
- Github: Custom Drops
Features:
- Allow glass and thin glass (panes) to be dropped
- Commands to enable and disable the drops
- Permissions support
- Config File
- Supports Grief Prevention and Factions
Commands:
- /drop - Drops the item
- /destroy - Destroys the item
Permissions:
- customdrop.toggle.* - Allows toggle of all blocks
- customdrops.toggle.glass - Toggable glass only
- customdrops.toggle.glasspane - Toggable glasspanes only
- customdrops.toggle.glowstone - Toggable glowstone only
- customdrops.* - Permissions to everything
- customdrops.help - Access to help menu
By default, OP's have access to everything
Default Config
Worlds: - world - world_nether - world_the_end Glass-Damage: Damage-Chance: 0 Damage-Amount: 0 Glass-Drops: Drop-Chance: 100 Glowstone-Drops: Drop-Chance: 100 Blocks-Dropped: Glass: true Glass-Panes: true GlowstoneDust: 5 Debugging: Debug: false Hooks: GriefPrevention: true
To-Do:
Add permissions- DONE!
Add a config file - Not sure what for though... Let me know :)- DONE!
- Add reload command - Working on
- Fix bugs - Always being worked on
- Add custom messages for glass drops and config reload - Working on
- Add custom colours for messages - Working on
Allow unlimited worlds to drop glass (Not limited to 5)- DONE!
Add Glowstone- Fixed/DONE!
- Bug fixes - Always being worked on
Add debug option- DONE!
- Add custom Priority option(s).
Changelog:
2.0.5
Fixed Glowstone issues, Config options;
0 = Random Dust (Vanilla)
1-4 = Constant drops of that amount of dust
5 = Drops of Glowstone blocks
Fixed issue #3 by adding option to config
- 2.0:
Added unlimited world support
Changed commands and permissions - More control over what can be dropped
Changed config - Old one will HAVE to be deleted upon update from 1.7.2-1.8
Added a help page
Added Grief Prevention Support
- 1.7.2 - Reversed toggles, glass is now dropped by default on server reload/start
- 1.7.1 - Changed priorities for plugin, fixes issues with Factions.
- 1.6.5 - Fixed "[SEVERE] Wrong method arguments used for event type registered" error in log
- 1.6 - Fixed a bug in regards to drop chance
- 1.5 - Added config and changed some code to make it more stable, removed possibilty of drops being possible in creative
Special thanks to dadaemon
- 1.0 - Updated for RB 1.1-R4
- 0.5 - Added permissions
- 0.4 - Added thin glass (panes)
- 0.3 - Added commands
- 0.2 - Added stability
- 0.1 - Initial Version
Can I prevent drops from any other block?
@CRAZYxMUNK3Y
Well, the point , or reason, was because i wanted to make it where you could not get stuff like sugar cane, so its harder to make paper, for books, to get an enchantment table, and the ores was to make it harder to obtain armor and such. So then i could control, how quick you could gain diamonds, and gold, iron.... I will check back to see maybe if you can get it, in 1.3 if you plan to keep updating, as for now, i have blocked all ores, with essentials and have found 1 other plugin, that is letting me do random drops. The stone reason to make it harder to gain cobble, as it has been set to be a more reliable block then dirt to not be broken as easy by mobs, stone being better(cause u have to smelt it), and like obsidian being the best, but still breakable ( hints why i dont want players to gain diamonds so quickly ). Oh why am i doing this, i am dumping my tekkit server and going back to bukkit, and making a, zombie survival type server. Thanks for the reply, ill check back later to see maybe if you add it to a 1.3 version, as i have the server ready, but will be looking to update all plugins to 1.3, as they start to roll out : ) Good day
@out2k
I don't see the point in having damage for stone/iron eg, but i can add Stone, Iron Ore, Gold Ore and Diamond Ore to the lists with custom drop percentages.
HI, can i do something like? Stone-Damage: Damage-Chance: 90, Damage-Amount: 50, Drop-Chance: 50
So like if when you mine Stone, it wont drop cobble all the time? Or for like other blocks, like when you mine iron ore, it wont always give you one? like
> IRON_ORE-Damage: Damage-Chance: 50, Damage-Amount: 50, Drop-Chance: 25 I am looking for a plugin to randomize drops of blocks when mined. So you wont always get a block, you know, make it harder. Setting up a med custom game server, that i used to use, and really need to have something like this?Will this work? I have tried, just dont know if i have something wrong. Or is this glass/ glowstone only? Or can you add it? Thanks! Cheers...
Sorry , i dont know why its red strike line, part of the post
@Turgo82
Can you please create ticket here with the error that is appearing(If one appears).
Thanks
Ran into errors with World Guard. Fix problem by turning. GriefPrevention: false
@Blackvenom01
It might benefit many people. Added to "To-Do" list.
I am afraid I cannot do that because people are having fires in there homes for the fireplaces.. half my world would probly burn down !
It is up to you if you wish to do that, you don't have to for just my/our sake.
@Blackvenom01
IF that could be the case, is there any chance you could maybe disbale world guard to test it again? (If you wanted).
The way i have my plugin set up is ALL other plugins override mine, can make an update though to allow you to have the option to set the Priority of the pugin (Override all - all override this one).
Will go ahead with it if you want.
I do not know what to say mate, I tried it many times but it just doenst drop for me as a OP or other players. perhaps there is something in World Guard that does it, since thats the only different between the two.
@Blackvenom01
I had a look at the configs, and tested them myself (Ex world Guard as i was getting errors) and it was working fine?
Will make a debug version if need be to test too.
http://pastebin.com/k9tfT8uC
Here you go ( i think )
No errors in console while loading or breaking glass.
@Blackvenom01
Can you post your Essentials, World Guard and World Edit configs on Pastebin?
Also, do you get any errors in your console when loading the server, or when trying to drop the glass?
Hello,
It doesnt seem to be working on my server.
I use Essentials, World Edit and World guard. Latest beta craftbukkit.
Glass Drops Config File Worlds: world: Gingerland nether: Gingerland_nether world3: Gingerland_the_end world4: world4 world5: world5 Glass-Damage: Damage-Chance: 0 Damage-Amount: 0 Glass-Drops: Drop-Chance: 100 Blocks-Dropped: Glass: true Glass-Panes: true
Even ingame it say's its enabled but they do not drop.
@deleted_7536780
I am still learning and i am not entirely sure on how to make a list of worlds either with a list(or Array)
@CRAZYxMUNK3Y Why does it force:
to be in the config?
@CRAZYxMUNK3Y
Thanks Bro xD
@Phoenix23GF
EDIT: I updated it so glass is now dropped by default on server start/reload, and can then be toggled off.
http://dl.dropbox.com/u/58518437/GlassDrops.jar
@CRAZYxMUNK3Y
Yes please xD
@deleted_7536780
I've tried that and it worked? Anyway...
Personally, myself and other Admins/Mods, if there is Lava or something that needs to be gotten rid of, they can spawn glass, stop it and the destroy.
I know there are other ways around it too.
I can change it so it automaically drops glass (Without a command), then it can be toggled off if wanted?
EDIT: New version that has glass dropped by default on reload/start of server
http://dl.dropbox.com/u/58518437/GlassDrops.jar