Skip to content

Plugin using NBT tags for giving poison and wither effects to enemy

Notifications You must be signed in to change notification settings

Always-prog/Poison-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poison-plugin

Plugin using NBT tags for giving poison and wither effects to enemy. Plugin is for Minecraft 1.18.1. You can give NBT tag to any item or weapon, and ever hit by that item/weapon will apply Wither or Poison effect.

A value of NBT tag is time of the effect duration in seconds. To get an item with the desired effect of the potion and the desired duration of the effect, you need the command: /give <Nickname> <minecraft:item> {<NBTtag: "<Time in seconds>">}

The example below creates a diamond sword with a poison effect for 5 seconds: /give AlwaysProg minecraft:diamond_sword{EffectPoison:"5"}

Exists BNT tags:
Wither - EffectWither
Wither LvL2 - EffectWither2
Poison - EffectPoison
Poison LvL2 - EffectPoison2
Slowness LvL - EffectSlowness

Code is here: https://github.com/Always-prog/Poison-plugin/tree/main/src/main
Plugin in .jar is here: https://github.com/Always-prog/Poison-plugin/blob/main/plugin/Poison-1.18.1.jar.jar

To run this plugin or your 1.18.1 server you need:


1. Download both plugins from plugin directory
2. Move plugins to your plugins directory (https://www.alphr.com/spigot-how-to-add-plugins/)
3. Restart the server.

About

Plugin using NBT tags for giving poison and wither effects to enemy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages