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 16, 2012@KingArthurIII
Why would you try to break blocks with a book in your hand and not a tool?
-
View User Profile
-
Send Message
Posted Aug 16, 2012Hi! I like this idea alot, and it seems to have a fair amoutn of potential, but could I humbly suggest one change? It might be better if you made it such that right-clicking would cast a spell - in my mind it would make more sense if you right clicked to cast a spell, so that you could still break blocks, etc.
-
View User Profile
-
Send Message
Posted Aug 16, 2012@beimeith
ok i'll change it...
-
View User Profile
-
Send Message
Posted Aug 16, 2012Oh, I noticed there is a conflict with your /enchant command. Essentials uses the same command.
Maybe change to /sbenchant?
-
View User Profile
-
Send Message
Posted Aug 16, 2012@beimeith
ok, thanks for the info, multi world is a good idea :), i will have to work on the permissions a bit more... it works atm but if you have for example spellbook.allow.*: true and spellbook.allow.(SPELLHERE): false, it will still let you use it (In my not yet released version)
-
View User Profile
-
Send Message
Posted Aug 16, 2012@Mew32
I always like there to be options, :)
When I first setup a Bukkit server to play around with, I didn't want to mess with permissions at all. It looked like a horribly complex thing that would be a nightmare to setup. As I've played more, I've see how powerful it can be and gotten used to it.
For complexity, that depends a lot on you as the author. Many plugins with complex permissions have a "standard" permission that combines all of the normal permissions, and then each separate permission for those that want more exacting control.
You could also set it up the opposite way, that is, default being to allow everyone to do everything, then making the permissions a restriction rather than an override. I tend not to like plugins that do this as much, as it increases the chance I will mess something up in the configuration and let someone do something I didn't intend.
You plugin has the potential to be extremely powerful, so I tend to want to error on the side of caution...but it is always up to you. :)
It would also be nice if there was multi-world support where you could disable effects from working while within that world.
For example: I have a normal world, and also an extremely hard world that has large caches of ores, but it is always night/raining (for monster spawns), you take more damage/do less damage, and many other helpful plugins are disabled.
-
View User Profile
-
Send Message
Posted Aug 16, 2012@Steelbuggi
it is? try and use /spellbook load if you're op
-
View User Profile
-
Send Message
Posted Aug 16, 2012In the Version 0.2.1 ist the same problem^^
-
View User Profile
-
Send Message
Posted Aug 16, 2012@Steelbuggi
In your version of SpellBook (0.2.0) the config just doesn't work)... Please wait until next version is approved!
-
View User Profile
-
Send Message
Posted Aug 16, 2012Hi, i have use the mode on my server, the Configuration doesn´t work, i have write 5 lvl for use a spell, but i lost 15 lvl. I have look into the configuration file and it still stand so i write it.
Have anyone a idea why it doesn´t work? on my Server is the Bukkit version: 2317 1.3.1 R-1.0
-
View User Profile
-
Send Message
Posted Aug 15, 2012@beimeith
So you'd like permissions for author only bypass? I don't mind coding it... but the more permissions the longer a server owner has to setup the perms, which I do not like a lot...
-
View User Profile
-
Send Message
Posted Aug 15, 2012@Desolin
I think you may have misunderstood what I meant... I wasn't suggesting the plugin prevent writing all books, I was suggesting that it have a way to prevent people from enchanting them into spellbooks.
Basically, what I am thinking is something like:
spellbook.* (Ability to create/use any spellbook ever). Grandparent permission.
spellbook.create.* (Ability to create/enchant all spellbooks). Parent permission. spellbook.create.spellname (Ability to create/enchant spellbooks with this type of spell). Note: This implies a default setting of being unable to create spellbooks set in config file.
spellbook.use.* (Ability to use any spell in a spellbook). Parent permission. spellbook.use.spellname (Ability to use specific spell). Note: This implies a default setting of being unable to use spellbooks set in config file.
spellbook.author.* (Ability to use any spellbook regardless of author). Parent permission. spellbook.author.spellname (Ability for player to use this spell even if he is not the author of the book). Note: This implies a default setting that requires you to be the author set in config file.
spellbook.count.* (Ability to create books with infinite uses). Parent permission. spellbook.count.max (Ability to create books with more than one use up to the hardcoded maximum). Note: This implies a default setting of 1 use per spellbook set in config file.
spellbook.cost.override (Ability to bypass enchanting costs set in config file). Note: This implies a default setting of paying some type of cost (item/xp/economy currency) in the config file.
These are only suggestions of course, and I realize the more complex the permissions, the more complex the plugin, the more of the author's time spent coding it.
-
View User Profile
-
Send Message
Posted Aug 15, 2012@Desolin
You can still write normal books even if you have permissions on/ op only etc... You just can't enchant them if you don't have the permission... And if you set the amount of uses of a book to like 5, and the experience cost to 10, players will only be able to cast three in a row (maximum experience level is 30 without any cheats)
-
View User Profile
-
Send Message
Posted Aug 15, 2012Just a suggestion but an awesome spell would be SUPA FAST speed boost to run around fast. That would be great!
-
View User Profile
-
Send Message
Posted Aug 15, 2012you would have to do intelligent permissions like
- spellbook.[rpgplugin].use.[classs]
example - spellbook.heroes.use.[priest/sorcerer]
then you would need to call the major rpg plugins to see if any are present
and have a setting to where if present then its by permissions only so only the certain classes could use them.
my idea on it anyhow
-
View User Profile
-
Send Message
Posted Aug 15, 2012@beimeith
Instead of restricting who can make the books, which we might have to do anyways until we find an intuitive system to control how people make books, we might find it more helpful if we restrict who uses what spells based upon whether they "know" the spell or not. Like, a warrior for example, may be able to read a spell book, but not "understand" how to cast the spell it has. I'm putting those words in quotations because we as the players would understand the function of how spell books work on our servers, but our characters we play wouldn't know the spells yet so we wouldn't have access to such commands to cast the spells.
Of course, doing it that way still wouldn't stop the influx of spell books because that wouldn't stop people from making them, even though they wouldn't be able to use them unless they learn the spells first.
That being said, I don't know if restricting who writes books is the best method for preventing abuse on the system. I still think people should be able to write other kinds of books for stories and such. I think there might be a way to prevent people from making or using spell books if they don't "know" the spells, and even limiting those that do.
A set number of uses on the spell book is interesting, and I like the idea. I'm assuming that's what you meant, as that would keep that economy a little bit more stable. If the spell books go away after set number of uses, it forces people to acquire more spell books.
In addition, I think having cool-downs in place would make it harder for people to abuse this system. I think it's better than having the level usage upon the casting of a spell, because as it is, it doesn't really prevent people from spamming their spells, it just makes it harder for new players to cast them!
All in all, this is a great plugin guys; I like where this is going. Minimizing the need to type out commands for spells is something that many (not all) plugins that have spells don't achieve, so it's nice to see something like this come out. I thank you, Mew and Demon, for your hard work. :D
-
View User Profile
-
Send Message
Posted Aug 15, 2012@beimeith
I have now created an option in the config if the spell has to be casted by the author... It is per effect though... The option to soft set uses might not be possible (AFAIK)
-
View User Profile
-
Send Message
Posted Aug 15, 2012@beimeith
I've added hard limit in config, but your ideas are good so I will try to add them.. I've uploaded a new version, it is waiting for approval...
-
View User Profile
-
Send Message
Posted Aug 15, 2012@Mew32
Are you thinking a hard limit (such as a setting in the config file) or a soft limit, (such as a number on the last line of the page of the book)?
I ask because I am thinking it would be cool to have both options. A hard limit from an admin perspective, so I can make sure people do not abuse the system, but also a soft limit, for things like economy.
What I was thinking was if I restrict who can make the books, (say VIPs or people who pay a fee), they could set uses, and then sell the books based on the number of uses remaining.
That also raises the question, does the author of the book have anything to do with the casting of the spell, and if so, can there be an option to restrict that to only the author, or anyone? That way I could set certain spells to only be able to be used if you made the book yourself, while others can be used if you bought the book from someone else.
-
View User Profile
-
Send Message
Posted Aug 15, 2012@juanfrandiaz
The amount of xp will be configurable, and I now have an idea how to make the books unenchanted after x amount of casts, which will be configurable again... Note that in the current version (Alfa 0.2.0) the config doesn't work although it is there.