TheXYZNetwork / xAdmin

A free and basic administration system for Garry's Mod.
The Unlicense
27 stars 6 forks source link

Proper Alias System #35

Closed liondadev closed 3 years ago

liondadev commented 3 years ago

Cleaned up the way aliases used to be made, they no longer require creating another command entirely. Just add a table as the last argument in the xAdmin.Core.RegisterCommand function.

Example: image

(also makes it work with the new permission table added in the last PR i made)

liondadev commented 3 years ago

This PR will also fix MySQL not working because of my last PR's new autoloader. It now forces the DB config to load first.