Team invite/Join Cooldown

Hi there,

I have a Server with a max team size,
but some players switch teams very often to bybass the max team size and so they live with more people in one base
is there a way or plugin where i can set a cooldown to team join / invite?

Thx 4 ur help

There is absolutely loads of OnTeam hooks available, OnTeamKick OnTeamLeave etc, 

Just get the Team ID, Player ID and current DateTime, and save all to a file with +1 hour onto the DateTime or something. 

Then use OnTeamAcceptInvite to check if DateTime.Now is greater than the DateTime stored on record, if it is then return null so that the Team Invite works. Otherwise return false. 

Guy1195

There is absolutely loads of OnTeam hooks available, OnTeamKick OnTeamLeave etc, 

Just get the Team ID, Player ID and current DateTime, and save all to a file with +1 hour onto the DateTime or something. 

Then use OnTeamAcceptInvite to check if DateTime.Now is greater than the DateTime stored on record, if it is then return null so that the Team Invite works. Otherwise return false. 

Sounds good, but i cannot code this :D



Merged post

May someone have a bit time to create that :)
a plugin does what you ask, you just have to search. I don't have the right to give a link... good luck
Tanki
a plugin does what you ask, you just have to search. I don't have the right to give a link... good luck

yeah i search for hours now :D