Skip to content

Releases: DylanJ3191/ConfigurableTeslaGates

v2.2.0 - Add reset config command

Choose a tag to compare

@DylanJ3191 DylanJ3191 released this 10 Sep 01:31

Added reset config command (ctg admin resetconfig)

Event handlers now throw a NRE (NullReferenceException) when the config is null instead of just returning.

v2.1.2 - Return to normal behavior

Choose a tag to compare

@DylanJ3191 DylanJ3191 released this 03 Apr 03:31

Disables April Fools mode by default, but the option will remain in the config if you wanna screw with people.

v2.1.1 - Bug fixes (April Fools mode)

Choose a tag to compare

@DylanJ3191 DylanJ3191 released this 03 Apr 03:27
Merge remote-tracking branch 'origin/main'

v2.1.0 - April Fools mode

Pre-release

Choose a tag to compare

@DylanJ3191 DylanJ3191 released this 01 Apr 14:44

Adds April fools mode. More info in the config.

v2.0.0 - The Commands Update

Choose a tag to compare

@DylanJ3191 DylanJ3191 released this 17 Dec 01:24

The Commands Update

Added commands:

Parent command:

ctg

Subcommands:

reloadcfg - Reloads the config. Aliases: rc, reloadconfig
clearimmuneplayers - Removes all players (added by the tgi command) from the list of immune players. Aliases: cip
getcfg - Displays the current configuration. Aliases: cfg
editcfg - Edits the current configuration. Usage: ctg editcfg <option> <value>. Does not require the use of the reloadcfg command when run. Aliases: editconfig

Note for editcfg command:

When editing the RoleList, do not type it as a string, type it like you would for any other option. The command is designed to take all the arguments after the option and treat them as one string.
Example:
ctg editcfg RoleList Tutorial NtfPrivate NtfSpecialist NtfSergeant NtfCaptain

New feature:

Thanks to another dev, I have found the event handler that controls Tesla Gate idling. Tesla Gates will no longer power up if the player is immune to it, whether it be from role or command.

v2.0.0 - Command Update - Beta

Pre-release

Choose a tag to compare

@DylanJ3191 DylanJ3191 released this 14 Dec 21:33

Added commands:

Parent Command:

ctg

Sub Commands:

reloadcfg - Reloads config
clearimmuneplayers - Clears the list of players immune to Tesla Gates (the list used by the tgi command)
getcfg - Displays the current plugin config
editcfg - Edits the current config (saves)

v1.2.2 - Remove is_enabled config

Choose a tag to compare

@DylanJ3191 DylanJ3191 released this 10 Dec 02:13
a6715b5

Removed is_enabled from the config due to issues

v1.2.1 - More config!

Choose a tag to compare

@DylanJ3191 DylanJ3191 released this 10 Dec 01:15
53b06eb

Merge is_enabled into main config file

Add option to clear list of players immune to Tesla Gates upon round restart

See clearImmunityOnRestart in config.

v1.2.0 - Tesla Gate Immunity command

Choose a tag to compare

@DylanJ3191 DylanJ3191 released this 10 Dec 01:02
47c93ec

Added tgimmunity command

Command works on client as a dot command, and in RA.

Added command toggle to config

Note: Command will still be registered, but will reply with an error stating that the command is disabled.

Aliases

teslagateimmunity
tgi
donttriggertg

The command has an optional argument for adding other users

Examples:

No argument (target self)
Client example: .tgi
RA example: tgi

(in-game) Player ID argument (target someone else)
Client example: .tgi 2
RA example: tgi 3

v1.1.1 - Event handler patch

Choose a tag to compare

@DylanJ3191 DylanJ3191 released this 09 Dec 22:38
1b66989

If tesla gates are disabled, prevent role checks. (Unnecessary)
Treat the immune role settings as a proper list instead of looking for partial matches in one string.