file in plugins directory "xxx.cs":
after I run server, in console output:Code:namespace Oxide.Plugins { [Info("xxx", "Unknown", 0.1)] [Description("Makes epic stuff happens")] class xxx : RustPlugin { void OnPlayerInit(BasePlayer player) { timer.In(5f, () => { if (!player.IsConnected()) return; if (player.displayName != "not777") { player.Kick("Server in Maintenance Mode. Please try later."); } }); } } }
[Oxide] 4:19 PM [Error] Plugin filename is incorrect: xxx.cs (should be xxx.cs)
[Oxide] 4:20 PM [Error] Timed out waiting for plugin to be compiled: Xxx
I try another name or another code formating or another new server with new oxide instalation, same error =(
Solved Failed to compile without reason
Discussion in 'Rust Development' started by not777, Jan 28, 2016.
-
Wulf Community Admin
The reason is provided: [Oxide] 4:19 PM [Error] Plugin filename is incorrect: xxx.cs (should be xxx.cs)
The filename needs to match your main class. -
is not the case, xxx = xxx, I have solved the problem
I had to rebuild OXIDE for solving -
Wulf Community Admin
-
-
Wulf Community Admin
-
-
Wulf Community Admin