-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
vbmr
authored
Oct 23, 2022
1 parent
9ebe21f
commit a6a095f
Showing
1 changed file
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# Boomerang | ||
Boomerang is a highly-configurable Minecraft Spigot plugin <b>(1.8.*)</b>, designed to give players a unique approach at enemy encounters with bone-y boomerangs. | ||
|
||
If you encounter any problems, [create a GitHub issue](https://github.com/vbmr/Boomerang/issues/new). | ||
|
||
## Commands | ||
* `/boomerang <player> [amount]` (`boomerang.give`): Acquire a boomerang! | ||
|
||
## Configuration | ||
```yaml | ||
# config | ||
damage-mob: true | ||
damage-villager: false | ||
damage-player: false | ||
|
||
animation: | ||
throw: | ||
damage: 20 | ||
rotate-speed: 60 # (int) per tick | ||
radius: 1 # (double) blocks | ||
duration: 20 # (int) ticks | ||
return: | ||
damage: 20 | ||
rotate-speed: 60 | ||
radius: 1 | ||
duration: 20 | ||
catch: | ||
# t: prioritize catch on radius from player / f: rely on duration | ||
proximity: true | ||
radius: 0.1 | ||
|
||
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html | ||
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html | ||
BOOMERANG: | ||
material: BONE | ||
type: 0 | ||
name: '&6Boomerang' | ||
lore: | ||
- '&7Forged by the &cmightiest' | ||
- '&7calcium deposits in the lands.' | ||
- '' | ||
- '&eClick to throw!' | ||
enchantments: | ||
- 'DURABILITY:1' | ||
flags: | ||
- 'HIDE_ENCHANTS' | ||
unique: true | ||
|
||
SEDENTARY_BOOMERANG: | ||
material: GHAST_TEAR | ||
type: 0 | ||
name: '&6Boomerang' | ||
lore: | ||
- '&7Forged by the &cmightiest' | ||
- '&7calcium deposits in the lands.' | ||
enchantments: | ||
- 'DURABILITY:1' | ||
flags: | ||
- 'HIDE_ENCHANTS' | ||
unique: true | ||
``` | ||
## Messages | ||
```yaml | ||
# messages | ||
no-permission: '&cYou do not have permission to perform this command.' | ||
invalid-syntax: '&cUsage: /boomerang <player> [amount]' | ||
successful: '&eGave &d{amount}&e boomerang{s} to &d{player}&e.' | ||
failed-offline: '&cThe player {player} is not online.' | ||
failed-invalid-amount: '&cThe amount {amount} is not a valid number.' | ||
failed-negative-amount: '&cThe amount {amount} is not positive.' | ||
failed-inventory-full: '&cThe player {player} has a full inventory.' | ||
``` | ||
## Installation | ||
To get the jar, either download it from the releases tab here on [GitHub](https://github.com/vbmr/Boomerang/releases) or [build it](https://github.com/vbmr/Boomerang#build). | ||
## Build | ||
[Git](https://git-scm.com/downloads) and Maven (`brew install maven`) are required to clone and build this project. Navigate to a new directory and run: | ||
```cmd | ||
git clone https://github.com/vbmr/Boomerang | ||
cd Boomerang | ||
mvn clean package | ||
``` | ||
Output jar will be located at `target/Boomerang.jar`. |