# Available callbacks:

- ManiaPlanet.PlayerConnect(string Login, bool IsSpectator);
- ManiaPlanet.PlayerDisconnect(string Login);
- ManiaPlanet.PlayerChat(int PlayerUid, string Login, string Text, bool IsRegistredCmd);
- ManiaPlanet.PlayerManialinkPageAnswer(int PlayerUid, string Login, string Answer, SEntryVal Entries[]);

      		struct SEntryVal {
      			string Name;
      			string Value;
      		}

- ManiaPlanet.Echo(string Internal, string Public);
- ManiaPlanet.ServerStart();
- ManiaPlanet.ServerStop();
- ManiaPlanet.BeginMatch(SMapInfo Map);

      	struct SMapInfo
      	{
      		string Uid;
      		string Name;
      		string FileName;
      		string Author;
      		string Environnement;
      		string Mood;
      		int BronzeTime;
      		int SilverTime;
      		int GoldTime;
      		int AuthorTime;
      		int CopperPrice;
      		bool LapRace;
      		int NbLaps;
      		int NbCheckpoints;
      	}

- ManiaPlanet.EndMatch(SPlayerRanking Rankings[], SMapInfo Map);

      	struct SPlayerRanking {
      		string Login;
      		string NickName;
      		int PlayerId

      		int Rank;
      		int BestTime;
      		int[] BestCheckpoints;
      		int Score;
      		int NbrLapsFinished;
      		double LadderScore;
      	}

- ManiaPlanet.BeginMap(SMapInfo Map, bool WarmUp, bool MatchContinuation);
- ManiaPlanet.EndMap(SPlayerRanking Rankings[], SMapInfo Map, bool WasWarmUp, bool MatchContinuesOnNextMap, bool RestartMap);
- ManiaPlanet.BeginRound();
- ManiaPlanet.EndRound();
- ManiaPlanet.StatusChanged(int StatusCode, string StatusName);
- TrackMania.PlayerCheckpoint(int PlayerUid, string Login, int TimeOrScore, int CurLap, int CheckpointIndex);
- TrackMania.PlayerFinish(int PlayerUid, string Login, int TimeOrScore);
- TrackMania.PlayerIncoherence(int PlayerUid, string Login);
- ManiaPlanet.BillUpdated(int BillId, int State, string StateName, int TransactionId);
- ManiaPlanet.TunnelDataReceived(int PlayerUid, string Login, base64 Data);
- ManiaPlanet.MapListModified(int CurMapIndex, int NextMapIndex, bool IsListModified);
- ManiaPlanet.PlayerInfoChanged(SPlayerInfo PlayerInfo);

      	struct SPlayerInfo {
      		string Login;
      		string NickName;
      		int PlayerId;
      		int TeamId;
      		int SpectatorStatus;
      		int LadderRanking;
      		int Flags;
      	}

- ManiaPlanet.ManualFlowControlTransition(string Transition);
- ManiaPlanet.VoteUpdated(string StateName, string Login, string CmdName, string CmdParam);
  StateName values: NewVote, VoteCancelled, VotePassed or VoteFailed
- ManiaPlanet.RulesScriptCallback(string Param1, string Param2);