Spellbook

"Spellbook" is an easy to use plugin that lets players create (magic)books with different combinations of effects. Players simply write the right spell names in a book and quill (one per page), sign the book, enchant it, and are from then on able to cast the spell combination they created simply by left clicking with the newly created spellbook (the title of the book does not matter). Enchanting is done via command or left clicking with written book on an enchanting table, and it only costs 15 experience levels (this is configurable), and/or money if Vault is enabled. When you cast a spell levels are removed and/or money if Vault is enabled.
Vault is needed for money
How to Enchant/Cast
Enchant: Use the command /enchant or left click on an enchanting table with a written book.
Cast: Left click with an enchanted book.
Adding spells to your book
Creating spells in a book is very simple. The player chooses one of the effects below, and then adds one of three modifiers. Self, other, or Target. This is done as follows:
Say you want to teleport to where you are looking, you would write: "teleport.target" in the book. If you want to create a spellbook with multiple effects, just add extra effects to the pages.
For example:

Some modifiers, such as "teleport.self", have an effect that is perhaps counterintuitive. This plugin is in a very early stage of developement and is constantly being added to and changed.
Effects
Current effects:
Usage
Permission nodes
These are needed to cast/enchant if permissions is enabled
- teleport (to target or spawn/random player/target)
- damage (2.5 hearts of damage)
- heal (2.5 hearts)
- poison (approx. 140 sec ATM)
- jump (approx. 140 sec ATM)
- confusion (same effect that you get when in a portal)
- blind (set's fog to really close, same effect as when you are near bedrock)7
- slowness
- waterbreathing
- cure (cures confusion, poison, blindness, works for potion effects too)
- explode (with damage)
- explodefx (only effect)
- zombie (summon 4 Zombies)
- invisibility (approx. 10 sec ATM, for people in 500x500x500 block radius only, has cooldown)
- bind (binds diamond armo(u)r to a player, has cooldown)
We are planning the following effects to be available and are always open to suggestions and bug reports (if they include an error log):
Planned Effects
- set on fire
- open wall
- open locked door
- summon clone
- vengeance
NOTE: The closer you are to a target living entity with .target the less accurate you have to aim.
You can target mobs and players in v0.3.2 and up
Updates
- 1.4.6 caused some trouble, got through it though!
-
View User Profile
-
Send Message
Posted Aug 20, 2012@Mew32
I always shut down the server before I edit config files. The server runs on this, my main computer, and is currently just for testing right now so there isn't a problem interrupting people.
When you say it works, what do you mean exactly?
-
View User Profile
-
Send Message
Posted Aug 19, 2012@beimeith
I'll try myself, just to make sure...
Edit: It works on my server, try to edit config before startup...
@THDigi
That's pretty complex, and you can only write in Alfabetic letters, numbers etc. Plus how would I go about reading the book then?
-
View User Profile
-
Send Message
Posted Aug 19, 2012For awesome's sake, the spell writing should be a bit more complex and not code-like. Then when transformed into a spellbook, the plugin rewrite the book's pages to add colors and symbols and stuff to make it look more like an ancient text... not just a permission-node-like text :/
-
View User Profile
-
Send Message
Posted Aug 19, 2012@Mew32
I'm not sure what is up with the economy function...
I updated to the newest version, 0.2.5, then remade the config. I left permissions and vault set to "false" and tried it. I was still losing $50 when I enchanted from an enchanting table as well as the default 15 levels of xp.
I then set permissions/vault to "true" set the xp cost to enchant and use to "0" and the money cost to enchant to "1000" and the use cost to "100" and assign myself spellbook.* permission.
It still costs $50 to enchant and nothing to use.
Also, I tested the /spellbook commands and they seem to be working correctly with permissions now.
-
View User Profile
-
Send Message
Posted Aug 19, 2012@KarmaKazian
Try to find Tekkit for 1.3.1? Because you really need a Book and quill...
-
View User Profile
-
Send Message
Posted Aug 19, 2012Hi there I don't know if this is possible but I love the look of your plugin and Im running a Tekkit server.
The book and quill does not exist in Tekkit :(
Is there any way that you can make this work with BookWorm or some other plugin so that I can add it to my server?
Thanks
-
View User Profile
-
Send Message
Posted Aug 19, 2012@deleted_6837836
I'm trying to create a fake player ATM, but the server crashes when I damage the player...
-
View User Profile
-
Send Message
Posted Aug 19, 2012Can you elaborate on the "summon clone"? My friend wants a "ninja" character, and the summon clone spell might help to that..
-
View User Profile
-
Send Message
Posted Aug 18, 2012@deleted_6837836
I too have spell idea's, but the other suggestion might be a bit too hard for my coding skills (this doesn't mean i'm not going to try).
-
View User Profile
-
Send Message
Posted Aug 18, 2012Well I have a few suggestions..
1) The code-like spell terms may not be appealing to the majority of server players. Perhaps we can make custom aliases that we can configure? explode.self would be selfdestruct, cure.self would be healing, etc. For the other RP servers, they might have their own rune-language-thingy for them to use.
2) Spell ideas: Throw fireballs, cast lightning, trap enemies in webs, perhaps even automatically cast commands for the sake of other plugins, like Worldedit (perhaps with temporary OP so there are no permission problems).
-
View User Profile
-
Send Message
Posted Aug 18, 2012@deleted_6837836
Yes
-
View User Profile
-
Send Message
Posted Aug 18, 2012Some questions..
If you spawn zombies, would the zombies attack you?
Does teleport.target teleport to anywhere you're looking at, or teleport only to a player you're looking at?
-
View User Profile
-
Send Message
Posted Aug 17, 2012@beimeith
I fixed this one, http://pastebin.com/FwKaWCqi but the money not being removed is weird, it works fine with BOSEconomy...
-
View User Profile
-
Send Message
Posted Aug 17, 2012@Mew32
Yes, I am using Essentials 2.9.3 for economy, and vault 1.2.17 to hook into it. PEX version is 1.19.3.
-
View User Profile
-
Send Message
Posted Aug 17, 2012@crackedlobster
The armour isn't worthless, try killing yourself... I tested the latest one, v0.2.2 and it didn't give me any errors. Could you post it to pastebin or something?
@beimeith
Thanks for the error log... Do you use vault? I'll test it with PermissionsPEX etc...
-
View User Profile
-
Send Message
Posted Aug 17, 2012There seems to be bit of a problem. I doubl checked this and even reinstalled, but...
When I use a Spell with .other or .target, nothing happens. The charges still consume, but nothing actually happens. If I use .self, the spell seems to work just fine.
If I use .target or .other, Server screen fills up with errors.
For example:
explode.target ) Will swing, nothing happens. ( You have 199 Uses left)
explode.other )Same thing ^.
explode.self ) I explode and hurt myself AND I see the graphics and sound.
Tested this on multiple spells... Only .self works.
Using Craft bukkit 1.3.1. R1.0 and Latest Spell Book Plugin. Tried this 2 times. Same results.
P.S: The Bind armor lasts just long enough to be worthless. lol.. It needs to last a while or perhaps we can change that value?
-
View User Profile
-
Send Message
Posted Aug 17, 2012Received this error when using the "/spellbook" command:
http://pastebin.com/FwKaWCqi
The config file was set to use permissions and vault, and I assigned myself the spellbook.* permission. I am using PEX for permissions. I also noted that during the server startup sequence it did not give a message that it has hooked into either of those plugins. It probably should.
The "/spellbook spells" and "/spellbook enchant" commands both returned this:
/spellbook spells Sends a help message to make spellbook. /spellbook enchant Enchants a written book in hand that has valid spells.
but nothing else.
I could enchant the book via the Enchantment Table, but there seems to be a problem with the prices. In the config file I set an enchant price of 10,000 and a use price of 1,000. I am using Essentials as an economy plugin, and the actual cost to enchant the book was only 50, and there was no price to use it.
-
View User Profile
-
Send Message
Posted Aug 17, 2012@QWERTYAS1
It should be configurable in 0.2.1 and 0.2.2
-
View User Profile
-
Send Message
Posted Aug 17, 2012Do you think you could add a changeable option in the config so I can change the amount of XP required to use the book?
Great plugin!
-
View User Profile
-
Send Message
Posted Aug 16, 2012@KingArthurIII
I don't agree, now you can still read your enchanted book, if it was right-clicking you wouldn't be able to do that...