module runes item rune_resist - magemonkeystudio/divinity GitHub Wiki

๐Ÿ›ก๏ธ rune_resist.yml

The Runes module allows players to socket magical runes into their gear, granting potion effect-based buffs when equipped. This page documents the Rune of Resistance configuration.


๐Ÿ“ File Location

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


๐Ÿงพ Configuration

material: PRISMARINE_SHARD
name: Rune of Resistance
lore:
  - '&7Grants &fResistance %ITEM_LEVEL_ROMAN% &7effect'
item-flags:
  - '*'
tier: fabled
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: Resistance %ITEM_LEVEL_ROMAN%'
effect: RESISTANCE
target-requirements:
  type:
    - chestplate
  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 chestplate 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