HarryPotterSpells
Harry Potter Spells
We now have a discord server, join us here: https://discord.gg/vQxduZC
To understand users/server owners better and see what to focus on next for the plugin please fill out this survey
https://bit.ly/mcharrypotterspells
Overview
HarryPotterSpells is the ultimate Harry Potter plugin. Whether you run a Harry Potter server, want to add magic to an RP server, or just an admin looking for a bit of fun, this plugin is for you!
Many of these options are configurable. If you don't want parts of the plugin, open the config.yml with your favorite text editor and disable anything you don't want.
Features
- Provides a complete Harry Potter experience
- Can be used on a HarryPotter server, an RPG server, or just to play around
- Has over forty spells, with more in progress
- Cast spells quickly with your magical wand (default: stick)
- Teach users spells with simple commands
Spells
Cast spells with your magic wand (by default, a stick). Right-click to scroll through your available spells, and left-click to cast! Server operators can "teach" and "unteach" other players (and themselves) spells.
For spell documentation, see the Spells page on our site.
Commands and Permissions
For information regarding commands and permissions, see the Commands page on the site.
Configuration
If your not sure how to setup your config or if your looking for a more detailed version of your config, see the Config page on the site.
Regarding Locale
Currently there are only two language options. We are looking for more translates and looking to branch HPS into more different languages Please message jacklin213 if you are interested
Supported Languages:
- us-english
- nl-dutch
- de-german
- es-spanish
- it-italian
Locale based Errors
As of 1.1.4 HPS will attempt to do the following steps automatically, in the case that it is not able to please follow the steps bellow Important: For anybody using a linux operating system please do the following steps to install HPS if you get locale based errors:
- Stop your server
- Download hps.rar
- Extract the locale folder directly into your HarryPotterSpells folder
- Start your server
The locale based errors should go away and the plugin should function like normal. If the problem still persists please read the support section bellow
Support
If you find a bug, or have a feature request that is NOT on our Trello board (see below), feel free to open an issue on GitHub (click "Tickets" on the top bar).
For more information regarding support, see the Contact page on the HarryPotterSpells site.
Source
The source is available on GitHub, and we are always looking for help. Pull requests are really appreciated! If you'd like to help, please go here.
Development Builds (Currently not available)
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
To Do
Our entire to-do list has been moved to Trello. Anyone can vote on issues/features they'd like to see implemented. If you'd like to add an item, hop on our IRC channel (see the support section) and someone will access will add it for you.
Future Plans
We plan to add an extension system to HarryPotterSpells, allowing server owners to add various HarryPotter- and magic-themed "addons" to the HarryPotterSpells core plugin. However, to prepare for this, we have removed all code not related to casting spells. This includes some of our old features: Spell signs, SortingHat, and hooking into WorldGuard, Towny, and LogBlock. These will be available as extensions in the near future.
Special Thanks and Credits
This plugin would not be what it is today without some of these people. NP98765 originally asked Kezz101 to help me create this, but soon it grew into a group project. Many have spent time and effort helping to develop this. Thanks to jacklin213 for taking this project on board and keeping it updated since 1.7.x
Some developers who have helped (In order of first pull request, most recent to earliest):
signorhuman, jacklin213, Ampayne2, MrBluebear3, zachooo, evilmidget83, korikisulda, RingOfStorms
Thanks to drtshock for hosting the Jenkins.
Interested in Helping?
See this forum post and the Contribution Guide for more details.
Feel free to send jacklin213 a PM and he will sort you out
@jacklin213
Like when I try to teach myself a spell, it says "I cannot teach AccioJennifer (spell) because I do not know it." and same goes for when I try to teach a player a spell. I tried the teach all command like I saw in a few videos but it just spammed the chat with that same message all over again.
@AccioJennifer
So when u teach yourself a spell, and u try to teach that spell to another person does it say something like "I cannot teach (player) (spell) as you do not know it."
@jacklin213
Hm. I don't have the permission node. I've tried teaching myself the spells but it says the same thing.
@AccioJennifer
3 ways to avoid this (independent of each other)
Hello! I really enjoy the plugin from what I've been able to do so far, but I am unable to "teach" any spells. I keep getting an error saying "I cannot teach (player) (spell) as you do not know it." Am I doing something incorrectly?
Thanks!
@SnakerCZ
Sorry the current 2 languages that we support are English and Dutch. If you would like to help us translate to czech that would be awesome.
Btw your config.yml isn't formatted correctly, here's the fixed version http://pastebin.com/GnDegKeJ
Please help. I changed my config.yml to czech version (my language), and it ´does not work. Why? Log: http://pastebin.com/1J42UW8P Config.yml: http://pastebin.com/KfMHef4U Build #105
What i doing wrong?
Thanks.
@Goldentoenail
Thanks for that, there happened to be another bug as well so ill try get those fixed asap
OK I turned on debug.
My first test log was too large to post, so I made a shorter test. and here is the log.
http://pastebin.com/7gFEivAB
@Goldentoenail Sorry im have not been able to replicate those errors could you please turn on debug mode, and it should show different errors than just that one line and could you paste those errors here please
Thanks
@jacklin213
Thanks for the Jenkins suggestion. I used build #101 But have a major problem with Particles.
When there is a particle error, the log is spammed with the error as if it is looping and not getting cancelled.
[10:12:22] [Server thread/WARN]: [HPS] An error occurred whilst generating a Particle Effect!
I am using Spigot 1.8.6
(I was not able to check @player spells at this time. As I had no other players available)
(The Refilling_Charm appears to be working fine)
@Wolfy2468
Our plugin doesn't have a message like that
@Goldentoenail
I am not able to replicate the bug in the latest build for refilling charm. Could you see if it still happens for you? thanks
@jacklin213
see comment #315 and #310 for my issues
@jacklin213
yes it is should i Delete it and install again?
@Wolfy2468
What plugins do you have, this isn't a HarryPotterSpells issue
@jacklin213
I have the Plugin HarryPotterSpells and everytime u switch betvine a spell it sais You are not permitted to use STICK kan you say the permissions i should use
@Goldentoenail
Sorry which bug are u referring to, most of the bugs should have been fixed and u can download the latest version from jenkins
@Wolfy2468
What plugins do u have, and have you given the proper permissions to the player
Help
I am trying to make a Fully Working Harry Potter Server with everything from the movie but one thing is not working and thats the spells Permissions it says You are not permitted to use STICK plz help and thanks you for this amazing Plugin
Please....
How is it going, is there any movement on the fixes?
I really would like to use this plugin as it is meant to be working.
@jacklin213
Yes the errors are the same with 1.8.3 in offline mode, also without internet connection.
I made the cooldown.yml read only and that stopped the overwrite. But not the '/teach all me' from teaching removed spells.(bauleo and bubble head charm)
However when I tried to change the config.yml wand type to a stick once more. HPS threw a console error upon server reload. HPS was trying to save YML files.
Here are the 2 server logs that were made during testing.
http://pastebin.com/XFS8U9Ff
http://pastebin.com/3fbYtWFU
Edit
Ah I see, /teach all me. The Teach class accesses the Spell package to retrieve the spells to be taught. As these spells are hard coded, the YML's have no control over the /teach all command. This means that unwanted spells will be taught.
How about a /teach allknown <Player> option? So that only the spells, which servers wish to be used are taught.
We intend to use Vouchers (Written Books) for players to redeem with staff members, who will teach the required spell.