Skip to main content
Demote users down a rank in-game using Lumira’s API alongside Basic Admin Essentials.

What this plugin does

  • Demotes a player to their previous Roblox group rank
  • Sends demotion requests through the Lumira API
  • Supports demoting:
    • A single user (by username)
    • Multiple users (e.g. trustfundi,abthecooldood,Twitch_OliPlayz)

Folder Structure

Your Roblox Studio hierarchy must match this structure:
Lumira Ranking

├── Plugin Scripts
│   ├── Lumira Demote
│   ├── Lumira Promote
│   └── Lumira SetRank

├── ReplicatedStorage
│   └── LumiraRanking

1) Open Roblox Studio

  • Launch Roblox Studio
  • Open the place where Basic Admin Essentials is installed

2) Insert / Edit the Demote Plugin Script

  1. In the Explorer, locate:
    Lumira Ranking → Plugin Scripts
  2. Select Lumira Demote
  3. Open the script

1) Configure the Plugin

At the top of the script, replace the configuration values:

Required

  • ApiKey → your Lumira API key
  • GroupId → your Roblox group ID

2) Get your API Key

  1. Join your the Lumira server
  2. Generate your API key using the bot command
    (example: /apikey create )
  3. Copy your API key
  4. Go to Lumira Ranking in Replicated Storage
  5. Paste it into:
    ApiKey  = 'YOUR_API_KEY'
    

3) Ensure Roblox Settings Are Correct

To allow API requests:
  • Go to Game Settings → Security
  • ✅ Enable Allow HTTP Requests
Also make sure:
  • Your Roblox Group ID is correct
  • Your API Key is correct
  • The group has a proper rank structure
  • Your system has permission to promote users

4) How to Use the Command (In-Game)

Demote One Player

Use your Basic Admin prefix (commonly :) Example:
:demote username
The command name is based on the Script name.
If you rename it, the command changes accordingly.

Troubleshooting

“API error” / Demotions failing

  • Ensure HTTP Requests are enabled
  • Verify your API key is correct
  • Make sure Lumira services are reachable
  • Confirm your group ID is valid and properly configured
  • Check that your system has permission to demote users