Praecantatio - A magic plugin based on Incantatio - NOW WITH PERMISSIONS! Version: 1.2 Praecantatio is a magic plugin based on Incantatio v1.1, but with majorly overhauled code and spells. It started out as a simple mod of the plugin for my own server, because I didn't like some stuff in the original one. For those of you that don't know Incantatio, it is a plugin that allows you to say spells in order to cast them, much like is the case in popular movies/tv shows. Thanks to orion304 for his plugin and allowing me to release mine! You can check out the original plugin here. I changed most of the spells to be griefer-unfriendly. You cannot make any extra item or block in the world, they are all temporary and any magically created blocks that are mined won't drop anything. While these spells still give you a gameplay advantage compared to vanilla Minecraft, I took care of balancing every one and avoided duplicating functionality that is already present in the game. Also new is the ability to inscribe spells to a book. Some spells require reagents now, they are redstone or a piece of lapis by default, but can be customized through the config file. Editing the config files: Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler If you want a clean config file, you can just delete them, they will be regenerated the next time the plugin is loaded. config.yml: Code: General: SpellAnounceLevel: 1 // Defines the announce level for a spell: 0 = only to the casting player, 1 = only in a short range from the casting player, depending on spell strength, 2 = global SpellRange: 50 // Defines the range for all spells. SuperCommand: magna // Defines the command used to access the 3th level of a spell CastItem: 280 // Defines the item to use for the CastItemOnly spell option. In future updates, this will also serve as the wand item Reagents: Regular: 331 // Defines the item used as a reagent for regular spells RegularIsDye: false // Defines if the item is a dye Master: 4 // Defines the item used as a reagent for master spells MasterIsDye: true // Defines if the item is a dye Level1: 1 // The amount of reagent required for a level 1 cast Level2: 3 // The amount of reagent required for a level 2 cast Level3: 5 // The amount of reagent required for a level 3 cast TransmuteCost: 15 // The amount of regular material that the transmute spell transforms into master material (and vice versa) Spellbook: Enabled: true // Defines if the spellbook is enabled at all WriteReagent: 4 // The reagent used for writing in your spellbook WriteReagentIsDye: true // Defines if the reagent is a dye InscriptionCommand: scripto // The command used to write in your spellbook Cooldown: 5 // The cooldown between uses of your spellbook spells.yml: Note: You can remove a spell's section from this file to disable it completely. Code: Spells: Transmute: // The description used by the plugin. DO NOT CHANGE THIS Name: transmutare // The name used to cast the spell CastItemOnly: false // Defines if the spell can only be cast while holding the casting item defined in the config Master: false // Defines if the spell is a master spell (uses the master reagent) Cooldown: 0 // The cooldown for the spell CostMultiplier: 0 // Allows you to make spells more expensive or free NEW! Permissions: Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler praecantatio.spellbook // Allows the player to use the spellbook praecantatio.spells.* // Gives access to all spells You can also only allow individual spells for a player by using: praecantatio.spells.spellname // Where spellname is the DESCRIPTION of the spell as it appears in the spells.yml config file. Full list of individual spell permissions for your convenience: praecantatio.spells.wall praecantatio.spells.transmute praecantatio.spells.lightning praecantatio.spells.thaw praecantatio.spells.clear praecantatio.spells.protect praecantatio.spells.storm praecantatio.spells.mutate praecantatio.spells.slowfall praecantatio.spells.entomb praecantatio.spells.glasstoice praecantatio.spells.replenish praecantatio.spells.light praecantatio.spells.fireball praecantatio.spells.extinguish praecantatio.spells.silence praecantatio.spells.bubble praecantatio.spells.break praecantatio.spells.breathe praecantatio.spells.blink praecantatio.spells.heal praecantatio.spells.launch praecantatio.spells.waterwalking praecantatio.spells.activate praecantatio.spells.rain praecantatio.spells.freeze Spells: Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler - Sphaera: Creates a temporary bubble of ice around you lasting for 10/20/30 seconds depending on the strength with which it is cast. When used underwater, this will create a temporary pocket of air. - Fulmen: Creates a lightning bolt at your target. Strength 2 of this spell will also set the target on fire, and strength 3 will set the target and a small area around it on fire. When used on sand, it will turn the sand to glass. - Tarduscado: Slows your falling speed for 10/20/30 seconds depending on the casting strength. - Remedium: Heals you slowly over time to full health as long as you are standing still. Higher casting strengths will heal you faster. - Transulto: Transports you to the location you are looking at. This spell has a cooldown of 30 seconds. - Respiro: Makes you able to breathe underwater for 30/60/120 seconds depending on the casting strength. - Frigidus: Freezes the area you are looking at, covering blocks in snow and turning water to ice. Higher casting strengths will cover a larger area. - Concalesco: The opposite of frigidus, this spell turns thaws ice and removes snow. Higher casting strengths will cover a larger area. - Extinguo: This spell extinguishes you if you are on fire. At higher strengths, this will also extinguish an area around where you are pointing. - Pluvia: Makes it rain. This is a powerful spell and requires 1 piece of Lapis Lazuli. - Tempestas: Summons a thunderstorm. This is a powerful spell and requires 1 piece of Lapis Lazuli. - Sereno: Makes it sunny with clear skies. This is a powerful spell and requires 1 piece of Lapis Lazuli. - Mutatio: Mutates the mobs around the area you are pointing at, mostly into passive mobs. BE CAREFUL though, this spell may backfire and create evil mobs. There is a 20% chance of backfire, and for each mob in the same area there is an additional 20% chance. In extreme cases (2%), this spell can backfire miserably and mutate a mob beyond your control or open a brief portal to the nether. Higher strengths will lessen the chance of this spell backfiring. - Lux: Creates a glowstone block in front of the block you are pointing at, that lasts for 1/2/5 minutes depending on casting strength. - Clausus: Similar to sphaera, this spell creates a wall of ice at your target that lasts for 15 seconds. Higher casting strengths will make the wall wider. - Repleo: Admin-only spell, this spell attempts to fix water that isn't even. Unchanged from Incantatio. - Tueri: Makes you immune to all damage for 3/5/7 seconds depending on casting strength. - Ignifera: Summons a fireball. This spell only works properly at the highest level (3). - Sepulcrum: This spell entombs the target in an obsidian tomb for 10/20/30 seconds. When a player has been entombed, they will have immunity for 1 minute. - Glacia: When cast on glass, this spell turns the glass to ice and spreads to all glass around it in a small radius. Higher casting levels increase the spells radius of effect. Great for filling pools or making structures out of ice. - Transmutare: When holding a piece of lapis, this spell will turn it into 15 redstone, and when holding at least 15 redstone, they will turn into a piece of lapis. Great for when you cannot find any lapis. - Scripto: Inscribe a spell into your spellbook, see above for examples. - SuperAquas: Water will freeze below your feet for 10/20/30 seconds. - Jaceo: Launches your target into the air, or yourself if you look straight down. - Ruptura: Temporary creates a hole, it's size depending on the casting strength, in the direction you are looking at. WARNING: This will drop all ladders/torches/rails/... so some of you might not want it on your server. This will be fixed in the future. - Tincidunt: This will temporarily remove all redstone torches in a set range, great for creating hidden piston doors! - Silentium: Silences opponents for a 5/10/15 seconds, preventing them from saying anything at all! If you have been hit by this spell, you will be immune for 1 minute. This spell has a 30s cooldown. Activate 'tincidunt' spell hidden door example: Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler Door is closed: Door is temporary opened by the spell: And this is how it works: Simple, huh? Todo list has been removed, theres too much stuff and spells I still want to add, I might add it again later after I give my personal todo list a proper formatting/wording everyone can understand. Alright! That's it, I hope you enjoy this plugin as much as I did creating it. DELETE YOUR CONFIG FILES WHEN UPGRADING! There have been a lot of changes and both the config and spell files have been significantly changed. I read every post and I consider all suggestions. I also put a lot of my time and effort in this. So if you appreciate my work, please consider at least buying me a beer. Thanks! If you see a bug, or if you think a feature is not working as advertised, please report it in this thread.