54 Commits

Author SHA1 Message Date
Resxt
b4892d0c57 Update README.md 2023-10-28 15:15:46 +02:00
Resxt
842815b518 chat_commands 1.1.6
Added PerkDoesNotExistError
Added GetAvailablePerks util function
Added GetPerkInfos util function
2023-10-28 15:13:44 +02:00
Resxt
e4c8f29fb9 chat_command_info 1.2.0
Added listperks command
2023-10-28 15:12:58 +02:00
Resxt
d0776fde3f chat_command_give 1.1.0
Added giveperk command
2023-10-28 15:10:54 +02:00
Resxt
b08352acda chat_command_give 1.0.2
Added all and all_no_nuke options to the givepowerup command
2023-10-28 15:03:59 +02:00
Resxt
fb57ea3c4e chat_commands 1.1.5
Added PowerupDoesNotExistError
Added GetAvailablePowerups util function
Added IsValidPowerup util function
2023-10-27 13:54:25 +02:00
Resxt
6663279c21 chat_command_info 1.1.0
Added listpowerups command to list available powerups in zombies (only lists powerups available on the map)
2023-10-27 13:53:34 +02:00
Resxt
ea309f9d28 chat_command_give 1.0.0 2023-10-27 13:50:21 +02:00
Resxt
139ff05c46 chat_commands 1.1.4
Made it so that players can type commands and "me" (when targeting a player) any way they want. There doesn't need to be an exact match full lower case anymore for both of these
2023-10-23 22:48:36 +02:00
Resxt
d8ffda994a chat_command_no_target 1.0.0 2023-10-15 22:05:57 +02:00
Resxt
8bb3055978 chat_commands 1.1.3
Added the NotEnoughPointsError
2023-10-09 18:50:44 +02:00
Resxt
54c2c70b30 chat_command_points 1.1.0
Added the givepoints command that allows player to give some of their points to another player (basically transfer points)
2023-10-09 18:49:58 +02:00
Resxt
9677af1641 Update README.md 2023-10-09 07:39:51 +02:00
Resxt
55c89418c4 chat_commands 1.1.2
Added the ability to find players by typing a part of their name (starting from the beginning of their names) instead of having to type their full names all the time.

For example to kill Resxt you can now just type !kill res
If there is a player named Resxt and another named Resxtola then typing !kill resxt will kill Resxt because we got an exact match. If you type !kill Resx it won't kill anyone because there are two potential players found so we can't be sure who the command should be run on. If you type !kill Resxto it will kill Resxtola
2023-10-09 07:39:01 +02:00
Resxt
05fdd3c679 chat_command_ufo_mode 1.0.0 2023-07-03 16:47:38 +02:00
Resxt
5001fc8b8f chat_commands 1.1.1
Fix commands not working on dedicated servers
The newly added ExecuteCommand function already exists (on dedicated servers only) and therefore it was always called the game's function instead of the chat commands function.
Simply renaming them to a more specific name fixed the issue
2023-06-18 15:39:41 +02:00
Resxt
21bc779ebd chat_command_rounds 1.0.1
Added alias
2023-06-17 10:31:35 +02:00
Resxt
d0b5874dcb chat_command_unlimited_ammo 1.0.1
Added alias
2023-06-17 10:29:19 +02:00
Resxt
d75f2401b8 chat_command_unfair_aimbot 1.0.1
Added alias
2023-06-17 10:29:04 +02:00
Resxt
d39760a075 chat_command_teleport 1.0.1
Added alias
2023-06-17 10:28:41 +02:00
Resxt
cd7ce9d35d chat_command_permissions 1.0.1
Only enable permissions command if the permission system is enabled

Added help message for getpermission

