Xp Bank
XpBank
Version: v1 Beta
Introduction of plugin:
This plugin allows the creation of signs that can be used as XpBanks. On this first line enter [XpBank] then hit "done". Use "/xp help" for information on commands, Left click to add Xp and Right click to remove Xp.
Features:
Suggestions/Future Features (Leave any in comments below or Pm me thanks)
- Add player level handling to new permission "xp.mod" - CommodoreAlpha idea
- Add World based bank limits, any without a bank limit fall back on servers default limit.
Permissions
Commands
Important Information
Empty
Videos
To be done.
known bugs
None.
@gustebeast
I'll take a look into this straight away thanks for pointing this. Out.
@sicariusdracus
Hi, it's something I do want to add into the plugin. It just trying to find the time to do it. I'm just updating parts of it now and I may add it and but before I go throwing this feature in I want to look at how this can work so it's not to OP. So maybe so a player can't just raid all day and get 1million levels or something along those lines. Maybe a limit on the amount they can raid with a timer which can be set by the server admins.
@ch0xy
1. Do you mean as in left clicking once will store 1 level or do you mean so once you have place 17 xp it shows level one then on 34 it show level 2 and so on. If so I doubt i will be adding such a feature.
2. I can turn on level depositing. Well make a config option and do you want it so it takes the correct amount of xp i'm taking it. With that I would have to add some check and so on. Main one being checking there current level and working out how much to take then there is also the fact of the quickstore working that out to. I will add level depositing back but it won't have the capability untill later on or i may hold is back to add that capability it all depends.
3.I'm not sure what you mean with the hold shift and left click breaks the sign. Then you go onto about chest shop and that. Is that a feature they have?? If so then i'm taking it you want that to be added to this plugin which then yes I can add that. Also with the usexpb that was removed due to it caused complications so all commands were reverted back to /xp and /xpb was completely removed. However if I get a high demand i will look into adding a option for /xpb once again.
I just started to use this on my server and love it. There is only a few things I am having trouble with and a few suggestions.
Config code below.
I definitely want to see XP raid.
everything seems to be working. Except the spawner xp block doesnt work. Idk if its even possible to do.
XpBank is now v7. I suggest getting it to fix any level problems due to this version now stores EXP
WARNING TO USERS: Because this now stores exp any existing signs will no longer have levels in them when this is installed, so a user could of stored 99 levels in a sign however on installing this version that user WILL only get around 10 levels back out of the sign. I suggest giving a warning to you members before hand.
@gustebeast *This is to notify you about the new version
A new version of xpbanks will be released asap. I'm just working on a bug with the new way xpbank handles exp now. Which is rather then storing levels it stores Exp making it so people can't rapidly gain levels. Also i'm adding a feature for disabling spawner spawned mobs droping exp.
The new version will be tested on a 1.4.5 server.
Currently, The plugin does not work with Minecraft 1.4.5 R0.2 BETA Build. I used v0.6.3 and this problem resulted;
@gustebeast
I can take a look. See if there is any way of getting how they spawned or doing some type of work around to see if i can get how they spawned.
@keensta
Keensta, can you add a config option to stop Mob Farming? Basically it would make it so monsters spawned by a mob spawner wouldnt drop exp orbs. I dont know if it is possible to detect how the mob was spawned, but if it is possible, it would be very usefull.
@gustebeast
No. The current only way really to disable them would be to do /xp set limit 1 *Sets it so only can place one bank.. Or no more if they have more then one already. Breakign a previous one does not allow them to replace it*
Also do /xp set maxstorage 1 *This then make it so you can only store 1 level on a sign making them useless* This is the current way to disable them in a fashion. I may add a option to just not allow interaction with them at all if thats what you're looking for.
@keensta
In 6.3 can you disable xp bank signs?
@gustebeast This has been fixed in V0.6.3, small bug in the code that when it ran a certain part it never checked if the sign was actully attached to the block you broke as long as it was next to it. It carryed on running. However this is now fixed and only works for blocks attached to the sign.
For your other problem i will be looking into storing the Exp on signs. In the near future so rather then the whole level it will store just the points. Meaning you have to store 7 exp for 1 level.
@gustebeast
also, because of the new update, getting to level 1 is easier than from level 29 to 30. Can you add a minimum amount of xp that can be added to a sign? Like players have to add at least 20 levels each time they use it?
@keensta
Huge Huge HUGE glitch. If you make an xp bank sign with say 20 levels stored in it, then you break a torch to the left of the sign, you get 20 levels of xp. You can then re-create the torch and repeat, getting infinite levels
@keensta
I cant disable the xp bank signs with permissions. Could you add a simple config option to disable xp bank signs?
@gustebeast
I can do. Also xpb stands for Xp Bank. I will write up a option in the config file for those people that still wish to use /xp rather then the new /xpb.
@guineaman8
Hi, the problem the stack trace is showing is the fact this plugin is compiled with the latest JDK which is JDK7. However if you attempt to run the server with only JRE6 installed you will get this capability error. If you contact your server host and see what version they are running if it's not 1.7 get them to update it for you. However you may be able to download it yourself and install it.
If the problem still seems to be causing troubles make sure you have 1.7 enabled in the Java Runtime Enviroment options. To find this just search on google as each system is different but most windows can be found in "ControlPanel/Programs/Java" Then click the java tab and then click view and it's easy to follow from there.
@keensta
Also could you possibly make it optional to have it be xp pay? All my users are complaining because they say xpb makes no sense. Xp pay is considerably more intuitive
Hello,
when I try installing it comes up with this error
19:04:53 [SEVERE] Could not load 'plugins\XpBankV0.6.1.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError : com/andi/xpbank/XpBank : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:154) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:227) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:576) at org.bukkit.Bukkit.reload(Bukkit.java:183) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java: 22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 0) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:5 02) at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer. java:494) at net.minecraft.server.DedicatedServer.al(DedicatedServer.java:250) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:215) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:486) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.ThreadServerApplication.run(SourceFile:818) Caused by: java.lang.UnsupportedClassVersionError: com/andi/xpbank/XpBank : Unsu pported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:44) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:143) ... 14 more
any help?
Thanks
@gustebeast
Very Sorry about that the new V0.6.1 should fix this. I stupidly forgot to run a test on this version which was a stupid move and of course caused you problems sorry about this.
Also take note of the Note :P at the bottom of the plugin description all commands have been changed however permission will remain the same to avoid hassle there. The version 0.6.1 Should be up soon if you can't wait and want to bypass bukkit reviewing just click the files. (I don't suggest this they review plugins for your saftey even I know that it does not contain a backdoor or some type of hacky thing I would still advise wait for bukkit to confirm this, However if you are waiting on this version then be my guest and skip the review)