Runes & Runewords - Sponge-RPG-dev/NT-RPG GitHub Wiki
=== Runes & Runewords ===
This feature is similar to d2:lod.
In a nutshell if a player inserts runes in a correct order into a correct type of item with corrent number of sockets a runeword is created.
=== Sockets ===
Socket is a specific line in item lore, which represents slots, which consume runes. Once rune is inserted into socket by default theres no way hot to get the rune out.
==== Lore definition ===
- Item above has 5 sockets.
- Characters '{@}' represents exactly one socket.
- Sockets must be at the second line in item lore.
- The color has to be light gray
==== Command ====
/nadmin socket {number}
creates specified amount of sockets in held weapon. If the held item has any lore its first two lines will be replaced.
=== Runes ===
Runes are items, which can be inserted into sockets.
==== Lore definition ===
- Item Display Name golden color
- Item Display Name is equal to rune name (case sensitive)
- First line of item lore - text "Rune", color aqua
- Third line of lore (as shown above) is optional, its a tooltip which can be changed in a file config/nt-rpg/Localization.conf
==== Configuration ===
You can define runes in a file config/nt-rpg/Runes.conf (file is generated after first server startup)
Runes:{
Eth: {},
Rune2: {}
},
RuneWords:{
}
}
==== Command ====
/nadmin rune {runename}
- replaces current intem in hand with given type of rune
=== Compatibility with other plugins ===
Runes, Runewords and Custom item enchantements are completly lore based.
If you will follow its very strict definition you can create those items from eg.: commands, commandblocks or any loot plugin which allows you to manipulate item lore section.