Skip to main content

AddTeslaIgnoreRule

Sets the players that will be ignored by a tesla.

Syntaxโ€‹

AddTeslaIgnoreRule @players "remove_id"? update?

Argumentsโ€‹

NameRequiredTypeDescription
playersYesPlayer variable (e.g. @all, @classDPlayers)
remove idNoAny text e.g. "Hello, World!"The ID of the tesla ignore rule. This is to identify this specific tesla ignore rule if you later want to remove SPECIFICALLY it later. There can be multiple tesla ignore rules with the same ID.
updateNobool (true or false) valueWhether the rule should check for any changes regarding the 'players' argument. E.g. when you use 'players' = ClassD and 'update' = false, then the rule will NOT update when player roles change, meaning that when some ClassD becomes a Guard, their rule will STILL apply, even though they are no longer ClassD.

On a running serverโ€‹

Use serhelp AddTeslaIgnoreRule to inspect the reference generated by your installed SER version.