Added Screenshots (#656)
* Added ability to take screenshots Since we have a screenshots folder in the 2006Scape folder in the home path, we might as well make use of it. * Removed duplicate screenshot warning message We don't need a warning message for duplicate screenshots, if it takes screenshots that's good enough. * Added subfolders option for screenshots This allows for much more flexibility when it comes to screenshots because we can choose any number of levels of subfolders. * Removed unused code * Added check for screenshots * Fixed screenshots NPE when logged out * Added Local to titlebar when running locally * Added sendMessage param for screenshots * Default to send messages for screenshots * Use the sendMessage variable Oops lol * Added ability to take screenshots Since we have a screenshots folder in the 2006Scape folder in the home path, we might as well make use of it. * Removed duplicate screenshot warning message We don't need a warning message for duplicate screenshots, if it takes screenshots that's good enough. * Added subfolders option for screenshots This allows for much more flexibility when it comes to screenshots because we can choose any number of levels of subfolders. * Removed unused code * Added check for screenshots * Fixed screenshots NPE when logged out * Added Local to titlebar when running locally * Added sendMessage param for screenshots * Default to send messages for screenshots * Use the sendMessage variable Oops lol * Added screenshots QOL option * Use server name var for screenshots
This commit is contained in:
1 parent
86e7b93b3b
commit
fd731242dd
4 files changed
+62
-2
No files matched your search
@@ -54,6 +54,10 @@ public final class Main {
|
||||
case"-show-zoom":
|
||||
ClientSettings.SHOW_ZOOM_LEVEL_MESSAGES = true;
|
||||
break;
|
||||
case"-screenshots":
|
||||
case"-enable-screenshots":
|
||||
ClientSettings.SCREENSHOTS_ENABLED = true;
|
||||
break;
|
||||
}
|
||||
if (args[i].startsWith("-") && (i + 1) < args.length && !args[i + 1].startsWith("-")) {
|
||||
switch(args[i]) {
|
||||
|
||||
Reference in new issue
Block a user