Java Reference
In-Depth Information
It should be blank. If it's not, make sure it at least includes a single dot (“ . ”)
to include the current directory.
If all else fails, don't be afraid to ask around for help. Programming is most
often a team effort.
Phew! That was the hardest part.
Once you have Java working, you need to install the Minecraft parts.
Install the Minecraft Client and Server
Minecraft is a client-server system, so you'll need both parts: the desktop
graphical client that you use to play the game, and the server process that
you connect to, where we'll add plugins.
Install the Minecraft Graphical Client
You probably have this part already, but if not, download the Minecraft
installer for your computer from http://minecraft.net . Follow the installer
instructions to install it, but don't run it just yet.
When you play Minecraft, this “client” is the application that you run. It
connects to your paid account at http://minecraft.net .
There are also clients for Apple's iOS and Android devices, including smart-
phones, but they are a dead end. As I'm writing this, they don't connect to
normal Minecraft servers, so they can't use our custom plugins.
The client handles the graphics and sound, and lets you type chat commands
in the game. But right now it has no local game to connect to—guess we
better go grab and download that server code.
Install the CanaryMod Server
Now for the fun part. You'll be adding plugins to your own server, so you'll
need CanaryMod , a special Minecraft server from the fine folks at CanaryMod.net
that's designed to use plugins.
Make a directory named server on your Desktop (that means it would be
located in a directory named something like /Users/yourname/Desktop/server ):
$ cd Desktop
$ mkdir server
We'll call this your server directory, and that's where you'll install the server
parts.
 
 
Search WWH ::




Custom Search