Lucky Droppers
Lucky Droppers
Simple to use fun plugin creates slots like machines out of droppers.Idea credit: lightspot21
Place a dropper with a button below it type a command to create a lucky dropper. Using them is as simple as holding the cost to play and pushing the button. A random item is chosen from the custom list and dropped from the dropper. Create as many different sets for items as you want! Configure The chance for any item!
Features:
- Multiple dropper types
- Fully customisable
- Permissions for everything
- Fast and automatic info signs
- Clear help and error messages
Installation:
- Download the .jar to your servers plugins folder.
- Reload/Restart your server.
- Start dropping lucky!
Usage:
Create a Lucky Dropper:
- Place a dropper (facing any direction)
- Place either a wood or stone button closer than the maximum distance from config. (default is 1)
- (Optional: Place a sign on the dropper block to display information about that dropper)
Use the Dropper:
- Hold the item for payment in your hand.
- Click the button!
- Out comes your winnings!
Delete a Lucky Dropper:
- Destroy the dropper block
- or
- /ld delete
Commands:
Look at a dropper to "select" it.- /luckydropper (aliases: ld, luckyd, luckydrops, droppers, drops)
- /luckydropper reload (reload the config)
- /luckydropper create [type] (turn selected dropper into a lucky dropper.)
- /luckydropper set [Type] (change type of existing lucky dropper.)
- /luckydropper delete (delete a dropper. (will leave dropper intact.)
- /luckydropper type (List available types, display type of selected lucky dropper)
- /luckydropper info [Type] (List all information on a single Dropper type.)
Upcoming features:
- I'm open to suggestions!
Permissions:
permissions: LuckyDropper.*: description: gives access to all dropper commands. default: op children: LuckyDropper.admin: true LuckyDropper.alltypes: true LuckyDropper.admin: description: Allows player control droppers. default: op children: LuckyDropper.create: true LuckyDropper.delete LuckyDropper.type LuckyDropper.info LuckyDropper.reload LuckyDropper.create: description: Allows player to create and change droppers. default: false LuckyDropper.delete: description: Allows player to delete droppers. default: false LuckyDropper.type description: Allows player to view dropper types. default: false LuckyDropper.info description: Allows player to view dropper type information. default: false LuckyDropper.alltypes: description: gives access to use of all dropper types. default: false LuckyDropper.reload description: Allows player to reload Lucky Droppers. default: false LuckyDropper.poor: description: Allows player to use any dropper of type 'poor'. default: false
Config:
version: 1.1 infosigns: line1: '&4Lucky Drops' line2: '&a$t' # &t replaced with the type name line3: '&aCost:' line4: '&4$c' # $c replaced with cost item and quantity maxdistance: 1 cooldown: 5 #default time if the types time is 0 or not there. types: rich: # Name of type cooldown: 5 #seconds between each use cost: 'diamond,2' # cost to play (item, quantity) drops: # List of possible drops - diamond_block,5 # possible drop (item, %chance) - air,50 # won't drop anything - emerald,10 - gold_ingot,30 poor: cost: gold_nugget,1 cooldown: 5 drops: - dirt,10 - stone,10 - iron_block,50 - gold_block,30
whats the ,(number) after the item is that how many of the item drops or the item id? because its not really working or is it chance of getting the item?
when I bring up /ld to get help I have no clue what to type in next... plus page list lags me (when I bring up chat) like hell :/ No need for the squares, Jesus.
@KELEVRA1992
It won't crash if you have Vault installed. If you are asking if it can use an economy system than please refer to the provided documentation. (hint: it won't) If you would like to suggest that I add vault functionality say that. -cheers Q
is it compatible with vault?
this is fun to use with a few other plugins i got i can make lava drop on them or set them on fire or they just end up with a item.
@IngrownPenguin
Working on that. check back in a day or two.
update for 1.7.2??
@MCwolski
No it won't support another mods items. The item id methods are deprecated so it's not good for me to use them. I can add the option to add enchantments or modified lores. I hate using armature API it my own personal thing.
@MERCHANToDEATH
Please report them in a ticket.
I'm getting a bunch of errors
Support mod's items on MCPC+ server?
I think using itemID like 1:0 instead of dirt for configration is better...
Oh, I have an idea that dropping special items that have lores or attributes. Attributes can be achieved with the help of this plugin.
Very nice plugin <3