Wizardly Magic
Features
Want to be a cool wizard with all kinds of spells? Well now you can! You can build a Spell Altar, craft over 50 unique spells, gain knowledge, and use all kinds of wizardly magic! This plugin is inspired by the Minecraft Forge mod Ars Magica.
Note: This plugin is in early alpha, so expect bugs, if you get any please create a ticket with them here.
Spell Altar:
You build a spell altar by putting redstone around an enchanting table. You don't gold blocks, but the type of blocks the altar is build on effects the altar level. Certain spells require higher level altars.
- Anything: 0
- Iron: 1
- Gold: 2
- Diamond: 3
Knowledge:
Knowledge is needed to make spells, each spell has certain knowledge it requires to be crafted. You can learn different bits knowledge by doing normal Minecraft actions. For example, picking up a Notch apple will teach you "Divine Intervention". Sometimes you can get mana from gaining knowledge. You can see info on how to get knowledge in the "Book of Knowledge".
Mana:
Spells require mana to cast, you start with 10 (Unless your server owner has changed it). When you gain knowledge you can get mana. Also there is a slight chance to gain mana each time you cast a spell.
Spell Book:
When you kill a boss (Wither, Ender Dragon, or Elder Guardian), they have a 50% chance to drop a spell book. You can store up to 9 spells in a Spell Book. Sneak right-click to open the book, then you can put spells in, or take them out. Right-click the cast the spell in slot 1. Sneak left-click to toggle the active spell to the one next to it.
Spells:
To craft a spell, you must put the recipe in a spell altar, then drop a Arcane Scroll on the altar. If you don't have required knowledge, if the recipe is invalid, or if your altar level is to low, you will get a chat message prompt telling you what to do. You can see info on spells and their recipes in the "Book of Spells".
Staffs:
You can craft staffs for better spell manipulation. Once you get a staff your click with it to open the binding menu. You put the spells you want in the slots and close it. Now those spells have been bound to the staff, you can not change these spells ever, its a one time thing. You can right-click to cast and left-click to cycle through the spells. There are three tiers of staffs, they get harder and harder to craft. For crafting recipes see the recipe section.
Special Mob Drops:
This plugin adds special mob drops that are used in spell recipes. For example, there is a 20% chance for a creeper to drop a "creeper heart" when killed. Then you can use the "creeper heart" to craft the TNT spell. You can change, remove, and add these in the config as you wish. You can see all the special drops, how to get them, and the chance they have to drop in the "Book of Drops".
Wizard Robes:
Wizard Robes are just normal leather armour. However, all the armour pieces must be the same colour. If you are wearing full wizard robes your mana will regenerate double.
Mana Potions:
You can make mana potions by throwing a empty glass bottle into a pool of water, then drop a slime ball, magma cream, or eye of ender in with it. Lastly throw in some binding powder. It will form a mana potion. If you drop in more than one of each of these items it will keep generating at one a second till it runs out of ingredients.
Configurability:
This plugin is very configurable. All the spells, recipes, and knowledge are configurable in the config. It does not end there though, you can crate your own spells with all the components the default spells use. Also, for convenience there is a /setSpellRecipe command to make setting a spell's recipe easier.
--------------------------------------------------------------
Recipes
Arcane Scroll recipe:
Spell Recipes:
You can see spell recipes with a command. For a list of spells, info on them, and the command to get each spells recipe, you will need to craft the Book of Spells:
Other Books:
You can craft other books for more info.
Book of Knowledge:
Book of Drops:
Staffs:
To craft staffs or staff caps, you need to put the recipe into a spell altar. But instead of dropping an arcane scroll onto the altar, you have to drop binding powder (Which you can get from killing zombies).
Staff Types:
Note: The staff caps seen here are not the vanilla items, they are ether crafted, or dropped from mobs.
Caps:
Ender Cap:
The ender-pearl in this recipe is just the vanilla one, but the other four items are special orbs dropped by mobs.
Nether Cap:
The nether-star in this recipe is just the vanilla one, but the other four items are special orbs dropped by mobs.
Getting Started Video Tutorial:
Player holding a spell:
--------------------------------------------------------------
Commands
OP Commands:
/wm reload
/wm getSpell <name>
/wm setSpellRecipe <name>
/wm giveSpell <spell> <player>
/wm spellBook
/wm getDrops <mob>
Player Commands:
/mana
/srecipe <spell>
--------------------------------------------------------------
Permissions
Permission to use the OP commands is: wizardly.magic.commands
All players can use the /mana command.
You can specify permissions for certain spells in the config, but none have perms by default.
--------------------------------------------------------------
Installation
1. Copy the plugin and the WizardlyMagic folder into your plugins folder, then reload the server.
2. You can edit any options you want in the config.
3. If you have any problems, read the FAQ before posting.
--------------------------------------------------------------
Creating A Custom Spell
This is for admins, here is a test spell with all the available spell options included:
Remove all things you don't want in the spell.
spells: test: type: <touch/projectile/self> description: "A test spell" spellType: <pvp/build/other> perms: test.spell projectile: <enderpearl/snowball/egg/arrow/fireBall/item/block/beam/witherskull/entity> projectileCount: 1 projectileInterval: 5 projectileSound: BLAZE_BREATH randomRadius: 3 randomDistance: 0.2 homing: false trailParticalEffect: LARGE_SMOKE:0:3 beamRange: 50 speed: 3 drop: false fixedDrop: true height: 25 data: <"particalType"/"id:data/entityType"> cooldown: 3 sound: blaze_beath lifeTime: <ticks> mana: 1 altarLevel: 0 requiredKnowledge: - Start - Dig selfEffects: recall: false potionEffects: - "regeneration:1:5" effects: damage: 2 changeBlock: "20:0:10" recall: false dig: 1 digPower: 1 digReplace: true mount: false potionEffects: - "blindness:1:5" - "weakness:1:5" splash: radius: 3 particalEffect: LARGE_SMOKE:1:50:1 sound: explode gravityBlocks: false changeBlock: "20:0:10" explode: false lightning: false recall: false mark: false knockBack: 0 tp: false fireWork: "255:80:0" fireWorkLife: 0 velocity: "0:1:0" effects: disarm: false damage: 2 potionEffects: - "blindness:1:5" - "weakness:1:5" clearPotionEffects: - "poison:1:5" recipe: 0: item: 3
You do not need to manually define the spell recipe, you can do that in-game with a command.
Spell making video tutorial:
--------------------------------------------------------------
Upcoming Features
- Bug Fixes
- More Spells!
- Charms
--------------------------------------------------------------
MC Stats
This plugin sends info on how many servers and players are using this plugin.
If you wish to disable the usage stats, look at /plugins/PluginMetrics/config.yml.
--------------------------------------------------------------
Donate
If you like my plugins and want to help me out:
--------------------------------------------------------------
YouTube/FaceBook/Twitter
Check out my YouTube for more Minecraft awesomeness:
http://www.youtube.com/user/Jacobvejvoda
Keep up to date with my stuffs at my FB page/Twitter:
https://www.facebook.com/EliminatorProductions
https://twitter.com/Elimnator
--------------------------------------------------------------
@triarry
OK, thanks.
@jacob_vejvoda Okay, great, thanks.
We also found two typos in the config:
I redid my config from scratch (re-adding all my perms as I went) and this is what we discovered.
@triarry
Yes, build spells require the player to have building perms, PVP requires PVP perms, and other requires no perms.
@jacob_vejvoda
Functionally, are the 'build' and 'other' spellTypes any different from each other?
@triarry
The one he sent me before failed the test.
@Goldentoenail
@jacob_vejvoda
I use the default config so I know its not incorrect.
Goldentoenail's config also passes the appspot parser, that's the one I use too. Perhaps he is seeing an extra debug message that was left in? I have not checked my console to see if I have any 'misread config' errors, but either there is an extra debug message or you're doing an extra check to make sure the YAML is good, because syntactically, it's correct.
@jacob_vejvoda
OK, ALL Config's test fine at http://yaml-online-parser.appspot.com/ (There is NO Red Text on the right-hand-side.)
@Goldentoenail
Just paste the full config in, there is no error in the default config, sorry, I just tested.
@jacob_vejvoda
I don't know how to use that parser (it appears to be for Python)
The fact remains that the error still occurs with the original config that you supply.
Please check your consol output.
@Goldentoenail
Mine parses fine, and your does not. I use this: http://yaml-online-parser.appspot.com/
@awswolf1
Look at "Creating A Custom Spell", it has the info.
can you tell me how can i set permissions for each spell
@jacob_vejvoda
hmmm, both yours and mine check out here Best Online YAML Parser
However the consol error occurs with YOUR supplied config file.
What do YOU use to parse a YAML file?
@Goldentoenail
I ran your config in a YML parser and it failed.
That means you made a mistake somewhere in the file, thats whats causing the error.
Not all the spells were showing in the new Book of Spells, the newer ones were misssing. I then noticed there was a console error 'May have nisread the config'.
I had planned a change to the config to put all the spells in alphabetical order. After doing this and checking for errors. All the spells are now showing in the Book of Spells, however the consol error is still there.
Maybe there is a minor bug in the Book of Spells config read class.
Here is my new config. # WizardlyMagic_-_v1.2 Edited by Goldentoenail v3.1
@triarry
I will add the manual tags to set the PVP state yourself and make it check global.
@jacob_vejvoda
Alright, I think I figured out what is going on here. I disabled PvP in the global WorldGuard region, but your plugin doesn't check for that. In all other zones, if PvP is disabled, the Fling and Force spell are successfully blocked. So, we just need Fling to be allowed everywhere (pvp allowed areas) and Force to be allowed only in pvp areas (including if global has pvp:deny on.
@jacob_vejvoda
The other player was wrong, fling is indeed working in pvp-denied zones. So is force. This is confirmed.
@triarry
Wait, that makes no sense. Fling and force are both categorized as PVP, one can't be blocked while the other is allowed...
@jacob_vejvoda
A muchhh bigger and more urgent problem is that players can use Force in pvp-denied zones. This just makes this a troll item. This needs to be fixed ASAP!
Alright, can you help me on how to set the permissions for a spell in the config file and on pex?
and I'm not talking about building spells, but dig spell for example
thank you for your reply