﻿using Rocket.API;
using System.Collections.Generic;
using System.Xml.Serialization;

namespace AdminTools
{
    public class AdminToolsConfiguration : IRocketPluginConfiguration
    {
        [XmlArrayItem(ElementName = "Admin")]
        public List<ulong> Admins;

        public bool AutoGodEnabled;
        public bool AutoVanishEnabled;
        public bool KeepGodStatus;
        public bool KeepVanishStatus;

        public void LoadDefaults()
        {
            Admins = new List<ulong>()
            {
                76561198101871151
            };

            AutoGodEnabled = true;
            AutoVanishEnabled = false;
            KeepGodStatus = true;
            KeepVanishStatus = true;
        }
    }
}