Even if you die and respawned, the same potion effects will be applied to the player.
Commands:
- /infpot help : displayer the help menu
- /infpot reload : reload the config.yml
Permissions:
- infinitepotions.bypass : allows you to bypass potion effects being applied (useful for admins/moderators)
Installation:
You just put InfinitePotions.jar file into your server's plugins folder.
Configuration:
config.yml
Messages:
ErrorMsg : "&c[InfinitePotion] : Some error occured."
HelpMessages:
banner:
msg: "=== &e[&aInfinitePotions Commands List (%version%)&e] &r==="
help:
msg: "&a/infpot help : displays this help menu."
reload:
msg: "&a/infpot reload : reloads config file."
permission: "infinitepotions.reload"
debug:
msg: "&a/infpot debug <true|false> : turn on / off the debug mode."
permission: "infinitepotions.debug"
# If other plugins are interfering with this plugin for certain events,
# you can adjust this plugin's event process priority with the following options
# possilbe priority values are "LOWEST", "LOW", "NORMAL", "HIGH", "HIGHEST", "MONITOR"
EventPriorityMap:
PlayerCommandPreprocessEvent: "MONITOR"
PlayerTeleportEvent: "MONITOR"
PlayerItemConsumeEvent: "MONITOR"
PlayerRespawnEvent: "MONITOR"
PlayerJoinEvent: "MONITOR"
# this option is for the target outlet of the messages to go. Previously, they were all sent to chat.
MessageOutlet:
Title: false
SubTitle: false
ActionBar: false
Chat: true
# if UsePermission is set to true, a player needs to have infinitepotions.<potionname> (all in lowercase) to receive
# the infinite potion effect
#
# If UserPermission option is set to "true",
# the plugin will determine the level of infinite potion being applied to using player's permission node first, followed by the potion type permission node.
#
# For instance, if you have Speed potion configured as:
#
#Potions:
# Speed:
# Level: 5
#
# If a player has a permission node "infinitepotions.speed.4",
# the infinite speed potion of level 4 will be applied to this player.
# If the player does not have "infinitepotions.speed.*" (where * is the level),
# then the plugin will check whether the player has "infinitepotions.speed" permission or not. if s/he does, the default level 5 will be given.
UsePermission: false
# These potion effects are applied to all player upon login
#
# supported potion effects : https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
# speed
# slow
# haste
# fatique
# strength
# heal
# harm
# jump
# nausea
# regeneration
# resistance
# fireprotection
# waterbreath
# invisibility
# blindness
# nightvision
# hunger
# weakness
# poison
# wither
# healthboost
# absorption
# saturationj
# glowing
# levitation
# luck
# unluck
# slowfall
# conduit
# dolphin
# badomen
# hero
#
# Particle option is false by default
Potions:
Haste:
Particle: false
Level: 3
Worlds:
- parkour
- plotworld
Speed:
Level: 2