Undang-Undang Laut Melaka

The clauses contained in the Undang-Undang Laut Melaka cover an extensive area, taking into account a wide variety of circumstances that could arise on a ship, with respect to social issues, such as slavery, adultery, murder, stealing, disrespecting an officer and negligence in carrying out duties; also, economic aspects such as tax and trade, including measurement of weight and area.

[4]According to Stamford Raffles, the clauses of Undang-Undang Laut Melaka which numbered up to 20, can be grouped into four distinctive chapters:[5] Another position which was just as important as that of the nakhoda was that of the malim (pilot).

The position of malim is often compared to that of an imam (leader of prayer group) on a ship due to his sailing skills.

The juru batu is said to have been the same status as the temenggung ('chief of public security'), this means that his role was to keep the peace on the ship and act as a judge in any dispute.

Undang-Undang Laut Melaka gives an example, a crewman (awak-awak) who refused to follow the orders of the tukang agong was punished by the juru batu by canning of up to seven strokes.