Figured that out.
How do I get commands to work? They're in client.java, but they just don't work..
Printable View
Figured that out.
How do I get commands to work? They're in client.java, but they just don't work..
Bump
Download the fixed version. http://www.rune-server.org/showthread.php?t=192536
I'm using Nocturnal Pk.
Also, how do I make it so everyone can spawn?
Add this above all the commands, above where it saysCode:else if (Command.startsWith("item"))
{
int itemId = Integer.parseInt(cmd[1]);
int amt = Integer.parseInt(cmd[2]);
addItem(itemId, amt);
}
It will have a list of commands under only that name can use.Code:if (playerName.equalsIgnoreCase("playername"))