PlumDeliveryPlumDelivery
Home
Guide
  • Overview
  • Database
  • Deliveries
  • Menus
  • Categories
  • Rewards
  • Messages
Commands
Placeholders
  • Overview
  • Methods
  • Events
Database Guide
FAQ
GitHub
Home
Guide
  • Overview
  • Database
  • Deliveries
  • Menus
  • Categories
  • Rewards
  • Messages
Commands
Placeholders
  • Overview
  • Methods
  • Events
Database Guide
FAQ
GitHub
  • Commands

    • Commands

Commands

Overview

PlumDelivery provides a simple set of commands for both players and administrators.

Dual Language Support

All commands work with both /delivery (English) and /teslimat (Turkish). They are completely interchangeable.

Player Commands

/delivery

Aliases: /teslimat

Opens the delivery type selection menu. Players can choose between Daily, Weekly, and Monthly delivery events.

Usage:

/delivery

Example:

# English
/delivery

# Turkish
/teslimat

Admin Commands

/delivery start <type>

Starts a delivery event of the specified type. Resets the countdown timer and sends a server-wide broadcast.

Usage:

/delivery start <type>

Arguments:

ArgumentOptionsDescription
typedaily, weekly, monthlyThe delivery period to start

Examples:

/delivery start daily    # Start a daily event (24h timer)
/delivery start weekly   # Start a weekly event (7d timer)
/delivery start monthly  # Start a monthly event (30d timer)

Behavior:

  • Checks if the delivery type is enabled in config
  • Checks if the event is not already running
  • Resets the countdown timer to the default duration
  • Sets event-status: true in config
  • Broadcasts delivery-started message to all players

Error Messages:

  • delivery-type-disabled — The delivery type is disabled in config
  • delivery-already-running — An event of this type is already active

/delivery end <type>

Ends a running delivery event. Distributes placement rewards to top players and optionally auto-restarts.

Usage:

/delivery end <type>

Arguments:

ArgumentOptionsDescription
typedaily, weekly, monthlyThe delivery period to end

Examples:

/delivery end daily
/delivery end weekly
/delivery end monthly

Behavior:

  1. Distributes placement rewards (top-1, top-2, etc.) for all categories
  2. Clears all player data for the delivery type
  3. Broadcasts delivery-ended message
  4. If auto-restart: true:
    • Resets timer and starts a new cycle
    • Broadcasts delivery-started message
  5. If auto-restart: false:
    • Sets event-status: false
    • Saves config

Error Messages:

  • delivery-not-running — No event of this type is currently active

/delivery reload

Reloads all configuration files (config.yml and messages.yml).

Usage:

/delivery reload

Behavior:

  • Reloads config.yml and messages.yml from disk
  • Sends confirmation message to the sender
  • Console receives config-reloaded-console message
  • Changes take effect immediately

Tips

You do not need to restart the server after editing configuration files. Just reload!


Command Summary Table

CommandDescriptionType
/deliveryOpen the delivery menuPlayer
/teslimatTurkish alias for /deliveryPlayer
/delivery start <type>Start a delivery eventAdmin
/delivery end <type>End event & distribute rewardsAdmin
/delivery reloadReload configuration filesAdmin

Invalid Type Handling

If an invalid type is provided (anything other than daily, weekly, or monthly), the plugin sends:

&cInvalid delivery type! Usage: daily, weekly, monthly