SpellItems

From DvZ Wiki
Revision as of 16:42, 2 April 2014 by Andre111 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Spellitems is a Bukkit plugin for creating Item that can have custom Spells. Since version 2.0 it uses yaml for basic item defenitions and LUA for scripting the Spells.

LUA is a really easy scripting language, the basics can be learned by anybody within a day. Users with experiences in other scripting/programming languages can learn the basics in 15 minutes.

Configuration

  • config.yml
    • The config.yml is used for all general settings
  • items.yml
    • The items.yml is used for defining custom spells and setting their properties like id, name, lore, grafical effects, cooldowns and mana cost as well as defining which LUA functions they should call.
  • spells.lua
    • The spells.lua is the scriptfile from which the spellfunctions are loaded. This is the most important file for creating custom items.
  • rewards.yml
    • The rewards.yml is used for defining rewards given out based upon reward points