MooMoo.io Bot
MooBot
This is an API I made for my MooMoo.io Bot.
The modules are as follow:
Name | Meaning | Extends | Notes |
---|---|---|---|
Moo | A connection | it’s the basic module | |
Alliance | A single clan | ||
Notif | A clan request | Player | |
PlayerManager | Control player list | ||
Self | The current player | Player | it’s per connection |
Thing | A locked attackable | ||
ThingManager | Control thing list | ||
Util | General Utils |
How to install a Chrome extension from GitHub?
So how would you go from source code on GitHub to an installed Chrome extension? Here’s how I did it: download the extension as a .zip by looking for the “Download ZIP” button on the right-hand side of the project page on GitHub. Now extract/unzip the code somewhere. Then in Chrome go to Menu (the three lines)->More tools->Extensions. Click the “Developer mode” checkbox and then click the button labeled “Load unpacked extension…”.
Now navigate in the resulting file dialog box until you are in the directory with a manifest.json file. For me, it was in the twlinkfy-master/ext directory. And that’s it! The extension loaded, and when I loaded the page with a long list of @names as text, they turned into clickable links.
You can even modify the local source code and reinstall or reload the extension. For example, I changed line 10 of twlinkfy.js to point to a different destination page on Twitter for links. I uninstalled and re-installed the extension and then the links went to a different page on Twitter.
As always, be careful of extensions/code that you install in case someone is attempting something malicious.