mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
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:
@@ -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