BenCodez Wiki
Delayed reward command
Initializing search
    BenCodez/Wiki
    BenCodez/Wiki
    • BenCodez Wiki
    • VotingPlugin
    • Welcome
      • API
      • All Reward Possibilities
      • Bedrock Player Support
      • Commands & Permissions
      • Delayed reward command
      • File Layout
      • Global Data Handling
      • Item Configuration
      • Minecraft Server Lists
      • Month Date Totals
      • Multi Proxy Setup
      • Multi Proxy Sockets
      • Multi Proxy REDIS
      • Online/Offline Mode
      • Performance Settings
      • PlaceHolderAPI placeholders
      • Proxy-Setups
      • Proxy method PLUGINMESSAGING
      • Reward-Examples
      • Reward-File
      • Rewards
      • Service-sites
      • Signs
      • Special Rewards
      • Time Changes
      • Transferring data storage within plugin
      • Vote Reminding
      • Votifier Troubleshooting
      • VotingPlugin Specific Rewards
      • Web Support
      • Where to set rewards
      • World Example
      • FAQ
      • Proxy method MQTT
      • Proxy method MYSQL
      • Proxy method REDIS
      • Proxy method SOCKETS
      • Reward System
      • Setup

    Delayed reward command

    In this example fly will be enabled with /fly and disable with /fly one hour later. Works with any reward

    Rewards:
      Commands:
      - fly %player%
      # Can chain rewards within rewards
      # Executes as a different reward
      Rewards:
        Delayed:
          Enabled: true
          Hours: 1
          Minutes: 0
          Seconds: 0
        Commands:
        - fly %player%
    
    Made with Material for MkDocs