falador1 2 Share Posted February 28, 2021 Been looking around on how to make your script support quickstart. Is there just some copy and paste? Thanks! Link to comment Share on other sites More sharing options...
yeeter 517 Share Posted February 28, 2021 /* * Default onStart method */ @Override public void onStart() { questManager.addQuests(testQuest, testQuest2); } /* * Quickstart onStart method */ @Override public void onStart(String... params) { for (String quickStartArg : params) { log("Argument Provided: " + quickStartArg); // Do the logic for your params here } // Call the original onStart() method for shared logic onStart(); } you could do something basic like this. There are some other fancy ways of doing it but this is the simplest. Link to comment Share on other sites More sharing options...
falador1 2 Author Share Posted March 2, 2021 Thanks! Link to comment Share on other sites More sharing options...
falador1 2 Author Share Posted March 2, 2021 how to close a client when script is finished with quickstart?? Link to comment Share on other sites More sharing options...
falador1 2 Author Share Posted March 2, 2021 NVM! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.