About RaidSelector
RaidSelector Plugin - How It Works
What is RaidSelector?
RaidSelector makes it easy for players to buy raids on your server! Instead of typing complicated commands, players get a simple point-and-click interface to browse and purchase raidable bases.
What it does:
- Shows all available raids in a clean, visual menu
- Organizes raids by difficulty (Easy, Medium, Hard, Expert, Nightmare)
- Displays prices for each difficulty level
- Shows base previews with images (if you set them up)
- Handles payments automatically through your Economics plugin
- Lets players pick specific bases or choose randomly
-------------------------------------------------------------------
How to Install
You need RaidableBases and it's dependencies installed first.
Then just:
1. Put the RaidSelector.cs file in your oxide/plugins/ folder
2. Restart your server or type "o.reload RaidSelector" in console
3. Give players permission to use it (see below)
-------------------------------------------------------------------
How Players Use It
Opening the Menu
Players type "/rs" in chat (you can change this command in config)
Buying a Raid
1. Pick a difficulty on the left
2. Choose a specific base from the middle, OR click "Random"
3. Click the "Purchase" button
4. The money is taken from their account automatically
5. The raid spawns and they get notified where it is
-------------------------------------------------------------------
Server Setup
Give Players Permission
By default, players need permission to use the plugin:
o.grant group default raidselector.can.use
Or for specific players:
o.grant user PlayerName raidselector.can.use
Admin Commands
o.reload RaidSelector - Reload the plugin
/rs - Open the interface (if you have permission)
-------------------------------------------------------------------
Configuration File
The config file is at: oxide/config/RaidSelector.json
Here's what you can change:
Basic Settings
-
ChatCommand - What players type to open the menu
- Default: "rs" (so players type /rs)
- You can change it to anything: "raids", "buyraid", "rb", etc.
-
RequiresOxidePermission - Whether players need permission to use it
- true = Only players with permission can use it
- false = Everyone can use it
Colors (Optional)
You can customize how the interface looks:
Colors use RGBA format (Red Green Blue Alpha), with values from 0 to 1:
- ModalBackground: The main window background
- PanelBackground: Background of each panel
- ButtonBackground: Normal buttons
- SelectedButtonBackground: When a button is selected
- BuyButtonBackground: The purchase button
- TextColor: Text color
Images (Optional)
-
EnableOfflineMode - Use local images instead of web links
- false = Use image URLs from the internet
- true = Use images stored on your server
- LocalImagePrefix - Name prefix for local images
- ImageCacheTimeout - How long to keep images in memory (seconds)
Custom Base Info (Optional)
You can add custom information for specific bases:
- DisplayName - Friendly name shown to players
- Description - Text shown when they select the base
- Credit - Who built the base
- ImageUrl - Link to an image of the base
- NotBuyable - Set to true to hide this base from purchase options
