Sandbox
There are a few measures in place to protect users from potentially dangerous shared scripts. When running a script, there are three types of Exception that one might encounter while attempting a restricted action.
When accessing a restricted path one will encounter an _audit.DeniedPathAccessError
.
When importing a restricted module one will encounter an _audit.DeniedImportError
.
When performing a restricted operation one will encounter an _audit.DeniedOperationError
.
The data that defines what paths, modules, and operations are restricted is listed with explanation
in the sandbox_conf.py
file inside the same file as your python interpreter.
If you edit that file, the next time you run the game, your changes will take effect.
If the file raises an error for any reason, default values will be used instead.
If you have made changes to that file and wish to restore the original file, you
may delete it and re-launch the game. The default config file will be replaced there
be the same name.