Rabbit Tale Plugins
  • Plugin Wiki
    • Lucky Rabbit - Lootboxes
      • Getting Started
      • Installation
      • License & TOS
        • Types
        • Activation
      • Configuration
        • config.yml
        • Lootboxes
      • Commands & Permissions
      • Features
        • Animations
        • Rewards
      • API (soon)
        • Getting Started
        • Examples
      • FAQ
      • Support
Powered by GitBook
On this page
  1. Plugin Wiki
  2. Lucky Rabbit - Lootboxes
  3. API (soon)

Examples

Code Examples

api.createLootbox("epic_box", "Epic Box", AnimationType.CIRCLE);
api.addReward("epic_box", new ItemStack(Material.DIAMOND), 50.0);

PreviousGetting StartedNextFAQ

Last updated 6 months ago