Teams
Teams allow users to form groups and provide additional features such as group donation requests, team leaderboards, team events.
Create Teams #
Teams can be created from the client side by sending request to /Team/Create
API endpoint, or through administration panel.
Membership Statuses #
MKNet currently supports the following membership statuses:
- Leader
- Co-leader
- Member
- Pending
- Invited
- Kicked
- Banned
- Rejected
Join Team #
There are two types of Teams: open and closed. A user can become a member of a team immediately by sending request to /TeamMember/JoinTeam/{teamId}
API endpoint
If the team's type is closed, user will be added to a team in "Pending" status. Only a leader or co-leader of the closed team can promote users to Member status.
Invite Members #
Leader or co-leader can send invitations to users to join their teams.
- To send invitation use
/TeamMember/Invite/{userId}
- To get current invitation for player use
/TeamMember/GetInvitations
- To accept invitation use
/TeamMember/JoinTeam/{teamId}
- To reject invitation use
/TeamMember/RejectInvitation/{teamId}
Donations #
Loading API spec...