[DEAD] Spells v0.996

Discussion in 'Inactive/Unsupported Plugins' started by NathanWolf, Jan 16, 2011.

  1. Offline

    xdoggy17

    When ever i try to cast a spell this is what the terminal says:
    Code:
    20:25:55 [INFO] Peristence: Can't find callback 'onCast' for plugin Spells
    
    20:25:55 [INFO] cast <spellname>
    Please Help!!
     
  2. Offline

    NathanWolf

    Hm- nasty. Can you try deleting "plugins/Persistence/*.db"?

    That is an old bug I thought I'd fixed, but I suppose it may be in your data still. Or something.
     
  3. Offline

    Thorns_Ofire

    NathanWolf likes this.
  4. Offline

    mechaaries

    just a pity that .60x broke this one to <.< i had hoped for magic...
     
  5. Offline

    NathanWolf

    Really shouldn't have, but maybe I missed a change? The point of releasing Spells 0.993 was to support the next RB. Let me load up the old code and take a look!

    ok, WTF is all this S?

    Code:
    6:41:51 [SEVERE] Plugin attempted to register CREATURE_SPAWN while not enabled loading CrowdControl v0.21 (Is it up to date?)
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register CREATURE_SPAWN while not enabled
    
    This is new- since 577, I guess. Looks like I need to go read the "oops I broke your plugins" thread and learn the new way to register events, since that clearly needed to change in a completely breaking way.

    This is really becoming less and less fun, guys. Sorry. :(

    Ok, sorry, I'm done with this crap.

    All my plugins are now officially dead and broken until Persistence 0.75 and Magic get released. I'm not dealing with this in two separate code paths, it's hard enough to keep up with the constant API changes with one set of 5 plugins, let alone an entirely separate copy of all that code as well.

    Hopefully I'll get this stuff released soon. Meantime, I guess keep my old stuff and RB 566 if you want it to work. Sorry.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 8, 2016
  6. Offline

    mechaaries

    no worries i can wait, release the next version when you feel its ready. and where can i get older bukkit server client?
     
    NathanWolf likes this.
  7. go to:
    ci.bukkit.org
    select one there and you will be good
     
  8. Offline

    NathanWolf

    Thanks for your patience :)

    Definitely not frustrated with you guys... if I had as much time for this as I used to, this wouldn't be as big of a deal- but I feel like I'm spending 50% of my time here keeping up with API changes, rather than actually making progress.
     
  9. Offline

    Greylocke

    That's gotta really suck to have all of your plugins break at the same time! I don't know the nature of the bukkit changes, but it seems like a syntax thing. Hopefully a find&replace will fix what ails them.

    In the meantime, I'm a sad admin cuz I've really gotten attached to them!
     
    NathanWolf likes this.
  10. Offline

    NathanWolf

    Ok, complaints aside, I was just working on Magic and noticed Persistence was broken with latest CB. This means that "legacy" Persistence is probably broken in the same way, and that's causing all my plugins to break.

    If that's all it is, I'll get it fixed and get some new versions up. I really don't want you to have to wait for Magic to un-break Spells, but I also don't want to have to keep up with API changes right now :\

    Yeah, it does suck :) Having lots of plugins sucks in general, such as when my DNS is down and I've got 10 different links I would need to update (each plugin has a forum thread as well as a wiki!)

    Hopefully I can get them un-broken. The biggest changes here were to event names (they changed the tense from past to present) - I covered that in my last round of updates (e.g. Spells 0.993).

    It looks like there was also a change to the player join/quit events, which all used to use one event and now use separate events. This is what is breaking Persistence, since it listens for player join/quit.

    Going to get this tested as soon as I can - but I've got to get back to real work for now. Consider this "un-abandoned" for the time being, though - I'll see what I can do :D

    Ok, status update: I have everything running now under 602.

    They changed the way the player interaction works- absorbed "player animation" into the player item event, from what I can tell- so both get fired now on left-click, I guess.

    I'll have to re-work Wand a bit for this, but it shouldn't be a big deal. Spells, Wand and Persistence are going to need updates for 602- I should have that up today. (NG and CC are ok, I think).

    I'll probably also go ahead and edit all my damn download links to point to my IP :p

    Ok- updated! :D

    Download links are fixed, too- thanks dyndns!

    Sorry for the rant- please update and let me know if you have issues. As soon as I update all my threads I'll be putting 602 on my public server and testing it out when I get a chance.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 8, 2016
  11. Offline

    Greylocke

    yay! I've got my spells! I feel like an Admin again! I can only imagine that this is what taking viagra must feel like.

    erm. uh. nevermind. Scratch that. Thanks.
     
    NathanWolf and mechaaries like this.
  12. Offline

    NathanWolf

    Hopefully it lasts longer than four hours! ;)

    Quick progress update- all spells are refactored and compile-error free! I doubt that anything is actually working yet, it's time to go through the code and look for TODO's and commented out stuff, get everything hooked back up...

    This represents a pretty big step for me, though! Wand needs some love, and then I need to give some thought to how I want to release this.

    Since it's taken so long, my thinking is that I want to release this as soon as it's working as well as Spells does, and as soon as I can decide how to handle spell variants drop-in. I don't want people to have to run sql scripts or anything like that to get set up, though I may be running Magic for a bit myself this way until I get that part working :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 8, 2016
  13. Offline

    Thorns_Ofire

    YES!!!! Wands needs lots of love <3 Just tried running your newly linked jars on CB 602. They load with no errors but when I type /spells I get this error.

    Code:
    C:\Users\Scot\Desktop\Robbie's Stuff\Minecraft\After 600>"C:\Program Files\Java\
    jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    
    20:47:02 [INFO] Starting minecraft server version Beta 1.3
    20:47:02 [INFO] Loading properties
    20:47:02 [INFO] Starting Minecraft server on *:25565
    20:47:02 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-605-
    g376d7e8-b602jnks (MC: 1.3)
    20:47:02 [INFO] Preparing level "world"
    20:47:02 [INFO] Preparing start region
    20:47:03 [INFO] Persistence version 0.63 is enabled
    20:47:03 [INFO] Spells version 0.994 is enabled
    20:47:03 [INFO] Wand version 0.67 is enabled
    20:47:03 [INFO] Done (0.116s)! For help, type "help" or "?"
    20:47:07 [INFO] 143 recipes
    20:47:07 [INFO] Thorns_Ofire [/127.0.0.1:64152] logged in with entity id 44
    20:47:07 [INFO] Persistence: Create a plugins/Persistence/permissions.yml to use
     internal permissions
    20:47:24 [SEVERE] Error invoking callback 'onSpells
    20:47:24 [SEVERE] java.lang.IllegalAccessError: tried to access class com.elmake
    rs.mine.bukkit.plugins.spells.SpellGroup from class com.elmakers.mine.bukkit.plu
    gins.spells.SpellsPlugin
    20:47:24 [SEVERE]       at com.elmakers.mine.bukkit.plugins.spells.SpellsPlugin.
    listSpells(SpellsPlugin.java:205)
    20:47:24 [SEVERE]       at com.elmakers.mine.bukkit.plugins.spells.SpellsPlugin.
    onSpells(SpellsPlugin.java:126)
    20:47:24 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
    ethod)
    20:47:24 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
    ource)
    20:47:24 [SEVERE]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
    wn Source)
    20:47:24 [SEVERE]       at java.lang.reflect.Method.invoke(Unknown Source)
    20:47:24 [SEVERE]       at com.elmakers.mine.bukkit.utilities.PluginUtilities.di
    spatch(PluginUtilities.java:434)
    20:47:24 [SEVERE]       at com.elmakers.mine.bukkit.utilities.PluginUtilities.di
    spatch(PluginUtilities.java:363)
    20:47:24 [SEVERE]       at com.elmakers.mine.bukkit.utilities.PluginUtilities.di
    spatch(PluginUtilities.java:331)
    20:47:24 [SEVERE]       at com.elmakers.mine.bukkit.plugins.spells.SpellsPlugin.
    onCommand(SpellsPlugin.java:92)
    20:47:24 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginComman
    d.java:35)
    20:47:24 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    mmandMap.java:80)
    20:47:24 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    aftServer.java:232)
    20:47:24 [SEVERE]       at net.minecraft.server.NetServerHandler.c(NetServerHand
    ler.java:605)
    20:47:24 [SEVERE]       at net.minecraft.server.NetServerHandler.chat(NetServerH
    andler.java:568)
    20:47:24 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:562)
    20:47:24 [SEVERE]       at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    20:47:24 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.
    java:192)
    20:47:24 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:72)
    20:47:24 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :100)
    20:47:24 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:357)
    20:47:24 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:272)
    20:47:24 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
    >stop
    20:47:36 [INFO] Stopping the server..
    20:47:36 [INFO] CONSOLE: Stopping the server..
    20:47:36 [INFO] Stopping server
    20:47:44 [INFO] Saving chunks
    >
    C:\Users\Scot\Desktop\Robbie's Stuff\Minecraft\After 600>Pause
    Press any key to continue . . .
    That was just me joining, typing /spells, then stoping the server. Also wands doesn't work at all but you probably already know that :p
     
    NathanWolf likes this.
  14. Offline

    NathanWolf

    Mmmmm....

    Wand should work! It's working for me on my public server. I did not try "/spells", that error is something super-annoying, though, some new BS bukkit is doing that I don't understand. It's basically a compile error that I can't catch at compile-time... bleh. Anyway, I can fix that... but SpellGroup is only used for /spells (it groups and sorts spells, basically) so it shouldn't affects spells actually working.

    Have you tried "/wand blink"? Does it give you a feather? Does "/wand" give you a stick, and do they work together? :D

    UPDATE: Please re-download Spells, I fixed "/spells", I think. I'll test it out and let you know if not :) I just had to make SpellsGroup public, though, to fix this- I need to make everything public now, it seems.

    Anyway, I have noticed that the "fill" spell doesn't seem to work. Kind of a bummer- not sure if I'm going to investigate or not, especially since I have the Magic version of construct almost ready for testing- and I'm much more interested in getting that working ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 8, 2016
  15. Offline

    Thorns_Ofire

    Heres a screenshot of me typing /wand, /wand blink, /spells. Wand isn't cycling the spells or materials. Also heres the server log.

    Code:
    C:\Users\Scot\Desktop\Robbie's Stuff\Minecraft\After 600>"C:\Program Files\Java\
    jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    
    21:07:22 [INFO] Starting minecraft server version Beta 1.3
    21:07:22 [INFO] Loading properties
    21:07:22 [INFO] Starting Minecraft server on *:25565
    21:07:22 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-605-
    g376d7e8-b602jnks (MC: 1.3)
    21:07:22 [INFO] Preparing level "world"
    21:07:22 [INFO] Preparing start region
    21:07:24 [INFO] Persistence version 0.63 is enabled
    21:07:24 [INFO] Spells version 0.994 is enabled
    21:07:24 [INFO] Wand version 0.67 is enabled
    21:07:24 [INFO] Done (0.152s)! For help, type "help" or "?"
    21:07:37 [INFO] 143 recipes
    21:07:37 [INFO] Thorns_Ofire [/127.0.0.1:64344] logged in with entity id 42
    21:07:37 [INFO] Persistence: Create a plugins/Persistence/permissions.yml to use
     internal permissions
    21:08:06 [SEVERE] Error invoking callback 'onSpells
    21:08:06 [SEVERE] java.lang.IllegalAccessError: tried to access class com.elmake
    rs.mine.bukkit.plugins.spells.SpellGroup from class com.elmakers.mine.bukkit.plu
    gins.spells.SpellsPlugin
    21:08:06 [SEVERE]       at com.elmakers.mine.bukkit.plugins.spells.SpellsPlugin.
    listSpells(SpellsPlugin.java:205)
    21:08:06 [SEVERE]       at com.elmakers.mine.bukkit.plugins.spells.SpellsPlugin.
    onSpells(SpellsPlugin.java:126)
    21:08:06 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
    ethod)
    21:08:06 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
    ource)
    21:08:06 [SEVERE]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
    wn Source)
    21:08:06 [SEVERE]       at java.lang.reflect.Method.invoke(Unknown Source)
    21:08:06 [SEVERE]       at com.elmakers.mine.bukkit.utilities.PluginUtilities.di
    spatch(PluginUtilities.java:434)
    21:08:06 [SEVERE]       at com.elmakers.mine.bukkit.utilities.PluginUtilities.di
    spatch(PluginUtilities.java:363)
    21:08:06 [SEVERE]       at com.elmakers.mine.bukkit.utilities.PluginUtilities.di
    spatch(PluginUtilities.java:331)
    21:08:06 [SEVERE]       at com.elmakers.mine.bukkit.plugins.spells.SpellsPlugin.
    onCommand(SpellsPlugin.java:92)
    21:08:06 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginComman
    d.java:35)
    21:08:06 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    mmandMap.java:80)
    21:08:06 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    aftServer.java:232)
    21:08:06 [SEVERE]       at net.minecraft.server.NetServerHandler.c(NetServerHand
    ler.java:605)
    21:08:06 [SEVERE]       at net.minecraft.server.NetServerHandler.chat(NetServerH
    andler.java:568)
    21:08:06 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:562)
    21:08:06 [SEVERE]       at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    21:08:06 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.
    java:192)
    21:08:06 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:72)
    21:08:06 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :100)
    21:08:06 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:357)
    21:08:06 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:272)
    21:08:06 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
    21:08:51 [SEVERE] java.net.SocketException: Connection reset
    21:08:51 [SEVERE]       at java.net.SocketInputStream.read(Unknown Source)
    21:08:51 [SEVERE]       at java.net.SocketInputStream.read(Unknown Source)
    21:08:51 [SEVERE]       at java.io.FilterInputStream.read(Unknown Source)
    21:08:51 [SEVERE]       at net.minecraft.server.Packet.b(Packet.java:75)
    21:08:51 [SEVERE]       at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:124)
    21:08:51 [SEVERE]       at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:223)
    21:08:51 [SEVERE]       at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:62)
    21:08:51 [INFO] Thorns_Ofire lost connection: disconnect.genericReason
    >stop
    21:08:58 [INFO] Stopping the server..
    21:08:58 [INFO] CONSOLE: Stopping the server..
    21:08:58 [INFO] Stopping server
    21:08:58 [INFO] Saving chunks
    21:08:58 [INFO] Stopping server
    >
    C:\Users\Scot\Desktop\Robbie's Stuff\Minecraft\After 600>Pause
    Press any key to continue . . .
    Ok I'll giver a shot. And fill is DA BOMB!!!! Please Please Please keep it lol. I use it all the time :'( Unless construct does the same thing :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     

    Attached Files:

    Last edited by a moderator: Jan 8, 2016
  16. Offline

    NathanWolf

    Ah, it looks like wand is working- you just don't have permission for the "blink" spell, which means you probably don't have permission for any spells. You're getting somewhere though!

    And fill is not gone, it's just broken in Spells....

    (hm, I think I know why, actually- ok, going to fix!)

    The will be a variant named of construct in Magic named "fill" that does exactly what the fill spell does now.
     
  17. Offline

    aPandaification

    I need some help... I have my addons and plugins all ready to go and stuff but it seems that spells dont work? I don't know why? Help me out please?

    Code:
    20:14:20 [INFO] Starting minecraft server version Beta 1.3
    20:14:20 [WARNING] **** NOT ENOUGH RAM!
    20:14:20 [WARNING] To start the server with more ram, launch it as "java -Xmx102
    4M -Xms1024M -jar minecraft_server.jar"
    20:14:20 [INFO] Loading properties
    20:14:20 [INFO] Starting Minecraft server on 5.179.238.231:25565
    20:14:20 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-
    g6c6c30a-b556jnks (MC: 1.3)
    20:14:20 [INFO] Preparing level "Jakes Awesome Private Server"
    20:14:20 [INFO] Preparing start region
    20:14:21 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:113)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:159)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:107)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:109)
            ... 8 more
    Caused by: java.lang.NullPointerException
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    77)
            ... 13 more
    20:14:21 [SEVERE] Could not load plugins\Spells.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:113)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:159)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:107)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:109)
            ... 8 more
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerQuitEve
    nt
            at com.elmakers.mine.bukkit.plugins.spells.SpellsPlugin.<init>(SpellsPlu
    gin.java:263)
            ... 13 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.player.PlayerQuitE
    vent
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:30)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 14 more
    20:14:21 [INFO] CrowdControl version 0.21 is enabled
    20:14:21 [INFO] NetherGate version 0.54 is enabled
    20:14:21 [SEVERE] CHUNK_LOAD loading NetherGate v0.54 (Is it up to date?)
    java.lang.NoSuchFieldError: CHUNK_LOAD
            at com.elmakers.mine.bukkit.plugins.nether.NetherGatePlugin.onEnable(Net
    herGatePlugin.java:73)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:451)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    20:14:21 [INFO] PermissionsSupport: Feeling pretty useless!
    20:14:21 [INFO] PermissionsSupport: Either install Permissions.jar, or remove Pe
    rmissionsSupport.jar
    20:14:21 [INFO] PermissionsSupport version 0.1 is enabled
    20:14:21 [INFO] Persistence version 0.63 is enabled
    20:14:21 [WARNING] The Wand plugin depends on Spells v0.50 or higher - please in
    stall it!
    20:14:21 [SEVERE] Plugin attempted to register PLAYER_ANIMATION while not enable
    d loading Wand v0.67 (Is it up to date?)
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register PLA
    YER_ANIMATION while not enabled
            at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManag
    er.java:273)
            at com.elmakers.mine.bukkit.plugins.wand.WandPlugin.onEnable(WandPlugin.
    java:38)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:451)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    20:14:21 [INFO] Loading wand-commands.txt
    20:14:21 [SEVERE] Exception while reading wand-commands.txt
    java.lang.NullPointerException
            at com.elmakers.mine.bukkit.plugins.wandmin.Wand.copyTo(Wand.java:26)
            at com.elmakers.mine.bukkit.plugins.wandmin.PlayerWandList.copyTo(Player
    WandList.java:21)
            at com.elmakers.mine.bukkit.plugins.wandmin.WandminPlugin.load(WandminPl
    ugin.java:446)
            at com.elmakers.mine.bukkit.plugins.wandmin.WandminPlugin.onEnable(Wandm
    inPlugin.java:226)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:451)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    20:14:21 [SEVERE] PLAYER_INTERACT loading Wandmin v0.32 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_INTERACT
            at com.elmakers.mine.bukkit.plugins.wandmin.WandminPlugin.onEnable(Wandm
    inPlugin.java:233)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:451)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    20:14:21 [INFO] Done (0.107s)! For help, type "help" or "?"
    >
     
  18. Offline

    Thorns_Ofire

    Ok well I'll try to set up permissions see if that helps. Good to hear some sort a fills going to stay :D I'll get back to you after I get permissions set up. Might be a little my cata dungeon just came up:p
     
  19. Offline

    NathanWolf

    Ok, fill is back, baby :) I bumped Spells to 0.995 just so you can be sure you got it.

    The problem was the same thing that broke Wand- right click and left click were suddenly one and the same- so casting fill also cancelled it (you may not know this, but if you right-click in the middle of a fill, it cancels the fill...)

    So, that's fixed now- I'm going to go back to working on Magic unless I hear that more stuff is broken :)

    @Thorns_Ofire, thanks for being the early adopter and testing this stuff out ;)

    Let me know if you have any trouble getting permissions set up.

    So, a few things- mainly you're out of date, in some way or another. If you can update to CraftBukkit 602, and then make sure you've got latest of all my plugins, that will help.

    However, this:

    Code:
    20:14:21 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    Is not me. If you're not using any plugins but mine, I would strongly suggest you remove Permissions.jar and PermissionsSupport.jar - there are some YML files available as drop-in permissions for my plugins, it's much easier (IMO).

    Also, NetherGate is not going to like that world name- try to keep those simple. It's just a file folder, you don't have to make it some crazy name :)

    BTW, my new plan for permissions in Magic is to have an "ops" profile that automatically gets applied to ops. This will let you set up permissions for ops via the YML file, without having to use the console commands to actually grant them to anyone- you can just use ops.txt.

    This is not a replacement for users/groups, this is a way to bypass having to use users/groups if your sever is a simple ops/players setup.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 8, 2016
  20. Offline

    Thorns_Ofire

    So just trying to set up my permissions.yml and your example link is 404. How do I need to set the .yml up? I really like the "ops profile" idea. I've been keeping my server as simple as possible, only ops and players no crazy permissions system. I've only had problems with permissions...
     
  21. Offline

    habbah

    No idea??
    Code:
    2011-04-01 01:33:44 [SEVERE] Could not load plugins/Spells.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
    	at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
    	at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:109)
    	... 8 more
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerQuitEvent
    	at com.elmakers.mine.bukkit.plugins.spells.SpellsPlugin.<init>(SpellsPlugin.java:262)
    	... 13 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.player.PlayerQuitEvent
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    	... 14 more
    .
    cb 541
     
  22. Offline

    TheCad

    i have a problem because i dont have any spells.. when i do /spells there is nothing.
    do you know how to fix it?
     
  23. Offline

    MisanthropX

    wow, first of all: a great plugin, I am not willing to read 31 sites of troubleshooting, support and suggestions,
    i have used the search but i havn't find anything, maybe its possible for that plugin to add support in item consumption for every spell?
    also how far are you interested in adding more spells?
    If yes i could give a huge list of ideas. :)
    But well: Ideas are cheap, they need to be programmable. :<
     
  24. Offline

    NathanWolf

    Bah- yeah, I forgot to update those links :p I really hope I get that fixed soon....

    All my stuff is at elmakers.dyndns.org/plugins/releases - the yml files should be in there, too, though I might need to double-check on that. Here's the one I'm using on my public server:

    Code:
    # Defines the "default" profile
    # All players have this profile by default
    default:
      Spells:
        commands:
          spells: true
        cast:
          - heal
          - blink
          - torch
          - fireball
          - pillar
          - absorb
          - fill
          - cushion
          - undo
          - alter
          - blast
          - mine
          - tree
          - arrow
          - frost
          - gills
          - familiar
          - blob
          - superblob
          - paint
          - recurse
          - transmute
          - recall
          - disintegrate
          - manifest
          - peek
          - fire
          - window
          - lava
          - portal
          - phase
          - invincible
          - fire
          - tunnel
          - bridge
          - rewind
          - ascend
          - descend
    
    # Defines the "friend" profile
    friend:
      NetherGate:
        commands:
          nether:
            world:
              go: true
      Spells:
        commands:
          cast: true
    
    # Defines the "admin" profile
    # These players can use "/su" to access any command
    admin:
      Persistence:
        commands:
          su: true
    To use this, drop it in a "plugins/Persistence/permissions.yml" (create the file in notepad or whatever if it does not exist- careful with line endings on Windows, I don't know how picky YML is!)

    Anyway, once you've got this Persistence should report "3 profiles loaded" on first login. Then you can use "grant player XXXXX admin" (or "friend", or whatever) to give out permissions. Do this via the server console, and it only needs to be done once.

    Right now, being an op means nothing- I'm going to support that in the next release via an "ops" profile that automatically gets assigned to admins.

    Also, elBukkit.zip always comes with a working permissions system for you to start with.

    Let me know if any of that helps :D

    Thanks!

    Ok, why do people always say this? :)

    The only info you ever need to look at is in post 1 (the Original Post)- the rest of this is mainly people asking questions that are already answered there :)

    (I kid, I kid- it's really mainly people that need better instructions, which I will provide once Magic is released!)

    My plan is to have all the useful docs on the wiki, and basically barely anything here in the thread- way too much of a pain to keep updated.

    I'm still working on the Magic wiki, though, which is why there's a big mess in this OP- the rest of my plugins, you may notice, have very short OPs now, which mainly just link to the wiki.

    Okkkkkkkkkaaayyyyy, that aside: Magic is coming, it will replace Spells, and it will have all kinds of "systems", including MP and reagents.

    As for new spells- yes, new spells ideas are what I LOVE to see in this thread :D

    I almost want to keep this thread around just for that. I'm considering keeping a split between Magic.jar, Wand.jar and Spells.jar - though my current feeling is it's easier for everyone if there's just Magic.jar.

    Anyway- if you have coding skills, Magic is going to readily (and, I hope, easily) support additional spell plugins. NetherGate will soon be a good example of that- the NG spells (portal, phase and window) are going to physically move over to NetherGate.jar, instead of living in Spells.jar and "hiding" if NetherGate is not around.

    Similarly, other devs can make new spell plugins.

    Now, that said- the point of the spell variant system is so that I can code up a few really flexible base spells, and then you (admins, or other non-devs) can make your own spells.

    So, throw out some ideas- I'll let you know if it's something one of the current spells can already cover, and if not I'll let you know if I like it enough to implement it myself! ;)

    Thanks for your interest! :D

    @TheCad - See my comments above about permissions, I also fixed the permissions.yml link in the OP.
    @habbah - You look out of date in something- get CB 602, if you can, then update all my plugins.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 8, 2016
  25. Offline

    Thorns_Ofire

    @NathanWolf - Great thank you very much! Just to clarify to add users to either default, freinds, or admin is it just "default: Thorns_Ofire, NathanWolf, ect."? Also can I move spells from deault to admin without killing it? Like this?

    Code:
    # Defines the "default" profile
    # All players have this profile by default
    default:
      Spells:
        commands:
          spells: true
        cast:
          - heal
          - blink
          - torch
          - fireball
          - pillar
          - absorb
          - fill
          - cushion
          - undo
          - alter
          - mine
          - tree
          - arrow
          - frost
          - gills
          - familiar
          - blob
          - paint
          - recurse
          - transmute
          - recall
          - disintegrate
          - manifest
          - peek
          - window
          - portal
          - phase
          - tunnel
          - bridge
          - rewind
          - ascend
          - descend
    
    # Defines the "friend" profile
    friend:
      NetherGate:
        commands:
          nether:
            world:
              go: true
      Spells:
        commands:
          cast: true
    
    # Defines the "admin" profile
    # These players can use "/su" to access any command
    admin:
      Persistence:
        commands:
          su: true
      Spells:
        commands:
          spells: true
        cast:
          - invincible
          - fire
          - superblob
          - blast
          - lava
    
    Also had a idea for a spell. Maybe something that is kind of like blob but it only removes fire, lava, and water. Was thinking that would be very helpful to fix damn greifer floods :rolleyes:

    AHHHH Minecraft 1.4 lol can't even test it out. Now I'm waiting on CB:rolleyes:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 8, 2016
  26. Offline

    NathanWolf

    No, actually- the internal permissions system only deals with permissions (oddly enough), it knows nothing about users and groups.

    I've written a very simple group manager that (for now) is console-based, only. You must use the "grant" console command to give out permissions. The "default" profile is the only one that gets automatically assigned (there will soon be an "ops" profile as well, but otherwise it's up to you to "grant player Thorns_Ofire admins".

    Variants! :)

    Recurse actually works really really well for this right now. Just recurse with air to quickly clean up lava and water.... fire... well, not sure that recurse (or any of the other construction commands) really consider fire to be a "block", so I'm not sure how it will handle that, if at all :)

    I intend for "frost" to put out fire, but it doesn't work totally well yet :)

    Anyway, with Magic, you'll be able to do exactly what you asked for - a variant of the "construct" spell that made a sphere with radius 4 using air and accepted a custom "destructible" material list is basically what you want to make this happen. You'll be able to do this on your own in Magic- setting up a custom name for your spell, assigning casting costs, cooldown, etc. It's going to be.... awesome. :D

    If I ever get it finished. :p

    WAITWHUTOMGWOLVESWHERESMYCB???????????

    Happy to report that I've got my plugins running on latest CB, and working with 1.4 client! :)

    There are lots of errors in the console, not sure how much is really working, etc.

    Poor timing for me- we'll see if I decide to push forward with Magic... I really want to, but I darn sure want to at least release a version of familiar that can spawn a wolf, once there is "enough" of an API there for me to do that. I'm going to pretty much be looking into this immediately...

    Already in CreatureType??? Oh, really?? And, giant's there too, now! Well.... geez... ok, Spells 0.996 TBR shortly.

    Man, it's kind of a shame that I abandoned the built-in CreatureType for lack of "giant" support... if I hadn't CrowdControl and Spells would both "automagically" support wolves right now :p

    v0.996 Released- getting uncomfortably close to 0.999 :p

    Anyway, Spells now supports wolves- and I added a "wolf" spell (wand icon == raw meat), just for summoning a pet wolf. You'll have to tame him yourself, for now... though I plan to have spells for controlling "wild" wolves, as soon as I figure out how that should work... I wand a wolf, not a dog! No collar for my pet!

    Note on the "wolf" spell- be careful!!! Jeez, these things are vicious!

    I just tried to feed one, accidentally hit him with the meat instead. He got super pissed off and killed me in like 5 seconds. I was near spawn, so he kind of keeps killing me :(

    Also- and I'm not sure if this is due to the fact that I summoned him with "familiar", but he was invisible when I respawned. So, yes, vicious, pissed-off, incredibly powerful, invisible wild wolf, hanging out at my spawn.

    How do I tame these things??? Just feed them meat, right? To the wiki!!

    EDIT: Ahhhh... bones, not meat! Well, guess I'll cheat and use "/wand disintegrate", then :p

    LOL... after seeing Notch mention on Twitter that he added these for a "VIP", and after playing Fable 2 and 3, I totally expected said VIP was Peter Molyneux. Thank you, Minecraft wiki, for validating my assumption!

    A pushed a small-ish wolf update :) Didn't bump the version number- re-download if you want to make sure youv'e got this.

    Wolf is now it's own spell, instead of a familiar variant.

    The first cast summons a wolf to your side. You can't dispel him! (He'll go away when you disconnect, though)

    Subsequent casts control him- he'll cycle through sitting, attacking (mainly attacking you, from what I can tell.... :p) and calming down.

    Casting the spell again if your wolf gets too far away from you will TP him back to your side.

    Lots more wolf stuff to come, for sure... I'm really wanting to get rid of that collar. Hoping it's not completely client-side or something annoying like that! :(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 8, 2016
  27. Offline

    dlukz

    I cant get the /spells command to work. typing it returns nothing. because of this the wand doesn't work either. Anyone else have this issue?



    00:23:31 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-611-g27ed101-b614jnks (MC: 1.4)
    00:23:32 [INFO] Spells version 0.996 is enabled

    i used 612 and 614. both do the same thing.
     
  28. Offline

    Thorns_Ofire

    Ya I am too lol. @NathanWolf I've been trying to get it to work. I don't think /grant player is working either can't get any spells to work. Not sure if I'm doing something wrong here.
     
  29. Offline

    NathanWolf

    You can't use "/grant" in-game, you would need permissions :) Chicken and egg.

    You need to do it from the server console, at least the first time. If you make yourself an admin, you can then "/su" and (after that) "/grant".

    But, honestly, admin stuff should be done at the server console, if possible. When you don't have access, it's nice to be able to jump in-game and set yourself up, but...


    Eh, anyway- next Spells will hav an "ops" profile that automatically gives all spells to ops. I'm hoping that at least scales down the amount of "why can't I cast spells" -> "Because you don't have permissions!" crap, which has become about 80% of the contents of this forum thread :p
     
  30. Offline

    Withless

    can't get the spell plugin to work not using permissions and i am op tried the "su" command allthough it just says "persistance can't find callback 'onhelp for plugin persistance" should note i have spells,wandmin and persistance
     

Share This Page