Skip to content

Commit dc57228

Browse files
committed
Initial commit - version 1.0.7
0 parents  commit dc57228

File tree

4 files changed

+503
-0
lines changed

4 files changed

+503
-0
lines changed

README.md

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# SandSpout Ability for ProjectKorra
2+
3+
This is an addon ability for the [ProjectKorra](https://projectkorra.com/) plugin for Spigot Minecraft servers. Inspired by the original ability that was removed from core years ago.
4+
5+
## Description
6+
7+
**SandSpout** is a Sand ability that allows earthbenders to use sand itself for mobility. This move requires that you are standing on, or are over sand. Sand blocks are configured from the global PK config.
8+
9+
### Features
10+
11+
- **Sand Column**: Raise yourself into the air on a column of sand.
12+
- **Blindning Effect**: Applies temporary blindness to other entities within the column.
13+
- **Damage**: Applies damage to entities within the column.
14+
- **Sand Configuration**: Uses the global sand configuration `Properties.Earth.SandBlocks`, so you can add SOUL_SAND, '#concrete_powder', etc.
15+
16+
## Instructions
17+
18+
- **Activation**: While standing on a sand block, Left Click to activate or deactivate. Hold Space to go up, Shift to go down.
19+
20+
## Installation
21+
22+
1. Download the latest `sandspout.jar` file from [releases](https://github.com/CozmycDev/PK-SandSpout/releases).
23+
2. Place the latest `sandspout.jar` file in the `./plugins/ProjectKorra/Abilities` directory.
24+
3. Restart your server or reload the ProjectKorra plugin with `/b reload` to enable the ability.
25+
26+
## Compatibility
27+
28+
- **Minecraft Version**: Tested and working on MC 1.20.4.
29+
- **ProjectKorra Version**: Tested and working on PK 1.11.2 and 1.11.3. Might support earlier versions too.
30+
31+
## Configuration
32+
33+
The ability can be configured in the ProjectKorra `config.yml` file under `ExtraAbilities.Cozmyc.SandSpout`:
34+
35+
```yaml
36+
ExtraAbilities:
37+
Cozmyc:
38+
SandSpout:
39+
Cooldown: 0 # milliseconds
40+
Height: 10
41+
BlindnessTime: 10 # seconds
42+
SpoutDamage: 1
43+
Sound:
44+
Name: ENTITY_HORSE_BREATHE
45+
Volume: 0.6 # acceptable values are 0.0 - 2.0
46+
Pitch: 0.35 # acceptable values are 0.0 - 2.0
47+
FlySpeed: 0.075

pom.xml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>net.doodcraft.cozmyc</groupId>
8+
<artifactId>sandspout</artifactId>
9+
<version>1.0.7</version>
10+
<packaging>jar</packaging>
11+
12+
<name>SandSpout</name>
13+
14+
<properties>
15+
<java.version>1.8</java.version>
16+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17+
</properties>
18+
19+
<build>
20+
<plugins>
21+
<plugin>
22+
<groupId>org.apache.maven.plugins</groupId>
23+
<artifactId>maven-compiler-plugin</artifactId>
24+
<version>3.8.1</version>
25+
<configuration>
26+
<source>${java.version}</source>
27+
<target>${java.version}</target>
28+
</configuration>
29+
</plugin>
30+
</plugins>
31+
</build>
32+
33+
<repositories>
34+
<repository>
35+
<id>spigotmc-repo</id>
36+
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
37+
</repository>
38+
</repositories>
39+
40+
<dependencies>
41+
<dependency>
42+
<groupId>org.spigotmc</groupId>
43+
<artifactId>spigot-api</artifactId>
44+
<version>LATEST</version>
45+
<scope>provided</scope>
46+
</dependency>
47+
<dependency>
48+
<groupId>com.projectkorra</groupId>
49+
<artifactId>projectkorra</artifactId>
50+
<version>1.11.3</version>
51+
</dependency>
52+
</dependencies>
53+
</project>

0 commit comments

Comments
 (0)