This plugin created runes as items, you can get potion effects while holding them and add attributes to the item.
Read more information and instructions below.
reliablerunes.use
- /reliablerunes command
runes.yml
Code (YAML):
# Textures can be set to [BASE64, NICKNAME, URL]
# Examples:
# BASE64: ... (has 180 symbols, usually has '=' in the end)
# NICKNAME: ... (any minecraft licensed nickname)
# URL: http://textures.minecraft.net/texture/... (usually 64 symbols)
# Where should you get settings:
# Textures: (https://minecraft-heads.com)
# Type: BASE64/NICKNAME/URL (for value) [class]
# Value: ... (value that can be recognized by type) [string]
# Attribute Modifiers:
# Attribute: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/attribute/Attribute.html (?) [class]
# Value: from -∞ to ∞ (?) [integer]
# Slot: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/EquipmentSlot.html (?) [class]
# Potion effects:
# Type: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html [class]
# Duration: from 1 to ∞ [integer]
# Icon: true/false (should show icon of potion effect?) [boolean]
# Particles: true/false (should show particles of potion effect?) [boolean]
# Effect slots option:
# Contains list of https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/EquipmentSlot.html
# For example if you put OFF_HAND in this option, potion-effects will affect on player only if he holds the rune in his offhand.
# Try to except of deleting any of the settings (except everything in potion-effects/attributes section)
# because it can result in error or problem.
configuration:
reliable-runes:
'some_rune_label':
title
: '&b&lSky Rune'
lore
:
- ''
- ' Speed Effect I'
- ' &8[&b⚡&8]&7 Duration
:
&b1.0&7 second'
- ''
- ' Regeneration Effect I'
- ' &8[&c❤&8]&7 Duration
:
&c15.0&7 seconds'
- ''
texture:
type
: BASE64
value
: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTRiOTk1ZDgxOGE2ZjlhY2VjZTk4YWZhMmEyZjZlYjIyNTYxNWU2YTRlMWUyM2Y5YmY5YjZkMWUwZmQyZDI3In19fQ=='
potion-effects:
SPEED:
duration
: 1
icon
: true
particles
: true
REGENERATION:
duration
: 15
amplifier
: 1
icon
: false
particles
: false
attributes:
GENERIC_ATTACK_DAMAGE:
value
: 3.5
slot
: OFF_HAND
effect-slots
:
[OFF_HAND, HAND
]
# What equipment slot player should hold so potion effects will work
can-place-rune
: false
messages.yml
Code (YAML):
# *If message is not set it will be showed as default one
strings:
rune-was-given
: '&7Rune &f
{rune
}&7 was given to &f
{player
}&7.'
rune-is-not-found
: '&7Rune &f
{rune
}&7 was not found in config.'
player-is-unknown
: '&7Player &f
{player
}&7 is unknown or maybe offline.'
permission-failed
: '&7Permission failed.'
unexpected-argument
: '&7Unexpected argument.'
cannot-place
: '&7You cannot place runes.'
config-reloaded
: '&7Config is successfully reloaded.'