-
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.
- Essentially a rewrite of the original ability - Adds more configuration options - Adds support for 1.20.6+, but still works on <=1.20.4 (Potion enum change)
- Loading branch information
0 parents
commit 51dd5eb
Showing
4 changed files
with
473 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,49 @@ | ||
# Sprout Ability for ProjectKorra | ||
|
||
This is an addon ability for the [ProjectKorra](https://projectkorra.com/) plugin for Spigot Minecraft servers. The ability was originally created by NickC1211 and has been updated and fixed to work with later versions of ProjectKorra and Spigot. | ||
|
||
## Description | ||
|
||
**Sprout** is a plant ability that allows waterbenders to ensnare their opponents at range. This move requires that you and your target be standing on connected fertile ground (dirt or grass blocks). | ||
|
||
### Features | ||
|
||
- **Root Path**: Creates a path of plants as it travels along the ground. | ||
- **Snare Effect**: Ensnares entities with a double plant to immobilize them. | ||
- **Damage**: Applies damage to entities hit by the snare. | ||
- **Potion Effect**: Applies a slowness effect to ensnared entities. | ||
|
||
## Instructions | ||
|
||
- **Activation**: Hold Shift and Left Click to shoot, and move the cursor side to side to aim. | ||
|
||
## Installation | ||
|
||
1. Download the `Sprout.jar` file. | ||
2. Place the `Sprout.jar` file in the `./plugins/ProjectKorra/Abilities` directory. | ||
3. Restart your server or reload the ProjectKorra plugin with `/b reload` to enable the ability. | ||
|
||
## Compatibility | ||
|
||
- **Minecraft Version**: Tested and working on MC 1.20.4. Includes updated potion name for 1.20.6+ support. | ||
- **ProjectKorra Version**: Tested and working on PK 1.11.2 and 1.11.3. Might support earlier versions too. | ||
|
||
## Configuration | ||
|
||
The ability can be configured in the ProjectKorra `config.yml` file under `ExtraAbilities.NickC1211.Sprout`: | ||
|
||
```yaml | ||
ExtraAbilities: | ||
NickC1211: | ||
Sprout: | ||
ContinueThroughEntities: true | ||
Cooldown: 5000 | ||
Damage: 3 | ||
PathRevertTime: 1100 | ||
PathPlant: "SHORT_GRASS" | ||
Range: 20 | ||
SnarePlant: | ||
Top: "LARGE_FERN" | ||
Bottom: "LARGE_FERN" | ||
SnareTime: 4000 | ||
Sound: "BLOCK_GRASS_BREAK" |
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,57 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>com.Nickc1211</groupId> | ||
<artifactId>Sprout</artifactId> | ||
<version>5.3.1</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>Sprout</name> | ||
|
||
<properties> | ||
<java.version>1.8</java.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.8.1</version> | ||
<configuration> | ||
<source>${java.version}</source> | ||
<target>${java.version}</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<repositories> | ||
<repository> | ||
<id>spigotmc-repo</id> | ||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> | ||
</repository> | ||
<repository> | ||
<id>sonatype</id> | ||
<url>https://oss.sonatype.org/content/groups/public/</url> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.spigotmc</groupId> | ||
<artifactId>spigot-api</artifactId> | ||
<version>LATEST</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.projectkorra</groupId> | ||
<artifactId>projectkorra</artifactId> | ||
<version>1.11.3</version> | ||
</dependency> | ||
</dependencies> | ||
</project> |
Oops, something went wrong.