-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAutoSaveConfig.cs
35 lines (32 loc) · 1.07 KB
/
AutoSaveConfig.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using Rocket.API;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using UnityEngine;
namespace educatalan02.AutoSaveKingModdingNetwork
{
public class AutoSaveConfig : IRocketPluginConfiguration
{
public float SaveVehiclesInterval;
public float SaveServerInterval;
public string UrlServer;
public bool SaveServerEnabled;
public bool SaveVehiclesEnabled;
public string SaveServerMsg;
public string UrlVehicle;
public string SaveVehiclesMsg;
public void LoadDefaults()
{
SaveServerMsg = "{color=yellow}[Info] {/color} {color=red}Saving Server...{/color}";
SaveVehiclesMsg = "{color=yellow}[Info] {/color} {color=white}Saving Vehicles...{/color}";
SaveServerEnabled = true;
SaveVehiclesEnabled = true;
SaveServerInterval = 600f;
UrlVehicle = "LINK OF IMAGE";
SaveVehiclesInterval = 600f;
UrlServer = "LINK OF IMAGE";
}
}
}