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.
@keensta
Tried newest version, server wouldnt start up. 2 errors.
-=-=-=-=-=-=-=-=-=-=-=-=-=-
[SEVERE] Error occurred while enabling XpBank v0.1 (Is it up to date?) java.lang.NullPointerException at com.andi.xpbank.XpCommandHandler.<init>(XpCommandHandler.java:14) at com.andi.xpbank.XpBank.onEnable(XpBank.java:36) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:270) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:252) at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:298) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:277) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:227) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
-=-=-=-=-=-=-=-=-=-=-=-=-=-
[SEVERE] java.lang.NullPointerException [SEVERE] at org.bukkit.craftbukkit.help.SimpleHelpMap.initializeCommands(SimpleHelpMap.java:119) [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:260) [SEVERE] at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:298) [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:277) [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:227) [SEVERE] at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) 09:14:12 [SEVERE] Encountered an unexpected exception NullPointerException java.lang.NullPointerException at org.bukkit.craftbukkit.help.SimpleHelpMap.initializeCommands(SimpleHelpMap.java:119) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:260) at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:298) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:277) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:227) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) 09:14:12 [SEVERE] This crash report has been saved to: /Users/Gus/Desktop/Minecraft-Stuff/Bukkit-Server/./crash-reports/crash-2012-11-11_09.14.12-server.txt
-=-=-=-=-=-=-=-=-=-=-=-=-=-
Just uploaded a new version (6) So this should fix your problem. I will be rewriting all the code soon. Just to busy at the moment.
The file is currently under review and is taking some time :/
@gustebeast
Ok thanks, I will look into this right away. I will also be updating the plugin to 1.4 for those already on it.
@keensta
huge issue. Hopefully you are still monitoring this plugin. You can /xp pay people past the amount of xp you have. So you can pay your friend 100000 levels of xp and you will only go down to level 0. Make it so you cant send more levels then you have.
@idi0ta
As far as I know. I have another server that i play on that uses it they should work fine. However i will check the code and update any bits that need updating.
@marcflower
The Limit in the settings part is for the amount of signs that can be placed.
you have to fix the plugin, because it's not working !
Hello, I tried your setup so that the deposit limit is 10.
See below:
settings:
  limit: 10
  maxstorage: 99
But even so by clicking on the sign is placed in a 1 levels.
What can I do to run the 10?
Hugs!
@keensta
If you TNT a sign, does it explode and gives out the levels?
Just so people know. I haven't updated the plugin due to the fact i'm bit busy developing a new Plugin also i'm a developer on a server with 1 other dev. We just been given a long list of things to code which is currently taking up my time. Sorry I will try to get a update for this out soon.
@Malvagio87
I think it does this already say if I had 99 levels stored them in a sign and a player with the permission xp.breakany comes along and breaks that sign they get the 99 levels I stored in it. However I'm looking to change this and actually give it to the owner however here is the problem with People with to long of names causing that system to fail (may need to update my name. Checker for that) anyway back to the point here what I can do is add a option raid: ture or false which If it is true and the player also has xp.raid permission they can break any sign because of the raid option being on but they also get the levels because they have the permission. Hope that's the type of thing you want also if raid is on and the player doesn't have xp.raid it will act like normal and only allow bank owner or a person with xp.breakany on to break it.
any chacne you could possibly add a permission that if a player broke the sign it would then allow that player to gain those levels.
e.g. i own a raiding pvp factions server so if a base was taken over instead of me having to come and delete the sign have on of the people break the sign that took over the base and then they gain the levels.
@Waizujin Oh, Ok I understand now. I can do another thing due to the aiming at a sign and using a command becomes buggy if your aiming at it but you catch the invisable end of like a chest in there it won't find the sign. So what I can do is a command then you click the sign and it instantly adds/takes the levels to the sign. Which was stated in the command.
@Waizujin It doesn't store that data in any file or database. I trying to keep the plugin from using up to much memory. I can if you really want make it throw it in a separate config like data.yml, Which can be selected to store or not within the main config. But then if you don't have a bank limit. That file if you have a large community will get big very quickly.
P.S I should point out the only data stored with players is the amount of banks they have placed, can be found in XpBank.yml
One other question, where do you store the data on the players? Like where can I find information on the levels stored in each sign and location of signs.
@keensta
I meant the commands to give them to the sign without clicking a lot. So like use a command to give the sign 99 levels rather than clicking 99 times.
@Waizujin
Just added one of the features you suggested (Considering other two are already in there)
I'm still not sure should I add a option like Raid = true/false to config to chose if the destoryer gets the levels or the owner.
@zOxigen00
I added a limiter option to the config also able to set using /xp set limit [Limit] -Sets a limit on banks that can be placed, 0 being default which is unlimited amount.
Hope this is what you wanted. :) Thanks
@Waizujin
Reply to your feature requests:
Thanks for your suggestions ill add them into the suggestion section and start working on them soon.
Thanks.
Alrighty then. Got a few suggestions for you. Even though it doesn't have the below features, I will probably still be using it on both of my servers, but it would be awesome if you could add the below features:
I appreciate the work you have put into this! :D
@z0xigen00 So you want there to be a limit. To how many signs a player can make?