Simple Guide to Use the Proxmox VPS Creation Script
Step 1: Prerequisites
1. Set up Proxmox on your server. Install and configure Proxmox, enable SSH, and allow root access.
2. Install Python 3.8+ and pip on your machine.
3. Create a Discord bot in the Discord Developer Portal and copy the bot token.
Step 2: Prepare the Script
1. Save the script as proxmox_vps_bot.py.
2. Open a terminal and install the required Python libraries by running this command: pip install discord paramiko requests asyncio
Step 3: Configure the Script
1. Open proxmox_vps_bot.py in a text editor.
2. Replace the placeholders in the script with your details:
- Replace YOUR_BOT_TOKEN with your Discord bot token.
- Replace YOUR_DISCORD_WEBHOOK_URL with your Discord webhook URL.
- Replace YOUR_PROXMOX_SERVER_IP with the IP or hostname of your Proxmox server.
- Replace YOUR_DISCORD_SERVER_ID with the ID of your Discord server.
- Replace ROLE_ID_1 with the ID of a role authorized to use the VPS command.
Step 4: Run the Bot
1. In a terminal, run the script using the command: python proxmox_vps_bot.py
2. Verify the bot is online in your Discord server.
Step 5: Use the VPS Command
1. In your Discord server, use the command /create-vps-intel memory:4 cores:2 disk:8G customerusername
Replace memory, cores, disk, and customer as needed.
2. The bot will create a VPS on Proxmox and send the login details to the specified user via DM.
Your bot is now ready to create VPS containers via Discord commands.
Step 1: Prerequisites
1. Set up Proxmox on your server. Install and configure Proxmox, enable SSH, and allow root access.
2. Install Python 3.8+ and pip on your machine.
3. Create a Discord bot in the Discord Developer Portal and copy the bot token.
Step 2: Prepare the Script
1. Save the script as proxmox_vps_bot.py.
2. Open a terminal and install the required Python libraries by running this command: pip install discord paramiko requests asyncio
Step 3: Configure the Script
1. Open proxmox_vps_bot.py in a text editor.
2. Replace the placeholders in the script with your details:
- Replace YOUR_BOT_TOKEN with your Discord bot token.
- Replace YOUR_DISCORD_WEBHOOK_URL with your Discord webhook URL.
- Replace YOUR_PROXMOX_SERVER_IP with the IP or hostname of your Proxmox server.
- Replace YOUR_DISCORD_SERVER_ID with the ID of your Discord server.
- Replace ROLE_ID_1 with the ID of a role authorized to use the VPS command.
Step 4: Run the Bot
1. In a terminal, run the script using the command: python proxmox_vps_bot.py
2. Verify the bot is online in your Discord server.
Step 5: Use the VPS Command
1. In your Discord server, use the command /create-vps-intel memory:4 cores:2 disk:8G customerusername
Replace memory, cores, disk, and customer as needed.
2. The bot will create a VPS on Proxmox and send the login details to the specified user via DM.
Your bot is now ready to create VPS containers via Discord commands.