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 Jan 11, 2013can add translations system?
-
View User Profile
-
Send Message
Posted Jan 8, 2013@diannetea
Thanks for the error log, I didn't really have time to test it, but the error's are due to the fact that bukkit changed some of their methods. I'll fix this tomorrow.
-
View User Profile
-
Send Message
Posted Jan 7, 2013Okay got around to reimplementing and testing this, it's not working at all (casting does nothing)
I tried /spellbook enchant and got this error
2013-01-07 22:44:02 [INFO] diannetea issued server command: /spellbook enchant 2013-01-07 22:44:02 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'spellbook' in plugin SpellBook v0.4.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:547) at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:990) at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:908) at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:852) at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:585) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:481) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:416) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String; at me.Mew32.SpellBook.BookData.saveBookData(BookData.java:57) at me.Mew32.SpellBook.CheckPlayer.canEnchant(CheckPlayer.java:31) at me.Mew32.SpellBook.Main.onCommand(Main.java:58) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
-
View User Profile
-
Send Message
Posted Dec 29, 2012@diannetea
Not now though on vacation again :)
-
View User Profile
-
Send Message
Posted Dec 23, 2012Can you please update this to 1.4.6?
-
View User Profile
-
Send Message
Posted Nov 19, 2012@ottocraft
There is a cooldown already, but it is for all spells. Do you mean a per world disable option? And sorry but i didn't get the last part...
-
View User Profile
-
Send Message
Posted Nov 19, 2012so cool but maybe you can add cooldown and disabled worlds sistem and ea exp for ea book
-
View User Profile
-
Send Message
Posted Oct 24, 2012Hey, i made a little showcase video on your plugin :)
Hope you'll like it! Link: http://www.youtube.com/watch?v=5nY3c2099ZE&feature=youtu.be
-
View User Profile
-
Send Message
Posted Oct 23, 2012@rasnyderiii
consume as in delete?
the sign thing would cool, but you would only be able to make a book with 2 spells (signs have only 4 lines)
-
View User Profile
-
Send Message
Posted Oct 23, 2012[suggestions]
(1) consume book on use (config true|false)
(2) sell books from Signs - example:
[Magic Book]
explode
self
$500
Looks fantastic!
-
View User Profile
-
Send Message
Posted Oct 8, 2012@jeffro1001
I could try to make a max spells per page thing, but it'll take a while
-
View User Profile
-
Send Message
Posted Oct 7, 2012@Mew32
I didnt know that the exp to cast was implemented already. Great!
Is it possible to limit the spells to 1 per book?
I dont want people being able to cast more than 1 spell per book. If they want to use more spells then they will need to sacrifice inventory space.
-
View User Profile
-
Send Message
Posted Oct 7, 2012@jeffro1001
You can have more spells per book, and a experience level to cast is already there...
-
View User Profile
-
Send Message
Posted Oct 7, 2012This is an excellent idea for a plugin.
There needs to be a cost per use for the spells though, or it turns out to be too powerful.
I would love to see spells cost exp levels to cast.
Configurable of course so some spells cost more than others.
Also,
Is it possible to make it so you can only have one spell per book?
This would really be a hit on my server if you could make these changes.
Thanks
-
View User Profile
-
Send Message
Posted Oct 5, 2012@diannetea
Kinda forgot fixing that....
-
View User Profile
-
Send Message
Posted Sep 30, 2012@Sk8Sanctified
If the book contains an author only spell no, except if he has the permission to bypass author only spells. You can set the author only spells in the config.
Author only makes that only the author of the book can use it example: "Book of Spells by Player" then only a player with the name "Player" can use it...
-
View User Profile
-
Send Message
Posted Sep 29, 2012If a players is killed by another player that has a spellbook, can the living player pick it up and use it? Just wonderin, this plugin sounds cool. Thinking about adding it to my server.
-
View User Profile
-
Send Message
Posted Sep 27, 2012@diannetea
try to relog... it should help, and the idea to location teleports is pretty awesome too...
-
View User Profile
-
Send Message
Posted Sep 26, 2012lol my mom made me invisible and now I'm stuck that way, it's not taking it off and a cure book didn't help either.
-
View User Profile
-
Send Message
Posted Sep 26, 2012Another idea! The ability to create "location" teleportation books with tppos so I could like say, let players buy a book to teleport to an arena, or towns