Hmmm, reminds me of how Srivijaya became rich (albeit, of course, in a different form): They obliged vessels to dock at their port (presumably so they can be taxed) and will kill the crew of a ship that refused to do that
At least Majapahit did not do the same (or isn't recorded doing the...