What is ChatBukkit, ScrapBukkit and HomeBukkit?

If you have visited the Bukkit Download Site recently then you may have noticed that there are some extra tabs at the top, ChatBukkit, ScrapBukkit and HomeBukkit. What exactly are these and what do they do? Well they are simply sample plugins for minecraft servers. They are very simple and aren’t updated often. Their main use was to show developers how to create plugins.

  • ChatBukkit - A simple chat formatting plugin
  • ScrapBukkit - A plugin similar to Essentials, it’s basically an all in one plugin.
  • HomeBukkit - A home management plugin, for setting and teleporting to homes.
Tagged with: , , ,
Posted in Craftbukkit and Bukkit, Plugin Developers, Plugins, Server Owners

Formatted Messages in Console – Craftbukkit 1.2.5-R2.0+

In the latest Craftbukkit update there has been a fairly major change, you can now see formatted text in the console. Such as chat colors and bold, underlined and italics messages. This automatically works with most operating systems except Windows, it will look like this in Windows.

To get this to work in Windows you will have to follow a few steps.

  1. Download Visual C++ 2008 Redistributable from Microsoft
  2. Install the Visual C++ 2008 Redistributable installer you just downloaded
  3. Download a console that supports ANSI, the Bukkit team recommend ANSICON which can be downloaded from here.
  4. Install by following the next set of instructions
  1. Find out if you are 32 bit or 64 bit
  2. If you are 32 bit then you want to use the x86 folder, otherwise if you are 64 bit you want to use the x64 folder
  3. Copy that folder to C:\
  4. Rename it to something like ANSIConsole
  5. Click “Open command window here”
  6. Type ansicon.exe -i
  7. Press Enter
  8. Close Command Prompt

When installing ANSICON it will come up with a console window and it won’t show any messages, but it has installed. Try it our for your self by doing /say.

Sources:

Update Announcement: Here

joris254′s reply: Here

Tagged with: , , , , ,
Posted in Craftbukkit and Bukkit, Server Owners

Tips for creating a Minecraft Griefing Client

Recently I have been developing my own Minecraft Griefing client, I wanted to help some of the new coders that are creating griefing clients.

  1. Always think about making your griefing client easy to update, one of the many ways I accomplish this is by putting the least amount of code in Minecraft’s core files and instead putting the bulk of the code in an external class. I do this by creating a class called Methods and putting most of the code in methods. Then in the minecraft file I call the method and pass through the needed variables.
  2. Add a comment above all your code with your client name, this will allow you to do a search query and find the code that you have added. Comments can be done like this 
    1
    //Your-client-name-here
    2
    your.random.java.code.here();
  3. Comment out any code you remove/change. I find this very useful as it saves you time if anything goes wrong, you can simply uncomment it. Whereas if you don’t then you will have to re-decompile the code which takes a while.

I’ll post some more tips as soon as I think/remember them.

Tagged with: , , , , ,
Posted in Griefing, Java Developement

Simple Boolean Toggle

A few days ago, while coding java I found out a simple way of toggling a Boolean, before we would do something like this:

1
if (boolean == true){
2
    boolean = false;
3
} else {
4
    boolean = true;
5
}

This code is basically seeing what the value of the boolean is and manually setting it, but there is a quicker and faster way to accomplish this, it’s a one liner:

1
boolean = !boolean;

This code is basically setting the value of the boolean of what it is not because a boolean only has 2 options true or false.

Tagged with: ,
Posted in Java Developement

Bukkit or CraftBukkit?

So I wanted to kick start this website and I thought I would start with the basics. A lot of new developers/server owners get confused as to which jar file to use.  Depending on what you intend to use Craftbukkit for you will need a different jar file.

Which jar file should I use?

Quite simply if you make plugins, you need to use Bukkit.jar for making the plugins, if you are a server owner you want to use Craftbukkit.jar. But lets go into further detail.

Craftbukkit.jar

This file contains all the needed files in order to run a server and plugins. This is the jar you would use to run a server, while it also contains some files for developers it is highly recommended that you do not use it for creating plugins as the Bukkit team themselves have said that they will be removing all developer code from Craftbukkit.jar so that developers are forced to use Bukkit.jar

Bukkit.jar

This file contains the API for creating Bukkit plugins, it CANNOT be used to run a server, it does not contain the required files. Developers use this jar so the they can create and export bukkit plugins easily.

Why are the jars seperated though?

One of the biggest reasons I think is to keep the jar files as small as they can which makes it more lightweight and makes a server run faster and smoother. If you are a server owner you would want it to take the shortest amount of time as possible to update your server, so why waste time also downloading developer files when you don’t need to.

This is the same for developers, the bigger the file, the slower it would be in Eclipse when developing plugins I imagine and there are a lot of other reasons which I will not go over in this post.

I hope I managed to explain as best as I can about which jar file to use if you have any questions then please feel free to post on the forums.

Downloads

Latest RB Bukkit.jar

Latest Beta Bukkit.jar

Latest Development Bukkit.jar (Warning Development builds can be buggy)

Latest RB Craftbukkit.jar

Latest Beta Craftbukkit.jar

Latest Development Craftbukkit.jar (Warning Development builds can be buggy)

Tagged with: , , ,
Posted in Craftbukkit and Bukkit, Plugin Developers, Server Owners

Making Infiltrator Easier to Update

I have spent most of today making sure that Infiltrator is update compatible by putting as much code as I can into my own class files, any code put into Mojang’s files will be overwritten when a new update comes out. It is not possible to leave these files completely untouched but I have managed to slim it down to about 1 – 3 lines per edited class. The rest of my code goes into my Methods class.

 

Basically I make my method in my Methods class and whenever I need that code to be executed I can code 1 line of code and then pass some constructors through that. If you have no idea what I am talking about then I don’t blame you, I have to be one of the worst people at explaining things but basically what I am trying to say is that I have changed a lot of my code to make the client easier to update.

Tagged with: , , , , , , , ,
Posted in Griefing, Infiltrator

Nearing Completion

Today I started working on this site and I think we are almost finished, I just need to add a few more things and we will be live, also my forums will expand to griefing and client making, Yay! If you don’t agree with Griefing then don’t visit that section, I rarely grief, all I really do is just create clients and find exploits in Minecraft, but I rarely use them.

Posted in Website Updates
Socialise





Facebook

Twitter

Google Plus

  • Updated some plugins to avoid errors in the console.
    13 Mar 2012
  • Need to finish my website sometime! Keir Nellyer » Bukkit Plugin Developer
    13 Mar 2012
  • Hey everyone, just a quick update on the website. We have almost completely written the plugin page about GeneralCommands. Over the next few weeks I will be trying to finish writing the rest of the pages. GeneralCommands » Keir Nellyer
    29 Feb 2012
  • Hey Everyone,

    Just wanted to let everyone know that I am still working on the website but have added a great new feature on the side of the page.

    The site should hopefully be finished soon and we will be announcing it on here, facebook, twitter and our b...
    20 Feb 2012