SpellItems

From DvZ Wiki
Jump to: navigation, search

Spellitems is a Bukkit plugin for creating Custom Items or Enchantments with 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: http://tylerneylon.com/a/learn-lua/

See all changes in the SpellItems Changelog.

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, 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