Jump to content

Recommended Posts

Posted

I thought that making a plugin like a normal bukkit plugin with configuring the build path with Tekkit.jar instead of the Bukkit jar, but the plugin is not working. I have two questions:

1. How can I make a tekkit classic plugin? Do I need to do anything special?

2. How can I get the Tekkit Materials?

Thanks in advance!

Posted

You do not need to build it against anything but the standard bukkti jar.

Yes it is bukkit + forge but all the bukkit API stuff is untouched. That's why normal bukkit plugins work just fine.

  • 5 months later...
Posted

I tried to make a plugin for my small Tekkit Classic server with the normal 1.2.5 bukkit jar but it gives errors and doesn't enable(When I run it on vanilla 1.2.5 and it works fine). Any ideas as to why it does this?

Posted

I tried to make a plugin for my small Tekkit Classic server with the normal 1.2.5 bukkit jar but it gives errors and doesn't enable(When I run it on vanilla 1.2.5 and it works fine). Any ideas as to why it does this?

Never mind I know why I get the error.... It is due to the fact that I have to use Java 6(Was using Java 8 -_-) Thanks

Posted

I have made several Tekkit classic plugins (for the server), use the tekkit.jar server file as your api, that way you have access to the craftbukkit classes and the underlying minecraft ones too

 

as for accessing tekkit materials, i found its better to use the typeid's rather than the type , 

 

here are a few little tricks when working with plugins for tekkit servers 

 

 

 

How to get the tileentity of a block

CraftWorld world=(CraftWorld)block.getWorld();
tileEntity=world.getTileEntityAt(block.getX(),block.getY(),block.getZ());

if (tileEntity instanceof TileEnderChest){
    //this is a enderchest
}

how to change bukkit world into  minecraft world or worldserver

CraftWorld cw=(CraftWorld) world;
WorldServer ws=cw.getHandle();

Join the conversation

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

Guest
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...