DoubleXP
DoubleXP
What is DoubleXP?
This plugin is a very simple it allows users to be given double exp, this was tested with exp bottles but should apply to "any" natural form of gaining exp. As well as this the plugin allows for a custom multiplier and can be disabled and enabled via commands.
Permmisions
- DoubleXP.use - This allows you to use the /dx command - only for administrators, lets you set multiplier and disabled the plugin.
- DoubleXP.allow - Users with this permission will be able to gain double exp when the plugin is enabled. (Won't be used if EnablePerms is true)
- DoubleXP.multiplier.(float/int) - Users can have a custom multiplier based on their permission node. (EnablePermMultiplier in the config for this)
Features
- Permissions support, also allows for per permission multiplier.
- Should allow for all forms of exp gain
- Can be disabled via command
- Custom multiplier, can be to 1 decimal place
- Can enable it for only certain days of the week
- Option to disable if the player is near a spawner.
Commands
- /dx help - Shows the help menu.
- /dx toggle - Toggles the plugin on or off.
- /dx multiplier <amount> - Amount xp is multiplied by, e.g. 2 is double.
How to install this plugin?
Simply drag and drop this plugin into your plugins directory, a config will be automatically generated. Help with the configuration
Things to come!
- Suggest other things you'd like to see
Known Issues
- No real issues at the moment, feel free to spot them for me!
ChangeLog
- v1.5
- Added support for floating point numbers to 1.s.f, which means you can have 1.3, 1.4 in the permission nodes and as multiplier
- Also support for floating point numbers for the multiplier, in the config.
- Ops no longer get all the permission nodes, the system for per permission multiplier now ignores ops completely.
- Capped the multiplier at 10 using permissions, to save resources, also it isn't really needed...
- v1.4.2
- Renamed the option from UsePerms, to EnablePermMultiplier, so it's abit more obvious what it does.
The source is open to anyone who wants it, just pm me on bukkitdev and I'll supply the source
Where the idea came from: Link to the post
-
View User Profile
-
Send Message
Posted Apr 19, 2013@Oli1593
Ops getting maximum multiplier isn't really an issue, as ops get all permission nodes by default, as with most plugins, so i'm not if i'm going to change it.
Also, can't believe i keep forgetting to update the plugin.yml :)
-
View User Profile
-
Send Message
Posted Apr 18, 2013@JoeGandy1
Yeah it's very late right now xD I have a fix anyway for it and as all players get doublexp or normal it doesn't affect the server :) Another thing to note is your plugin.yml still says version 1.1, so don't forget to update that too :P
-
View User Profile
-
Send Message
Posted Apr 18, 2013@Oli1593
It's getting quite late here, but i'll definatlly fix this tomorrow and add it to the current known bugs, thanks for the tip!
-
View User Profile
-
Send Message
Posted Apr 18, 2013Big issue in update. Ops get the maximum multiplier, although I'll be manually setting the multiplier to fix this (thought it'd be nice for you to know).
Edit: Even manually setting the multiplier grants ops the 100 multiplier. Turning off useperms on config resolves this issue but only allows for one multiplier.
-
View User Profile
-
Send Message
Posted Apr 18, 2013@owenftw
Thanks a ton, all constructive feedback is greatly appreciated.
-
View User Profile
-
Send Message
Posted Apr 18, 2013Works great, Thanks for the awesome plugin :]
-
View User Profile
-
Send Message
Posted Apr 17, 2013@JoeGandy1
Ahh, I see! Thank you.. I thought that was a mistake in the config. As UsePerms: true would make more sence.
Thanks a lot for this plugin it's working now! :)
-
View User Profile
-
Send Message
Posted Apr 17, 2013@MineCrafterCity
UsePerms: false
See the configuration page for the explanation badly worded on my part i'll change it possibly in future versions :)
-
View User Profile
-
Send Message
Posted Apr 17, 2013Hi It doesn´t seem to wroking for me, I´m using this on bukkit version: 2754 for 1.5.1. When I give a rank DoubleXP.allow and I set the mutlipler to 30. It doesn't do anything. I've tried setting it to a number of different mutlipliers like 5 or 10.. But for a skeleton it just always gives 5 XP.
Also here is my config file: http://pastie.org/7634556
EDIT: It seems to be something with my permissionsEX maybe, because when I use this plugin myself as a OP. it does mutliply.
-
View User Profile
-
Send Message
Posted Apr 17, 2013@Sahee
A temp fix has been uploaded whilst i work on a more robust solution, should at least bring down the usage from 26% to 2.6%
-
View User Profile
-
Send Message
Posted Apr 17, 2013@Sahee
I'll defiantly look into it for you, I wasn't having any more lag than normal on my test server, but i'll look into a more efficient method if it helps you.
@great209
It now lets you add per permission multipliers
@nxtguy
Yes it 'should' follow the rules as before
-
View User Profile
-
Send Message
Posted Apr 17, 2013http://aikar.co/timings.php?url=5715974
can you decrase lags?
-
View User Profile
-
Send Message
Posted Apr 16, 2013@JoeGandy1
Is the plugin included with what I asked? O_O
-
View User Profile
-
Send Message
Posted Apr 16, 2013Double XP weekends here we come!
-
View User Profile
-
Send Message
Posted Apr 16, 2013Do the new permission multiples respect 'DaysToEnable' ?
-
View User Profile
-
Send Message
Posted Apr 16, 2013@InexorableRaven
@great209
I'll get right on this now, sorry Easter break had me distracted!
EDIT: Although in true wacky programmer style I've done it in my own way, hope you like it.
EDIT: Another quick note, i haven't yet added support for decimals yet, sorry!
-
View User Profile
-
Send Message
Posted Apr 15, 2013This is fantastic, I can't find anything else that does this. The idea about permission based multipliers is fantastic. Can you PLEASE PLEASE PLEASE make decimals allowed for the multiplier, like 1.5 rather than 2??
-
View User Profile
-
Send Message
Posted Apr 15, 2013@great209
Sounds like a great Idea to have the multiplier as permissions, and not as a config..
Hope Joe see your comment =P
-
View User Profile
-
Send Message
Posted Apr 15, 2013Anyway at all I can make it double, tirple, and quadruple?
So nodes like:
DoubleXP.allow TripleXP.allow QuadrupleXP.allow
etc.
Planning on using this for donation perks :) So yeah, if I can have multiple at once, it'd be great.
-
View User Profile
-
Send Message
Posted Apr 9, 2013@JoeGandy1
:D Awesome, thanks!
Oh, okay. :P