server-beta
server-beta copied to clipboard
More sanity checks for config options
Some sanity checks could be added to warn about one of the examples:
-
maxnpcvariable exceeds the maximum number of player slots -
queryis disabled butannounceis enabled, so the server will not be visible in masterlist - More checks on negative values for the most of settings which cannot apply such numbers
Other checks which also can be applied from the server start:
- scriptfiles folder cannot be created for some reason (some scripts rely on this and may work incorrectly)
Added PR: https://github.com/openmultiplayer/open.mp/pull/1097
@AmyrAhmady