Skip to content

Commit

Permalink
Added VehicleSaving
Browse files Browse the repository at this point in the history
  • Loading branch information
educatalan02 authored Dec 15, 2018
1 parent d8c405b commit 7e5d026
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions AutoSaveConfig.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Rocket.API;
using Rocket.API;
using System;
using System.Collections.Generic;
using System.Linq;
Expand All @@ -11,14 +11,22 @@ namespace educatalan02.AutoSaveKingModdingNetwork
public class AutoSaveConfig : IRocketPluginConfiguration

{
public float SaveInterval;
public float SaveVehiclesInterval;
public float SaveServerInterval;
public string Color;
public string SaveMsg;
public bool SaveServerEnabled;
public bool SaveVehiclesEnabled;
public string SaveServerMsg;
public string SaveVehiclesMsg;

public void LoadDefaults()
{
SaveMsg = "Server saving...";
SaveInterval = 600f;
SaveServerMsg = "Saving Server...";
SaveVehiclesMsg = "Saving Vehicles...";
SaveServerEnabled = true;
SaveVehiclesEnabled = true;
SaveServerInterval = 600f;
SaveVehiclesInterval = 600f;
Color = "yellow";
}
}
Expand Down

0 comments on commit 7e5d026

Please sign in to comment.