You are viewing our Forum Archives. To view or take place in current topics click here.
i need a ::noclip command if someone could please help me
Posted:

i need a ::noclip command if someone could please help mePosted:

-Moody-
  • Challenger
Status: Offline
Joined: Apr 06, 201212Year Member
Posts: 160
Reputation Power: 7
Status: Offline
Joined: Apr 06, 201212Year Member
Posts: 160
Reputation Power: 7
can someone give me a ::noclip command for owners only?
insidiaX source
#2. Posted:
-Steve-
  • New Member
Status: Offline
Joined: Jun 29, 201113Year Member
Posts: 32
Reputation Power: 1
Status: Offline
Joined: Jun 29, 201113Year Member
Posts: 32
Reputation Power: 1
In your client files find somthing like
if(inputString.equals("::dataoff"))
clientData = false;

and add this under it
if(inputString.equals("::noclip"))
for(int k1 = 0; k1 < 4; k1++) {
for(int i2 = 1; i2 < 103; i2++) {
for(int k2 = 1; k2 < 103; k2++)
aClass11Array1230[k1].anIntArrayArray294[i2][k2] = 0;
}
}

If you dont want other people using the command go to your server files and locate your commands.java and add
if (playerCommand.startsWith("noclip")) {
if(c.playerRights == 0){
c.logout();
}
}
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.