Skip to content

A Minecraft Paper and Spigot plugin for customizable care packages

License

Notifications You must be signed in to change notification settings

LukeMccon/Airdrop

Repository files navigation

From the skies!


Spigot SVG Java SVG

License Minecraft build and release Download

A Spigot plugin that allows players to call in customizable care packages that fall from the sky

Index

Usage

As a server operator you can call in packages using:

/airdrop starter # drops the starter package

Otherwise, using LuckPerms you can allow everyone to use packages through either of these methods:

/lp group default permission set airdrop.package.all

OR

Add the airdrop-user group to the desired players

Installation

Install the following plugins:

Download and copy the .jar files for these plugins into your plugins folder:

Download the latest stable release of Airdrop here Place the .jar into your plugins folder

Configuration

Setting up packages

In your plugins folder look for the Airdrop folder. Open the packages.yml in your favorite text editor (reccommended to use one that supports YAML)

Use the existing starter package as an example.

An example of adding another package to the config in addition to the starter package:

packages:
  starter:
    items:
    - ==: org.bukkit.inventory.ItemStack
      v: 3465
      type: IRON_HELMET
    - ==: org.bukkit.inventory.ItemStack
      v: 3465
      type: IRON_CHESTPLATE
    - ==: org.bukkit.inventory.ItemStack
      v: 3465
      type: IRON_LEGGINGS
    - ==: org.bukkit.inventory.ItemStack
      v: 3465
      type: IRON_BOOTS
    - ==: org.bukkit.inventory.ItemStack
      v: 3465
      type: BREAD
      amount: 2
    price: 10.0

Commands

/airdrop <command> [args]

/airdrop [packageName]

Drops a package on the current players location

/airdrop version

Displays the current version of the plugin

/airdrop packages

Lists all the airdrop packages and view contents

/airdrop package [packageName]

Show details about a package

/airdrop package create [packageName] [price]

Create a new package, opens up a GUI to add items

/airdrop package delete [packageName]

Delete a package