thisdp / dgs

Thisdp's Dx Graphical User Interface System (MTA Dx Lib)
http://wiki.mtasa.com/wiki/dgs
63 stars 34 forks source link

Settings system #133

Closed xLive closed 9 months ago

xLive commented 9 months ago

This pull request introduces improvements to the existing config system by replacing the config.txt file with the MTA settings system. Here's a brief overview:

  1. Removed reliance on config.txt.
  2. DGS no longer needs to use the loadstring function on the server-side, as MTA recently disabled loadstring function in the default ACL.
  3. Implemented MTA settings for a more organized and easily configurable system.
  4. No need to worry about compatibility, if config.txt exists, it will be converted to MTA settings.
  5. Some settings can now take effect on the fly, such as debugging command, without restarting DGS.

image

Note to the merger: Please use Squash and merge to merge this PR to squash all commits into a single commit.