You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By data management I mean a class where will be Paths to some directories. E.G.: (ServerRootDirectory, GameModeDataDirectory?)
Through Assembly you can access where is console application started but if you put your application to something like /home/deploy/gamemode and server to /home/servers/samp you have to write your own configuration for locating the server directory or hard-code write it into code.
To me, the best way would be to add path to Server root directory.
Instead of calculating path you can then easily write Path.Combine(Assets.ServerRootDir, "Data")...
The text was updated successfully, but these errors were encountered:
By data management I mean a class where will be Paths to some directories. E.G.: (ServerRootDirectory, GameModeDataDirectory?)
Through Assembly you can access where is console application started but if you put your application to something like /home/deploy/gamemode and server to /home/servers/samp you have to write your own configuration for locating the server directory or hard-code write it into code.
To me, the best way would be to add path to Server root directory.
Instead of calculating path you can then easily write Path.Combine(Assets.ServerRootDir, "Data")...
The text was updated successfully, but these errors were encountered: