module runes item rune_jump - magemonkeystudio/divinity GitHub Wiki
๐ rune_jump.yml
The rune_jump.yml
file defines the Rune of Jump, a socketable item that grants the Jump potion effect to compatible gear when applied.
๐ง File Location
plugins/Divinity/modules/runes/items/rune_jump.yml
๐งพ Configuration
material: PRISMARINE_SHARD
name: Rune of Jump
lore:
- '&7Grants &fJump %ITEM_LEVEL_ROMAN% &7effect'
item-flags:
- '*'
tier: common
level:
min: 1
max: 3
uses-by-level:
'1': 1
success-rate-by-level:
'1': '75'
'2': '30 * %ITEM_LEVEL%'
'3': '30:50'
socket-display: '&bRune: Jump %ITEM_LEVEL_ROMAN%'
effect: JUMP
target-requirements:
type:
- boots
level:
'1': '10'
'2': '20'
'3': '30'
module:
- '*'
socket: default
๐ Explanation of Settings
Key | Description |
---|---|
material |
Item type for the rune. Here, PRISMARINE_SHARD gives a crystal-like look. |
name |
Display name shown in-game. |
lore |
Descriptive text that shows the effect and level dynamically. |
item-flags |
Controls item appearance; '*' hides all extra tags (e.g., attributes, enchantments). |
tier |
Indicates the rarity of the rune. |
level |
Specifies allowed levels for scaling effects and validation. |
uses-by-level |
Number of uses granted at the defined item levels. |
success-rate-by-level |
Defines socket success probabilities. Accepts static values, formulas, or ranges. |
socket-display |
Text that appears on the item when the rune is successfully socketed. |
effect |
The Bukkit potion effect applied (RESISTANCE ).โก A full list of valid effects can be found here. |
target-requirements |
Restricts which items the rune can be used on: |
type
: Only applies toboots
.level
: Requires item level of 10, 20, or 30 depending on rune level.module
: Accepts any module.socket
: Rune must match this socket type (default
in this case). |