Table of Contents
Note:
This integration only supports checkout. Which means even after a succesful checkout, you'll need to manually hand out the packages the user selected.
Alterate method for package sync for Minecraft/Discord
The synchronization of Discord roles to in-game roles. It involves setting up a Discord bot, integrating with Razorpay and Zapier for account linking, and linking Discord roles with in-game permissions using LuckPerms.
Step 1: Setting Up Discord Bot
-
Create a Discord Bot:
- Go to the Discord Developer Portal and create a new application.
- Convert the application into a bot and note down the bot token.
-
Invite Bot to Server:
- Generate an invite link for the bot and invite it to your Discord server with the necessary permissions (like Manage Roles).
-
Get Server ID:
- Note down the Discord server ID where the bot is added. You can get this from Discord settings.
Step 2: Razorpay and Zapier Integration
-
Setup Razorpay:
- Create an account on Razorpay and set up your dashboard.
- Configure the necessary payment settings.
-
Integrate with Zapier:
- In the Razorpay dashboard, enable Zapier integration.
- Generate API keys for Zapier.
-
Create Zapier Trigger:
- Set up a Zapier trigger for when a user makes a payment or performs an action in Razorpay.
-
Link Discord Accounts:
- Use Zapier to connect Razorpay with Discord.
- When a user makes a payment on Razorpay, their Discord account is linked via Zapier.
Step 3: LuckPerms Integration
-
Install LuckPerms:
- If not already installed, set up and install LuckPerms on your Minecraft server.
-
Setup LuckPerms Discord Sync:
- LuckPerms has built-in support for Discord synchronization.
- Configure LuckPerms to sync Discord roles to in-game permissions.