Skip to content

Server API

@vimp-mp/types 2.0.1

Players, entities, world state, voice, lifecycle, and server events.

DeclarationDescription
BlipWorld blip handle returned by vimp.blips.create.
BlipExtrasInitial state applied when creating a server blip.
BlipManagerManages blip instances in this scripting context.
CheckpointWorld checkpoint handle returned by vimp.checkpoints.create.
CheckpointColorRGBA colour used by a checkpoint.
CheckpointExtrasInitial state applied when creating a server checkpoint.
CheckpointManagerManages checkpoint instances in this scripting context.
ColshapeServer-side trigger volume returned by vimp.colshapes.create*.
ColshapeExtrasInitial state applied when creating a server colshape.
ColshapeManagerManages colshape instances in this scripting context.
ColshapeTypeGeometric kind of a colshape trigger volume.
GameObjectWorld object handle returned by vimp.objects.create.
MarkerWorld marker handle returned by vimp.markers.create.
MarkerColorRGBA colour used by Marker.color.
MarkerExtrasInitial state applied when creating a server marker.
MarkerManagerManages marker instances in this scripting context.
ObjectCreateOptionsInitial state applied when creating a server object.
ObjectManagerManages object instances in this scripting context.
PedServer-spawned NPC (pedestrian).
PedExtrasInitial state applied when creating a server ped.
PedManagerManages ped instances in this scripting context.
PlayerPlayer currently connected to the server.
PlayerManagerProvides access to all players currently connected to the server.
StreamSyncedMetaMetadata replicated with an entity to clients that currently stream it.
VehicleServer-spawned vehicle handle returned by vimp.vehicles.create.
VehicleExtrasInitial state applied when creating a server vehicle.
VehicleManagerCreates and tracks authoritative server vehicles.
VimpClientInboundEventsCustom events sent from server to a specific client (via player.emit) or broadcast to all clients (via vimp.emitAllClients).
VimpServerRoot API installed as the global vimp object in server scripts.
VimpServerBuiltinEventsBuilt-in server-side events.
VimpServerEventsCustom events sent by clients via vimp.emitServer(event, data).
VoiceChannelServer-owned voice channel and its per-player routing permissions.
VoiceChannelCreateOptionsOptional routing behaviour applied when a voice channel is created.
VoiceManagerCreates and looks up server-owned voice channels.
WorldManagerAuthoritative server-side world state.
WorldTimeSnapshot of the in-game clock.

VIMP developer documentation