Jump to content

File permissions blocked


Recommended Posts

Posted (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 by DragonAlpha

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...