Need help with plugin configurationsSolved
so i am trying to use what they got in the docs but it doesn't seem to work for me, i take a look at other plugins and they seem to be using something completely else could anyone give me a clue why it ain't working 

 https://umod.org/documentation/api/configuration
Hello
How can we know why it doesn't work for you? Please provide your code .There is a code formatting button please format code :)
In response to misticos ():
Hello
How can we know why it doesn't work for you? Please provide your code .There is a code fo...

thing is that i right now just have the default from docs and i get an error "Error while compiling: ServerAnnounce.cs(25,11): error CS0246: The type or namespace name `PluginConfig' could not be found. Are you missing an assembly reference?" in the game console

namespace Oxide.Plugins
{	
	[Info("ServerAnnounce", "NubbbZ", "1")]
	[Description("Broadcasts a message server wide in chat when ether a player Connects/Disconnects/Dies/Kicks/")]

	class ServerAnnounce : RustPlugin
	{
		#region Config

		private PluginConfig config;

		private void Init()
		{
			config = Config.ReadObject<PluginConfig>();
		}

		protected override void LoadDefaultConfig()
		{
			Config.WriteObject(GetDefaultConfig(), true);
		}

		private PluginConfig GetDefaultConfig()
		{
			return new PluginConfig
			{
				ShowJoinMessage = true,
				ShowLeaveMessage = true,
				JoinMessage = "Welcome to this server",
				LeaveMessage = "Goodbye"
			};
		}

		#endregion

		#region Hooks

		void OnPlayerInit(BasePlayer player)
		{
			Server.Broadcast(player.displayName + "Connected!");
		}

		void OnPlayerDisconnected(BasePlayer player, string reason)
		{
			Server.Broadcast(player.displayName + " Disconnected!");
		}

		object OnPlayerDie(BasePlayer player, HitInfo info)
		{
			Server.Broadcast(player.displayName + " Has died to " + info.InitiatorPlayer.displayName);
			return null;
		}

		void OnPlayerKicked(BasePlayer player, string reason)
		{
			Server.Broadcast(player.displayName + " Disconnected!" + " (" + reason + ")");
		}

		object OnPlayerViolation(BasePlayer player, AntiHackType type, float amount)
		{
			Server.Broadcast(player.displayName + " Kicked!" + " (" + type + " : " + amount + ")");
			return null;
		}

		#endregion
	}
}
You dont specify a class. Like class PrivateConfig. so the game can't find it and it sure doesn't work
Locked automatically