Skip to content
Nathan Wolf edited this page Apr 20, 2017 · 10 revisions

Harry Potter Configs

Potter

Using

Simply add the following to your plugins/Magic/config.yml on a new line to enable these configs:

example: potter

Combining

To combine the war configs with the default (or other configs), use this instead:

add_examples:
- potter
- .. more configs if desired

Customizing

Changes to the customized configs in plugins/Magic will affect example configurations as normal. Example configs are fully customizable.

Progression

The potter configuration relies heavily on Citizens NPCs.

  • Players start with a "Ticket from Ollivander"
  • The ticket can be redeemed for a Wand Box, which opens into a random wand
  • Students earn Spell Points as in the default configs
  • Students interact with a Spell Teach to learn new spells by spending Spell Points
  • Students must obtain a special spell, 7 in total, to graduate to the next year

This last part is left up to you to define. You can set up special NPC's the players need to find, give them out in classes, or find other creative ways for players to earn these special graduation spells.

Alternately, you can edit your configs so that players can graduate simply by learning all of the spells in each year, like how the survival configs work. This is just here as an example, it is expected that you will customize to fit your server.

Configuration

If you'd like to see the potter configs, look here:

https://github.com/elBukkit/MagicPlugin/tree/master/Magic/src/main/resources/examples/potter

You won't be able to find them on your server, they are built into the plugin and not saved anywhere to disk.

Set Up

Ollivander NPC

/npc Ollivander
/trait magic
/mtrait ollivander

You should be able to right-click Ollivander to get a wand, if you have a ticket from Ollivander. Use this command to give yourself a ticket for testing:

/mgive ticket

Spell Teacher NPC

/npc Professor
/trait magic
/mtrait spellshop

You can now right-click this Professor to learn new spells by spending Spell Points.

Graduation NPC

Should you want to set up an NPC to allow players to graduate to the 2nd year:

/npc First Year Finals
/trait magic
/mtrait addspell
/mtrait parameters spell alohomora path_end year1

Once you reach the end of year 1 and there are no more spells available, you can right-click this NPC to learn Alohomora and advance to Year 2.

You would need to set up 6 more of these NPCs for each of the following graduation spells if you want to go this route:

  • Alohomora
  • Glacius
  • Deprimo
  • Ascendio
  • Reducto
  • Apparate
  • Piertotem

Spells

Potter spells and wands can be seen here:

http://mine.elmakers.com/?example=potter#spells

Clone this wiki locally