Skip to content

Permissions

Mods must declare required permissions in manifest.json. Each permission grants access to specific API namespaces. If a mod tries to use an API without the required permission, the call will be rejected.

Permission List

PermissionAPI AccessDescription
filesystemFilesCreate, read, write, delete in-game files
networkNetworkCreate and manage networks, ports, domains
eventsEventsListen to game events, emit custom events
mailMailSend in-game emails
bankBankManage bank accounts and transfers
shellShellExecute terminal commands programmatically
uiUIShow notifications and indicators

APIs Without Permissions

The following APIs are always available and do not require permissions:

APIDescription
StoragePersistent key-value storage
VariablesSession-only variables
SharedStorageShared persistent storage
SharedVariablesShared session variables
ModSettingsMod settings (player config)
RandomRandom generation utilities
TwotterIn-game social media
KisscordIn-game messaging
WeeChatIn-game IRC chat

Usage

json
{
    "permissions": ["events", "network", "filesystem"]
}

TIP

Only request the permissions your mod actually needs. Players can see which permissions a mod requires in the Mods menu.

HotBunny Interactive Entertainment Inc.