[CHAT] ColorMe (Changed ownership), read first post

Discussion in 'Inactive/Unsupported Plugins' started by Valrix, Feb 27, 2011.

  1. Offline

    Zippo

    Download is borked
     
  2. Offline

    Valrix

    For the eager, I've changed the first post as a teaser to what'll be official within the next couple hours as I fix up ColorMe and test for any lingering bugs.

    EDIT: Well, I was planning on getting it out, but a weird bug popped up and I'm having troubles with it. I'll work on it more tomorrow, for now I'm too tired and have class. Hopefully I can work on it during class.
     
  3. Offline

    killacalli

    Is the glitch where if you didnt have enough money to purchase a color but you still got the color fixed yet? (using iconomy5.01)
     
  4. Offline

    Valrix

    Yeah, I've been working on that as well as patching up some Permissions stuff and some commands not working like they should.
     
  5. Offline

    CarabinasS

    Pls add download ;)
     
  6. Offline

    Valrix

    Once I get it fixed I will. Still fighting a bug that breaks it.
     
  7. Offline

    Valrix

    EDIT: Screw it, multi-world support is going to wait. Until then, enjoy v2.3!

    P.S. I suggest using PermissionsBukkit since it's almost exactly like Permissions, but uses native bukkit permissions. Eventually I may make my own class to manage permissions for each of my plugins, but that seems like more work than what's needed.
     
  8. Offline

    OutLawGam3r

    how do i make it to where ops are only allowed to give ppl and themselves colored names?
     
  9. Offline

    L24D

    @Valrix
    Interesting, ever since updating to v2.3, i've encountered the strangest bug.
    After changing someone's name color, the color of the person's name is changed fine, but the name is changed to the name of the person who changed it. 0_0

    [​IMG]

    ------------------------

    [edit]: And now... Just hit an error when trying to reload with v2.3 installed. yay.

    Code:
    2011-07-25 04:16:13 [SEVERE] Error occurred while disabling ColorMe v2.3 (Is it up to date?): null
    java.lang.NullPointerException
        at com.sparkedia.valrix.ColorMe.ColorMe.onDisable(ColorMe.java:79)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:899)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:288)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:281)
        at org.bukkit.plugin.SimplePluginManager.clearPlugins(SimplePluginManager.java:309)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:351)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Luckily, i kept a backup of 2.2. So i still have a usable version, until this is fixed. :p

    i noticed permissions stopped working in 2.3 as well... before the update, people had no access to change colors, but after installing the update, they could change it at will, regardless of perm nodes.
     
  10. Offline

    landstreet

    Can't get it to work with Essentials..
     
  11. Offline

    Valrix

    Hmm, I'll check it out a bit more. I found the cause of the NPE, so that's fixed, but no idea why the other one happened.
     
  12. Offline

    Grimmy777

    the permissions for this apparently do not work. I have not given the permission node to anyone for this yet they are still able to change their color. Also, when I type /color name color it changes the players name to my name in that color until they log out and back in.

    Edit- sorry, didn't see this was already reported. I have found that having the player log out and back in fixes the name part of the issue but not the permissions.
     
  13. Offline

    Valrix

    The Permissions "problem" may be that I have the ability to color your own name automatically allowed. I'll change that sometime today and get a bit more testing done to see why the color isn't updating.
     
  14. Offline

    Zelif

    I get this when I /reload on b#1029 didn't happen with b#1000
    Show Spoiler

     
  15. Offline

    Valrix

    That's the NPE error I mentioned in the previous post. It's not going to cause any problems, but it is annoying. It's just because I do a little forced garbage collection and I forgot that one of the removed variables is used when it disables, so it's trying to call a variable that no longer exists which gives the NPE. Otherwise, nothing bad is happening.
     
  16. Offline

    an0

    Getting errors like this when running any /colorme command.

    Code:
    19:12:47 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'colorme' in plugin ColorMe v2.3
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.hasPermission(Ljava/lang/String;)Z
            at com.sparkedia.valrix.ColorMe.ColorMe$1.onCommand(ColorMe.java:136)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    
    I can run /colorme by itself and the help info appears. Also, I've had this plugin before and so the names are still colored like before. I tried trashing the old data, but that didn't seem to make a difference.

    Server is running RB1000, I have '*' in Permissions and am also listed in ops.txt.
     
  17. Offline

    Charant

    Permissions 3.x isn't support, right?
     
  18. Offline

    Valrix

    Correct, instead it supports native permissions which is just as easily set up using PermissionsBukkit
     
  19. Offline

    Zelif

    Yea I noticed it was not doing anything bad just didn't know if it had been reported. :D Cheers for the clarification.
     
  20. Offline

    Valrix

    No problem, and the updated version is available which should fix any previous problems people were having. I would love for at least a few of my plugins to "just work" from here on out so all I have to do is give them a quick test and update the thread to show it works with the newest RB.
     
  21. Offline

    Zelif

    A too good to be true type of thing to have that. Well I was using 2.2 up untill b#1000 so you're not doing too bad ;D
     
  22. Offline

    Paradox256

    Why doesn't this work? I'm using Bukkit 1000, and I downloaded the latest ColorMe. There is no errors or anything, it just doesn't work. It says my name is now red, but it's not.
     
  23. Offline

    Valrix

    What other plugins do you have installed?
     
  24. Offline

    Paradox256

    BookWorm, CoorTeleport, CustomCrafting, DimensionDoor, DreamLand, HeroicDeath, LavaFurnace, Otherblocks, Permissions, SpawnMob, BlockHat, GodPowers, ExactSpawn, TextWrap, Colored Signs, PlgSetSpawn, and SpongeRestore.

    I wouldn't be surprised if it were one of these, because there's a good amount of them.
     
  25. Offline

    Valrix

    The only one that would possibly mess anything up (without looking at the source), would be TextWrap. But that's just by looking at the list. My suggestion would to selectively start disabling plugins until you can pinpoint the problem. Otherwise, you can try disabling all of them and see if it works on its own.
     
  26. I cant use it.
    First I tested it on my real server...Won't work.
    Then I created a test server where I just put ColorMe in....It won't work again.

    2011-07-28 10:12:29 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'color' in plugin ColorMe v2.4
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.hasPermission(Ljava/lang/String;)Z
    at com.sparkedia.valrix.ColorMe.ColorMe$1.onCommand(ColorMe.java:154)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  27. Offline

    Foreseight

    Doesnt Work it says An internal occured while attempting to perform this command -_-
     
  28. Offline

    Valrix

    And you're sure you're on RB 1000? It's failing because it doesn't recognize the hasPermission() command which is built into bukkit. So that means something seems to be wrong on your end.

    An error log would be quite helpful in this case since "An internal error" could be one of a thousand things.
     
  29. Offline

    Paradox256

    I deleted TextWrap, and it did work, actually. It also turns out that GodPowers was conflicting with it as well, because when I disabled it, the color went away and I had to re-add it. I think it has something to do with the prefixing on that plugin. I found a different godmode plugin and now it works perfectly.
     
  30. Offline

    Valrix

    Excellent. Glad you got it working :) Enjoy!
     

Share This Page