Added aliases
2023-06-17 10:28:26 +02:00
Resxt
a65440b8af chat_command_kick 1.0.1
Added alias
2023-06-17 10:27:34 +02:00
Resxt
4208adea38 chat_command_god_mode 1.0.2
Renamed the command from god to godmode
Added aliases
2023-06-17 10:27:16 +02:00
Resxt
f506e68d9e chat_command_dvars 1.0.1
Added aliases
2023-06-17 10:26:36 +02:00
Resxt
52820e82fc chat_commands 1.1.0
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
2023-06-17 10:25:39 +02:00
Resxt
b3dd62f64e Update README.md
chat_command_give
Added more examples
Added more detailed descriptions
Changed some examples to make it easier to read and understand
2023-06-16 20:13:57 +02:00
Resxt
84e69a87f7 chat_command_info 1.0.1
Fixed some wrong attachments being listed. For example pistol would list "silencer_shotgun" when the expected name is "silencer". Now all listed attachments only contain the content before the first underscore, which works.

Added print of the attachments to the console if the debug mode is on
2023-06-16 20:03:08 +02:00
Resxt
384b32f33a chat_command_give 1.0.1
Fixed weapon not given to the proper player in some scenarios

Fixed player not switching to the weapon automatically in some scenarios

Fixed multiple attachments not working
2023-06-16 20:00:20 +02:00
Resxt
a4a714da47 chat_commands 1.0.4
Only create variables for the port currently in-use
For example: there's no need to create level.chat_commands["4977"] if the currently used port is 4976. This simply adds a bunch of variables and child variables for no reason, this was a flawed implementation that create an array per port on every server. Now it will only create an array for its own port as expected

Removed 3074 from the default ports
This port is not actively used by net_port, this was just a misunderstanding on my part
2023-06-15 13:34:04 +02:00
Resxt
135a45f20b chat_command_give 1.0.0 2023-06-13 12:53:44 +02:00
Resxt
45af4a60b0 chat_command_info 1.0.0 2023-06-13 12:22:35 +02:00
Resxt
6a7a518c73 chat_commands 1.0.3
Added 3074 to default ports

Added WeaponDoesNotExistError error

Added IsValidWeapon utils function
2023-06-12 21:13:03 +02:00
Resxt
fb577ddcdd
Update README.md 2023-04-03 16:20:58 +02:00
Resxt
af2a1bf2d9
Update README.md 2023-03-31 02:29:06 +02:00
Resxt
acb66df149 chat_command_rounds 1.0.0 2023-03-25 22:33:31 +01:00
Resxt
0e9181f188 chat_commands 1.0.2
Added default 1s wait time to TellPlayer in case no wait time is passed

Added TellAllPlayers util function

Added InvalidRoundError error
2023-03-25 22:32:58 +01:00
Resxt
fdb479d6df chat_command_kick 1.0.0 2023-03-24 23:31:24 +01:00
Resxt
f029c48373 chat_command_invisible 1.0.0 2023-03-24 20:29:48 +01:00
Resxt
56a1d9e961 chat_command_freeze 1.0.0 2023-03-24 17:35:12 +01:00
Resxt
58eece3441 chat_command_suicide 1.0.0 2023-03-24 14:55:51 +01:00
Resxt
359aa389df chat_command_text_help 1.0.0 2023-03-24 14:47:23 +01:00
Resxt
d11f443a81
Update README.md 2023-03-24 01:22:01 +01:00
Resxt
3b2ca9405a chat_commands 1.0.1
Added IsMultiplayerMode utils function
2023-03-24 01:20:43 +01:00
Resxt
d8ab165e2d chat_command_unfair_aimbot 1.0.0 2023-03-24 01:13:08 +01:00
Resxt
31702d9b73 chat_command_dvars 1.0.0 2023-03-23 22:02:23 +01:00
Resxt
bde7055118 chat_command_permissions 1.0.0 2023-03-23 18:17:51 +01:00
Resxt
9d1fc4c63e
chat_command_god_mode 1.0.1
Refactor
2023-03-22 02:55:28 +01:00
Resxt
6d3a7b41ed chat_command_god_mode 1.0.0 2023-03-22 02:53:46 +01:00
Resxt
ceab91035f
Update README.md 2023-03-21 17:25:41 +01:00
Resxt
cab303f26a chat_command_teleport 1.0.0 2023-03-21 03:30:46 +01:00