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
Is it on java ?
In reply to cranky_morse8:
Yes this plugin is for minecraft servers such a Paper and spigot running Minecraft Java
Hello, I am wondering if I could make it so if someone clicked a sign they would learn the spell on the sign, i saw something about MagicSigns or something, if thats what it is could some send me the link to it or just help me in general?
Hello I was flying with wingardium leviosa spell in game mode 0 but now I can't fly and I can't use the expelliarmus spell
In reply to mstrfear:
Hey mstrfear,
Are there any errors in your console or server.log when this happens. If you try run /hps reload does it reload the plugin?
Do any other spells apart from those 2 work when the issue happens
What version of Minecraft?
What sort of server are you running and version? Eg) Spigot v1.15.2, Paper 1.16.2
What version of HPS are you running?
Regards
Jack
In reply to Jacklin213:
expelliarmus spell vs. other spells are completed but I can't fly with wingardium leviosa, so as I said, I was flying slowly falling and there was no problem, I do a slight fall with spongify and I do a slight fall with wingardium 1.8.9 spigot
In reply to Jacklin213:
In reply to Jacklin213:
I only fall and fly with wingardium in game mode 1
In reply to mstrfear:
Do you have any permissions plugins that would prevent you from flying when in game mode 0?. Wingardium ultizes Minecrafts default mechanism for flying, it grants you the ability to fly for the duration in spells.yml (default: 200 ticks / 10 seconds).
If the permissions plugin prevents you from being able to fly in survival mode then you might not be able to fly with wingardium.
Feel free to hop onto our discord channel: https://discord.gg/vQxduZC
and we'll see if we can organize a time so you can show the bug in live action so I can better understand what is going on
Hey!
First of all, I'm thoroughly enjoying this plugin and its configurability and looking forward to what you've got planned in the future!
Now my question:
I'd like to make the colloportus spell so that it permanently locks doors. What value do I put in the config for the spell? I really don't want them to unlock at any time so putting 99999 as a value is not sufficient for my needs.
It would be great if the only way to unlock doors would be with the alohomora spell. I would ask at your discord but the invite seems bugged. Looking forward to your reply!
In reply to bartooliinii:
Hey
Thank you very much for the kind support. Currently Colloportus does not support permanently locking doors. That would require us to store all does locked in a file if the server were to stop.
I will add this to the list of feature requests to potentially look at once I have time to update the plugin
Kind regards
Jack
Hi,
I wanted to make command block teach people spells, but when I do, for example, /teach Arrow @p, it doesn't work. Does the plugin not support this, or am I doing something wrong?
In reply to tumbie6000:
Hello,
Good question, in theory command blocks should work but I have never tested this myself.
The command format is correct, I wonder if it has to do with he fact that /teach requires op by default.
Reading the command block Minecraft wiki, by default command blocks execute commands with OP level 2 and I wonder if plugin op commands are at level 3.
Let me do some testing and get back to you on this
In reply to Jacklin213:
Okay, thank you!
Hello ! I wanted to ask how can I teach someone else to learn a spell but not by doing command for example can I make a sign that says 1- [Teach] 2- <Spell'sname> 3- $1000
In reply to Forge_User_83476528:
In terms of just Sign Support in HarryPotterSpells we do have a SpellSigns extension but it does not hook into economy.
You may want to look into using Essentials Signs instead https://wiki.mc-ess.net/wiki/Sign_Tutorial which you can use for HPS commands as well as economy support
Can anybody tell me the different permissions. The link doesn't work for me.
In reply to Forge_User_22679970:
Hello,
Apologies for that, I have fixed the broken link.
Commands and permissions are available at: https://harrypotterspells.github.io/commands.html
Thank you for reporting the issue
Jacklin213
Hi there, I need some help with this error:
[ERROR] Could not pass event PlayerInteractEvent to HarryPotterSpells v1.1.6 BETA
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:228) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:195) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:191) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1200) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:18) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:1) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_212]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_212]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at java.lang.Thread.run(Thread.java:813) [?:1.8.0_212]
Caused by: java.lang.NoSuchMethodError: org/bukkit/event/player/PlayerInteractEvent.getHand()Lorg/bukkit/inventory/EquipmentSlot; (loaded from file:/pro/bin/mc/spigot/1.8.8/spigot-1.8.8.jar by sun.misc.Launcher$AppClassLoader@32e3448d) called from class com.hpspells.core.Listeners (loaded from file:/home/gs-41353/plugins/HarryPotterSpells-v1.1.6.jar by org.bukkit.plugin.java.PluginClassLoader@4127d4b7).
at com.hpspells.core.Listeners.PIE(Listeners.java:41) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_212]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_212]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_212]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_212]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
... 18 more
In reply to Forge_User_81450774:
Try using HPS v1.1.4 and see if you get the same error
https://dev.bukkit.org/projects/harrypotterspells/files/881261
For anyone wanting to join our Discord here is the link. https://discord.gg/Uu5A63P