OpenCraft, an open-source server solution for Minecraft, has been released and is now entering alpha phase. OpenCraft is released under the BSD license and is composed entirely of custom-written code, so you may do whatever you wish with it.
Features:
* Compatible with the Minecraft client and heartbeat server (protocol version 7)
* Extensible game mode system allowing customizable game play
* Command system allowing custom commands to be created
* Working physics, multiplayer, chatting, block creation and destruction
* No code from the original Minecraft server, so you can do anything permitted under the license
Regrettably, level loading/saving is not supported for the time being until Notch rewrites the save format, or until about a week from now when we get tired of waiting and create our own.
If anyone is interested in assisting with development and has a relatively strong knowledge of OOP concepts with respect to Java, be sure to give me a shout. :3
I can implement port specification tomorrow. :smile.gif: I still have to rewrite some things to do with BlockBehaviours. As for documentation, what do you mean? If you're talking about the source code, everything IS documented. :S
Well I meant a list and description of commands but I'm in a server now and it seems like you just built a foundation for the server with no functional abilities. It doesn't even show a name by chat messages, there doesn't seem to be a way to op anyone, and I don't think you can even send anything through the console.
I can implement port specification tomorrow. :smile.gif: I still have to rewrite some things to do with BlockBehaviours. As for documentation, what do you mean? If you're talking about the source code, everything IS documented. :S
You overestimate the power of the common human. :/
Well I meant a list and description of commands but I'm in a server now and it seems like you just built a foundation for the server with no functional abilities. It doesn't even show a name by chat messages, there doesn't seem to be a way to op anyone, and I don't think you can even send anything through the console.
When we released it in prealpha, we weren't kidding. :tongue.gif:
Well I meant a list and description of commands but I'm in a server now and it seems like you just built a foundation for the server with no functional abilities. It doesn't even show a name by chat messages, there doesn't seem to be a way to op anyone, and I don't think you can even send anything through the console.
When we released it in prealpha, we weren't kidding. :tongue.gif:
ETA on useable server software? (alt. to the default soft.)
btw: This is so needed for MC, I'm sure we all love you. :biggrin.gif:
I can't wait until this is a little more useful! I may end up contributing a little bit every so often, too, once it's at a reasonably default server usable stage.
one question, instead of having to look through all the code. does it support the default admin commands? and if so, where would one specify who is op and who is not?
I assume these functions are not written yet..
also, shouldn't this be under "Server Administration" rather than mapping and modding?
I could write a random quick level format :biggrin.gif:
Well, I'll look through the code in a few hours, maybe.
Rollback Post to RevisionRollBack
<Quatroking> Minecraft is a dozen of puppies and kittens smashed into cubes, then mixed up with a few ounces of pure liquid rainbow and after that it spends two hours in the oven. Ready to be played by another drooling ten-year old
I could write a random quick level format :biggrin.gif:
Well, I'll look through the code in a few hours, maybe.
I suggest using an easy to edit binary format (no java serialization please) for the blocks (just width, depth, height and the byte array, compressed with gzip) and separated xml files for everything else (players, ops, map/server info, spawn, etc)
* Extensible game mode system allowing customizable game play
* Command system allowing custom commands to be created
Can't find anything in relation to this in the download. [EDIT]
Oh, and what's the false XML tag mean in blocks.xml
EDIT:
I'd recommend you make a lot of this information accessible through XML configuration, but that's just me
public Level() {
this.width = 256;
this.height = 256;
this.depth = 64;
this.blocks = new byte[width][height][depth];
this.lightDepths = new short[width][height];
this.spawnPosition = new Position(0, 0, 50);
this.spawnRotation = new Rotation(0, 0);
for(int i = 0; i ());
activeTimers.put(i, System.currentTimeMillis());
}
}
// temporary:
/*
for(int z = 0; z 60) {
this.blocks[x][y][z] = (byte) BlockConstants.LAVA;
}
}
}
}
}
recalculateAllLightDepths();
}
The plan is to load the actual map in the Level constructor, or create one if there isn't any to load. That code is temporary until the level format is rewritten. Relax, we know what we are doing. :smile.gif:
OpenCraft, an open-source server solution for Minecraft, has been released and is now entering alpha phase. OpenCraft is released under the BSD license and is composed entirely of custom-written code, so you may do whatever you wish with it.
Our project page is here: https://sourceforge.net/projects/opencraft/
Features:
* Compatible with the Minecraft client and heartbeat server (protocol version 7)
* Extensible game mode system allowing customizable game play
* Command system allowing custom commands to be created
* Working physics, multiplayer, chatting, block creation and destruction
* No code from the original Minecraft server, so you can do anything permitted under the license
Regrettably, level loading/saving is not supported for the time being until Notch rewrites the save format, or until about a week from now when we get tired of waiting and create our own.
You can submit bugs and feature requests on our tracker here: https://sourceforge.net/tracker/?group_id=285605
If you like, you can always check out the latest revision from our SVN or learn more about Subversion here: https://sourceforge.net/scm/?type=svn&group_id=285605
Thanks, and happy crafting!
You overestimate the power of the common human. :/
When we released it in prealpha, we weren't kidding. :tongue.gif:
ETA on useable server software? (alt. to the default soft.)
btw: This is so needed for MC, I'm sure we all love you. :biggrin.gif:
Can't find anything in relation to this in the download. [EDIT]
Oh, and what's the false XML tag mean in blocks.xml
EDIT:
I'd recommend you make a lot of this information accessible through XML configuration, but that's just me
one question, instead of having to look through all the code. does it support the default admin commands? and if so, where would one specify who is op and who is not?
I assume these functions are not written yet..
also, shouldn't this be under "Server Administration" rather than mapping and modding?
A little less with Java, but I still know how to use it.
Well, I'll look through the code in a few hours, maybe.
I suggest using an easy to edit binary format (no java serialization please) for the blocks (just width, depth, height and the byte array, compressed with gzip) and separated xml files for everything else (players, ops, map/server info, spawn, etc)
Script to edit Minecraft maps with Paint3D
The plan is to load the actual map in the Level constructor, or create one if there isn't any to load. That code is temporary until the level format is rewritten. Relax, we know what we are doing. :smile.gif:
This is probably where we want to take game modes. I don't have a final say on it yet though.