Thunder-Relay/MC/ThunderBucket
0 forks
id: 25980
273 Lines
  • Java 57.1%
  • XML 20.1%
  • Markdown 14.3%
  • Yaml 8.4%
README.md

ThunderBucket

A lightweight Paper plugin that lets players throw empty, water and lava buckets like snowballs by firing a bow or crossbow while holding the bucket in the off-hand.

Behaviour

BucketOn impact
Empty bucketDrops as an item
Water bucketPlaces a water source + drops an empty bucket
Lava bucketPlaces a lava source + drops an empty bucket
  • Main hand: bow or crossbow
  • Off-hand: empty / water / lava bucket
  • Firing the bow/crossbow consumes the off-hand bucket and launches it (no arrow appears)
  • Looks and flies like a thrown item (uses Snowball physics with the correct bucket visual)
  • Consumes one bucket from the stack in Survival / Adventure
  • Creative mode does not consume the item
  • Never breaks blocks when placing liquid (only replaces air / replaceable blocks)
  • Empty bucket drop is invulnerable so lava cannot destroy it

Building

mvn clean package

The resulting jar will be at target/ThunderBucket-1.0.0.jar.

Installation

  1. Drop the jar into your server’s plugins folder
  2. Restart the server (or load it with a plugin manager)
  3. Put a bucket in the off-hand, hold a bow or crossbow in the main hand, and fire

Notes

  • Currently hard-coded (no config.yml yet). Ask if you want cooldowns, permissions, particle trails, sound volume, max throw distance, etc.
  • Compatible with pure Paper and hybrid servers that expose the Paper/Bukkit API (including Youer).
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover