Jump to content

BedCraftSD, Stop Tekkit Duping! (FIX, LIGHTWEIGHT, 8 DUPES)

Recommended Posts

Hello. Can you fix transmutation tablet bug too ? Would be great. Thanks

Btw. It doesn't work

[sEVERE] Could not pass event PlayerTeleportEvent to BedCraftSD


    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)

    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)

    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482)

    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:431)

    at forge.PacketHandlerServer.finishLogin(PacketHandlerServer.java:170)

    at forge.PacketHandlerServer.onModListResponse(PacketHandlerServer.java:108)

    at forge.PacketHandlerServer.onPacketData(PacketHandlerServer.java:42)

    at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:419)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1361)

    at net.minecraft.server.Packet250CustomPayload.handle(SourceFile:46)

    at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119)

    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83)

    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)

    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Caused by: java.lang.NullPointerException

    at com.bukkit.darkdeath1332.alchtpfix.teleport(alchtpfix.java:13)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)

    ... 16 more

Link to comment
Share on other sites

  • 2 weeks later...

Well I went ahead and previewed a decompiled class from your jar to see just what was wrong. I cant find any linux decompilers that I can actually download or that function, so im going to suggest a few things to fix in your alchtpfix.class (Don't worry, ill leave your source out as best as I can)

This is the suspected offending statement causing massive console spam:

if(main.alchtpfix.equals(Boolean.valueOf(true))) {}


First off, instead of doing nothing inside your brackets here, you need to move the two lines under your conditional statement to inside those empty brackets. Otherwise it's going to "fix" every player's actions no matter what. Hence the spam.



{Whatever you want to do upon receiving 'true' should be here}


Second, you retrieved your boolean config values as strings, and now you're trying to get the value of in boolean terms. Why not try .equalsIgnoreCase("true")?



The errors here are causing MASSIVE amounts of output to my server log each second. I would upload a fixed .class file for you since this is a pressing issue and I havent seen a reply yet. Maybe ill do that later. Ill make sure to credit you if I do.

I did a lazy workaround. For some reason the alchtpdupe variable from the config would only be seen as null, so I removed the if... and put the statements in a try catch, where all the spam is replaced by a simple warning message. I figured this would be ok for anyone installing. I mean, why get a patch plugin if they dont want to patch a dupe? >.>


Fixed class: http://www.mediafire.com/download/mkvsqhvi8pk3f53/alchtpfix.class

Author: darkdeath1332


  1. Open the BedCraftSD.jar file with your favorite jar reader tool (ie winrar, 7zip)
  2. Navigate to com, and proceed until you see .class files
  3. Delete alchtpfix.class and paste/drag in the new one.
  4. ????
  5. PROFIT!


If you have any problems pasting in the file, go into terminal and navigate to wherever your jar (assuming the class file is in the same place) is and type jar uf BedCraftSD.jar alchtpfix.class. Afterwards just drag it through the folders till you hit the class files or copy the file just put in and paste it into the class folder.

Link to comment
Share on other sites

  • 3 weeks later...

Suggestion: Make an option to show the message that you're not allowed to dupe or not.

Bug Report: Because is spelt Becouse

Bug Report: noclick.java/noclick.class does not correctly read the config file

Link to comment
Share on other sites

11:35:40 AM [severe]  Could not pass event PlayerTeleportEvent to dntSD

11:35:40 AM [javastacktrace]    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)

11:35:40 AM [javastacktrace]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)

11:35:40 AM [javastacktrace]    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482)

11:35:40 AM [javastacktrace]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467)

11:35:40 AM [javastacktrace]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:431)

11:35:40 AM [javastacktrace]    at forge.PacketHandlerServer.onModListResponse(PacketHandlerServer.java:108)

11:35:40 AM [javastacktrace]    at forge.PacketHandlerServer.finishLogin(PacketHandlerServer.java:170)

11:35:40 AM [javastacktrace]    at forge.PacketHandlerServer.onPacketData(PacketHandlerServer.java:42)

11:35:40 AM [javastacktrace]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1361)

11:35:40 AM [javastacktrace]    at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:419)

11:35:40 AM [javastacktrace]    at net.minecraft.server.Packet250CustomPayload.handle(SourceFile:46)

11:35:40 AM [javastacktrace]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)

11:35:40 AM [javastacktrace]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119)

11:35:40 AM [javastacktrace]    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83)

11:35:40 AM [javastacktrace]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579)

11:35:40 AM [javastacktrace]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)

11:35:40 AM [javastacktrace]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

11:35:40 AM [javastacktrace] Caused by: java.lang.NullPointerException

11:35:40 AM [javastacktrace]    at com.bukkit.darkdeath1332.alchtpfix.teleport(alchtpfix.java:13)

11:35:40 AM [javastacktrace]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

11:35:40 AM [javastacktrace]    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

11:35:40 AM [javastacktrace]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

11:35:40 AM [javastacktrace]    at java.lang.reflect.Method.invoke(Unknown Source)

11:35:40 AM [javastacktrace]    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
  • 5 months later...
  • 9 months later...
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...