XPStrength
XPStrength
You can allow players to achieve bonuses at certain levels - when they have a certain level, defined by you, they will get a certain bonus to their attack damage, defined by you. You can define as many levels as you want.
Features
- Toggling - You can use /xpbonus to toggle the level-attack bonus. If your level is lower than the lowest level defined by you (the script works this out automatically from the config file) then it will not let you use the /xpbonus command. If you are above the lowest level, you toggle the /xpbonus on and then you drop to below level 30 (see XP draining) it will be automatically turned off. The player's /xpbonus saves.
- Permissions - The permission node is xpstrength.bonus. If the player doesn't have this, they will not be able to use any of the XPStrength features.
- XP draining - You will (configurable) lose xp every time you hit. There is a 50% chance that you will lose xp (you will lose the amount of hearts that you hit - take away 10 hearts and you lose 10 xp), a slightly-less-than-50% chance that you will not lose xp, and a 1% chance that you will lose double the amount that you hit.
- User-friendly config - There is a configuration file that allows the user to modify all the levels and their bonuses easily. It uses .txt rather than .yml to avoid the pesky tab errors.
- Customisable language files - There is a file containing every message sent by the plugin, so the user can customise every single message at the touch of a button.
- Level cap - You can set a level cap that players cannot bypass.
Installation
To install, simply place the .jar in your /plugins/ folder and start the server. Inside /plugins/XPStrength/ you can find the user's accounts (I'm not sure why you'd want to edit these, although if for some reason a user's account breaks, submit a bug report and then delete the file.)
The plugin will automatically create a config file using some default values for you to get the idea of how to modify it, although for more information on the configuration file you can click here.
The plugin will automatically create a language file uses the default English values. You can modify the language file yourself by reading it, although for more information on the language file you can click here.
A configuration editor has been kindly created by papand13 and can be found here.
Permissions
There are two permissions nodes for XPStrength.
- xpstrength.bonus - this allows the player to gain a damage bonus from XPStrength.
- xpstrength.bypass.cap - this allows the player to bypass the level cap.
- xpstrength.bypass.drain - this allows the player to bypass the experience drain.
Thanks!
Thanks for reading, and possibly using my plugin. If you have any suggestions or bugs, submit them and I will look at the bugs and consider the suggestions!
Helping
Are you interested in helping develop XPStrength? Head over to the GitHub repository and fork it in order to contribute. Thanks for the help!
@jameskmonger
Yes, the bow damage and the random hits doing no additional damage. Remember? I tested it a whole bunch by removing all my plugins and running it?
"DONE TESTING. Here's the breakdown I still hit more damage than I should when its the only plugin (8 dmg at 40 with punches) It still randomly misses, and I hit only 1 damage. I think with drain off, sometimes the damage cancels, just as how sometimes the exp doesn't drain. I'm willing to bet the problem lies somewhere in there. Other than that, seems to be working fine. Thanks for the custom messages!"
You never looked into it in the morning ^_^
@LimeGuy55
I'm not sure what you mean.
ported for 1.2.5 please The Custom Npcs Mod is awesome and a lot of people like it, there are people that dont now what it is. Custom npcs mod is just a awesome mod and it would be very very cool and funny beutiful if that mod could be bukkit ported
PLease!! somebody make it possible to have the mod Custom Npcs Mod on servers... :( I need help Everything got to be bukkit ported please make that mod bukkit ported
great plugin btw
Does anyone have any requests or suggestions?
@CallMeMoonWolf Done :) I've uploaded the file and it's awaiting approval.
Hey!
Can you, please, update this plugin for 1.4?
@RumbleIV
Can you try to fix the code tags? I can't really read that. When the box pops up (saying "lua" by default) just remove lua (leave the box empty) and click okay. You should get something like this:
<<code >>
<< / code>>
Paste the code (the config file in one code block, the errors in another) inbetween the two << >> lines and then post it. Thanks :)
@jameskmonger
That fixed it but now I get this error when trying to do /xpbonus
and this is my config file
@RumbleIV
What version have you downloaded?
The xpstrength.jar creates a xpstrength folder, but all that is in it is textfiles with names, no config file?
I'm going on holiday in a few days so I'm not going to work on any new features. If you've found any bugs, report them ASAP so I can fix them before I go.
nice i like this one im getting it! :D
@jameskmonger
Thanks!
@MegaMech43 Sure, I'll look into it. I think I'll use a permissions-based method of loading
Is it possible to make different groups get different Boosts? or to have different types of boosts like instead of just doing more dmg, taking less dmg, or fire resistance or Explosion proof, extra jump/speed. And also make it configurable how much XP someone loses when they do dmg. Or maybe multiple bonuses or a player could choose which bonus he wants to use.
ex.
Group: - Players
10:3:19
Group: - Donators
10:6:19
ex.
Starting Level: Bonus[BonusType]: End Level
or
Starting Level: Bonus: BonusType: End Level
@UltrafaceGuy No problem, thanks for supporting the plugin! Thanks for reporting these bugs, I'll look into it in the morning :)
DONE TESTING. Here's the breakdown:
I still hit more damage than I should when its the only plugin (8 dmg at 40 with punches)
It still randomly misses, and I hit only 1 damage. I think with drain off, sometimes the damage cancels, just as how sometimes the exp doesn't drain. I'm willing to bet the problem lies somewhere in there.
Other than that, seems to be working fine. Thanks for the custom messages! :3
@jameskmonger
Neraraaghhhhh That's like 60 plugins...
Ughhh...
Okay... Q_Q
@UltrafaceGuy Could you move all your plugins EXCEPT XPStrength into a seperate folder and repeat the tests? :P