Trackmania ManiaScript Reference 2024.9.17.1117
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CServerPlugin Class Reference

Server plugin. More...

#include <doc.h>

Inheritance diagram for CServerPlugin:
[legend]

Public Member Functions

CClient GetClient (Text Login)
 
CClient GetClient (CUIConfig UI)
 
CClient GetClient (CUser Login)
 
CClient GetClientFromWebServicesUserId (Text WebServicesUserId)
 
CPlayer GetPlaygroundPlayer (Text Login)
 
Void TweakTeamColorsToAvoidHueOverlap ()
 
Void TriggerModeScriptEvent (Text Type, Array< Text > Data)
 
Void SendModeScriptCommand (Text CommandName, Boolean BoolVal)
 
Void SendModeScriptCommand (Text CommandName, Integer IntVal)
 
Void SendModeScriptCommand (Text CommandName, Real RealVal)
 
Void SendModeScriptCommand (Text CommandName, Text TextVal)
 
Void SendModeScriptCommand (Text CommandName, Vec2 Vec2Val)
 
Void SendModeScriptCommand (Text CommandName, Vec3 Vec3Val)
 
Void SendModeScriptCommand (Text CommandName, Int2 Int2Val)
 
Void SendModeScriptCommand (Text CommandName, Int3 Int3Val)
 
Void RestartMap ()
 
Void NextMap ()
 
Text Dbg_DumpDeclareForVariables (CNod Nod, Boolean StatsOnly)
 
Void TaskResult_Release (Ident TaskResultId)
 
CTaskResult_Ghost Ghost_Download (Text Url)
 
Void GhostDriver_Playlist_Clear (CPlayer Player)
 
Void GhostDriver_Playlist_Add (CPlayer Player, CGhost Ghost)
 

Public Attributes

CTitle *const LoadedTitle
 
CMapInfo *const MapInfo
 
Array< CClient *const > Clients
 
Array< CClient *const > Spectators
 
Array< CClient *const > Players
 
Array< CScore *const > Scores
 
Array< CUser *const > Users
 
Array< CTeam *const > Teams
 
Text NeutralEmblemUrl
 
Text ForcedClubLinkUrl1
 
Text ForcedClubLinkUrl2
 
Array< IntegerClansNbPlayers
 
Array< IntegerClanScores
 
Integer const Now
 
Array< CServerPluginEvent *const > PendingEvents
 
Boolean const MapLoaded
 
Boolean const MapUnloadRequested
 
Array< CMapInfo *const > MapList
 
Integer const CurMapIndex
 
Integer NextMapIndex
 
Boolean HoldMapUnloadRequest
 
Boolean Client_ComputeMinimap
 
CUIConfigMgr *const UIManager
 
CServerAdmin *const ServerAdmin
 
CXmlRpc *const XmlRpc
 
CParsingManager *const Xml
 
CHttpManager *const Http
 
CSystemPlatform *const System
 
Array< CTaskResult *const > TaskResults
 
Array< CGhost *const > Ghosts
 
- Public Attributes inherited from CNod
Ident const Id
 

Detailed Description

Server plugin.

Supported declare modes :

  • Local
  • Persistent

Member Data Documentation

◆ Client_ComputeMinimap

Boolean CServerPlugin::Client_ComputeMinimap

Enable minimap on the clients, even if the mode does not do it.

◆ Clients

Array<CClient* const > CServerPlugin::Clients

Currently connected Users.

◆ Players

Array<CClient* const > CServerPlugin::Players

Users connected as players.

◆ Scores

Array<CScore* const > CServerPlugin::Scores

Sorted scores.

◆ Spectators

Array<CClient* const > CServerPlugin::Spectators

Users connected as spectators.


The documentation for this class was generated from the following file: