Jump to content
Designated

File permissions blocked

Recommended Posts

[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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...