New to CraftNodes? Use code WELCOME10 at checkout for 10% off your first month.

Back to Blog

May 13, 2026

How to Run Multiple Discord Bots Under One Pterodactyl Server

Learn how to run multiple Discord bots from a single CraftNodes server instance. Manage multiple bot processes with PM2 or separate entry points.


Is This Possible?

Yes — you can run multiple Discord bots from one server instance, though separate servers are cleaner for management. Running multiple bots together works well if they are related (e.g. a bot cluster).

Method 1: Multiple Separate Servers (Recommended)

The simplest approach is to order a separate Discord Bot Hosting plan for each bot on CraftNodes. Each bot gets its own panel, its own restart button, and independent resource allocation. This is the cleanest setup.

Method 2: PM2 Process Manager

If you want multiple bots in one server, use PM2 to manage multiple Node.js processes:

npm install -g pm2
pm2 start bot1.js --name bot1
pm2 start bot2.js --name bot2
pm2 save
pm2 startup

Method 3: Main Coordinator Script

Create a main script that spawns child processes for each bot using Node's child_process.fork(). The main script is what Pterodactyl runs, and it manages the bot lifecycle.

Resource Considerations

Each additional bot uses more RAM and CPU. If running multiple complex bots, upgrade to a higher plan with more allocated resources.


All posts

CraftNodes Blog