Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TwiDev/SpectralDamage
Spectral Damage is a plugin that allows you to display in the form of an animated hologram the damage that a player inflicts on a mob or another player
https://github.com/TwiDev/SpectralDamage
Last synced: 4 days ago
JSON representation
Spectral Damage is a plugin that allows you to display in the form of an animated hologram the damage that a player inflicts on a mob or another player
- Host: GitHub
- URL: https://github.com/TwiDev/SpectralDamage
- Owner: TwiDev
- License: mit
- Created: 2023-06-15T20:03:13.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-17T19:49:04.000Z (3 months ago)
- Last Synced: 2024-08-17T21:38:21.932Z (3 months ago)
- Language: Java
- Homepage: https://www.spigotmc.org/resources/110551
- Size: 17.8 MB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![spectraldamagelogo](https://s12.gifyu.com/images/SQNja.png)
# SpectralDamage
**Asynchronous client-side (packets) damage indicator spigot plugin**
___[![forthebadge made-with-java](https://forthebadge.com/images/badges/made-with-java.svg)](https://java.com/)
>SpectralDamage is an open collaboration project by [TwiDev](https://github.com/TwiDev).
[![Download](https://custom-icon-badges.herokuapp.com/badge/-Download-blue?style=for-the-badge&logo=DOWNLOAD&logoColor=white "Download")](https://www.spigotmc.org/resources/spectraldamage-1-8-1-20-free-damage-indicator-plugin-no-dependencies.110551/)
(Via spigotmc.org)**Supported versions: 1.8.X - 1.20**
## ❔ What is SpectralDamage ?
Spectral Damage is a minecraft spigot plugin that allows you to display in the form of an animated hologram the damage that a player inflicts on a mob or another player## ⚙️ API
### Installation
Download API Jar [here](https://github.com/TwiDev/SpectralDamage/releases)Maven / gradle : soon
Add this line of code in the **plugin.yml** of your plugin so that the functions of the api work correctly, moreover do not forget to add the plugin spectraldamage.jar on your server.
```yml
softdepend:
- SpectralDamage
```### Examples
Get Damage Type instante:
```java
private static DamageTypeFactory NORMAL_DAMAGE;@Override
public void onEnable(){
NORMAL_DAMAGE = SpectralDamage.getInstance().getDamageTypeFactory(DamageType.NORMAL);
}
```Spawn Damage Indicator
```java
SpectralDamage.getInstance().spawnDamageIndicator(player.getLocation(), NORMAL_DAMAGE, 10, true);
```