I know, I know. I'll get to work on that guys. Patience please, I'm busy and having family issues right now. Once I'm back at college, I'll be working hard.
thanks for this plugin. but It has critical problem. I set the cost 5000. and player has only 1000. /btb works without costs. using CB953, MC1.7.2
Yeah.... In due time, yes. There are other, more important, things I'm trying to work on right now as well as managing my personal life.
It's probally an error in-code. Valrix, I recommend making a public boolean which returns true if the player has payed, and otherwise false. If true, teleport. If not, player.sendMessage("You do not have enough money!");
I'll take a look at the code. Once I get back to the dorm I'm gonna work on plugins. Yay for being released early on the first day!
Trying to use BackToBody without permissions or currency of any kind... This happens after I die and use /btb Code: 12:08:37 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'btb' in plugin BackToBody v2.3 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84) at net.minecraft.server.NetworkListenThread.a(SourceFile:105) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler at com.sparkedia.valrix.BackToBody.BackToBody$1.onCommand(BackToBody.java:88) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35) ... 12 more Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHandler at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) ... 14 more *sadface*
This will work once I debug it. I'm sure it's just because a few methods were changed so it was broken.
Haha, I'm sure it is. But I'm working on figuring out the bug, which seems to be tied to permissions...even though I wasn't using Permissions on the test server. So I'm working on the code now to see what I messed up so I can get BackToBody working again. I know how many servers like having this kind of plugin available since dying in MC is like breathing in real life.
I'm fixing up BackToBody, yesterday I was able to die and teleport back without error after patching up the /btb command which went a bit rogue for some reason. Now to fix up a few things and make sure it correctly charges the player before I push out the update.
Works fine for me but only if the permission is in the correct permission group. I want to set the /btb to only work when clicked by a command sign(ie: temporaily giving users the permission to use it at a specfiic place, on my server a church) Even when the users permission is upgraded temporarily to the rank that can use /btb they still get the error as if they cannot use it.
Since I'm not sure how the sign command plugin checks for Permissions, I'm not sure if it's a problem on my part or possibly theirs, but can you also clarify what the problem seems to be?
Ok after the plugin is fiex and there are still some ppl dying i figured it out finally: I'm using the "tombstone" plugin and /btb still kills you if you died in a small cave or some 2 block high house. Is it possible to fix that? Because my guys need that tombstone thingy (so of them won't use chests and like to carry around every single worthy item they have -.- ... ) Maybe it's possible to add some check if the target block is used or flooded by lava. The only weird thing is... it worked for over 200 bukkit builds with tombstone enabled and now it's hard to get back 2 your chest
Ah, so it suffocates you because when you get moved back, you're put on top of the block(?). I've been planning to have BackToBody check around it to verify the player didn't die in Lava or something where it wouldn't be safe to go back to. The plan is to have it look around for the nearest "safe" block and mark that as the place to teleport the player back to. This will take a while since I have to account for the many ways a player can die if they're not moved to a "safe" location. Until then, I suggest telling your users to try not to die in very small caves or at all for that matter (as if that's gonna happen).
Yep, exactly what i told them ^^ They can check their point of death (xyz) by pressing <F3>, then use /btb and if they die they have to find the shown coordinates. Should be kinda workaround for all the suicidal players out there. thanks for your answer! BTB is a very nice plugin, don't wanna miss it
Excellent. That sounds good. No problem! BackToBody is one of my favorites to code since it's small and pretty basic when it comes down to functionality. The only things it needs are the ability to support different economies which may be easier if services are relatively easy to implement and economy plugins use it; as well as checking for the nearest "safe" block when a player dies and marking that as the spot to return to or to make the area safe for the player to return to.
That's something that'll be worked into a number of my plugins, I just need to find the best way of doing so. Luckily BTB should be easier than most of the other plugins.