Найди и исправь ошибку в плагине C# для Игры Rust.
Код:
using Oxide.Core.Libraries.Covalence;
namespace Oxide.Plugins
{
[Info("Reconect", "Rukojop", "0.0.1")]
class Reconect : RustPlugin
{
private object CanUserLogin(string username, string userid, string ip)
{
ConsoleNetwork.SendClientCommandImmediate(player.Connection, "nexus.redirect", "888.888.888.888", "8888", "");
ConnectionAuth.Reject(player.Connection, "Redirecting to new server...");
PlatformService.Instance.EndPlayerSession(ulong.Parse(userid));
return true;
}
}
}