Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guangchen2333/crystalkilllistener
(Minecraft 1.12) Add an event in Spigot API to listen to players kill a player with EndCrystal | 在 Spigot 服务端中添加一个玩家使用末影水晶击杀玩家的事件
https://github.com/guangchen2333/crystalkilllistener
2b2t 2b2t-pvp crystal-pvp minecraft papermc papermc-api papermc-plugin plugin spigot spigot-api spigot-library spigot-plugin spigotmc
Last synced: about 1 month ago
JSON representation
(Minecraft 1.12) Add an event in Spigot API to listen to players kill a player with EndCrystal | 在 Spigot 服务端中添加一个玩家使用末影水晶击杀玩家的事件
- Host: GitHub
- URL: https://github.com/guangchen2333/crystalkilllistener
- Owner: GuangChen2333
- License: mit
- Created: 2022-01-16T04:30:50.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-02-06T08:20:23.000Z (11 months ago)
- Last Synced: 2024-02-06T09:31:05.846Z (11 months ago)
- Topics: 2b2t, 2b2t-pvp, crystal-pvp, minecraft, papermc, papermc-api, papermc-plugin, plugin, spigot, spigot-api, spigot-library, spigot-plugin, spigotmc
- Language: Java
- Homepage: https://GuangChen2333.github.io/CrystalKillListener/
- Size: 420 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
CrystalKillListener
---
![Build](https://github.com/GuangChen2333/CrystalKillListener/actions/workflows/build.yml/badge.svg)
![Dev-Build](https://github.com/GuangChen2333/CrystalKillListener/actions/workflows/dev-build.yml/badge.svg)
![MAVEN](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fs01.oss.sonatype.org%2Fcontent%2Frepositories%2Fsnapshots%2Fio%2Fgithub%2Fguangchen2333%2FCrystalKillListener%2Fmaven-metadata.xml&style=flat)
![LICENSE](https://img.shields.io/github/license/GuangChen2333/CrystalKillListener?style=flat)
![STARS](https://img.shields.io/github/stars/GuangChen2333/CrystalKillListener)
![DOWNLOAD](https://img.shields.io/github/downloads/GuangChen2333/CrystalKillListener/total)**English** | [简体中文](https://github.com/GuangChen2333/CrystalKillListener/blob/master/README_cn.md)
Add an event in Spigot API to listen to players kill a player with End Crystal
Supported Minecraft Version: 1.12
[**JavaDoc**](https://guangchen2333.github.io/CrystalKillListener/)
->
[**PlayerDeathByPlayerWithCrystalEvent**](
https://guangchen2333.github.io/CrystalKillListener/cn/guangchen233/crystallistener/events/PlayerDeathByPlayerWithCrystalEvent.html
)## Usage
### For Users
Drag & Drop the `JAR` into the `plugins` folder of your server.
### For Developers
1. Include the following in your project's `plugin.yml`
```yaml
depend:
- CrystalKillListener
```2. Add dependencies to your build tools.
Gradle :
```groovy
repositories {
maven {
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
}
}dependencies {
compileOnly 'io.github.guangchen2333:CrystalKillListener:{VERSION}'
}
```Maven:
```xml
OSSRH
https://s01.oss.sonatype.org/content/repositories/snapshots/
```
```xml
io.github.guangchen2333
CrystalKillListener
{VERSION}
compile
```
## Usage example
```java
import org.bukkit.event.Listener;
import org.bukkit.event.EventHandler;
import cn.guangchen233.crystallistener.events.PlayerDeathByPlayerWithCrystalEvent;public class Example implements Listener {
@EventHandler
public void onPlayerDeathWithCrystal(PlayerDeathByPlayerWithCrystalEvent event) {
System.out.println(event.toString());
}
}
```## About
If you like this project, please give this project a star.
If you have any ideas or suggestions about this project, feel free to submit Pull Requests or Issue and I will review
them carefully.