[ADMN/FUN/MISC] Player Editor v0.9.2 - Allows changing of Player's Skins, Capes, and Title [953]

Discussion in 'Inactive/Unsupported Plugins' started by MineDev, Jun 24, 2011.

  1. Offline

    MineDev

    Player Editor - Allows changing of Player's Skins, Capes, and Title
    Version: 0.9.1
    Static Jar: PlayerEditor.jar
    Author: Created by @alta189 of MineDev Team.
    CB Version: Supports 953 - 1000

    Player Editor is an Amazing plugin. It allows you to change a Player's Skin, Cape, and/or Title. THIS DOES REQUIRE CLIENT MOD. The client mod is not required to connect though, just to see the changes made by player editor. The client mod is Spoutcraft and the accompaning Spout Plugin. You can edit as specific player, or an entire Group. Remember that specific player settings will overrule any group settings.

    Features:
    • Change Player's Skin, Cape, and/or Title
    • Change Group's Skin, Cape, and/or Title
    • SQLite and MySQL support
    FAQ

    How to submit a good error report

    Videos:
    Installation:​

    Command and Usage Demonstration:​

    Dependencies:
    • Spout Plugin
    • Spout Client - Only required for users that want to see the changes made by Player Editor
    Commands: <> required [] not required

    Note: Currently you have to be an OP to use these commands, however permissions nodes will be added later.
    • /pedit [help] - Shows help for editing players
    • /pedit add <playername> - adds a player to the database
    • /pedit info <playername> - shows the settings for the player
    • /pedit skin <playername> <URL> - Set the Skin for the player *
    • /pedit cape <playername> <URL> - Set the Cape for the player *
    • /pedit title <playername> <title> - Sets the title for the player. See title help below!
    • /gedit [help] - Shows help for editing groups
    • /gedit add <groupname> - adds a group to the database
    • /gedit info <groupname> - shows the settings for the group
    • /gedit skin <groupname> <URL> - Set the Skin for the group *
    • /gedit cape <groupname> <URL> - Set the Cape for the group *
    • /gedit title <groupname> <title> - Sets the title for the group . See title help below!
      * URLs have to be accessable by the players. They cannot be http://locahost/some_image.png
      An example of a good Cape URL is http://minedev.net/capeme/cape/alta189.png
      Also Cape and Skins have to be .png format
    • Note to remove skin/cape/title replace the title or url with the word nothing. Lower case is required
    Title Help:

    Titles can have variables that you can use to add color and player names. Remember that variables have to be UPPERCASE​
    Variables:
      • <NAME> - Player Name
      • <NL> - New Line
    Colors: The following are colors that you can add. The format for a color is <COLOR>
      • AQUA
      • BLACK
      • BLUE
      • DARK_AQUA
      • DARK_BLUE
      • DARK_GRAY
      • DARK_GREEN
      • DARK_PURPLE
      • DARK_RED
      • GOLD
      • GRAY
      • GREEN
      • LIGHT_PURPLE
      • RED
      • WHITE
      • YELLOW
    Planned Changes:
    • Add permissions to each of the commands, right now it requires you to be an OP - 0.9.3
    • Add a command that allows you to edit you and you only, self edit /sedit of course with permissions xD 0.9.3
    • Ability to change Citizen's NPCs 0.9.3
    • Want more? Give me requests and ideas :D
    Who is MineDev?
    MineDev is a Plugin Development team. It is made up by:
    • @alta189 - Lead Plugin Developer and Founder
    • @iPhysX - Lead Forum Administrator, Plugin Developer, and Founder
    • @cronikkk - Plugin Developer and Administrator
    • @adamki11s - Plugin Developer and Administrator
    • @jamescosten - Team Member and Moderator

    Changelog:
    Version 0.9.3
    • Updated from BukkitContrib to Spout
    Version 0.9.1
    • Fixed SQLite reload bug
    • Fixed Respawn removing capes
    • Fixed wrong version showing in console
    Version 0.9.0
    • Support for Minecraft 1.7.x
    • Support for CB 953
    • Discarded Permissions Group
    • Implemented new group handling
    • Performance Enhancements
    • Possible Fix for SQLite Errors
    • Installation Video
    • Demo and Command video
    Version 0.8.2
    • Allows use of commands in the console
    • Fixed re spawning without a cape/skin/title
    Version 0.8.1
    • Fixed typo in SQLite Database creation
    • Fixed variable <NAME>
    Version 0.8
    • Public Release
     
    MMySlime, kahlilnc, operatic and 9 others like this.
  2. Offline

    deviantek

    I don't care how you justify your smart-ass replies, but you sir are an arrogant sod. If you spent the amount of time making minor tweaks to the perms as you do making better-than-thou replies, then this conversation wouldn't be happening in the first place.
     
  3. Offline

    alta189

    Did you not read the fact. I don't think Im "Better than thou. " Maybe you should read this:


     
  4. Offline

    RGadelha

  5. Offline

    Ethneldryt

    Hello, work in 1060 ?
     
  6. Offline

    alta189

    I am the lead of minedev, but Adami11s and iPhysX are also a part of it.

    Edit: @RGadelha :p I had typos because I was on my phone in the middle of a lecture
     
  7. Offline

    L24D

    Hey @alta189
    Hope things are fairing well with you!
    Just wanted to stop in and say hi.. and maybe drop a bug report.
    You're going to hate hearing this, but the sql query error (upon server reload) is still there. i have the latest build of Player Editor, thought it only throws 3 errors per second now. I think the plugin is taunting you just a tiny bit... :p

    One more thing, as of the latest build, when entering a url, it just types it as if it were a separate line, thus making it unable to change a skin or cape. it's almost like the chat has no room for links in this build... unless maybe it's the newest build of spout doing it.
    Have a look and see what you think:
    [​IMG]
    This did work in the previous build... so something must have had to change somewhere..
    I'm probably guessing it was spout though.

    Hang in there, and keep on sailin dude!
    Thanks :)
     
  8. Offline

    alta189

    @L24D Thanks for being polite :) You always are one of my favorite users xD

    Any ways. you modded your Spoutcraft client. -.- You know you broke things right?

    Im hopefully going to rewrite Player Editor this weekend XD

    Thanks for the report.
     
  9. Offline

    L24D

    @alta189
    haha thanks :D

    and, CRAP. haha. *pouts* i only use zan's, zombe, and ssp commands :p
    I checked closely to make sure it didn't overwrite any classes, i think zan's is the only one that changes the class files linked to spout... not positive though, i'll have to look again. haha sorry :p

    mind me for going off topic, but i found that in spout, if you try to use zan's minimap without pasting the uq class packaged with it in, it crashes the client. Any clue why? xD

    anyways, i'm going to stop talking about that here.. :p

    I wish you the best of luck with Player Editor! :D
    mind me for being nosey, but might you know what's causing those sql query errors still? it''s been chasing you for a couple revisions now... :p
     
  10. Offline

    Ethneldryt

    ??
     
  11. What about a reload option ?
     
  12. Offline

    alta189

    @RGadelha @L24D

    Ok, so I found sometime this weekend to work on Player Editor. Also good news @Top_Cat (Another SpoutDev) has agreed to help me.

    What can you expect from Player Editor v2.0 :
    Well I am doing a full recode so hopefully should resolve all bugs. I also have decided to remove SQLite for the time being until some issues can be worked out with it (Possibly will release SQLite built in 2.2) In SQLites place there will be a Flat File option.​

    • New Groups System:
      • Permissions 3.x Support
      • bPermissions Support
      • PermissionsEx Support
      • PermissionsBukkit (Not sure on this one, but if I can't get the Group, it will either be permission node based or Flat File)
      • Better Flat File System
    • GUI for editing Players/Groups
    • Permissions for all commands/GUIs
    • Allow players to edit themselves
    • Hopefully less bugs
    I am working very hard on Player Editor 2.0!
    I will open a thread on DevBukkit when I have a testable version.
    The best way to follow Player Editor's progress is on irc.esper.net on the Channel #MineDev where commits are reported. I idle there, so you can ask me any questions.
    Player Editor is on github.com here https://github.com/MineDev/PlayerEditor
    You can also get dev builds here: http://ci.getspout.org/view/Guests/job/PlayerEditor/
    The dev builds will do nothing ATM, I will post here when it has a testable version!
     
    RGadelha likes this.
  13. Offline

    L24D

    Haha, super!!
    I have to tease you on something really quick though.. :p
    There was a typo in the name of the old database file... all good with the flatfile version? xD
    haha sorry.
    Sounds great though!

    Quick question though, will it still work with groupmanager? Or will there be an option to use it as it is now, just in case? (OP only?)
     
  14. Offline

    alta189

    You really should look into moving from GroupManager, bPermissions, PermissionsEx, and PermissionsBukkit are all very good alternatives.
     
  15. Offline

    L24D

    Yeah, I know... Is the formatting the same as GM?
    I guess i've had an almost perfect streak with GM, it's only had one problem, in build 928... The manpromote/mandemote commands stopped working, then they worked again in 935+.... as crazy as that sounds.
    I'll see what I can find though... Thanks :p
     
  16. Offline

    Darman123

    I've installed the plugin and the Spout plugin and running the game with Spout launcher, but I can't see the changes and my cape -.-
    pls help
     
  17. Offline

    alta189

    3 posts up
     
  18. Offline

    L24D

    Sorry @alta189
    I hope i'm not bogging you down with error reports and such, but something randomly hit when a player tried to login... Contrary to what it says, the image is a png.

    Code:
    2011-09-04 18:35:02 [INFO] redrobin1257 [/**.***.***.***:51728] logged in with entity id 1894570 at ([The Matrix] -1492.90625, 64.0, 2.28125)
    2011-09-04 18:35:03 [INFO] Reading data
    2011-09-04 18:35:03 [SEVERE] Could not pass event CUSTOM_EVENT to PlayerEditor
    java.lang.UnsupportedOperationException: All skins must be a PNG image
        at org.getspout.spout.player.SimpleAppearanceManager.checkUrl(SimpleAppearanceManager.java:333)
        at org.getspout.spout.player.SimpleAppearanceManager.setGlobalSkin(SimpleAppearanceManager.java:47)
        at net.minedev.playereditor.BukkitContribHandler.setAll(BukkitContribHandler.java:92)
        at net.minedev.playereditor.listeners.PECustomEventListener.onCustomEvent(PECustomEventListener.java:20)
        at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.java:862)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at org.getspout.spout.PlayerManager.onSpoutcraftEnable(PlayerManager.java:81)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:121)
        at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-09-04 18:35:03 [INFO] [Spout] Successfully authenticated redrobin1257's Spoutcraft client. Running client version: 1.0.5.256
    Here's the link, just for the record: http://i1219.photobucket.com/albums/dd429/L24D/staff/redrobin1257.png
    This is the first time this error has ever occurred... So it may just be a random fluke...

    [EDIT]: I masked his IP.. just for security reasons :p
     
  19. Offline

    alta189

    @L24D
    Since I am doing a recode, hopefully this will get fixed, expect a working dev build tomorrow.
     
  20. Offline

    XDomination0X

    @alta189 how do i change anything if im the only user on the server (i havent advertised it yet im still building it)
    here is wat it says
    Code:
    151 recipes
    16 achievements
    12:13:34 [INFO] Starting minecraft server version Beta 1.7.3
    12:13:34 [INFO] Loading properties
    12:13:34 [INFO] Starting Minecraft server on 5.38.246.44:27654
    12:13:34 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-
    g4ed23b1-b1060jnks (MC: 1.7.3)
    12:13:35 [INFO] [Permissions] (Yeti) was initialized.
    12:13:35 [INFO] [Permissions] version [3.1.6] (Yeti)  loaded
    12:13:35 [INFO] Preparing level "Survival"
    12:13:35 [INFO] Preparing start region for level 0 (Seed: 578820569114525696)
    12:13:36 [INFO] Preparing spawn area: 36%
    12:13:37 [INFO] Preparing start region for level 1 (Seed: -5359084437487204427)
    12:13:37 [INFO] Preparing spawn area: 0%
    12:13:38 [INFO] BukkitContrib 0.1.7 has been initialized
    12:13:38 [INFO] CommandBook 1.5.2-customized enabled.
    12:13:38 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some feat
    ures have been disabled to be compatible with poorly written server wrappers.
    12:13:38 [INFO] CommandBook: 0 banned name(s) loaded.
    12:13:38 [WARNING] CommandBook: Unknown kit item 'null'
    12:13:38 [WARNING] CommandBook: Unknown kit item 'null'
    12:13:38 [WARNING] CommandBook: Unknown kit item 'null'
    12:13:38 [WARNING] CommandBook: Unknown kit item 'null'
    12:13:38 [INFO] CommandBook: 1 kit(s) loaded.
    12:13:38 [INFO] CommandBook: Permissions plugin detected! Using Permissions plug
    in for permissions.
    12:13:38 [INFO] [HeroicDeath] 1.9.1 enabled.
    12:13:38 [INFO] Lockette version 1.3.8 is being enabled!  Yay!  (Core version 1.
    0)
    12:13:38 [INFO] Lockette: Detected craftbukkit build [1060] ok.
    12:13:38 [INFO] Lockette: Linked to Permissions plugin version 3.1.6
    12:13:38 [INFO] Lockette: Using ops file for admin permissions.
    12:13:38 [INFO] Lockette: Ready to protect your containers.
    12:13:38 [INFO] [Permissions] SQL Interface enabled!
    12:13:39 [INFO] Spout 1.0.5.227 has been initialized
    12:13:39 [INFO] SpoutEssentials v3.4.4.2 is enabled!
    12:13:39 [INFO] SpoutEssentials: WorldGuard Module disabled
    12:13:39 [INFO] SpoutEssentials: BOSEeconomy module disabled
    12:13:39 [INFO] SpoutEssentials: MobDisguise module disabled
    12:13:39 [INFO] [SpoutEssentials] Initiating auto-update...
    12:13:39 [INFO] [SpoutEssentials] You already have the latest version of SpoutEs
    sentials.
    12:13:39 [INFO] Found and will use plugin Permissions v3.1.6
    12:13:39 [INFO] WorldEdit 4.6 enabled.
    12:13:39 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
     for permissions.
    12:13:39 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugi
    n for permissions.
    12:13:39 [INFO] WorldGuard: (Survival) Single session is enforced.
    12:13:39 [INFO] WorldGuard: (Survival) TNT ignition is PERMITTED.
    12:13:39 [INFO] WorldGuard: (Survival) Lighters are PERMITTED.
    12:13:39 [INFO] WorldGuard: (Survival) Lava fire is blocked.
    12:13:39 [INFO] WorldGuard: (Survival) Fire spread is UNRESTRICTED.
    12:13:39 [INFO] WorldGuard: Loaded configuration for world 'Survival"
    12:13:39 [INFO] WorldGuard: (Survival_nether) Single session is enforced.
    12:13:39 [INFO] WorldGuard: (Survival_nether) TNT ignition is PERMITTED.
    12:13:39 [INFO] WorldGuard: (Survival_nether) Lighters are PERMITTED.
    12:13:39 [INFO] WorldGuard: (Survival_nether) Lava fire is blocked.
    12:13:39 [INFO] WorldGuard: (Survival_nether) Fire spread is UNRESTRICTED.
    12:13:39 [INFO] WorldGuard: Loaded configuration for world 'Survival_nether"
    12:13:39 [INFO] WorldGuard: 2 regions loaded for 'Survival'
    12:13:39 [INFO] WorldGuard: Unable to register missing event type SNOW_FORM
    12:13:39 [INFO] WorldGuard 5.2.2 enabled.
    12:13:39 [INFO] [PlayerEditor] PlayerEditor v0.9.2 is intializing
    12:13:40 [INFO] [PlayerEditor] SQLite Initializing
    12:13:41 [INFO] [PlayerEditor] PlayerEditor v0.9.2 is finished initializing.
    12:13:41 [INFO] Server permissions file permissions.yml is empty, ignoring it
    12:13:41 [INFO] Done (0.587s)! For help, type "help" or "?"
    12:13:46 [INFO] XDomination0X [/5.38.246.44:42900] logged in with entity id 22 a
    t ([Survival] -13.875, 70.0, 21.5)
    12:16:46 [SEVERE] Player: XDomination0X was not properly updated during login!
    12:16:50 [INFO] XDomination0X lost connection: disconnect.quitting
    12:16:50 [INFO] Connection reset
    12:16:52 [INFO] XDomination0X [/5.38.246.44:42914] logged in with entity id 83 a
    t ([Survival] -13.875, 70.0, 21.5)
    12:17:02 [INFO] [Head-Admin]XDomination0X: who
    12:17:06 [SEVERE] Player: XDomination0X was not properly updated during login!
    >
    
    i dont care if you my ip lol its hamachi dude i cant wait for more updates!
     
  21. Offline

    Gnyf

    Dev link ?
     
  22. Offline

    Madness

    Alta, if you could, try to squeeze in some way to edit citiziens' skins.
     
  23. Offline

    undeadmach1ne

    this works great.
     
  24. Offline

    SkeletonGamer

  25. Offline

    L24D

    @alta189
    Quick bug here.. :p
    every time i try to use a command in the dev build [/pedit (xx) (yy)]
    This happens:
    [​IMG]
    Anyways... Just wanted to let you know about it! :)
     
  26. Offline

    Sahee

    Dont working ;/
    error:
    Code:
    on: No operations allowed after connection closed.Connection was implicitly closed by the driver.
    09:01:31 [WARNING] [PlayerEditor] Error at SQL Query: No operations allowed after connection closed.Connection was implicitly closed by the driver.
    09:01:31 [WARNING] [PlayerEditor] Error at SQL INSERT Query: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed by the driver.
    09:01:31 [WARNING] [PlayerEditor] Error at SQL Query: No operations allowed after connection closed.Connection was implicitly closed by the driver.
    09:01:31 [WARNING] Task of 'PlayerEditor' generated an exception
    java.lang.NullPointerException
            at net.minedev.playereditor.DatabaseHandler.getEditGroup(DatabaseHandler.java:406)
            at net.minedev.playereditor.BukkitContribHandler.setAll(BukkitContribHandler.java:57)
            at net.minedev.playereditor.listeners.PEPlayerListener$1.run(PEPlayerListener.java:34)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    and this:
    Code:
    [SEVERE] Could not pass event CUSTOM_EVENT to PlayerEditor
    java.lang.NullPointerException
            at net.minedev.playereditor.DatabaseHandler.getEditGroup(DatabaseHandler.java:406)
            at net.minedev.playereditor.BukkitContribHandler.setAll(BukkitContribHandler.java:57)
            at net.minedev.playereditor.listeners.PECustomEventListener.onCustomEvent(PECustomEventListener.java:20)
            at org.bukkit.plugin.java.JavaPluginLoader$87.execute(JavaPluginLoader.java:855)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
            at org.getspout.spout.PlayerManager.onSpoutcraftEnable(PlayerManager.java:81)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:121)
            at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
            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)
    
    Code:
    [WARNING] [PlayerEditor] Error at SQL Query: No operations allowed after connection closed.Connection was implicitly closed by the driver.
    09:04:23 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pedit' in plugin PlayerEditor v0.9.2
            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: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 org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
            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.NullPointerException
            at net.minedev.playereditor.DatabaseHandler.checkPlayer(DatabaseHandler.java:114)
            at net.minedev.playereditor.Core.onCommand(Core.java:167)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 13 more
    
     
  27. Offline

    alta189

    Sorry been gone on a trip, we are 50% complete with the new update.

    I am trying to get it done ASAP because of the fact when 1.8 comes out, I will be extremely busy with Spout again
     
    Schlumpf likes this.
  28. Offline

    MG127

    since some versions ago the spoutclient contains the hd-patch, could you pls make support for hd-skins?
    and maybe with ears and cape support -> (from this mod):D
     
  29. Offline

    sole10

    well... :) works on 1185 !!!!!![diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond]
     
  30. Offline

    Minemansam123

    Lol you mean Not curently possible for the Icon and the other thing for the MySQL? Lol other than that a Great Plugin
     
  31. Offline

    Schlumpf

    Hi,
    nice that you develope this awesome Plugin!
     

Share This Page