module runes item rune_luck - magemonkeystudio/divinity GitHub Wiki

๐Ÿ€ rune_luck.yml

The Runes module allows players to socket magical runes into their gear, granting potion effect-based buffs when equipped. This page serves as a hub for related configuration pages.


๐Ÿ“ File Location

plugins/Divinity/modules/runes/items/rune_luck.yml

๐Ÿงพ Configuration

material: PRISMARINE_SHARD
name: Rune of Luck
lore:
  - '&7Grants &fLuck %ITEM_LEVEL_ROMAN% &7effect'
item-flags:
  - '*'
tier: common
level:
  min: 1
  max: 1
uses-by-level:
  '1': 1
success-rate-by-level:
  '1': '75'
  '2': '30 * %ITEM_LEVEL%'
  '3': '30:50'
socket-display: '&bRune: Luck %ITEM_LEVEL_ROMAN%'
effect: LUCK
target-requirements:
  type:
    - WEAPON
  level:
    '1': '10'
    '2': '20'
    '3': '30'
  module:
    - '*'
  socket: default

๐Ÿ” Explanation of Settings

Key Description
material Sets the in-game material (PRISMARINE_SHARD).
name The display name of the rune.
lore Descriptive line showing the effect and item level.
item-flags Controls how item metadata is displayed (here, all are hidden).
tier Item rarity classification.
level The rune can be between level 1 and 1 (fixed level).
uses-by-level Sets how many times the rune can be used (once here).
success-rate-by-level Sets socket success chance by level or formula.
socket-display Text added to the item on successful socket.
effect The Bukkit potion effect applied (RESISTANCE).โžก A full list of valid effects can be found here.
target-requirements Controls where this rune can be socketed:
  • type: Only applies to WEAPON items.
  • level: Requires item level of at least 10.
  • module: Compatible with any module.
  • socket: Must be default type. |

๐Ÿ”— Back to Hub

โ† Return to Runes Module