Repository navigation
Releases: DylanJ3191/ConfigurableTeslaGates
Release list
v2.2.0 - Add reset config command
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
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)
Merge remote-tracking branch 'origin/main'
v2.1.0 - April Fools mode
Adds April fools mode. More info in the config.
v2.0.0 - The Commands Update
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
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
Removed is_enabled from the config due to issues
v1.2.1 - More config!
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
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
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.