Skip to content
Simple Whitelist Package for your Onset Server
Lua
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
server
util
README.md
config.json
package.json

README.md

Whitelist package

Simple whitelist package for your Onset Server

Requirement

Install

Add package in onset/packages/whitelist, enable it in server_config.json and restart your Onset server.

Edit packages/whitelist/config.json with the list of steamIDs allowed to join our server and set the locale used by default for the plugin.

Add whitelist in packages section of server_config.json file.

Reload configuration

You have added new players in your whitelist? Reload plugin configuration with /whitelist-reload command. You need to be an administrator to run it.

Functions

AddFunctionExport( 'isWhitelisted', whitelist.isWhitelisted )
AddFunctionExport( 'reloadWhitelist', whitelist.reload )

Configuration example

{
    "is_enabled": true,
    "locale": "en",
    "whitelist": [
        "123451234512345",
        "123451234512343"
    ]
}

Credits

You can’t perform that action at this time.