Skip to content

Posts tagged ‘java’

18
Mar
ClearInv

ClearInv 1.9.7 R2

Today I released ClearInv 1.9.7 R2, this includes a new command which allows server admins to clear items from a players inventory and have them be stored in a locked chest (using LWC).  So as you might expect this command requires LWC for the command, if you don’t have it, then it will let you know to install it.  That is the main change from R1 to R2, if you’d like to download it, check it out here.

16
Mar
geo

Geo 1.0.4

Well this is a minor update, in order to patch the code that concerned ferrybig about screwing up the servers.  I feel this would never happen and have been running it on the server I’ve played on for a long time in the unpatched version.  However if you feel that sending a player a message will forever corrupt your map files, feel free to download this version.

15
Mar
ClearInv

ClearInv 1.9.7 R1

I am releasing the first release candidate for 1.9.7 today, the changes include the new preview mode, which can be used by doing “/preview -c ” which will give you a continuous (or nearly continuous) preview of a players inventory.  I have also added a new list to the config.yml, which is for dangerous items, if you preview a players inventory from the server console and they have an item on that list, it will be in red text so that it stands out from the normal gray text.  Besides those two new features this is mostly a maintenance update in order to keep it current and up to date for minecraft 1.2 and the changes made to bukkit.  In order to download it, check it out on bukkitdev, it should be up there soon.

13
Mar
ClearInv

ClearInv 1.9.7 updates [WIP]

ClearInv 1.9.7 is in the works, and will be 1.2 compatible of course.  I have also been working on some major code cleanup and refactoring in order to make it compatible with 1.2.  I also have begun adding a new feature, the ability to have a live preview of a players inventory, this will be done with a -c flag (for continuous).  For example if you were going to have a continuous preview of my inventory (wwsean08), you would do the command /preview -c wwsean08.  It is currently not perfect and the updates are not necessarily perfect, but it is still a work in progress.  Currently the updates are one behind, and will hopefully be working before a recommended build for bukkit 1.2 comes out.  If you want to follow my progress check it out on github.

7
Mar

Programming 101 – Lesson Three: Catching exceptions and implementing loops

Introduction and recap:

To recap lesson 2, we went over how to read input from the console, and then convert it to an integer.  We then used an if statement in order to parse that input and display whether the number given is even or odd.  In this lesson I will be teaching you how to use the try/catch block in order to catch exceptions that can occur, as well as teach you how to implement loops. Let’s get started

5
Mar

Programming 101 – Lesson Two: Some basic IO and if statements

Almost any program that is at all advanced takes some sort of input, whether it be a file, or a command from the user.  In this lesson we will be learning how to do some basic input and output (generally called IO) as well as using if statements in order to determine if the input is what we want in order to make a more advanced programs.  If you continue with this series, IO will be quite important while working with bukkit plugins, as they have multiple parts to their IO.  In a bukkit plugin you have commands, events being triggered, and configuration files for example.  So in this project we will be asking the user to give us a value, then we will tell them if that value is even or odd. Let’s get started

21
Feb

Programming 101 – Lesson One: Hello World

So I got a request to do a basic programming guide.  This will be the first in a multi-part series of programming guides based off of java.  In later tutorials I will move onto how to make plugins for bukkit, however first you must know the basics of java.  This lesson will consist of setting up your development environment and writing your first program (a hello world  program).  I will be starting from the ground up, so if you have any previous programming experience a-lot of this may be review. Getting started

16
Feb
ClearInv

ClearInv 1.9.6 released

Well after many hours of code cleanup, and about a week of testing on the sdxmcserver, ClearInv 1.9.6 is ready for release.  This update contains lots of back-end tweaks which should improve efficiency slightly. Change log and a download link after the break

9
Feb
geo

Geo 1.0.3 released

Geo 1.0.3 is now released, this should (although there hasn’t been a chance to test it) fix the plugin locking up the server if the ip location API I am using goes down temporarily (like happened yesterday).  I am once again sorry for any problems that may have caused your server, I didn’t think of that happening when I originally coded this for my server.  Feel free to grab the latest version here.

8
Feb
ClearInv

Clear Inv Updated, and a Geo update in the works.

Well after a long hiatus I finally have gotten enough time to release an updated version of ClearInv for 1.1, there isn’t much difference, it just adds the new spawn eggs to the list of items with data, and there is a new items.csv which includes the spawn eggs.  Feel free to download it and enjoy.  I also will be releasing an updated Geo plugin due to a bug i noticed earlier today (though there is no ETA, hopefully within a week), but what I found was that if the server doesn’t send a response it lags out the server, and causes everyone to be kicked because I didn’t think of the network being tied up by that.  I have rewritten that to take advantage of using a separate thread for the request, however I am currently waiting on the API I use for Geo to come back online to test it and see if there are any errors.  I am sorry for any problems this bug may have caused on your server, and am working to resolve it.