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)

Getting Started

API Usage

public class MyPlugin extends JavaPlugin {
    private LootboxAPI api;
    
    @Override
    public void onEnable() {
        api = LuckyRabbit.getInstance().getApi();
    }
}
PreviousAPI (soon)NextExamples

Last updated 6 months ago