Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Latest commit

 

History

History
44 lines (29 loc) · 1.02 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.02 KB

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