Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.67 KB | None | 0 0
  1.      public String[] getCmdLine() {
  2.             String[] cmdLine = {};
  3.             cmdLine[0] = getJavaExec();
  4.             int index = 1;
  5.             if (getBukkit()) {
  6.                 cmdLine[index] = "-Djline.terminal=jline.UnsupportedTerminal";
  7.                 index++;
  8.             }
  9.             cmdLine[index] = "-" + getXmx();
  10.             index++;
  11.             if (getXincgc()) {
  12.                 cmdLine[index] = "-Xincgc";
  13.             }
  14.  
  15.             return cmdLine;
  16.       }
  17.  
  18.       public void setCmdLine(String...args) {
  19.             cmdLine = args;
  20.       }
  21.  
  22. setCmdLine(getCmdLine(),"-jar","craftbukkit-0.0.1-SNAPSHOT.jar","nogui","-d","\"yyyy-MM-dd HH:mm:ss\"");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement