from the book The Whydah by Martin W. Sandler pages 20-22
Life aboard a pirate ship was governed by a code of laws called the Articles of Agreement, or simply the Articles, which were developed in the last half of the 1600s by pirates in the West Indies. No one could become a full-fledged member of a pirate crew unless he went on the account, meaning he first signed the Articles of Agreement and then swore on a Bible, an ax, or on a skull to obey them. The Whydah's copy of the Articles were not recovered, but Bellamy's crew would have been governed by rules much like these, from the notorious pirate Captain Bartholomew Roberts:
I. Every man shall have an equal vote in affairs of moment. He shall have equal title to the fresh provisions or strong liquors at any time seized, and shall use them at pleasure unless a scarcity may make it necessary for the common good that a retrenchment may be voted.
II. Every man shall be called fairly in turn, by the list on board of prizes. But if they defraud the company to the value of even a Piece of Eight in plate, jewels or money, they shall be marooned. If any man rob another he shall have his nose and ears slit and be put ashore where he shall be sure to encounter hardships.
III. None shall game for money either with dice or cards.
IV. The lights and candles should be put out at eight at night, and if any of the crew desired to drink after that hour they shall sit upon the open deck without lights.
V. Each man shall keep his piece, cutlass and pistols at all times clean and ready for action.
VI. No boy or woman shall be allowed amongst them. If any man shall be found seducing any of the latter sex and carrying her to sea in disguise he shall suffer death.
VII. He that shall desert the ship or his quarters in time of battle shall be punished by death or marooning.
VIII. None shall strike another on board the ship, but every man's quarrel shall be ended on shore by sword or pistol in this manner. At the word of command from the quartermaster, each man being previously placed back to back, shall turn and fire immediately. If any man do not, the quartermaster shall knock the piece out of his hand. If both miss their aim they shall take to their cutlasses, and he that draweth first blood shall be declared the victor.
IX. No man shall talk of breaking up their way of living till each has a share of 1000 [pounds.] Every man who shall become a cripple or lose a limb in his service shall have 800 pieces of eight from common stock and for lesser hurts proportionately.
X. The captain and the quartermaster shall receive two shares of a prize, the master gunner and boatswain, one and one half shares, all other officers one and one quarter, and private gentleman of fortune one share each.
XI. The musicians shall have rest on the Sabbath Day only by right. On all other days by favour only.