So, I've been banging my head against this trying to figure out what's wrong and could use a second set of eyes, at the moment this plugin shouldn't actually do anything yet, just trying to get it to compile. The error I get is:
"(15:28:22) | Error while compiling: Wipeday.cs(40,9): error CS1056: Unexpected character `' "
"(15:28:22) | Error while compiling: Wipeday.cs(40,9): error CS1056: Unexpected character `' "
using System;
using System.Collections.Generic;
using Oxide.Core.Libraries.Covalence;
namespace Oxide.Plugins
{
[Info("Wipeday", "Oddyseous AKA Oddy", "1.0.0")]
[Description("Allows you to execute multiple commands & wipe data files with a single command")]
class Wipeday : CovalencePlugin
{
public static Wipeday Plugin;
private new void LoadDefaultConfig()
{
PrintWarning("Creating a new config file for Wipeday");
Config.Clear();
// string ServerCommand1 = Config["ServerCommand1"];
// string ServerCommand2 = Config["ServerCommand2"];
// string ServerCommand3 = Config["ServerCommand3"];
Config["ServerCommand1"] = true;
Config["ServerCommand2"] = true;
Config["ServerCommand3"] = true;
SaveConfig();
// LoadDefaultConfig;
}
private void Init()
{
AddCovalenceCommand("wipeday", this, "CommandItself");
permission.RegisterPermission("wipeday.use");
}
private void CommandItself(IPlayer player, string wipeday, string[] args)
{
// if (player.HasPermission("wipeday.use"))
//{
// server.Command(ServerCommand1, "args");
// }
}
}
}