
ImmunityPotions 1.0.6
Potions that cancel the damage
Create custom potions that make you invulnerable to taking damage for a period of time.
More than 30 invulnerabilities
fall, campfire, block explosion, contant, cramming, custom, dragon breath, entity attack, lava, posion, wither, melting, projectile, and others 20 more!
Examples:




Commands:
Create -> Create custom potions with 1 or more effects
Rgb -> Change the potion color using rgb (0-255)
Reload -> Reload plugin configuration and messages
Files:
#
# Hex support:
#
# <RAINBOW1> -> Set message with rainbow colors
# <SOLID:FF0080> -> Set a hex color in the text
# <GRADIENT:2C08BA> -> Set a gradient of colors
#
# Example
# <GRADIENT:2C08BA>Cool string with a gradient</GRADIENT:028A97>
# <RAINBOW1>THIS IS A REALLY COOL Rainbow</RAINBOW>
# <RAINBOW100>THIS IS A REALLY COOL Rainbow</RAINBOW>
# <SOLID:FF0080>Cool RGB SUPPORT
# Effects messages
consume:
- " &fImmunities: &e%effects%"
- " &fDuration: &e%duration% seconds"
actionbar: "&e%effects% &7-> Expire in &e%seconds%s"
title: "&6&lEffects:"
subtitle: "&6%effects%"
effects-finish:
- ""
- " &6&lWARNING!"
- ""
- " &fYour effects %effects%"
- " &fAre now &cdisabled"
- ""
# Messages for the command /ipot
format-main:
- ""
- "&9&l ImmunePotion &7- &eby iChoco_Milk"
- ""
- "&d /ipot &6create &e(duration) &6(effects)"
- "&7 Example: /ipot 30 POISON FIRE FALL"
- ""
- "&d /ipot &6rgb &9(blue) &c(red) &a(green)"
- "&7 Example: /ipot rgb 255 255 255"
- ""
- "&d /ipot &6name &7text1 text2 ..."
- "&d /ipot &6lore &7Line1 Line2 ..."
- ""
- "&d /ipot &6(reload)"
- ""
rgb-format: "&cExample of format: &6/ipot rgb &c122 &a21 &9232"
rgb-success: "&eYour potion now have a different &c&lco&a&ll&9&lor"
rgb-invalid-number: "&4&lERROR: &cA rgb value is from 0 to 255"
create-invalid-seconds: "&4&lERROR: &cThe seconds %seconds% are invalid. Example of use: &6/ipot create 30 POISON FIRE FALL"
create-no-found-immunities: "&cNo immunities found! &7= &cNo potion is created"
create-need-free-space: "&4&lERROR: &cYou need be a free space in your inventory"
create-immunity-dont-exist: "&cThe immunity %type% don't exist. Skipping to next!"
create-success: "&aPotion created! Duration: &e%time%s&a. Effects: &e%effects%"
displayname-format: "&cFormat: /ipot name (name). Example: /ipot name &eMy potion :)"
displayname-success: "&aThe new name of this item is %name%"
lore-format: "&cFormat: /ipot lore (lines...). Example: /ipot name &eLine1 &aLine2 &bLine3"
lore-success: "&aThe new lore of this item is %lines%"
# Permissions messages
no-permission-create: "&4&lERROR: &cYou don't have permission to use &e/ipot create&c. You need the permission \"immunepot.create\""
no-permission-rgb: "&4&lERROR: &cYou don't have permission to use &6/ipot rgb&c. You need the permission \"immunepot.rgb\""
no-permission-use: "&4&lERROR: &cYou don't have permission to use &6/ipot&c. You need the permission \"immunepot.cmd\""
# General
blacklisted-world: "&4You world is blacklisted for consume potions"
need-potion-in-hand: "&cYou need have a potion in your hand"
# Plugin internal messages
load-message:
- ""
- "&9&l ImmunePotions &7- &eby iChoco_Milk"
- ""
- "&b Plugin loaded in &e%time%ms"
- ""
need-be-player: "&4&lERROR: &cYou need be a player to execute this command"
reload: "&aPlugin reloaded!"
# On consume:
blacklist-worlds: # Leave empty for disable
- "myworld1"
- "myworld2"
enable-actionbar: true
enable-title: true
# In ticks. 20 ticks = 1s
title-fadein: 10
title-stay: 60
title-fadeout: 20
use-permission: "immunepot.use"
rgb-permission: "immunepot.rgb"
create-permission: "immunepot.create"
sound-on-drink:
type: "ENTITY_PLAYER_LEVELUP"
pitch: 1.0
volume: 1.0
sound-on-end-effects:
type: "ENTITY_PLAYER_LEVELUP"
pitch: 0.3
volume: 1.0
enable-api: false
Api:
<!-- Remember create a libs folder and add the jar-->
<dependency>
<groupId>site.ichocomilk</groupId>
<artifactId>immune-potions</artifactId>
<version>1.0.6</version>
<scope>sytem</scope>
<systemPath>{$basedir}/libs/immune-potions.jar</systemPath>
</dependency>
FAQ:
- How create a potion?: You need use the command /ipot create (duration in seconds) (effects). Example: /ipot create 30 FIRE FALL. All effects are available in: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
- How change potion color?: You need use the command /ipot rgb (blue) (green) (red). Example: /ipot rgb 255 255 255 (result in a potion with white color). All rgb colors are available in: https://www.rapidtables.com/web/color/RGB_Color.html
Terms of Service:
✅ Modification: Make changes if you need to. Contact me in discord: ichocomilk. And i give you the source code (please send a capture of the ticket, paypal or other)
❌ Resale: You may not resell this product or a fork of this.
❌ Relicense: You may not relicense this product.