Inactive [USER/RP][Spout/Perm/mySQL] SpoutPlayers 2.0.5: player models, appearance, PM's and more[1.2.5-R4.0]

Discussion in 'Inactive/Unsupported Plugins' started by nil0bject, Aug 24, 2011.

  1. Offline

    nil0bject

    SpoutPlayers 2.0.5[formerly SpoutPlayerSkins]
    Donate - THANKYOU!!!
    [​IMG]
    Change player models, skins, capes, names, gravity, jump height, walk, air, and swim speed, render distance and many more!

    Project Page: http://dev.bukkit.org/server-mods/spoutplayers/
    Please submit problems with SpoutPlayers to: http://dev.bukkit.org/server-mods/spoutplayers/tickets/

    Settings can be stored in your config file or mySQL database.
    Restrict user permission to allow/deny changing of values.
    Change groups of players with one edit.

    Create a group type:
    /set @<type> <groupName> <value>
    Set a players type to a value or group type:
    /set <playerName> <type> <value>
    Reset a players type value to default:
    /set <playerName> <type>
    Display info:
    /set <playerName>
    eg:

    /set nil0bject
    /set skin admin http://myserver.com/skins/admin/*.png
    /set nil0bject skin admin
    result: my skin would be set to http://myserver.com/skins/admin/nil0bject.png
    /set skin admin http://myserver.com/skins/admin/admin.png
    result: my skin would be set to http://myserver.com/skins/admin/admin.png
    /set nil0bject skin
    result: my skin would be set to http://www.minecraft.net/skins/nil0bject.png

    <type>s are:
    - name: change the name
    - cape: change the cape
    - skin: change the skin
    - mob: change into a mob with a valid ID number of a minecraft entity. Get them from the wiki.
    - grav: changes how quickly you will fall. will still take fall damage. will get kicked if floating for too long.
    - walk: how fast you walk
    - swim: how fast you swim
    - air: how fast you fly
    - sight: how far the player can see. reduce lag or increase visibility.
    - jump: how high you can jump
    - fly: true or false
    - pm: send an achievement notification to a player with your name and message
    - warn: constantly send a warning to a player until you send another warning with only a fullstop in it

    ----------------Installation------------------
    Server Installation
    1. Download SpoutPlayers
    2. Download Spout.
    3. Copy SpoutPlayers.jar and Spout.jar into your bukkit servers plugin folder.
    4. Start or restart your bukkit server.

    Player Installation
    1. Download SpoutCraft Linux: jar Windows: exe MacOS X: app.
    (optional)1.1. Copy Spoutcraft.jar to where your minecraft launcher is.
    2. Open Spoutcraft.jar.
    3. Login with your minecraft account.
    4. Wait for a clean copy of minecraft to be downloaded and modded.
    (this does not modify your original minecraft)
    5. Connect to a bukkit server running Spout and SpoutPlayers!!

    Updatess


    2.0.5 MultiWorld support for MySQL servers
    * if you use MySQL to store your SpoutPlayers data, then you now can set player type values on a per world basis.
    * /set <playerName> <worldName> <type> <value>
    # /set nil0bject world skin http://www.minecraft.net/skin/*.png
    # /set nil0bject world_nether skin http://www.minecraft.net/skin/Notch.png
    # /set nil0bject world_the_end skin http://www.minecraft.net/skin/Honeydew.png
    * this isn't supported with config files yet. please consider using MySQL.
    2.0.3 - More @<types>!
    - you can now use the @<type> command with all the types to make groups with names.
    eg. /set skin nameOfMyGroup http://s3.amazonaws.com/MinecraftSkins/Notch.png
    ie.

    2.0.2
    - fixed the console spamming
    - added more default options when a new SpoutPlayers/config.yml file is created

    2.0.1
    -SpoutPlayers now saves your settings

    2.0.0
    - updated to work with latest craftbukkit 1.2.5 and latest SpoutPlugin/SpoutCraft 1.2.5
    [COLOR=#000000][FONT=Georgia][COLOR=#141414][B]1.9.1 - bug fix[/B][/COLOR][/FONT][/COLOR]
    - fixed error with morphing into mobs.
    1.9 - Private Messages via Achievements!
    - add a new <type>: pm
    - this will send an achievement notification to a player with your name and message
    - much easier than finding your name in the chat log
    - usage: /set nil0bject pm Hey.What_ya_doing?
    - nb: currently messages can only be one word, and less than 26 characters.

    -fixed a few bugs with the config and warn type.

    1.8.1
    -trying to fix permissions errors
    SpoutPlayers 1.8 - warnings and morphing
    - send an achievement notification to any player. will keep warning until it is reset
    - /set nil0bject warn stopMessingAround*
    the warning can only be one word on the command line, so it's best to setup premade warnings in your config(warns:) or mysql(SPwarns)
    reset warning:
    - /set nil0bject warn .
    or
    - /set nil0bject warn

    - morph into any entity installed in all connected clients
    - this means, using the ID number of an entity(eg Ghast is 56), you can change your appearance for other players, not yourself.
    - /set @mob ghast 56
    - /set nil0bject mob ghast
    and then for lulz
    - /set nil0bject grav 0.1
    - /set nil0bject air 100
    - /set nil0bject fly true
    - if all clients have a mod installed, that includes a custom entity, you just need to know that entities ID and everyone can change into it.
    - who has some cool minecraft models?
    - this is part of the custom player model integration.

    Vanilla Entities
    entity, ID
    "Creeper", 50
    "Skeleton", 51
    "Spider", 52
    "Giant", 53
    "Zombie", 54
    "Slime", 55
    "Ghast", 56
    "PigZombie", 57
    "Enderman", 58
    "CaveSpider", 59
    "Silverfish", 60
    "Pig", 90
    "Sheep", 91
    "Cow", 92
    "Chicken", 93
    "Squid", 94
    "Wolf", 95

    ------------------Usage-----------------


    ------------------future updates-----------------
    - custom entity skins
    - hide name
    - respawn with different values. ie zombies!!
    - custom player models(will require client mod)

    Donate - THANKYOU!!!
    [​IMG]
     
  2. Offline

    nil0bject

    noone can help without giving me some info.
    what version craftbukkit? what version spout, what version spoutplayers? mysql? debug?
    the info above only says you had a problem when someone logged into the server. who was it? did they have custom values setup in mysql or config?
     
  3. Offline

    Spyre

    Ok so please dont flame or kill me... Doesn't Spout Essentials do this?
     
  4. Offline

    nil0bject

    i've never used it, but it doesn't have use a mysql backend.
     
  5. Offline

    Hryniu

    CraftBukkit - 1185
    Spout - 1.0.6.403
    SpoutPlayers - 1.1
    mysql - no mysql
    debug - the debug is set to true
    They didnt have any custom values.
     
    nil0bject likes this.
  6. Offline

    heavy1metal

    Update:
    http://ubuntuone.com/6WIbNfO8Rxmwx8HELlCM5x
    ^^^ This one works correctly.

    I have this issue as well, what I noticed is the plugin was/is not writing new data to the config file. When set to SQL, this error no longer appears, however I now have the issue where it is not writing to the SQL database either. However it does change the skin, temporarily. User logs out and the skin is lost. This is understandable since the data is not being saved anywhere.

    Looking further, it is not creating a table for the SQL database. If you could give me what column names it needed i'd just do it manually.

    I have gotten:
    "Tried to save, but the SELECT, UPDATE OR INSERT failed."

    Bukkit 1185
    Spout 1.0.6.381

     
    nil0bject likes this.
  7. Offline

    nil0bject

    thankyou very much for the detail!!
    I was able to solve the problem immediately, based upon what you told me.
    get the fixed version here [1.2]: http://ubuntuone.com/1zlPBEFDUIfQLbtrzxaFMW

    i don't get much time to test, so these reports are great!
     
  8. Offline

    Qentus

    CraftBukkit - 1185
    Spout - 1.0.6.403
    SpoutPlayers - 1.1
    mysql - true
    debug - true

    the server was running with working plugin for about 15 minutes, i changed skins, all was fine, but then a restarted my server and got this error

    Code:
    2011-10-02 20:24:29 [SEVERE] Could not pass event PLAYER_JOIN to SpoutPlayers
    java.lang.NullPointerException
        at nil0bject.spout.spoutPlayers.SpoutPlayerAppearance.getUrl(SpoutPlayerAppearance.java:118)
        at nil0bject.spout.spoutPlayers.SpoutPlayerAppearance.<init>(SpoutPlayerAppearance.java:28)
        at nil0bject.spout.spoutPlayers.SpoutPlayers.addPlayer(SpoutPlayers.java:180)
        at nil0bject.spout.spoutPlayers.SpoutPlayerListener.onPlayerJoin(SpoutPlayerListener.java:27)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:116)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:75)
        at net.minecraft.server.Packet1Login.a(SourceFile:59)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Can anyone help me?
     
  9. Offline

    nil0bject

    Thanks for reporting! Can you please update to 1.2 and tell me how it goes? thankyou
     
  10. Offline

    Spyre

    I haven't messed with mysql because i run a piddly lil home server ( lol ) and I flatfile most everything or use thhe most simple things I can find. I may actually try yours out though being as it seems more lightweight!
     
    nil0bject likes this.
  11. Offline

    Hryniu

    @nil0bject - I have updated to 1.2 and it works, but the skins are not updateing. And i think the database havent created.
    and still get this message.

    Code:
    2011-10-02 21:26:48 [SEVERE] Could not pass event PLAYER_JOIN to SpoutPlayers
    java.lang.UnsupportedOperationException: Invalid URL
        at org.getspout.spout.player.SimpleAppearanceManager.checkUrl(SimpleAppearanceManager.java:339)
        at org.getspout.spout.player.SimpleAppearanceManager.setGlobalCloak(SimpleAppearanceManager.java:169)
        at nil0bject.spout.spoutPlayers.SpoutPlayerAppearance.refresh(SpoutPlayerAppearance.java:39)
        at nil0bject.spout.spoutPlayers.SpoutPlayers.addPlayer(SpoutPlayers.java:185)
        at nil0bject.spout.spoutPlayers.SpoutPlayerListener.onPlayerJoin(SpoutPlayerListener.java:27)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:116)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:75)
        at net.minecraft.server.Packet1Login.a(SourceFile:59)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    And the commands /set arent working/:(

    I know it says that links are invalid, but they are good. And is there any way to save those images on the server itself, so it wont connect to say imageshack, but just get them from plugins folder.
     
  12. Offline

    nil0bject

    you have to specify a database that already exists. it's not a plugins job to create it for you. it will make the tables, if the database exists.

    you should tell me what url you are using. i need to check it myself.

    the client needs to download the skin, so hosting on your server would still require a web server... so, no need for local file hosting in the plugins folder.
     
  13. Offline

    Silvo

    updates after 1.0 stopped working for me... cb#1185, recommendet spout

    config...
    Code:
    players:
        Silvo:
            skin: TorchAlchemist
        Sonja:
            skin: Sona01
    skins:
        Sona01: http://192.1.2.3:5080/Skin/Sona01.png
        TorchAlchemist: http://192.1.2.3:5080/Skin/torchlight-alchemist.png
    preferences:
        updateFreq: '400'
        debug: true
        mysql: false
    
     
  14. Offline

    Aznlilly86

    Trying to use the new update causes this error when I try to set a skin

    "2011-09-28 21:29:48 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'set' in plugin SpoutPlayers v1.12
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    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:92)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
    at nil0bject.spout.spoutPlayers.SpoutPlayerCommands.onCommand(SpoutPlayerCommands.java:76)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    ... 13 more"



    [Edit1]Okay, I have discovered the cause of this error, you must type the player's names absolutely correctly when using the /set command. Most commands in minecraft do not seem to be case sensitive, I wondered if you could change that. Also, since updating to this version, we no longer get anyone's names over their heads.

    [Edit2] Okay, to get people's names over their heads, you have to use a /set name if you gave them a skin, or else it vanishes, this seems like a little bit odd.
     
  15. Offline

    Zombiemold

    I connected this to a remote mysql database, and all seems well minus a few things.

    First off, no one has a name, I need to manually change everyone's names. This is tedious.

    Secondly, the global notch skin and global cape aren't applying, do I need to add it to the mysql database?

    Lastly, is it possible to be able to turn off the handling of capes? It overrides other plugins that add capes via skills like Levelcraft, or SimpleClans.
     
  16. Offline

    Qentus

    sorry, i typed it wrong, i had this problem with version 1.2
     
  17. Offline

    nil0bject

    re: no names.
    - can you add this to the config or the SPplayers table
    config:
    Code:
    players:
      '@global':
        name: *
    mysql:
    edit or add the @global username. add name=*
    this should give everyone their name back
    @Zombiemold Yes, if you set mysql to true, it will ignore the rest of the confgi file. you must add everything to mysql first.

    re: usernames
    this is set by mojang, not me. this is because i can register a minecraft account for foobar, Foobar, FOObar, fooBAR, etc, etc

    re: capes
    if you don't want to use capes, then don't set them.
     
  18. Offline

    Zombiemold

    That would be the issue I am looking into.

    What exactly are the variables to add to the MySQL, in each field. That is, for the @global players to keep their names or w/e.

    I have the following fields in my MySQL:
    Username, world, name, skin, cape
     
  19. Offline

    Aznlilly86

    Do you mean it is impossible to support case insensitive names? How does it work for permissionsEX and the built in console commands?
     
  20. Offline

    retool2

    how can i use their default official skin instead of spoutskin?
    i want some player that own their official skin can use their official skin and other player can use spout skin
    any flag like official_skin: true
     
  21. Offline

    heavy1metal

    Remove the global skin entirely.
     
    nil0bject likes this.
  22. Offline

    nil0bject

    hmmm, not sure. I was under the impression that usernames were case sensitive.
    I can implement it and tell you to use at your own risk.

    username = minecraft username
    name = spout title
    world isn't used yet

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  23. Offline

    oohTony

    Hello,

    I've one problem and the plugins don't work :

    Code:
    2011-10-03 23:23:48 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'set' in plugin SpoutPlayers v1.12
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    	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:92)
    	at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
    	at nil0bject.spout.spoutPlayers.SpoutPlayerCommands.onCommand(SpoutPlayerCommands.java:76)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    	... 13 more
    
    And the function to attribute the skin to a Group is ready ?

    Thank you !
     
  24. Offline

    nil0bject

    what command did you try? I don't have any error checking for incorrect commands. I assume everyone knows how to use it before installing.

    Yes. This has been a feature since version 0.0 of SpoutPlayerSkins.
     
  25. Offline

    oohTony

    I've tried :

    /set brigels skin http://mysite.fr/mc/skins.png

    (sorry, I can't write the real website)

    I've tried to edit the configuration files to :(

    What is the command to attribute a skin or caps to all a Group.

    Thank you.
     
  26. Offline

    nil0bject

    i'm assuming brigels wasn't online when you used the command.
    The commands are only for mods. You must have admin access to the database and edit it manually, if you want to set up groups or anything. The commands are only for mods, not admins. My plug is not a mySQL admin interface.
     
  27. Offline

    oohTony

    It wasn't Brigels, but a online player.
    I really need a separate MySQL database?
     
  28. Offline

    Zombiemold

    How do I fill them out for @global? for instance, where do I put the *? I still see users with no names.

    Additionally, this isn't working for me very well, at all.

    Commands simply don't work.

    Maybe this was obvious but... can we not use the newest versions for 1.8? if so, that might explain the problems I am having, however it is very disappointing because I won't be able to have a database for the 1.8 version.
     
  29. Offline

    retool2

    I've got this error when player is not online
    Craftbukkit version git-Bukkit-0.0.0-1067-g6301507-b1185jnks (MC: 1.8.1)
    [Spout] Server version: 1.0.6.381
    SpoutPlayers v1.12
    MySQL = true

    10:23:57 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'set'
    in plugin SpoutPlayers v1.12
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    3)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    53)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    49)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
    at org.getspout.spout.player.SimpleAppearanceManager.getTitle(SimpleAppe
    aranceManager.java:111)
    at nil0bject.spout.spoutPlayers.SpoutPlayerCommands.onCommand(SpoutPlaye
    rCommands.java:36)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    ... 7 more
     
  30. Offline

    nil0bject

    nope. it just has to exist, first and foremost. i won't add code that could fubar someone's mySQL install.


    hmmm, sounds like you are really uncomfortable with basic technology.
    my plug makes a few tables. One is SPplayers. If you make a username=@global name=*. very very very easy. if you can't figure that, you should just use the config file.
    Commands are working fine for me.
    What do you mean by "can we not use the newest versions for 1.8?"?. I don't support any earlier versions. I am using the 1.8.1 protocol.

    So you tried setting a value for someone who wasn't online? yep, won't currently work. I will change this to work like the respawn timer.
     
  31. Offline

    Zombiemold

    I can edit the tables that include the names and capes that is created by this mod. I am able to edit and change any other table in my MySQL database easy. Not sure why the table is different in this mod. I can however, add new lines to the table, and already have the information that you just mentioned, in a line with username=@global and name=*. Not sure what is going on.

    I have resorted to using the config, but I have found that it is very finicky, and haven't found proper documentation for setting up the variables I want ie, new players should just have no cape and no skin, but I don't know what the yml file wants to see if I want that option. Putting nothing in those fields borks the plugin, and no commands work. When I just put quotes that are empty, I get a similar result.

    I would say that I am uncomfortable working with your YML file, as well as one from another mod author. Otherwise, I haven't had any problems with any other addons with MySQL databases / configs.
     

Share This Page