eXPra
Overview
eXPra allows players to be rewarded experience orbs ("XP") for other tasks than just killing monsters and mining ores.
Currently, players are only rewarded XP from slain enemies (and other players) and mining certain ore. By contrast, with eXPra, players will earn XP through various activities other than killing ranging from building houses to fishing to exploring untouched areas and everything in between.
Rewards
Rewards are configurable, but by default the following activities will drop XP in addition to XP that already drops from killing monsters. This allows for additional XP gain for people that enjoy building or helping the server community by harvesting, fishing, crafting, or exploring.
- Breaking or digging blocks
- Placing blocks (building!)
- Planting saplings and seeds
- Exploring (lighting unlit areas)
- Going fishing
- Taming wolves
- Breeding animals (coming soon)
- Crafting items at a workbench or forge (delayed)
Death
Death XP handling can be configured to either drop experience from players as usual, not at all, or to fine tune the amount of percentage of experience lost upon death.
Usage
There really is nothing special a player needs to do to use eXPra; simply carry on as usual.
The /expra
or /xp
command will give players information about their experience and level.
Also, if you are using the PermissionsEx plugin, players with the expra.adjust
permission can set/adjust player levels with the following commands:
/expra(xp) set(s) playername(blank for self) level(blank for 0)
/expra(xp) adjust(a|adj|add) playername(blank for self) (-)levels
Permissions
If you are using PermissionsEx, you can (and need to) assign the following permissions to their respective groups and users.
-
expra.adjust
This is for administrators and moderators only! Use with caution. Allows the user to set their own, and others' level. -
expra.award.*
This will allow the user to receive all additional XP rewards that eXPra offers. -
expra.award.break
Reward the user for breaking blocks as per the configuration file. -
expra.award.place
Reward the user for placing blocks as per the configuration file. -
expra.award.fish
Reward the user for fishing as per the configuration file. -
expra.award.explore
Reward the user for exploring (lighting) as per the configuration file. -
expra.award.tame
Reward the user for taming wolves as per the configuration file. -
expra.death.noloss
This will allow the user to keep all XP upon death regardless of configuration. -
expra.death.loss
This will allow the user to only lose a configurable amount of experience. Without this orexpra.death.noloss
, the user will lose all levels and XP as per standard MC loss.
@fonkfader
use-permissions: true
in the configuration? If not, only "ops" will have access toexpra.adjust
, but the rest of players will have everything else. I hadn't really thought about it before, but perhaps theexpra.death.noloss
should be op-only as well. Considering...@Nekoyoubi
thanks a lot for this update the command /xp set work for admin only, but bpermission make all the nodes working without adding them (so players doesn't loose xp on death).
ps : Saddened for the welcome :) , they'll be punish !!!! ^^
ps2: just a question when a player leave the ender world he lose all exp, what can do this bug ?
@fonkfader
Also, I tried to find you on your server and was killed by angry Frenchmen. ;)
@fonkfader
As @colony88 mentioned, I have added SuperPerms support and tested it with bPermissions to see that things are working. Since SuperPerms doesn't support wildcarding, you'll have to add each reward node separately (ew).
I am putting together the v0.5 build now. I'm not sure how long it will take dev.bukkit to approve it, but I'll be sure to upload it to github as well, so you can get it from there if you need it sooner.
As for the group-based configuration, I will need to look into this further and would love to hear if this is something that the rest of the community wants as well.
@fonkfader
Neko is working on superperms because I already asked him, so you'll just have to wait for that. I don't know about the other thingy you asked.
Great plugin ! but i'am not using permissionEX (i use bpermission) and all the player can adjust their own exp without having the node "expra.adjust"(so i come back to the the v0.1). and do you think that woul'd be interesting to have the possibility to set-up exp gain by group ? ex : group1 -fishing: 1@1 -lighting: 1@10 -taming: 5@1 group2 -fishing: 2@1 -lighting: 2@10 -taming: 8@1
@Nekoyoubi
Nice new updates! These nodes help maximize customizability for each server's needs, in a big way!
thnx for the info Nekoyoubi and for the tickets, you are right, that would be very hard to balance for higher levels the new upcoming expra.death.noloss will do it for my VIP Members too iam loking forward to the next update
@bobeeb
I am working on more granular permissions, yes. They should be available in the next build and will include:
As for buying tickets to lose XP on death, would you mean that you would buy a ticket (for a flat amount) and then if you died that ticket would be removed and you would keep all of your levels? If so, wouldn't this be inherently unbalanced since the levels you're saving may be, say 1-5 after an enchant, or 20-30 for a hardcore? So the amount you pay for the ticket would almost certainly not be fair and even in that case, I would think.
@xXReVurbXx
He means he wants to be able to buy his levels back using iconomy
@bobeeb
You may want to elaborate on what you mean by "buying tickets and not losing xp on death".
wow, very nice plugin is it possible to add more permissions? like only VIP did not lost any xp or only VIP can get exp by fishing and so on and another request, iconomy support. so you can buy tickets and did not lost xp at death
@Nekoyoubi
Just tested out your new xp commands, and they're exactly what one would need.
Simple, easy to remember, generic commands that get the job done,
what more is there to ask for?
Keep up the good work!
@xXReVurbXx
Not quite perfectly, but they've done a lot to get it going again. I've made quite a few changes and have pushed to github. I've also made a build available from there as well that is updated and tested on the 1535 bukkit build you're talking about.
You can find it here: https://github.com/downloads/Nekoyoubi/eXPra/eXPra.jar
This update is not reflected here on dev.bukkit, as it's not for a currently promoted bukkit build, but more for us "experimentals." Let me know if you run into any issues using it, but basically at your request, I added two commands for adjusting levels:
Also, this comes with PermissionsEx integration. I apologize if you use something different, but PEX is what we use on our server and so that was the first I had to support in order to let this feature out in the wild. ;)
Please let me know if you have any issues with this most recent build.
Thanks again as always!
@Nekoyoubi
Hey, you'll be glad to hear there's no need to fix the xp API anymore!
Craftbukkit posted that they fixed exp methods returning wrong values, so now it works perfectly!
@Nekoyoubi
Do you know if Minecraft's exp system supports decimal values? I'm guessing not, but for example:
Just wanted to clarify :O
EDIT: Oh! and what about damage values? Would it simply be 17:2=1@1 for Birchwood? Another thing, if you want to disable a feature such as Fishing or lighting up new areas, would you simply set the xp/ratio to 0? If you answer these questions, I'll put together a nice configuration file for your plugin with averaged out default values. (I'm actually making the xp/ratio based upon how much xp it takes to level, etc.)
@xXReVurbXx
Apologies for the lack of documentation on the configuration. I was hoping to have more of the features completed before detailing it in case it needs to change drastically (which is never the goal, mind you). As for the block entries, here's how the configuration is laid out:
- 59=1@5
... should be read...
block 59 (59) is worth (=) 1 xp (1) at (@) 5:1 odds (5)
... in other words...
planting crops will award the player 1 experience 20% of the time
I hope that helps. Please let me know if you need any additional detail.
@Nekoyoubi
Just noticed that now! Other than that, I failed to find any bugs, 'nor did the players on my server. (Running CB RB 1337). By the way, I've been meaning to ask.. in the configuration, what does your @ symbol represent? Looking through it, I automatically assume it means "in", for example 1@3 = 1 in 3 chance. You might want to mention how that works in your plugin's overview, or in the configuration file :). Other than that, the plugin is definitely amazing. I do have a request though, and I'm not sure if it's even possible. Maybe once the RB is released, you'll be able to fix up the experience API and add the ability to grant yourself or other users levels? It could work as follows:
RE-EDIT: CraftBukkit Build #1521, no changes to plugin. Experience API still broken, everything else is fine :)
@xXReVurbXx
Thanks! I hope it works out well for you. I know we love it on our server. As of right now, the functional part of the plugin continues to work with the CB experimental builds (up to 1518 at least), but the experience API seems to have gotten a little screwy with the release, so I will have to wait for a recommended build to fix it completely. Sorry for the delay.
Definitely looking forward to implementing this on my server. Thank You for making it!! I'll try my best to crack down on bugs. Will be doing intensive testing locally at my home looking for errors, and afterwards, I will include it on my server where another 15-20 people will be testing it out. Because I am intermediately experienced with Photoshop, I really would like to help out in any way with this plugin. Therefor: