-
Notifications
You must be signed in to change notification settings - Fork 148
Potter
Simply add the following to your plugins/Magic/config.yml on a new line to enable these configs:
example: potter
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.
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.
/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
/npc Professor
/trait magic
/mtrait spellshop
You can now right-click this Professor to learn new spells by spending Spell Points.
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
Potter spells and wands can be seen here:
- Home
- FAQ
- Support
- Progression
- Spell Points
- Crafting
- Basic Setup
- Customization
- Resource Pack
- Examples
- Messages and Languages
- Vanity Items
- NPCs
- Magic Blocks
- Magic Mobs
- Putting Images on Maps
- Using MySQL or SQLite
- Placeholders
- Skript
- Regions