HarryPotterSpells

HarryPotterSpells Logo

Harry Potter Spells

  • [v1.1.5] Will only work with Java 8, please upgrade if you do not have Java 8
  • [v1.1.4] Has full 1.9 support, if any issues arrise please send in a ticket
  • [v1.1.4] Server owners are recommended to rename their current config.yml and let HPS generate a new one before migrating the contents of their current config.yml to their new one

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

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:

  1. Stop your server
  2. Download hps.rar
  3. Extract the locale folder directly into your HarryPotterSpells folder
  4. 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). You can also join our IRC channel, #harrypotterspells on irc.esper.net.
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.
github

Development Builds

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.
devbuilds

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.
trello

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. I (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):
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

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of LazerJohnny LazerJohnny Aug 19, 2016 at 16:50 UTC - 0 likes

    Suggestion: make Wingardium Leviosa levitate items on the floor up instead of letting thee person fly

  • Avatar of djkaye djkaye Aug 17, 2016 at 10:18 UTC - 0 likes

    @jacklin213: Go

    btw I fixed it with another plugin... oh yeah plz do what Daffopepe suggested.. use particle LargeSmoke :P

  • Avatar of djkaye djkaye Aug 16, 2016 at 17:26 UTC - 0 likes

    @jacklin213: Go

    spigot 1.10 and latest HarryPotterSpells... If you can update/fix the particles that would work... but all I need is for It to not spam my console...

  • Avatar of jacklin213 jacklin213 Aug 15, 2016 at 22:23 UTC - 0 likes

    @djkaye: Go

    What version of Spigot and HarryPotterSpells are you running

    BFAK:jacklin213,103857,4990207a7df4dc7a26509bc84e45ed2604ae45f707aefb3d09d2a0dcd825cba8

  • Avatar of djkaye djkaye Aug 15, 2016 at 16:17 UTC - 0 likes

    hi, can you remove the particle effect error for me plz... its very annoying and spams my console.. thank you!

  • Avatar of jacklin213 jacklin213 Aug 13, 2016 at 02:30 UTC - 1 like

    @ElvenFire888: Go

    Try running the latest version, I know it says it only supports java 8 but I think it may support java 7 as well, if it still doesnt work send me a PM

  • Avatar of ElvenFire888 ElvenFire888 Aug 12, 2016 at 20:57 UTC - 0 likes

    Okay... So I'm using 1.1.4, on a 1.9.4 Harry Potter themed server, because my computer rejects Java 8 like the plague. The only way I can teach any player any spell at all, is by teaching them every single spell at once through console. If I have any player try to teach it, the server tells me "You cannot teach a spell you do not know." But if I look in the PlayerSpellConfig.yml, the player who was trying to teach that spell DOES know it.

    Because of this, none of my professors can teach any spells in class. And if I try to teach individual spells through the console, this happens:

    [15:38:49 INFO]: [HPS] You have taught Gerbils the spell Accio. [15:38:51 ERROR]: Could not pass event PlayerInteractEvent to HarryPotterSpells v1.1.4 BETA org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [minecraft_server.jar:git-Bukkit-106ced0] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [minecraft_server.jar:git-Bukkit-106ced0] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [minecraft_server.jar:git-Bukkit-106ced0] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [minecraft_server.jar:git-Bukkit-106ced0] at org.bukkit.craftbukkit.v1_9_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [minecraft_server.jar:git-Bukkit-106ced0] at org.bukkit.craftbukkit.v1_9_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:198) [minecraft_server.jar:git-Bukkit-106ced0] at org.bukkit.craftbukkit.v1_9_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:194) [minecraft_server.jar:git-Bukkit-106ced0] at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1332) [minecraft_server.jar:git-Bukkit-106ced0] at net.minecraft.server.v1_9_R2.PacketPlayInArmAnimation.a(SourceFile:32) [minecraft_server.jar:git-Bukkit-106ced0] at net.minecraft.server.v1_9_R2.PacketPlayInArmAnimation.a(SourceFile:9) [minecraft_server.jar:git-Bukkit-106ced0] at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13) [minecraft_server.jar:git-Bukkit-106ced0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_45] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_45] at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45) [minecraft_server.jar:git-Bukkit-106ced0] at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:683) [minecraft_server.jar:git-Bukkit-106ced0] at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:360) [minecraft_server.jar:git-Bukkit-106ced0] at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:639) [minecraft_server.jar:git-Bukkit-106ced0] at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:543) [minecraft_server.jar:git-Bukkit-106ced0] at java.lang.Thread.run(Thread.java:744) [?:1.7.0_45] Caused by: java.lang.IndexOutOfBoundsException: position (5) must be less than the number of elements that remained (1) at com.google.common.collect.Iterators.get(Iterators.java:813) [minecraft_server.jar:git-Bukkit-106ced0] at com.google.common.collect.Iterables.get(Iterables.java:728) [minecraft_server.jar:git-Bukkit-106ced0] at com.hpspells.core.spell.SpellManager.getCurrentSpell(SpellManager.java:113) [?:?] at com.hpspells.core.Listeners.PIE(Listeners.java:104) [?:?] at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_45] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_45] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) [minecraft_server.jar:git-Bukkit-106ced0] ... 18 more

    If spells are taught all at once from the console, the players can use them. Just, according to the plugin, they know no spells, and therefore cannot teach them. If a player tries to teach a spell to another player, no error shows up on console at all, just the message on the server that says "You cannot teach a spell you do not know."

    Maybe I'm dumb and I'm missing something here, but I am extremely confused.

  • Avatar of jacklin213 jacklin213 Jul 11, 2016 at 01:54 UTC - 0 likes

    @Daffopepe: Go

    1) Which version of HPS are you running

    2) Will add that too the to-do list, sounds like a great idea

  • Avatar of Daffopepe Daffopepe Jul 10, 2016 at 23:52 UTC - 0 likes

    Hi I'm loving this plugin with my friends but I have 2 questions.

    1 is it possible to set cooldowns because I've been trying to in the cool down config but however many 0s I add it never works.

    2 could you maybe add apparating either in a way where you click and teleport to the selected location and dissaparate in a puff of particles and appear in a puff of particles, or in a way where you can fly instead with a cloud of black particles covering your whole body and so leaving a trail of smoke like in the movies. I would really love this feature and so would others and I think it would be awesome!

  • Avatar of jacklin213 jacklin213 Jul 05, 2016 at 06:02 UTC - 1 like

    @gepardo43: Go

    Yeh it's normal but I will have a look into it and see if i can optimize it further. By default Spells travel on forever, you can change this in your config under "spell-effective-time:" and set it to anything other than -1

    Regards Jack

Facts

Date created
Aug 04, 2012
Categories
Last update
Apr 18, 2016
Development stage
Beta
Language
  • enUS
License
HarryPotterSpells Custom License
Curse link
HarryPotterSpells
Downloads
36,285
Recent files

Authors