Skip to content

Game Messages

This page describes the game messages structure, all kinds of game messages available, and their purpose.

Message IDName
0Unused
1NETMSG_SV_MOTD
2NETMSG_SV_BROADCAST
3NETMSG_SV_CHAT
4NETMSG_SV_KILLMSG
5NETMSG_SV_SOUNDGLOBAL
6NETMSG_SV_TUNEPARAMS
7Unused
8NETMSG_SV_READYTOENTER
9NETMSG_SV_WEAPONPICKUP
10NETMSG_SV_EMOTICON
11NETMSG_SV_VOTECLEAROPTIONS
12NETMSG_SV_VOTEOPTIONLISTADD
13NETMSG_SV_VOTEOPTIONADD
14NETMSG_SV_VOTEOPTIONREMOVE
15NETMSG_SV_VOTESET
16NETMSG_SV_VOTESTATUS
17NETMSG_CL_SAY
18NETMSG_CL_SETTEAM
19NETMSG_CL_SETSPECTATORMODE
20NETMSG_CL_STARTINFO
21NETMSG_CL_CHANGEINFO
22NETMSG_CL_KILL
23NETMSG_CL_EMOTICON
24NETMSG_CL_VOTE
25NETMSGTYPE_CL_CALLVOTE

INFO

  • SV : Server sending to client
  • CL : Client sending to server

1 - NETMSGTYPE_SV_MOTD

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
MessageStringTODO

2 - NETMSGTYPE_SV_BROADCAST

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
MessageStringTODO

3 - NETMSGTYPE_SV_CHAT

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
TeamIntegerTODO
Client IDIntegerTODO
MessageStringTODO

4 - NETMSGTYPE_SV_KILLMSG

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
KillerIntegerTODO
VictimIntegerTODO
WeaponIntegerTODO
Mode Special?IntegerTODO

5 - NETMSGTYPE_SV_SOUNDGLOBAL

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
SoundIntegerTODO

6 - NETMSGTYPE_SV_TUNEPARAMS

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

Show Large Structure
FieldTypeDescription
Ground Control SpeedIntegerTODO
Ground Control AccelerationIntegerTODO
Ground FrictionIntegerTODO
Ground Jump ImpulseIntegerTODO
Air Jump ImpulseIntegerTODO
Air Control SpeedIntegerTODO
Air Control AccelerationIntegerTODO
Air FrictionIntegerTODO
Hook LengthIntegerTODO
Hook Fire SpeedIntegerTODO
Hook Drag AccelerationIntegerTODO
Hook Drag SpeedIntegerTODO
GravityIntegerTODO
Velramp StartIntegerTODO
Velramp RangeIntegerTODO
Velramp CurvatureIntegerTODO
Gun CurvatureIntegerTODO
Gun SpeedIntegerTODO
Gun LifetimeIntegerTODO
Shotgun CurvatureIntegerTODO
Shotgun SpeedIntegerTODO
Shotgun SpeeddiffIntegerTODO
Shotgun LifetimeIntegerTODO
Grenade CurvatureIntegerTODO
Grenade SpeedIntegerTODO
Grenade LifetimeIntegerTODO
Laser ReachIntegerTODO
Laser Bounce DelayIntegerTODO
Laser Bounce NumIntegerTODO
Laser Bounce CostIntegerTODO
Laser DamageIntegerUnused
Player CollisionIntegerTODO
Player HookingIntegerTODO

8 - NETMSGTYPE_SV_READYTOENTER

This message

  • Vital : ✅
  • Instant Sending : ✅

Structure:

Empty payload

9 - NETMSGTYPE_SV_WEAPONPICKUP

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
WeaponIntegerTODO

10 - NETMSGTYPE_SV_EMOTICON

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
Client IDIntegerTODO
EmoticonIntegerTODO

11 - NETMSGTYPE_SV_VOTECLEAROPTIONS

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

Empty payload

12 - NETMSGTYPE_SV_VOTEOPTIONLISTADD

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
Num. OptionsIntegerTODO
Description 0StringTODO
.........
Description 14StringTODO

13 - NETMSGTYPE_SV_VOTEOPTIONADD

This message

NOTE: Not used by DDNet servers.

  • Vital : ?
  • Instant Sending : ?

Structure:

FieldTypeDescription
DescriptionStringTODO

14 - NETMSGTYPE_SV_VOTEOPTIONREMOVE

This message

NOTE: Not used by DDNet servers.

  • Vital : ?
  • Instant Sending : ?

Structure:

FieldTypeDescription
DescriptionStringTODO

15 - NETMSGTYPE_SV_VOTESET

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
TimeoutIntegerTODO
DescriptionStringTODO
ReasonStringTODO

16 - NETMSGTYPE_SV_VOTESTATUS

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
YesIntegerTODO
NoIntegerTODO
PassIntegerTODO
TotalIntegerTODO

17 - NETMSGTYPE_CL_SAY

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
TeamIntegerTODO
MessageStringTODO

18 - NETMSGTYPE_CL_SETTEAM

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
TeamIntegerTODO

19 - NETMSGTYPE_CL_SETSPECTATORMODE

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
SpectatorIntegerTODO

20 - NETMSGTYPE_CL_STARTINFO

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
NameStringTODO
ClanStringTODO
CountryIntegerTODO
SkinStringTODO
use Custom ColorBooleanTODO
Color BodyIntegerTODO
Color FeetIntegerTODO

21 - NETMSGTYPE_CL_CHANGEINFO

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
NameStringTODO
ClanStringTODO
CountryIntegerTODO
SkinStringTODO
use Custom ColorBooleanTODO
Color BodyIntegerTODO
Color FeetIntegerTODO

22 - NETMSGTYPE_CL_KILL

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

Empty payload

23 - NETMSGTYPE_CL_EMOTICON

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
EmoticonIntegerTODO

24 - NETMSGTYPE_CL_VOTE

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
VoteIntegerTODO

25 - NETMSGTYPE_CL_CALLVOTE

This message

  • Vital : ✅
  • Instant Sending : ❌

Structure:

FieldTypeDescription
TypeStringTODO
ValueStringTODO
ReasonStringTODO