NonameSL Posted January 23, 2014 Posted January 23, 2014 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! Quote
Neowulf Posted January 23, 2014 Posted January 23, 2014 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. Quote
O3Bubbles09 Posted July 22, 2014 Posted July 22, 2014 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? Quote
O3Bubbles09 Posted July 22, 2014 Posted July 22, 2014 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 Quote
Ewe_Loon Posted July 29, 2014 Posted July 29, 2014 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(); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.