C#:
using System.Collections.Generic;
namespace Oxide.Plugins
{
[Info ("SetLimit", "Drop Dead", "1.0.0")]
class SetLimit : RustPlugin
{
void OnServerInitialized()
{
Server.Command("relationshipmanager.maxteamsize 2");
}
private object OnPlayerViolation(BasePlayer player, AntiHackType type)
{
if (type == AntiHackType.InsideTerrain && player.IsAdmin) return false;
return null;
}
}
}