I have some not-great news, tl;dr I am not sure when or if Magic is going to support 1.20.5
Development of this plugin has been slowed for a while now, basically reduced to maintenance and updates for new MC versions. I haven't had the time nor energy to do much else with it.
Unfortunately, 1.20.5 has several major internal changes, most particularly the treatment of NBT data, which has caused major issues for updating Magic. I've spent quite a few hours on it already but there's no real clean end or fix in sight.
So for now I am afraid I will have to say the plugin will not be updated.
This may change in the future, but I can't make any guarantees. If Magic does get updated, it will be via one of two methods:
I patch up all the uses of NBT and let the plugin hobble forward full of band-aids.
I re-work Magic internally to make a version that doesn't rely on MC internals, and only uses the Spigot API
Approach #2 is one I've considered doing and even started work on several times in the past. It would be an ideal solution for me since it would make the plugin future-proof, no longer requiring updates for each new version of Spigot/Minecraft.
However, it is a lot of work and would come with several trade-offs. Probably many systems would not make the cut, such as custom mob AI and schematic loading.
Additionally, it's very unlikely that such a plugin would be backwards-compatible with existing Magic items. I would make sure that configs work and are forward-compatible (minus missing systems like mob AI), but the plugin would be unable to read NBT data saved by previous versions of the plugin. Meaning any server that wanted to move to this new version would basically have to reset all Magic items.
I know none of this is good news, but I'm hoping you understand where I am at and that I just don't have time to dedicate to the now-monumental task of keeping this plugin updated.
It's been a joy working for and with many of you over the years, and I hope you all continue to thrive, with or without Magic.
- NathanWolf
Server Compatibility
Please make sure you download the correct version for your server:
Magic is a plugin that adds powerful magic wands, items, mobs and more to your server. With over 200 spells, a variety of wand templates, and complete customization, you can use Magic to craft a unique experience for your server.
The default experience is an "RPG lite" extension to survival. Other examples are included, such as a Harry Potter setup, Star Wars, GTA-Style guns and cars, elemental bending and more.
Magic is infinitely customizable, allowing you to script your own spells, actions, items, mobs and anything else you see done in the included example configurations.
Live Demo
If you'd like to try out Magic, please go to our development server:
This plugin uses bstats for metrics collection. The information sent to bstats.org is completely anonymous, publicly viewable, and includes the following metrics:
A unique identifier
The server's version of Java
Whether the server is in offline or online mode
The plugin's version
The server's version
The OS version/name and architecture
The core count for the CPU
The number of players online
The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true, or by editing this plugin's config.yml and changing "metrics_level" to 0.
I can't seem to edit any of my plugin configs anymore. If i change any the entire magic plugin stops working when i join my server. The wands revert to hoes and i can't use anything. The only solution is to delete and redownload the magic plugin, removing everyone's progress.
Hm- ok so first off if something breaks in your configs, you don't have to reset everyone! Just delete (or, better, restore from a backup) the config you edited. If you really need to delete all the configs, make sure to save the "data" folder.
Now, that said- the server logs should tell you which config file has an error in it, and hopefully what line#. Are you seeing errors in your logs?
Hi! I'm really sorry if this is a stupid question or if there's already info here about it, but I'd like to know how I can change the damage one specific spell does? I want to increase Chain Lightning's damage enough that it would one-shot 20 or so hearts but I don't know how. I'm very new to plugins and don't know how to do much but I've been looking around on this website and tried looking inside the config, spells folder, spells.yml and the default spells.yml but I can't see how to change it. Thanks in advance and sorry again if it's already answered.
I've tried what you suggested but I have never really done anything like this before so I'm sure i did something wrong. I tried adding it to the spells.yml but reloading the server and nothing has changed . Here's what the file looks like (copy & pasted):
# # This is the Spell configuration file for the Magic plugin. # # Here you may alter default spell behavior, or add and remove spells. # # The name, description, and usage of a spell should be defined in messages.yml as # messages.spells.<spellkey>.name # messages.spells.<spellkey>.description # messages.spells.<spellkey>.usage # messages.spells.<spellkey>.cast # ... etc. # # General format: # # <spellkey>: # icon: <material name> # category: <anything> # class: <Must be a class from the spells package.> # costs: # xp: <xp/mana amount> # <material_name>: <reagent amount># # parameters: # <specific spell parameters- TODO: list common ones> #
# # Examples: # Note that a "#" character means the line is commented out and has no effect. # Make sure to not comment out the lines you add, there should not be a space in front of the name, indentation is important. # Use http://www.yamllint.com if you have issues with your config, make sure not to use tabs! #
Oh.. shoot. So, chain lightning is a special case, kinda. The damage in "parameters" only affects the first target you hit (it should have made that instant-kill). It'll be more complex to also change the damage for the targets it chains to. You picked kind of a complex one to start with :)
However, if it's not affecting the damage done to the target you actually hit with the spell, then something is wrong. It's hard to tell from that cast (use code blocks next time, or pastebin, please) - are you missing spaces in front of "parameters" and the others?
Hey, really loving the plugin but it keeps throwing this error into console every so often. Thankfully doesn't seem to be affecting the server or people online, but still annoying to have it popping up in console at random. Using the latest spigot build for 1.12.2
[09:31:39 ERROR]: Could not pass event ChunkUnloadEvent to Magic v7.3.7-dbf3886 org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-2086bb0-8cc5a7e] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-2086bb0-8cc5a7e] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot.jar:git-Spigot-2086bb0-8cc5a7e] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot.jar:git-Spigot-2086bb0-8cc5a7e] at net.minecraft.server.v1_12_R1.ChunkProviderServer.unloadChunk(ChunkProviderServer.java:293) [spigot.jar:git-Spigot-2086bb0-8cc5a7e] at net.minecraft.server.v1_12_R1.ChunkProviderServer.unloadChunks(ChunkProviderServer.java:268) [spigot.jar:git-Spigot-2086bb0-8cc5a7e] at net.minecraft.server.v1_12_R1.WorldServer.doTick(WorldServer.java:297) [spigot.jar:git-Spigot-2086bb0-8cc5a7e] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:801) [spigot.jar:git-Spigot-2086bb0-8cc5a7e] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-2086bb0-8cc5a7e] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-2086bb0-8cc5a7e] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-2086bb0-8cc5a7e] at java.lang.Thread.run(Unknown Source) [?:1.8.0_171] Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(Unknown Source) ~[?:1.8.0_171] at java.util.HashMap$ValueIterator.next(Unknown Source) ~[?:1.8.0_171] at java.util.Collections$UnmodifiableCollection$1.next(Unknown Source) ~[?:1.8.0_171] at com.elmakers.mine.bukkit.magic.listener.MobController.onChunkUnload(MobController.java:151) ~[?:?] at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-2086bb0-8cc5a7e]
I stared at the code for a good long while and honestly I'm having a really hard time telling how this could happen.
Do you happen to have any weird mods, like something that would load/unload chunks asynchronously?
I put a fix in, but it'd be nice to know for sure what the cause was so I know for sure it's fixed... if you want to try the latest dev build I'm hoping that's a good workaround.
No conflicting plugins, I tried running the server with only Magic and MagicWorlds and then only Magic by itself for a bit before I put on the dev build and I still got the error, this said, once I put the dev build on there the error stopped showing up. Its been about half an hour since then, so I'm guessing your fix worked, though I'll report back if it turns up again.
Hello id like to say that this is actually causing problems it was working fine one minute couple hours later people randomly crash and its the plugin itself and not the server the version is
It's not abandoned, but it's also highly unlikely to cause client crashes. If you really suspect it's this plugin, I suggest you either remove it or at least provide some logs or something helpful.
Ive fixed it some of the config was conflicting so i did some tweaking also id like to know how to get from beginner want to student wand ...and yes im dumb.
Do you mean with the magic configs? If so, I'd really like to see what you had before you tweaked it. If there's a way to misconfigure the plugin that causes client crashes, it's something I should fix.
Collect all of the Beginner spells to rank up the Student. The wiki has lots of info:
The video is way outdated. You should get a menu when you right-click an enchant table with your wand. If you don't, something has gone wrong, assuming you're not on some ancient version of the plugin.
In reply to Forge_User_19773884:
I can't seem to edit any of my plugin configs anymore. If i change any the entire magic plugin stops working when i join my server. The wands revert to hoes and i can't use anything. The only solution is to delete and redownload the magic plugin, removing everyone's progress.
In reply to 98271a703b494f9f8a8482f123783098:
Hi! I'm really sorry if this is a stupid question or if there's already info here about it, but I'd like to know how I can change the damage one specific spell does? I want to increase Chain Lightning's damage enough that it would one-shot 20 or so hearts but I don't know how. I'm very new to plugins and don't know how to do much but I've been looking around on this website and tried looking inside the config, spells folder, spells.yml and the default spells.yml but I can't see how to change it. Thanks in advance and sorry again if it's already answered.
In reply to 98271a703b494f9f8a8482f123783098:
In reply to NathanWolf:
In reply to NathanWolf:
#
# Modify this file to change the available spells.
# New spells can be added, existing spells modified or removed (disabled)
#
# You can also add individual files to the spells/ folder
#
# To see the current default builtin configs, look in this folder:
# https://github.com/elBukkit/MagicPlugin/tree/master/Magic/src/main/resources/defaults/spells
#
# For customization help see:
# https://github.com/elBukkit/MagicPlugin/wiki/Customization
#
#
# This is the Spell configuration file for the Magic plugin.
#
# Here you may alter default spell behavior, or add and remove spells.
#
# The name, description, and usage of a spell should be defined in messages.yml as
# messages.spells.<spellkey>.name
# messages.spells.<spellkey>.description
# messages.spells.<spellkey>.usage
# messages.spells.<spellkey>.cast
# ... etc.
#
# General format:
#
# <spellkey>:
# icon: <material name>
# category: <anything>
# class: <Must be a class from the spells package.>
# costs:
# xp: <xp/mana amount>
# <material_name>: <reagent amount>#
# parameters:
# <specific spell parameters- TODO: list common ones>
#
#
# Examples:
# Note that a "#" character means the line is commented out and has no effect.
# Make sure to not comment out the lines you add, there should not be a space in front of the name, indentation is important.
# Use http://www.yamllint.com if you have issues with your config, make sure not to use tabs!
#
# Disable the kill spell completely
# kill:
# enabled: false
# Change the cooldown on the petrify spell to one minute (60 seconds, 60000 ms)
# petrify:
# parameters:
# cooldown: 60000
# Change casting cost of blind spell to 100 mana
# blind:
# costs:
# mana: 100
# Require kill spell to consume health
# kill:
# costs:
#
chainlightning:
parameters:
player_damage: 20
entity_damage: 20
In reply to 98271a703b494f9f8a8482f123783098:
In reply to NathanWolf:
In reply to 98271a703b494f9f8a8482f123783098:
So basically just remove the "# " there, the "chainlightning" part should have nothing in front of it at all.
Hey, really loving the plugin but it keeps throwing this error into console every so often. Thankfully doesn't seem to be affecting the server or people online, but still annoying to have it popping up in console at random. Using the latest spigot build for 1.12.2
[09:31:39 ERROR]: Could not pass event ChunkUnloadEvent to Magic v7.3.7-dbf3886
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-2086bb0-8cc5a7e]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-2086bb0-8cc5a7e]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot.jar:git-Spigot-2086bb0-8cc5a7e]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot.jar:git-Spigot-2086bb0-8cc5a7e]
at net.minecraft.server.v1_12_R1.ChunkProviderServer.unloadChunk(ChunkProviderServer.java:293) [spigot.jar:git-Spigot-2086bb0-8cc5a7e]
at net.minecraft.server.v1_12_R1.ChunkProviderServer.unloadChunks(ChunkProviderServer.java:268) [spigot.jar:git-Spigot-2086bb0-8cc5a7e]
at net.minecraft.server.v1_12_R1.WorldServer.doTick(WorldServer.java:297) [spigot.jar:git-Spigot-2086bb0-8cc5a7e]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:801) [spigot.jar:git-Spigot-2086bb0-8cc5a7e]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-2086bb0-8cc5a7e]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-2086bb0-8cc5a7e]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-2086bb0-8cc5a7e]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextNode(Unknown Source) ~[?:1.8.0_171]
at java.util.HashMap$ValueIterator.next(Unknown Source) ~[?:1.8.0_171]
at java.util.Collections$UnmodifiableCollection$1.next(Unknown Source) ~[?:1.8.0_171]
at com.elmakers.mine.bukkit.magic.listener.MobController.onChunkUnload(MobController.java:151) ~[?:?]
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-2086bb0-8cc5a7e]
In reply to Rogueleader89:
In reply to NathanWolf:
Hello id like to say that this is actually causing problems it was working fine one minute couple hours later people randomly crash and its the plugin itself and not the server the version is
1.12.2
Please Fix this if its not abandoned.
In reply to nekomaid_chan:
In reply to NathanWolf:
In reply to nekomaid_chan:
hello nathan,
Im trying to get the wand the legit way.
I have everything: the wand, enchantment table, lapis.
But when i place the wand into the enchantment table, the place where you can see with enchantment you will get is gray and i cant push on it so.
What am i doing wrong?
Greetings... gersda
In reply to Forge_User_93336111:
Thx Nathan