Added an alias system so that a command can be called with different names. The alias commands respects the permission system and can be used seemingly with the help and alias command. The commands command still only lists the original/full command name, it doesn't list aliases CreateCommand now has an addition argument commands can use: commandAliases Added a new !alias or !aliases command With these commands you can get the available alias(es) of a command by its original name or one of its alias For example !alias god or !alias godmode Some refactor to make the ChatListener function easier to read along with some comments to separate each command logic (built-in commands and "any other command") Added CommandAliasesDoesNotExistError Added GetCommandNameFromAlias util function
Plutonium-T6-Scripts
What is this?
This is a collection of Plutonium T6/BO2 scripts I created, written in GSC.
Huge thanks to everyone who helped me learn GSC: Birchy, DoktorSAS, FutureRave and other people on Discord.
How do I download a script?
- Download this repository
- Open the downloaded ZIP file
- Drag and drop the script(s) you want in the folder they need to be placed in.
If no instructions are provided for the script you want then simply follow the instructions given in How do I use a script?
Just keep in mind that this downloads a copy of this repository at the moment you download it.
If a script is updated after you downloaded this repository and you want the new version then you will need to download this repository again.
How do I use a script?
Follow the instructions in the documentation
Open the start menu and go to %localappdata%\Plutonium\storage\t6
.
If the script should be loaded for both the multiplayer and the zombies mode then drop the file in the scripts
folder.
If the script should only be loaded for the multiplayer mode then put it in scripts\mp
.
If the script should only be loaded for the zombies mode then put it in scripts\zm
.
Note that you can use map_restart
in the console to quickly restart your current game and reload scripts.