Skip to content

Lua salt modify policy object

Bui edited this page Aug 19, 2015 · 1 revision

Table of Contents

Example Salt Modify Policy Object

 policy = {
 	["type"] = system_salt_modify_intersperse,
 	["args"] = { "whooooooooooo", 2, 0 },
 };

Properties

type

Required: Yes

Type: salt modify policy constant

Notes: Indicates the specific transformation that the server will do to the salt.

args

Required: Yes

Type: table of arguments

Notes: The arguments change depending on the specific salt modify policy constant chosen for the type. Please consult the documentation for the specific type to learn more. This must be present even in the case where there are no arguments for the specific type. It must be an empty table.

Clone this wiki locally