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.
- Node.js
- Download the latest release here
- Click one of the
Source code
links to download.
- Click one of the
- Extract the download and navigate to the extracted files.
- Install the required packages.
- Run
npm install
.
- Run
- Modify
config.json
.- See the Configuration section.
- Important: Remember to modify at least
username
,password
, andserverId
.
- Start with
npm start
.
There are 2 main ways you can run this script on a schedule:
- 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
.
- View logs with
- Simply run
- Custom scheduler:
- Setup a custom scheduler of your choice to run
node app.js
ornpm start
. - Run directly with Node:
- Windows: Run a Node script with Windows task scheduler
- Mac & Linux: How to Run Node.js Scripts from a Cron Job
- Run from a shell script:
- Setup a custom scheduler of your choice to run
- 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.
- In this example
- For example, your servers page URL might be
- username:
- 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.
- A list of possible descriptions to use.
- enabled:
- enabled:
- 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.
- enabled:
- hide:
- 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.
- enabled:
- typingDelays:
- enabled:
- Whether or not to type with delays (rather than instantaneously).
- delay:
- Time to wait between key presses in milliseconds.
- enabled:
- scheduler:
- expression:
- Defines when the bump script should be ran using a cron expression.
- You can read about cron expressions here
- Here are some examples and a cron generator.
- NOTE: Does not support every format. See this page for details.
- Defaults to every day at 9am, 3pm, and 9pm.
- With a 0 to 2 hour offset, see
offset
below.
- With a 0 to 2 hour offset, see
- 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
.
- enabled:
- expression:
- delays:
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.
- Puppeteer by Google - Automate browser tasks in Chrome or Chromium.
- Node Schedule by Tejas Manohar & Santiago Gimeno - Schedule jobs to run with Node.js.