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!
-
View User Profile
-
Send Message
Posted Nov 15, 2012@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 ^_^
-
View User Profile
-
Send Message
Posted Nov 14, 2012@LimeGuy55
I'm not sure what you mean.
-
View User Profile
-
Send Message
Posted Nov 12, 2012ported 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
-
View User Profile
-
Send Message
Posted Nov 12, 2012PLease!! 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
-
View User Profile
-
Send Message
Posted Nov 11, 2012Does anyone have any requests or suggestions?
-
View User Profile
-
Send Message
Posted Nov 2, 2012@CallMeMoonWolf Done :) I've uploaded the file and it's awaiting approval.
-
View User Profile
-
Send Message
Posted Nov 1, 2012Hey!
Can you, please, update this plugin for 1.4?
-
View User Profile
-
Send Message
Posted Oct 27, 2012@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 :)
-
View User Profile
-
Send Message
Posted Oct 27, 2012@jameskmonger
That fixed it but now I get this error when trying to do /xpbonus
and this is my config file
-
View User Profile
-
Send Message
Posted Oct 25, 2012@RumbleIV
What version have you downloaded?
-
View User Profile
-
Send Message
Posted Oct 25, 2012The xpstrength.jar creates a xpstrength folder, but all that is in it is textfiles with names, no config file?
-
View User Profile
-
Send Message
Posted Oct 25, 2012I'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.
-
View User Profile
-
Send Message
Posted Oct 25, 2012nice i like this one im getting it! :D
-
View User Profile
-
Send Message
Posted Oct 24, 2012@jameskmonger
Thanks!
-
View User Profile
-
Send Message
Posted Oct 23, 2012@MegaMech43 Sure, I'll look into it. I think I'll use a permissions-based method of loading
-
View User Profile
-
Send Message
Posted Oct 23, 2012Is 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
-
View User Profile
-
Send Message
Posted Oct 23, 2012@UltrafaceGuy No problem, thanks for supporting the plugin! Thanks for reporting these bugs, I'll look into it in the morning :)
-
View User Profile
-
Send Message
Posted Oct 23, 2012DONE 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
-
View User Profile
-
Send Message
Posted Oct 23, 2012@jameskmonger
Neraraaghhhhh That's like 60 plugins...
Ughhh...
Okay... Q_Q
-
View User Profile
-
Send Message
Posted Oct 23, 2012@UltrafaceGuy Could you move all your plugins EXCEPT XPStrength into a seperate folder and repeat the tests? :P