Closed KIttenPixel closed 1 year ago
also here is the code
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Exiled.API.Interfaces;
namespace Roundtools
{
public class Config : IConfig
{
[Description("Determines if the plugin should be enabled or disabled.")]
public bool IsEnabled { get; set; } = true;
[Description("Determines if the cassie plays an annoucemnt at the start of a round.")]
public bool AnnoucmentAtStart { get; set; } = true;
[Description("What annoucment cassie plays at the start of a round.")]
public string RoundstartAnnoucment { get; set; } = "Containment Breach Detected!";
[Description(
"Amount of time to cache players after they have left. (Best to keep resonable to avoid disk read on round restarts)")]
public float PlayerCacheTime { get; set; } = 120;
public bool DisplayStartMessage { get; set; } = true;
public ushort StartMessageTime { get; set; } = 20;
public string DisplayMessageText { get; set; } = "<color=yellow><b>Did you know you can swap classes with other SCP's?</b></color> Simply type <color=orange>.scpswap (role number)</color> in your in-game console (not RA) to swap!";
}
}
This is config file
Invalid as you are not using the most up to date release
Describe the bug When I try to port my plugin to the newest version I get this when in | config: 'Config' does not implement interface member 'IConfig.Debug'
Expected behavior Not getting a error and being able to build
**EXILED Version: 6.0.0-beta.22