Skip to main content

Commands

Complete command reference for Random Orders Addon.

Command Overview

Random Orders Addon provides two main commands:

  • /randomorders - Main command with subcommands
  • /allRandomOrder - Quick access to random orders GUI

Main Command

/randomorders

Permission: randomorders.use (default: true)
Aliases: /rorders, /randomorder
Description: Main command for Random Orders Addon

Usage:

/randomorders [subcommand]

Subcommands:

  • status - Show addon status
  • show - Open GUI to view all random orders
  • reload - Reload configuration (admin)
  • generate [count] - Manually generate orders (admin)
  • toggle - Enable/disable addon (admin)
  • help - Show help message

Status Command

/randomorders status

Permission: randomorders.use (default: true)
Description: Show addon status and configuration

Usage:

/randomorders status

Output:

=== Random Orders Status ===
Enabled: Yes
Scheduler: Running
API: Connected
Online Players: 5
Min Players Required: 1
Player Requirement: Met

Information Shown:

  • Addon enabled/disabled status
  • Scheduler running status
  • API connection status
  • Current online players
  • Minimum players required
  • Whether player requirement is met

Show Command

/randomorders show

Permission: randomorders.use (default: true)
Description: Open GUI showing all active random orders

Usage:

/randomorders show

Behavior:

  • Opens paginated GUI with all random orders
  • Shows order details (item, quantity, price)
  • Click orders to view details
  • Admin mode shows additional options

GUI Features:

  • Pagination (45 orders per page)
  • Order filtering (only random orders)
  • Order details on click
  • Admin actions (if admin)

Reload Command

/randomorders reload

Permission: randomorders.admin.reload (default: op)
Description: Reload addon configuration

Usage:

/randomorders reload

What Gets Reloaded:

  • config.yml - All configuration
  • Material pools
  • Pricing settings
  • Generation settings
  • Integration settings
  • Scheduler settings

Expected Output:

[Random Orders] Configuration reloaded successfully!

Notes:

  • Scheduler restarts with new settings
  • Price cache is cleared
  • Integrations are re-checked
  • Active orders are not affected

Generate Command

/randomorders generate [count]

Permission: randomorders.admin.generate (default: op)
Description: Manually generate random orders

Usage:

# Generate 1 order
/randomorders generate

# Generate multiple orders
/randomorders generate 5

Arguments:

  • [count] - Number of orders to generate (1-10, default: 1)

Examples:

# Generate 1 order
/randomorders generate

# Generate 3 orders
/randomorders generate 3

# Generate 10 orders (maximum)
/randomorders generate 10

Expected Output:

[Random Orders] Generating 3 order(s)...
[Random Orders] Successfully generated 3 order(s)!

Notes:

  • Orders are generated asynchronously
  • Generation follows all configured rules (pools, pricing, etc.)
  • Count is limited to 1-10 for safety
  • Orders appear immediately in Orders GUI

Toggle Command

/randomorders toggle

Permission: randomorders.admin.toggle (default: op)
Description: Enable or disable the addon

Usage:

/randomorders toggle

Behavior:

  • Toggles addon enabled/disabled state
  • Stops/starts scheduler accordingly
  • Does not affect existing orders

Expected Output:

[Random Orders] Addon enabled!

or

[Random Orders] Addon disabled!

Notes:

  • Disabling stops order generation
  • Existing orders remain active
  • Re-enabling restarts scheduler

Help Command

/randomorders help

Permission: randomorders.use (default: true)
Description: Show help message

Usage:

/randomorders help

Output:

=== Random Orders Commands ===
/randomorders status - Show addon status
/randomorders show - Open GUI to view all random orders
/randomorders reload - Reload configuration (admin)
/randomorders generate [count] - Manually generate orders (admin)
/randomorders toggle - Enable/disable addon (admin)

Quick Access Command

/allRandomOrder

Permission: randomorders.use (default: true)
Aliases: /allrandomorders, /allrorders
Description: Quick access to random orders GUI

Usage:

/allRandomOrder

Behavior:

  • Opens random orders GUI immediately
  • Same as /randomorders show
  • Convenient shortcut command

Command Aliases

All commands support aliases:

Main Command:

  • /randomorders/rorders or /randomorder

Quick Access:

  • /allRandomOrder/allrandomorders or /allrorders

Tab Completion

Tab completion is available for all commands:

Main command:

  • status, show, reload, generate, toggle, help

Generate command:

  • Second argument: 1, 2, 3, 5, 10

Permission Requirements

CommandPermissionDefault
/randomordersrandomorders.usetrue
/randomorders statusrandomorders.usetrue
/randomorders showrandomorders.usetrue
/randomorders reloadrandomorders.admin.reloadop
/randomorders generaterandomorders.admin.generateop
/randomorders togglerandomorders.admin.toggleop
/allRandomOrderrandomorders.usetrue

Common Usage Patterns

Daily Administration

# Check addon status
/randomorders status

# View all random orders
/randomorders show

# Generate test orders
/randomorders generate 3

Configuration Management

# Edit config.yml, then reload
/randomorders reload

# Temporarily disable
/randomorders toggle

# Re-enable
/randomorders toggle

Player Usage

# View random orders
/allRandomOrder

# Check status
/randomorders status

Error Messages

Common error messages and solutions:

You don't have permission to use this command.

  • Solution: Check you have the required permission

Orders API is not available.

  • Solution: Ensure Sigma Orders is installed and enabled

This command can only be used by players.

  • Solution: Use from in-game, not console

Invalid number: X

  • Solution: Use a number between 1-10 for generate command

Next Steps