Dedicated Server

Callbacks from API version: 2013-04-16

ManiaPlanet.PlayerConnect

Description

ManiaPlanet.PlayerConnect(string Login, bool IsSpectator)

ManiaPlanet.PlayerDisconnect

Description

ManiaPlanet.PlayerDisconnect(string Login, string DisconnectionReason)

ManiaPlanet.PlayerChat

Description

ManiaPlanet.PlayerChat(int PlayerUid, string Login, string Text, bool IsRegistredCmd)

ManiaPlanet.PlayerManialinkPageAnswer

Description

ManiaPlanet.PlayerManialinkPageAnswer(int PlayerUid, string Login, string Answer, SEntryVal Entries[]);

struct SEntryVal {
    string Name;
    string Value;
}

ManiaPlanet.Echo

Description

ManiaPlanet.Echo(string Internal, string Public)

ManiaPlanet.ServerStart

Description

ManiaPlanet.ServerStart()

ManiaPlanet.ServerStop

Description

ManiaPlanet.ServerStop()

ManiaPlanet.BeginMatch

Description

ManiaPlanet.BeginMatch()

ManiaPlanet.EndMatch

Description

ManiaPlanet.EndMatch(SPlayerRanking Rankings[], int WinnerTeam)

struct SPlayerRanking {
    string Login;
    string NickName;
    int PlayerId;
    int Rank;
}

ManiaPlanet.BeginMap

Description

ManiaPlanet.BeginMap(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;
    string MapType;
    string MapStyle;
}

ManiaPlanet.EndMap

Description

ManiaPlanet.EndMap(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;
    string MapType;
    string MapStyle;
}

ManiaPlanet.StatusChanged

Description

ManiaPlanet.StatusChanged(int StatusCode, string StatusName)

TrackMania.PlayerCheckpoint

Description

TrackMania.PlayerCheckpoint(int PlayerUid, string Login, int TimeOrScore, int CurLap, int CheckpointIndex)

TrackMania.PlayerFinish

Description

TrackMania.PlayerFinish(int PlayerUid, string Login, int TimeOrScore)

TrackMania.PlayerIncoherence

Description

TrackMania.PlayerIncoherence(int PlayerUid, string Login)

ManiaPlanet.BillUpdated

Description

ManiaPlanet.BillUpdated(int BillId, int State, string StateName, int TransactionId)

ManiaPlanet.TunnelDataReceived

Description

ManiaPlanet.TunnelDataReceived(int PlayerUid, string Login, base64 Data)

ManiaPlanet.MapListModified

Description

ManiaPlanet.MapListModified(int CurMapIndex, int NextMapIndex, bool IsListModified)

ManiaPlanet.PlayerInfoChanged

Description

ManiaPlanet.PlayerInfoChanged(SPlayerInfo PlayerInfo)

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

ManiaPlanet.VoteUpdated

Description

ManiaPlanet.VoteUpdated(string StateName, string Login, string CmdName, string CmdParam)

StateName values: NewVote, VoteCancelled, VotePassed or VoteFailed


ManiaPlanet.ModeScriptCallback

Description

ManiaPlanet.ModeScriptCallback(string Param1, string Param2)

ManiaPlanet.ModeScriptCallbackArray

Description

ManiaPlanet.ModeScriptCallbackArray(string Param1, string Params[])

ManiaPlanet.PlayerAlliesChanged

Description

ManiaPlanet.PlayerAlliesChanged(string Login)

ScriptCloud.LoadData

Description

ScriptCloud.LoadData(string Type, string Id)

You must answer this callback by calling SetScriptCloudVariables for given object.


ScriptCloud.SaveData

Description

ScriptCloud.SaveData(string Type, string Id)

You must answer this callback by calling GetScriptCloudVariables for given object.

This is a private enthusiast Website. Maniaplanet, Trackmania, Shootmania, Nadeo are trademarks of Ubisoft Entertainment.
Windows is a registered trademark of Microsoft Corporation.

Last modified: Thu, 04 May 2017 20:56:40 +0200