title says it all
using Pi
Printable View
title says it all
using Pi
Server side: ( not Pi but this might help)
you should have a variation of this in your files. Just use search. I'm sure you can find it.
You need that in order to make your basic command. Find your commands file If you dont know how find it, try by searching for a command you already have in the game, Like "players". Then add the new command in.Code:makeGlobalObject(int objectX, int objectY, int NewObjectID,int Face)
Code:if(command.equalsIgnoreCase("build") {
if (args.length != 2) {
c.sendMessage("Its ::build #Id #Face <0,-1,-2,-3>");
return;
}
ObjId = Integer.parseInt(args[1]);
ObjFace = Integer.parseInt(args[2];
c.makeGlobalObject(c.absX, c.absY,ObjId ,ObjFace );
}
I will download A Pi Server and see what the fuss is all about with them.