Designated Posted May 11, 2016 Share Posted May 11, 2016 [ERROR][bot #1][05/10 09:03:09 PM]: Blocked permission: ("java.io.FilePermission" "C:\Users\Designated\OSBot\scripts" "read") What directory can we use to save/load settings from? Or is all FileIO blocked? Quote Link to comment Share on other sites More sharing options...
DragonAlpha Posted May 11, 2016 Share Posted May 11, 2016 (edited) [ERROR][bot #1][05/10 09:03:09 PM]: Blocked permission: ("java.io.FilePermission" "C:\Users\Designated\OSBot\scripts" "read") What directory can we use to save/load settings from? Or is all FileIO blocked? C:\Users\Designated\OSBot\Data All others are blocked. You can use the command: getDirectoryData() which will return back the full path to the OSBot\Data folder on anyone's computer, regardless of their username. Edited May 11, 2016 by DragonAlpha Quote Link to comment Share on other sites More sharing options...
Designated Posted May 11, 2016 Author Share Posted May 11, 2016 C:\Users\Designated\OSBot\Data All others are blocked. You can use the command: getDirectoryData() which will return back the full path to the OSBot\Data folder on anyone's computer, regardless of their username. Thank you Quote Link to comment Share on other sites More sharing options...