136 Commits

Author SHA1 Message Date
Resxt
e120fd102a chat_command_dvars 1.0.0 2023-02-16 16:34:23 +01:00
Resxt
994e69632e chat_commands 1.2.1
Added DvarDoesNotExistError error
Added DvarIsInitialized util function
2023-02-16 16:27:49 +01:00
Resxt
e866fd5b26 chat_command_unlimited_ammo 1.0.0 2023-02-16 06:00:07 +01:00
Resxt
b308c84758 chat_command_god_mode 1.0.0 2023-02-16 05:33:07 +01:00
Resxt
1c2222443e chat_command_freeze 1.0.1
Fix the bug that was not targeting the player but was targeting the player calling the command instead
2023-02-16 05:25:21 +01:00
Resxt
ba97483c5d
Update README.md 2023-02-16 04:37:53 +01:00
Resxt
9f9ecf7f50 chat_command_text_help 1.0.0 2023-02-16 04:37:19 +01:00
Resxt
5fe50e216f Update README.md 2023-02-16 04:31:44 +01:00
Resxt
34f3535769 Update README.md 2023-02-16 04:30:00 +01:00
Resxt
760db1a2eb chat_command_freeze 1.0.0 2023-02-16 04:20:19 +01:00
Resxt
108b06962a chat_command_wallhack 1.0.0 2023-02-16 04:18:06 +01:00
Resxt
18938c2487 chat_command_invisible 1.0.0 2023-02-16 04:17:23 +01:00
Resxt
1a4c6a3cee chat_command_norecoil 1.0.0 2023-02-16 04:15:15 +01:00
Resxt
3384aef34f chat_command_teleport 1.0.0 2023-02-16 04:13:07 +01:00
Resxt
505b676e43 chat_command_change_team 1.0.0 2023-02-16 04:07:00 +01:00
Resxt
1ac9e89578 chat_command_map_mode 1.0.0 2023-02-16 04:03:33 +01:00
Resxt
da52be9cc7 chat_command_text_rules 1.0.0 2023-02-16 03:47:54 +01:00
Resxt
f1d6ce7c20 chat_command_suicide 1.0.0 2023-02-16 03:46:11 +01:00
Resxt
113424553d chat_commands 1.2.0
This is a refactor/dev that changes how the commands work but the usage stays the same for the end user. The only difference is that you now have to install each command as a separate file

[Refactor]
Moved all the commands to their respective file, just like a plugin system to easily allow the user to add/remove commands

If the server has no commands it will display a message when trying to run any command with the prefix

[Dev]
Added args comment for the CreateCommand function (commandValue and commandHelp)
2023-02-16 03:42:39 +01:00
Resxt
ec7f90c134 Delete chat_commands
Deleting chat_commands to prepare for a refactor (moving to the chat_commands folder)
2023-02-16 03:24:32 +01:00
Resxt
c5d5a6b6f3
Update README.md 2023-02-15 22:36:04 +01:00
Resxt
149fb65b57 jump_monitor 1.0.0 2023-02-15 22:34:22 +01:00
Resxt
fdf1a9adba
Update README.md 2023-02-15 20:27:02 +01:00
Resxt
006078000e
Update README.md 2023-02-15 20:26:44 +01:00
Resxt
716cb66aa6 kamikaze 1.0.0 2023-02-15 20:13:43 +01:00
Resxt
623d177551 welcome_message 1.0.0 2023-02-15 16:46:55 +01:00
Resxt
6096379e3e autoassign_team 1.0.0 2023-02-15 16:11:18 +01:00
Resxt
c994eb4756 chaos 1.0.0 2023-02-15 15:55:46 +01:00
Resxt
59bfdc19fe chat_commands 1.1.9
[Refactor]
Fix wrong type error during help message comparison.
Change default strings to array of one string
2023-02-06 04:38:18 +01:00
Resxt
a51165558c chat_commands 1.1.8
Added wallhack command to grant or remove access to a wallhack (red boxes) to a player (toggle)

[DEV]
This showcases how to implement a status/toggle command with a non permanent logic (implementing OnPlayerSpawned())
2023-02-06 04:14:53 +01:00
Resxt
6bf08da690 chat_commands 1.1.7
Added invisible command to grant or remove the invisible state to a player (toggle)
Note that this does not make you invisible to bots in the sense that even if they can't see you they will still know your position and shoot you on sight
2023-02-06 03:51:17 +01:00
Resxt
7766d9ecb9 chat_commands 1.1.6
[Dev]
Added default strings the dev can pass to automatically generate an help message for the commands with one or two player(s) as arg
2023-02-06 03:36:59 +01:00
Resxt
8ee3ca5bc7 chat_commands 1.1.5
All commands that require a player name to be passed now work both with a player name or with "me" to target yourself

[Dev]
All commands that use FindPlayerByName will now work with "me" passed as the player out of the box since FindPlayerByName now returns self if the name param is "me"

[Refactor]
Fix undefined errors when calling a status command for the first time on a player
2023-02-06 03:22:40 +01:00
Resxt
b1ec92bd0c chat_commands 1.1.4
Added norecoil command to grant or remove access to no recoil to a player (toggle)

[DEV]
Introduced the status system to make implementing toggle commands easier.
It allows the dev to get and set a status on a player per command and display messages both for the person running the command and for the player affected when the player status changes (for example no recoil ON/OFF).
Note that the status is always OFF by default since we always grant something to a player
2023-02-06 03:05:21 +01:00
Resxt
8d347b0cb2
mapvote 1.1.2
Stupid mistake that was throwing an error
2023-02-01 16:21:01 +01:00
Resxt
631e1c13e1 Update README.md 2023-01-27 22:27:00 +01:00
Resxt
73846c8cc9 chat_commands 1.1.3
Added teleport command to teleport a player or yourself to another player or yourself
!teleport me Eldor
!teleport Eldor me
!teleport Eldor Rektinator

[Refactor]
Replaced array[array.size] = value with AddElementToArray(array, value)
2023-01-27 21:58:12 +01:00
Resxt
3d3a9c84bb mapvote 1.1.1
Code refactor
Doesn't add or change anything
2023-01-26 02:59:26 +01:00
Resxt
ecf68810d2 mapvote 1.1.0
Made it possible to have a default randomized map and mode from a user defined list when the human players count is between two values defined by the user

Added dvar mapvote_default_rotation_maps
Added dvar mapvote_default_rotation_modes
Added dvar mapvote_default_rotation_min_players
Added dvar mapvote_default_rotation_max_players
2023-01-21 15:47:56 +01:00
Resxt
caeacbf3d4 chat_commands 1.1.2
Added changeteam command to swap a player to the other team
!changeteam Resxt
2023-01-19 22:07:25 +01:00
Resxt
9a875b2669
Update README.md 2022-12-24 18:54:16 +01:00
Resxt
12fbe10be8 mapvote 1.0.2
Added the possibility to have no maps at all in the mapvote_maps dvar.
This is useful for when you want to organise your maps dvar and you don't want any MW3 map for example
2022-12-23 11:22:52 +01:00
Resxt
809c62399f gun_game 1.0.2
Fixed silencer floating on top of the player when holding a pistol that shouldn't have a silencer equipped
2022-12-21 17:05:42 +01:00
Resxt
2eaaeac6ff mapvote 1.0.1
Handling of disconnecting players added
Now whenever a player disconnects his votes will be removed (both in the vote logic and in the HUD)
2022-12-01 19:07:05 +01:00
Resxt
1bf59c0f8e
Update README.md 2022-11-30 11:59:50 +01:00
Resxt
91c99f3315
Update README.md 2022-11-30 11:57:38 +01:00
Resxt
d1d6d1f418
Update README.md 2022-11-28 16:15:24 +01:00
Resxt
9749069510 Create mapvote 2022-11-28 13:12:25 +01:00
Resxt
a265fd9920
Update README.md 2022-10-19 23:21:33 +02:00
Resxt
7c17ee1bd3 Update README.md 2022-10-18 22:11:18 +02:00