OKOreXP
OXP - OKOreXP
Now with more experience while mining!
by Kalman Olah
Download | Source | Changelog | Example configuration | Donate
What is OKOreXP?
OKOreXP is a simple plugin which allows you to add the chance of experience drops to block break events. Simply put, it lets you define a chance for a set amount of experience to spawn when breaking specific blocks.
This plugin was made at the request of @Brock Blocking Samson.
Usage, Commands and Permissions
Permissions nodes:
okorexp.use - Allows you to receive experience orb drops when mining specific blocks.
okorexp.place - Allows you to place blocks listed in the OKOreXP configuration file(This way people can't harvest experience orbs).
okorexp.noloss - Allows you to not lose experience when placing blocks listed in the OKOreXP configuration file(Prevents orb farming).
Commands:
/okorexp reload - Reloads the configuration file.
Permissions node: okorexp.reload
Resources
GitHub page(Fork me!)
Dynamic alternate download link
Example configuration
Changelog
Original request thread
put version 1.6.2
@WizardStan
Is that still an issue?
(And is the author AWOL?)
Hi, awesome plugin, really helps balance the server between the miners and the hunters. One bug though, with noloss. If I remove noloss node, all experience is lost. Right down to 0. Some negative value even, I think. It does so in a glitchy way, too, but I blame that on visualization of the client: basically the experience is all lost, but it doesn't update the experience bar until you've collected more experience, and even then it doesn't update the level. So if you were level 10, the experience bar will remain empty until you reach the amount of experience needed to reach level 10 again, and if you place any other block, straight back to zero it goes. As I said, that's probably a bug in Minecraft itself, but the experience being completely wiped out seems to be an OKOreXP bug. I was using dirt to test, so my config has - '3:1:100' Not a big deal, I'm not planning on making anything someone would be interested in farming over and over, just thought you'd like to hear about this bug I found. Assuming it is a bug, of course, and not just me being an idiot with config. Keep up the great work! Thanks :D
Could you please add a feature that lets you pick and choose which blocks to allow? I don't mind if my users add stone blocks because they will have such a nominal chance to give exp.
so like oxorexp.place.1 as a permission?
I get a "Could not pass event BLOCK_BREAK to OKOreXP, latest RB (1.0.0). Please try to fix it asap =)
@Brock_Blocking
You can use bukkit's permissions.yml and make the node okorexp.place default to true for all users.
I have a small favor. could you make another copy of this but without permissions support. Otherwise they can't place stone unless OP. If they want to be a dumbass and grind all that xp from placing stone, fine by me. They still have to smelt it first XD.
@seriosbrad
Fixed in the most recent release(1.2.1). :)
Hi,
When I remove okorexp.noloss from their permission, users die when placing blocks, even though no damage rate is set.
- '112:20:60'
That is nether brick, 20xp at %60 chance, as you can see no damage setting, but it's still killing them.
Version 1.2.1 - Updated for 1.0.0 XD Please do it. Thanks for adding my suggestions by the way :)
Version 1.2.0
You will now lose experience when placing listed blocks unless you have the node: "okorexp.noloss".
@Folas1337
Will add that in a moment :).
@kalmanolah
I knew about the restriction of placing that block with permissions, but I was not talking about saving every block or whatever you're thinking of. I think there is a way: Make people lose the set amount of exp. So you get 10 Exp when you find a ironore, but you also lose 10 exp when you place the block. You could also add a permission to that like okorexp.losexp - just my thoughts ;) Thanks for answering already :P
@Folas1337
There is no performance friendly way to correctly determine whether or not a block was naturally generated, I'm afraid.
If you really want to, you can use okorexp.place to bypass the block placement restrictions :).
@kalmanolah
Thanks alot and maybe have a look into what I was talking about before ;) See ya till my next suggestion, Folas.
@Folas1337
Version 1.1.0
Added multiworld support(You can choose which worlds to enable OKOreXP on).
Added support for damage values for items such as colored wool.
See example configuration for details on the changes above.
@kalmanolah
Sorry, forgot about 112 that they're only available on 1.9 XD Thanks for adding multiworld ;P If I got any other suggestions, I'll tell you. Maybe think of a way to disable the farming a little, if there is any (not disabling the whole block placing). I think "LevelCraft" did that by making you lose the Exp. I think you could maybe add that (will not work on 1.9, I know that).
@Folas1337
It doesn't work with 112,113 and 114 because CB 1337 doesn't have those IDs. I'll add damage values and multiworld support in a minute :).
@kalmanolah
I'm using dev-1.9 and it's working :D Then maybe add DamageValue? =)
@Folas1337
This plugin was developed for CB 1337 and will not function with anything higher until there is a new RB :).