Skip to content

Browser automation - Auto-bump your Minecraft server on minecraft-server-list.com.

License

Notifications You must be signed in to change notification settings

KevinNovak/MSL-Bumper

Repository files navigation

MSL Bumper

Auto-bump your Minecraft server on minecraft-server-list.com.

Running this script will automatically put your server at the top of the Recently Updated servers list, which will help your server attract more players. Includes a built-in scheduler which can be set on any schedule you'd like.

Requirements

Getting Started

  1. Download the latest release here
    • Click one of the Source code links to download.
  2. Extract the download and navigate to the extracted files.
  3. Install the required packages.
    • Run npm install.
  4. Modify config.json.
    • See the Configuration section.
    • Important: Remember to modify at least username, password, and serverId.
  5. Start with npm start.

Running on a Schedule

There are 2 main ways you can run this script on a schedule:

  1. Built-in scheduler:
    • Simply run npm run scheduler.
    • The recommended and probably easiest method.
    • Commands:
      • View logs with pm2 logs msl-bumper.
      • Restart with pm2 restart msl-bumper.
      • Stop with pm2 stop msl-bumper.
      • Remove with pm2 delete msl-bumper.
  2. Custom scheduler:

Configuration

  • account:
    • username:
      • Your minecraft-server-list.com username.
    • password:
      • Your minecraft-server-list.com password.
    • serverId:
      • Your minecraft-server-list.com server ID.
      • This can be found in the URL of your servers page on minecraft-server-list.com.
        • For example, your servers page URL might be http://minecraft-server-list.com/server/123456/.
          • In this example "123456" is the server ID.
  • bump:
    • enabled:
      • Actually bump the server?
      • If false, will run all actions except the actual bump, useful for testing.
    • descriptions:
      • enabled:
        • Whether or not to type in a random description for the server.
        • Important: If enabling, remember to modify the list of descriptions. Don't use the default.
      • list:
        • A list of possible descriptions to use.
          • You can add as many as you want.
        • If enabled, one will be chosen at random each time the script is run.
  • browser:
    • hide:
      • Should the browser window be hidden?
      • NOTE: Set to true if running from SSH or a non-GUI OS like Debian or Raspbian Lite.
    • custom:
      • enabled:
        • Whether or not to use your own custom browser from the provided path.
        • NOTE: Supports most newer versions of Chrome or Chromium.
        • If false will use the default version of Chromium bundled with this package.
      • path:
        • The path to the Chrome or Chromium executable to use (if enabled above).
        • See this page for more details.
  • timings
    • delays:
      • enabled:
        • Whether or not this script should wait a random amount of time between actions.
        • Recommended to leave enabled.
      • min:
        • Minimum time to wait between actions in seconds.
      • max:
        • Maximum time to wait between actions in seconds.
    • typingDelays:
      • enabled:
        • Whether or not to type with delays (rather than instantaneously).
      • delay:
        • Time to wait between key presses in milliseconds.
    • scheduler:
      • expression:
      • offset:
        • enabled:
          • Whether or not to wait a random amount of time after the scheduled time comes.
          • Recommended to leave enabled.
        • min:
          • Minimum time to wait after the scheduled time in seconds.
        • max:
          • Maximum time to wait after the scheduled time in seconds.
          • NOTE: Should be less than how often the script is running according to the cronExpression.

Disclaimer

Running automated scripts like this one is often against a websites terms and conditions. Ultimately you are the one responsible for knowing the terms and conditions, and for what you do with this script. Run at your own risk.

References