Appearance
AlwaysMOTD
Thank you for your purchase!
Important
This addon only adds some files to your nodes. Because of that, these steps need to be done on your Wings server, not the panel.
Installation
Step 1: Create Directory & Upload Files
Create the AlwaysMOTD directory and upload the files:
bash
sudo mkdir -p /opt/alwaysmotdbash
cd /opt/alwaysmotdUpload all AlwaysMOTD files to /opt/alwaysmotd using SFTP or your preferred file transfer method.
Step 2: Install Dependencies
Install Node.js and project dependencies:
bash
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo bash -bash
sudo apt install nodejs iptablesbash
cd /opt/alwaysmotd && npm installStep 4: Open Ports (Optional)
If you use UFW (Standard on an Pterodactyl installation) or another firewall, you got to open the following ports:
4001, 4002, 4003 and 4004.
If you use UFW, run this command:
bash
ufw allow 4001 && ufw allow 4002 && ufw allow 4003 && ufw allow 4004Step 5: Configure
Edit config.yml with your Pterodactyl API keys and port range:
bash
nano /opt/alwaysmotd/config.yml| Setting | Description |
|---|---|
| Panel URL | Your Pterodactyl panel URL |
| API Key | Application API key with server read permissions |
| Port Range | Range of ports to monitor for offline servers |
| MOTD Message | Custom message to display when server is offline |
| Max Players | Fake max players to show in server list |
Step 6: Run the Service
Install PM2 and start the service:
bash
sudo npm install -g pm2bash
cd /opt/alwaysmotd && sudo pm2 start index.js --name "alwaysmotd"bash
sudo pm2 startup && sudo pm2 saveManaging AlwaysMOTD
| Command | Description |
|---|---|
sudo pm2 status | Check status |
sudo pm2 logs alwaysmotd | View logs |
sudo pm2 restart alwaysmotd | Restart AlwaysMOTD (Apply changes in config.yml) |
sudo pm2 stop alwaysmotd | Stop AlwaysMOTD |
Need Help?
Join our Discord Server and open a ticket for support.
© 2025 AlwaysMOTD - BuiltByOtte. All rights reserved.

