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
-
View User Profile
-
Send Message
Posted Jul 26, 2013put version 1.6.2
-
View User Profile
-
Send Message
Posted Feb 20, 2012@WizardStan
Is that still an issue?
(And is the author AWOL?)
-
View User Profile
-
Send Message
Posted Dec 14, 2011Hi, 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
-
View User Profile
-
Send Message
Posted Dec 14, 2011Could 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?
-
View User Profile
-
Send Message
Posted Dec 13, 2011I get a "Could not pass event BLOCK_BREAK to OKOreXP, latest RB (1.0.0). Please try to fix it asap =)
-
View User Profile
-
Send Message
Posted Dec 7, 2011@Brock_Blocking
You can use bukkit's permissions.yml and make the node okorexp.place default to true for all users.
-
View User Profile
-
Send Message
Posted Dec 6, 2011I 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.
-
View User Profile
-
Send Message
Posted Dec 3, 2011@seriosbrad
Fixed in the most recent release(1.2.1). :)
-
View User Profile
-
Send Message
Posted Nov 30, 2011Hi,
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.
-
View User Profile
-
Send Message
Posted Nov 20, 2011Version 1.2.1 - Updated for 1.0.0 XD Please do it. Thanks for adding my suggestions by the way :)
-
View User Profile
-
Send Message
Posted Nov 18, 2011Version 1.2.0
You will now lose experience when placing listed blocks unless you have the node: "okorexp.noloss".
-
View User Profile
-
Send Message
Posted Nov 18, 2011@Folas1337
Will add that in a moment :).
-
View User Profile
-
Send Message
Posted Nov 18, 2011@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
-
View User Profile
-
Send Message
Posted Nov 17, 2011@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 :).
-
View User Profile
-
Send Message
Posted Nov 17, 2011@kalmanolah
Thanks alot and maybe have a look into what I was talking about before ;) See ya till my next suggestion, Folas.
-
View User Profile
-
Send Message
Posted Nov 17, 2011@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.
-
View User Profile
-
Send Message
Posted Nov 17, 2011@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).
-
View User Profile
-
Send Message
Posted Nov 17, 2011@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 :).
-
View User Profile
-
Send Message
Posted Nov 17, 2011@kalmanolah
I'm using dev-1.9 and it's working :D Then maybe add DamageValue? =)
-
View User Profile
-
Send Message
Posted Nov 17, 2011@Folas1337
This plugin was developed for CB 1337 and will not function with anything higher until there is a new RB :).