-
Notifications
You must be signed in to change notification settings - Fork 0
Config
FrostBird347 edited this page May 8, 2023
·
12 revisions
The plugin's config is created on server startup and is located at [Server]/PluginData/DMPServerMap-FrostBird347/Config/MapUpdater.txt.
Values are stored as: VAR = VALUE.
-
Upload_Frequency- Default value is
3seconds. - Controls how often the server will attempt to update the webpage.
- Default value is
-
SOI_Fix- Default value is
5meters. - Value is added each planet's stored SOI or Sphere of Influence.
- See #1 for more info.
- Default value is
-
PlayerPrivacy- Default value is
1. - Will send player info, depending on the value.
-
0- player count, player list and what each player is doing is sent. -
1- player count and player list is sent. -
2- player count is sent. -
3- no player data is sent.
-
- Default value is
-
SendJSON- Default value is
False. - Send marker data via a HTTP PUT request if set to
True.
- Default value is
-
PostURL- Requires
SendJSONto be set toTrue. - Default value is
https://httpbin.org/anything. - Marker data is sent to this URL.
- Requires
-
SendJSONTimeout- Requires
SendJSONto be set toTrue. - Default value is
10seconds. - HTTP PUT request timeout.
- Requires
-
SaveJSON- Default value is
False. - Save marker data to a file if set to
True.
- Default value is
-
SaveJSONPath- Requires
SaveJSONto be set toTrue. - Default value is
PluginData/DMPServerMap-FrostBird347/SavedJSON.json. - Location to save the marker data to.
- Requires
-
LocalPath- Requires
SaveJSONto be set toTrue. - Default value is
True. - Use a path relative to the server to save the marker data if
True. - Use an absolute path to save the marker data if set to
False.
- Requires
-
HidePrivateVessels- Default value is
False. - Ignore private vessels if set to
True.
- Default value is
-
HiddenPrivateVesselKey- Requires
HidePrivateVesselsto be set toTrue. - Default value is
[0,0.5,0.5,0.5,0,0,0,0,0,0,0,0,0,0,0,0,0]. - Sorted by planet index.
-
[Kerbol, Kerbin, Mun, Minmus, Moho, Eve, Duna, Ike, Jool, Laythe, Vall, Bop, Tylo, Gilly, Pol, Dres, Eeloo].
-
- Values control how private vessels are hidden.
-
0= Ignore all private vessels. -
0.5= Ignore all private vessels moving slower thanHiddenPrivateVesselSpeed. -
1= Do not ignore any private vessels.
-
- Requires
-
HiddenPrivateVesselSpeed- Requires
HidePrivateVesselsto be set toTrue. - Default value is
100. - Controls the speed value for
HiddenPrivateVesselKey.
- Requires
The webpage's config is located at [Webpage Folder]/config/config.cfg.
Values are stored as:
function VAR() {
return VALUE
}-
GetRemoteJSONUrl- Default value is
http://httpbin.org/status/501 - URL to receive marker data from.
- Default value is
-
GetSavedJSONSpeed- Default value is
4seconds. - Controls how often the map will attempt to update the markers.
- Setting a lower value on the webpage, without touching the server's
Upload_Frequencyvalue increases the chance of the webpage receiving the same data again.
- Default value is
-
HideDeepVessels- Default value is
true. - Hide vessels under -250m if
true.
- Default value is
-
CheckInvalidJSON- Default value is
true. - Hide the invalid JSON version alert
false.
- Default value is
-
GetPageTitle- Default value is
{PNum}/{PMax} Players | {N}. -
{N}= Server Name -
{V}= Server Version -
{PV}= Server Protocol Version -
{PNum}= Player Count -
{PMax}= Max Players -
{GM}= Game Mode -
{WM}= Warp Mode
- Default value is
-
GetDefaultLayers-
Default value is
[true, true, true, false, true, true, false, false, false, 0, "Kerbin"]. -
Changes the default layer and overlay settings.
-
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
-
For example
[false, false, true, false, false, true, true, false, false, 3, "Kerbin"]is: -
-
-
DynamicIcon- Default value is
false. - Changes the page favicon to the planet the user is viewing.
- Default value is
-
DisplayTouchWarning- Default value is
true. - Displays a warning message for devices that have a touch screen.
- Default value is