Disable "create team" button in the bottom left corner.

Hi there!
I am completely unexperienced with C# and cant make my own plugins but I was just wondering if it is possible to make a plugin that disables the "create team" in the bottom left corner. I still want the "leave team" button to work. Is there any easy way to disable the "create team" button? If so, please help me!

Thanks in advance!
- Hyppa

Hey,
I don't know what it is you are trying to accomplish, but couldn't you just set the relationshipmanager.maxteamsize to 1 ?

That wouldn't get rid of the create team button but it would effectively block players from making teams with more than 1 (themselves).

Yo!
I want people to use the Clans plugin instead of making normal teams. So if it would be possible to just disable the "create team" button and provide them with a message similar to this "To create a team, do /clan create "NAME" to create a team.".

The whole purpose is to make people use this plugin that we have just installed.
zNARVFkGvu4KUEk.png

Maybe you could have it create a clan when they click the create team button.

Shouldn't it be kinda easy to make with this hook?

object OnTeamCreate(BasePlayer player)
{
Puts("OnTeamCreate works!");
return null;
}

I have absolutely no experience with C# but maybe you could do something like this?

object OnTeamCreate(BasePlayer player)
{
Reply(player, "Please use /clan instead");
return false;
}

I am just trying to give you some ideas, hopefully, someone can help me finish it. I have no idea, maybe it is harder than I think it is.

RbYeWWUaTCT9kHl.jpg Hyppa

Shouldn't it be kinda easy to make with this hook?

object OnTeamCreate(BasePlayer player)
{
Puts("OnTeamCreate works!");
return null;
}

I have absolutely no experience with C# but maybe you could do something like this?

object OnTeamCreate(BasePlayer player)
{
Reply(player, "Please use /clan instead");
return false;
}

I am just trying to give you some ideas, hopefully, someone can help me finish it. I have no idea, maybe it is harder than I think it is.

Yeah that should work.