Skip to content
Ben Loll edited this page Feb 3, 2022 · 5 revisions

MouseHunt Endpoints

There are many great tools/endpoints the MH developers (shoutout to Cardboard Shark) have provided for players and 3rd party tool developers to use in making awesome projects for the MH community. Most of them are not well documented, buried in discord channels, or live only in player brains. This wiki is an attempt to document them for others to learn and use. Learning from and building upon others is how collectively the world of MH becomes a better place.

So what exactly is an endpoint?

Endpoints, while not unique to MH, are commands you can make from your web browser to perform actions in the game like changing your trap or traveling to a new hunting location. The MH developers create/maintain them on the MH servers but they can be called/used by anyone. They are coded in Javascript so knowledge of the language is needed to use them. Experience with JSON would also be a huge plus. Some are generic and can be used in any context but most require a valid logged-in user to function. You can attach them to things like buttons or page loads to perform these actions on demand.

How do I run an endpoint?

There are several ways to do so. The first and easiest way to try them out is via the web browser developer tool console. This is something built into your web browser. Google chrome is recommended/covered here but you can search the internet on how to access this console from other browsers.

You can access it in chrome via any of the following

  1. Top Right Settings menu > more tools > developer tools
  2. Right-click menu > inspect
  3. The keyboard shortcut Ctrl + Shift + J

Another option to run endpoints is to include them in scripts/code that can run from a mousehunt url typically installed with the browser extension Tampermonkey. Here you can find a userscript template to start creating your own scripts for MH.

What endpoints are available?

Check out the Knowledgebase page for a list

Clone this wiki locally