I might be misunderstanding the question but if you want to make a new command, make another "else if" statement and copy what the other commands did. You make a method and put all the code in there such as shown in "bank(player,command)"
|
im attempting to add commands for different zones, which ik is easy and have done before, however i have not come across a source like this.
all the goddamn commands are like this Screenshot by Lightshot ! wtf lol please help me
I might be misunderstanding the question but if you want to make a new command, make another "else if" statement and copy what the other commands did. You make a method and put all the code in there such as shown in "bank(player,command)"
Could just try something like this.
No conventions cause of my phone sorry.Code:} else if (command.equals("test")) { If (zone1) { // do stuff here if in zone 1 } else if (zone2) { // do stuff if in 2nd zone } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |