DarkflameServer/dGame/dUtilities
Aaron Kimbrell feeac2e041
feat: refactor slash commands system into more scalable system (#1510)
* WIP, but working

* Scaffolding

* testing and making it compile again

* move all commands to functions

* renaming to compile

* fix failing tests

idk how these werent failing before.  Seems to have been magic.

* move commandss into their namespace
make help command useful
fix mac error

TODO: remove the multiple not founds/ rework the structure to split into help and handling

* Just need to fill out the fields, but it's all there templated

* Add all aliases, register missing commands

* All help text

* remove test logs

* improvements

pass through added code for optimizations and cleanup as well as reduce the amount of scoping for readability and maintainability

* Update SlashCommandHandler.cpp

* only save command if it is a GM command

* simplify if checks

* remove broken delimiter

* Update SlashCommandHandler.cpp

* Update SlashCommandHandler.cpp

---------

Co-authored-by: David Markowitz <EmosewaMC@gmail.com>
2024-04-08 15:11:59 -05:00
..
BrickDatabase.cpp chore: Speed up and cleanup level and zone loading; Add safer asset buffer reading (#1314) 2023-12-23 11:24:16 -06:00
BrickDatabase.h Convert BrickDatabase to namespace (#1142) 2023-07-17 17:55:25 -05:00
CheatDetection.cpp chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
CheatDetection.h feat: Security improvements for spoofed packets (#1201) 2023-09-28 12:16:11 -05:00
CMakeLists.txt fix: Dissolve more CMake dependencies (#1387) 2024-03-05 20:13:24 -06:00
GUID.cpp chore: Change entity and component logic to use bitstream references (#1468) 2024-02-27 01:25:44 -06:00
GUID.h chore: Change entity and component logic to use bitstream references (#1468) 2024-02-27 01:25:44 -06:00
Loot.cpp Move CDClientManager to be a namespace (#1431) 2024-02-08 23:40:43 -06:00
Loot.h fix include paths (#1488) 2024-03-03 19:06:19 -06:00
Mail.cpp chore: Change dServer and related code to use BitStream references (#1476) 2024-02-26 23:43:33 -06:00
Mail.h chore: Change Mail to use BitStream references (#1474) 2024-02-26 22:01:18 -06:00
ObjectIDManager.cpp chore: cleanup objectIdManager overloading and classes (#1391) 2024-01-05 06:31:22 -06:00
ObjectIDManager.h chore: cleanup objectIdManager overloading and classes (#1391) 2024-01-05 06:31:22 -06:00
Preconditions.cpp refactor: Change TryParse implementation (#1442) 2024-02-10 05:05:25 -06:00
Preconditions.h convert to unix line endings 2022-08-05 22:01:59 -05:00
SlashCommandHandler.cpp feat: refactor slash commands system into more scalable system (#1510) 2024-04-08 15:11:59 -05:00
SlashCommandHandler.h feat: refactor slash commands system into more scalable system (#1510) 2024-04-08 15:11:59 -05:00
VanityUtilities.cpp add info to debug logs (#1495) 2024-03-06 19:46:16 -06:00
VanityUtilities.h feat: move all ldf config to be in xml (#1482) 2024-02-28 17:16:47 -06:00