Sueta
MO

MoreOres

1.2.0

More Drops from Blocks

·Plugin

MoreOres is a simple plugin that allows admins to give extra drops from blocks. It can be setup to include all blocks, or just those listed. Great for double drop weekend events.

The chance and multiplier can be adjusted per block if MoreOres is not dropping for all blocks.

That is pretty much it. I will be adding in some extra things eventually, such as extra multipliers for groups or players. I was unable to find an existing plugin for an event on my server so I put this together and thought that I may as well share it with the world for better or for worse.

Commands & Permissions
/moreores reload

Reloads config file
moreores.admin.reload

/moreores enable

Enables MoreOres if it was disabled
moreores.admin.toggle

/moreores disable

Disables MoreOres if it was enabled
moreores.admin.toggle

/moreores debug

Toggles console debug for MoreOres
moreores.admin.debug

/moreores help

Shows a help menu for MoreOres
moreores.admin

Config
##################################################
#
# Written By JohZant
#
##################################################

#Whether or not MoreOres is enabled.
#This can be changed in game, but on reload, MoreOres will use this value
enabled: true

#Set the prefix that will come up in messages to users or in console
#This doesn't really need to be touched unless you wanna claim that you use
#a custom plugin that you created. Supports Colour Codes
prefix: '&6[MoreOres] '

#Turn this on to see your console destroyed
#Not joking.... This will put a lot of junk from MoreOres into your console
# Great for fixing things and testing.... Not so great for anything else
debug: false

#if allblocks is true, all blocks that drop items will
allblocks: true
allblocks_chance: 25
allblocks_multiplier: 2
allblocks_exp: true


#Add ores under "Ores:" that you which to up the drops of. This does nto ahev to be Ores, it can be blocks
# Ores have to be by minecraft name. i.e. DIAMONE_ORE, COAL_ORE, STONE
# This part of the config is disregarded if "allblocks" is set to true
Ores:
  DIAMOND_ORE:
    chance: 10 #Chance that Ore will drop more materials. Set to 0 for no chance
    multiplier: 2 #How much should we multiple the drops by?
    include_experience: true #Multiply Experience drop as well?
  GOLD_ORE:
    chance: 25
    multiplier: 2
    include_experience: true
  COAL_ORE:
    chance: 75
    multiplier: 2
    include_experience: true
  LAPIS_ORE:
    chance: 25
    multiplier: 2
    include_experience: true
  REDSTONE_ORE:
    chance: 5
    multiplier: 2
    include_experience: true
This has been a Half-Cut Production

As in I was half-cut when I wrote this. Not joking. I was 6 beers deep when I decided to start, and I haven't written Java in like 7-8 years.

I was looking for a plugin for this sort of a thing and after not being able to find one that I liked, I had the bright idea to do it myself. Took me 2 hours and 27 minutes to bang this bad-boy out. Next morning, tested it and found one bug. Fixed it in 30 seconds (hence the 1.0.1) and retested.

Does this mean that Tooheys New is a contributor? I like to think so.


Want to help me write my next plugin?

Send money to my PayPal - [email protected]
All proceeds will be spent on beer. If you want to make sure that your money goes to the correct place, a photo of my next carton of beer can be provided on request.

LEAVE HONEST REVIEWS

If it was 5 stars, give it 5 stars. If it was worth half a star, also give it 5 stars.

"But JohZant, you might get confused with which ones are the bad reviews" you say? Well, just leave a bad comment with your 5 star review if you don't like it.... easy as that.

On a serious note, if you did not have a good experience, let me know in the discussion section. I will try and fix it. If I can't fix it, I'll help you write a bad review for MoreOres.

If you write a bad review with a request for help, you will receive no help. If you write a bad review and give no criticism.... you are most likely the problem.

For every good review, one beer shall find a home.... in my belly.

Similar projects

Plugin →