Difference between revisions of "IS MAL"
From LFS Manual
Jump to navigationJump to searchBokujishin (talk | contribs) (Created page with "== Introduction == The '''M'''ods '''AL'''lowed packet is used to set the mods available on a server. {| class="wikitable" |+ IS_MAL packet properties |- ! Type !! Name !! D...") |
Bokujishin (talk | contribs) m (→SkinID) |
||
| Line 55: | Line 55: | ||
=== SkinID === | === SkinID === | ||
| − | The list of mod | + | The list of mod [[SkinID encoding|skinID]]s in compressed format. |
For instance, skinID DBF12E is encoded as 2E-F1-DB-00, or 46-241-219-0. | For instance, skinID DBF12E is encoded as 2E-F1-DB-00, or 46-241-219-0. | ||
Latest revision as of 20:30, 10 February 2026
Introduction
The Mods ALlowed packet is used to set the mods available on a server.
| Type | Name | Description |
|---|---|---|
| byte | Size | 8 + NumM * 4 |
| byte | Type | ISP_MAL |
| byte | ReqI | 0 unless this is a reply to a TINY_MAL request |
| byte | NumM | number of mods in this packet |
| byte | UCID | unique id of the connection that updated the list |
| byte | Flags | zero (for now) |
| byte | Sp2 | |
| byte | Sp3 | |
| unsigned | SkinID[MAL_MAX_MODS] | SkinID of each mod in compressed format, 0 to MAL_MAX_MODS (NumM) |
Packet Details
Size
The size of the packet varies from 8 to 488 bytes, depending on the value of NumM.
Type
The packet type from the ISP_ enumeration, always ISP_MAL.
ReqI
ReqI is equal to zero, unless the packet is a reply to a TINY_MAL.
NumM
The number of mods in this packet.
UCID
The unique ID of the connection that updated the list.
Flags
Currently zero and unused.
SkinID
The list of mod skinIDs in compressed format.
For instance, skinID DBF12E is encoded as 2E-F1-DB-00, or 46-241-219-0.
Notes
The maximum number of mods that can be allowed is 120. To allow all mods again, send this packet with 0 mods.