- Joined
- Jan 23, 2007
- Messages
- 2,605
- Reaction score
- 360
Zomg i am so bored
I am just doing this for people that have completely 100% NO idea on what to do in 508 servers... bla bla
Here is some little insy winsy copy and paste commands you can use.
Block Noclip Command!
Ok so you want to block the people using the command "noclip" in your server?
Just simply add this to commands.java.....
Open a menu with words on.... lol
Teleporting command with message.
Change the magic interfaces
Check to see who is online.
-Joe
I am just doing this for people that have completely 100% NO idea on what to do in 508 servers... bla bla
Here is some little insy winsy copy and paste commands you can use.
Block Noclip Command!
Ok so you want to block the people using the command "noclip" in your server?
Just simply add this to commands.java.....
Code:
}if(cmd[0].equals("noclip") && p.rights < 2) {
p.disconnected[0] = true;
Open a menu with words on.... lol
Code:
} else if (cmd[0].equals("help")) {
p.frames.showInterface(p, 220);
p.frames.setString(p, "In EvilScape we recommend you using", 220, 3);
p.frames.setString(p, "the clients we tell you to use.", 220, 4);
p.frames.setString(p, "If you dont then you may experience game bugs,", 220, 5);
p.frames.setString(p, "glitches and item invisibilty.", 220, 6);
p.frames.setString(p, "To get commands please do ::commands.", 220, 7);
Teleporting command with message.
Code:
} else if (cmd[0].equals("wc")) {
p.teleportTo(3193, 3235, 0, 4, 0, 8939, 8941, 1576, 0, 1577,
0);
p.frames.sendMessage(p, "<col=0000FF>WELCOME TO THE WOODCUTTING AREA!");
Change the magic interfaces
Code:
} else if (cmd[0].equals("lunar")) {
p.frames.setTab(p, 79, 430); // Magic tab
} else if (cmd[0].equals("ancients")) {
p.frames.setTab(p, 79, 193); // Magic tab
} else if (cmd[0].equals("magic")) {
p.frames.setTab(p, 79, 192); // Magic tab
Check to see who is online.
Code:
} else if (cmd[0].equals("players")) {
p.frames.sendMessage(p,
"Server:<col=0000FF> There is currently "
+ Engine.getPlayerCount() + " player(s) online in EvilScape!");
// p.frames.sendMessage(p, "There is currently " + Engine.getPlayerCount() + " player(s) online.");
}
}
-Joe