fredi-68 / luswca

Remember to put full project title here
GNU General Public License v3.0
0 stars 0 forks source link

Command system #36

Closed fredi-68 closed 5 years ago

fredi-68 commented 6 years ago

Extract commands into their own separate subsystem, perhaps using Rams command system as a basis to expand from.

fredi-68 commented 5 years ago

Took the command system from Ram and modified it to work with LUSWCA. Some of the changes made were in fact backported to the original implementation because they were better. All commands have been moved to ./commands and can be reloaded without having to reboot the server which saves huge amounts of time during testing, when user commands have to be switched out or fixed often. This also enables users to simply delete the commands on a production server where this sort of functionality is not required. However, certain things like permission checking are not currently implemented, those will get their own issues later down the road though.