Skip to content

Permissions

Open Markdown

The Permissions page explains the permissions.

PermissionKeysLimitsWithout it
hookshooks.targetsSome targets are refused. thread = ANY has rules. Viewpoint measures the time of each handler.The addon cannot start.
filesfiles.quotaMiB64 MiB for each folder by default, 16 MiB for each file, 1,000 filesEach call gives a SecurityException.
downloadsdownloads.hostshttps only, hosts from downloads.hosts, 256 MiB for each file, the player accepts each downloadEach call gives a SecurityException.
lualua.globalsCalls run on the main thread. A global must be free.Viewpoint refuses the jar.
cameraNoneOne claim at a time for the camera, the view and the cursor.Each call gives a SecurityException.
combatNoneOne shot resolver and one reticle at a time.Each call gives a SecurityException.
modelsNoneProviders answer on the main thread, for the sprites that they name.Each call gives a SecurityException.
shadersNoneSnippets have size limits. Values are set on the main thread.Each call gives a SecurityException.
drawdraw.gpuMiBDrawing only in a draw callback. A limited list of OpenGL calls. 64 MiB of video memory by default, 128 MiB at most.Each call gives a SecurityException.
vramdraw.gpuMiBMore than 128 MiB of video memory for the Gpu objects. Viewpoint sets no limit.More than 128 in draw.gpuMiB makes the descriptor wrong.

These need no permission:

  • the view state;
  • the settings of the addon, its settings page and its key bindings;
  • the assets of the addon;
  • services.

A new permission, a new target, a new host, a new export or a larger quota needs the player’s consent again. See Updates & changelogs.