I have been seing many people wanting to create dvz servers, but dont have the tools and knowledge to do so so i will give you the tools to create a DvZ server and add anything you want (almost):
4. Now you got all the main plugins and you can start making the dvz work:
the plugin that will make all the "Magic" happen is Magic-Spells.
Magic-spells allowes you to create spells all kind of spells, here is a few spell-classes you will be using a lot:
- Multispells: a spell that does a few spells
- ExternalCommandSpell: a spell that runes commands
- PassiveSpells: a spell that runnes another spell on certain triggers (kill, respawn, rightclickblock....)
5. now i will show you how to create a small spell:
kit_bruce:
spell-class: ".ExternalCommandSpell"
name: kit_bruce
cooldown: 0
command-to-execute:
- ci
- i goldsword 1 sharpness:10 unbreaking:10 name:&6ExcaliJu
- i bow 1 name:&6Vluranga power:10 punch:15 firearrow:10 unbreaking:5
- i 373:8261 1 name:&bHealing__Ale
- i cobble 128
- i torch 64 name:&bTorch
- i 351:9 128 name:&bMortar
- i cake 64 name:&bStone__cake
- i cobble 128
- i cobble 128
- i torch 64 name:&bTorch
- i 351:9 128 name:&bMortar
ok, so as you see its an ExternalCommandSpell, and i used it so if i run the spell i will get items (using the essentials plugin)
now let me show you the format i used:
<name>:
spell-class: <the-spell-class>(you can look that up)
name: <spell-name>
cooldown: <the time you need to wait for using the spells again>
commands-to-execute: <the commands the spell will execute>
if you need help just go on the plugin manual page:
and if you saw i also put it so the spell can be used by attacking with an redstonepowder (you can make it so you need to rightclick but for that you need the latest dev-build and you need to write instead of "cast-item: redstone" "right-click-cast-item: redstone"
this will make it so if i right click the block with the id "28" so it will run bow_give and that will give me a bow:
<itemname/id> <min amount-max amount> <percentage from 1-100>
and that is the basics of spells
6. get it all together:
get all the pemissions warps and all those to work.
*NOTE
i did not have much time to work on this post so if you have any question feel free to ask me
1.Please give credits to Robbert Morran: https://twitter.com/urealms for creating the original dvz.
2.You will need a few plugins :
needed: Magic-spells: http://dev.bukkit.or...ns/magicspells/
needed: an permissions plugin (i use PEX)
needed: disguisecraft: http://dev.bukkit.or.../disguisecraft/ (or any other disguising plugin)
needed: essentials: http://dev.bukkit.or...ins/essentials/
very recomended for making a good dvz server:
magicspells cast modifiers: http://nisovin.com/m...lscastmodifiers
recomended: worldedit: http://dev.bukkit.or...gins/worldedit/
recomended: worldgaurd: http://dev.bukkit.or...ins/worldguard/
only take if you are using disguisecraft: protocolib: http://dev.bukkit.or...ns/protocollib/
*you can add more plugins and use them but these are the main ones
3. Install all the plugins in the plugin folder
4. Now you got all the main plugins and you can start making the dvz work:
the plugin that will make all the "Magic" happen is Magic-Spells.
Magic-spells allowes you to create spells all kind of spells, here is a few spell-classes you will be using a lot:
- Multispells: a spell that does a few spells
- ExternalCommandSpell: a spell that runes commands
- PassiveSpells: a spell that runnes another spell on certain triggers (kill, respawn, rightclickblock....)
5. now i will show you how to create a small spell:
kit_bruce:
spell-class: ".ExternalCommandSpell"
name: kit_bruce
cooldown: 0
command-to-execute:
- ci
- i goldsword 1 sharpness:10 unbreaking:10 name:&6ExcaliJu
- i bow 1 name:&6Vluranga power:10 punch:15 firearrow:10 unbreaking:5
- i 373:8261 1 name:&bHealing__Ale
- i cobble 128
- i torch 64 name:&bTorch
- i 351:9 128 name:&bMortar
- i cake 64 name:&bStone__cake
- i cobble 128
- i cobble 128
- i torch 64 name:&bTorch
- i 351:9 128 name:&bMortar
ok, so as you see its an ExternalCommandSpell, and i used it so if i run the spell i will get items (using the essentials plugin)
now let me show you the format i used:
<name>:
spell-class: <the-spell-class>(you can look that up)
name: <spell-name>
cooldown: <the time you need to wait for using the spells again>
commands-to-execute: <the commands the spell will execute>
if you need help just go on the plugin manual page:
http://nisovin.com/magicspells/spellconfiguration
spells can also have an sound:
dragon_roar:
spell-class: ".ExternalCommandSpell"
name: roar
spell-icon: bone
cast-item: redstone
description: Cause your enemy pain.
cooldown: 0
effects:
- caster sound mob.enderdragon.growl 10.5 1.0
i have a dragon and i want it to roar when i use the spell so added "effects" and under that i added the effects so it goes like this:
- <target> <effect-type> <effect-type-var1> <effect type var2>......
here is a page that will help you:
http://nisovin.com/magicspells/spelleffects
and if you saw i also put it so the spell can be used by attacking with an redstonepowder (you can make it so you need to rightclick but for that you need the latest dev-build and you need to write instead of "cast-item: redstone" "right-click-cast-item: redstone"
here is an example for a trigger spell:
getBow:
spell-class: ".PassiveSpell"
name: getBow
triggers:
- rightclickblocktype 28
chance: 100
cooldown: 10
spells:
- bow_give
bow_give:
spell-class: ".instant.ConjureSpell"
name: bow_give
calculate-drops-individually: true
auto-equip: false
items:
- 261 1-1 100%
add-to-inventory: false
this will make it so if i right click the block with the id "28" so it will run bow_give and that will give me a bow:
<itemname/id> <min amount-max amount> <percentage from 1-100>
and that is the basics of spells
6. get it all together:
get all the pemissions warps and all those to work.
*NOTE
i did not have much time to work on this post so if you have any question feel free to ask me
help would be awesome because it is very confusing