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

    yeah, that's weird dude. must be your setup. are the services on a windows box? sounds like it.
    if you don't want a cape/skin/name set for a player, JUST DON'T MENTION THEM!!!! ie. remove the @gloabl player, and remove the player you don't want anything set for. yeah? that's not difficult.
    my plug will only change things if the player is in the config/mysql.
     
  3. Offline

    Qentus

    @nil0bject Are you going to do anything with my error please?

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

    Code:
    2011-10-04 09:26:47 [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)
     
    retool2 likes this.
  4. Offline

    nil0bject

    yep, gonna sort t all out now.
    I'll put in a heap of warnings, like "NOOOO, IT HAS TO BE A REAL PNG" and such.

    ok, i've added a donation link in the original post. please help me out, or I'll have to stop development and won't release the source. Thankyou very much.

    tests:
    1. download plugin and spout. install into craftbukkit.
    2. delete all spoutplayers configs and databases
    3. run craftbukkit
    4. server starts, config created

    //config
    5. join server. 2 players(1 op, 1 guest) join. @global is applied.
    6. set name, skin, cape. all apply, everyone sees it. changes are saved to config.

    //mysql
    5. enable mysql in the config. enter correct database details. restart server.
    6. join server. 2 players(1 op, 1 guest) join.
    7. test /set command. name only sometimes changes. all else is fine.


    nb. i'm assuming most of the errors are caused by Spout-dev and bukkit. I will keep working to try to mitigate them.

    h, can you all try downloading 1.2 again. I have a small feeling that you've got a corrupted jar....

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

    Qentus

    i downloaded 1.2 again, started server, all looked fine, i had global skin, no error
    then i stopped server, I changed config to mysql = true, then I started server, tables in DB were created, but when I logged in I had this error

    Code:
    2011-10-04 10:17:30 [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)
    and when I tried to change a skin I got this error

    Code:
    2011-10-04 10:18:09 [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:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
        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 nil0bject.spout.spoutPlayers.SpoutPlayerCommands.onCommand(SpoutPlayerCommands.java:76)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
        ... 7 more
    
    Edit: I downloaded version 1.2 but in console it says "2011-10-04 10:17:19 [INFO] [SpoutPlayers] by nil0bject version 1.12 enabled."
     
  6. Offline

    nil0bject

    that's crazy dude.
    if you followed exactly what I did, then you shouldn't have had any problem. I didn't, and I don't have anything installed other than bukkitpermissions.
     
  7. Offline

    Qentus

    Ok, now I started the server only with Spout, PEX, and SpoutPlayers and I still have this errors....
    do I need to put something into "lib" directory?

    spout - the latest recommended build
    PEX - the latest recommended build
    SpoutPlayers - 1.2 , but as I said it says [INFO] [SpoutPlayers] by nil0bject version 1.12 enabled.
     
  8. Offline

    heavy1metal

    The only error I've gotten via sql, was from mySQL workbench, because of an error: "there is no primary key defined for the table."

    However phymyadmin should not care. I personally prefer phpmyadmin. It just happens the server I admin uses workbench.

     
  9. Offline

    Zombiemold

    phpmyadmin also has the "there is no primary key defined for the table." error, so I can't edit them.
     
  10. Offline

    nil0bject

    ok, i use linux, so I have none of those problems. I'll add a primary key for each table.

    i'll update soon. thanks for waiting.

    Update:
    1.3 Download
    - added primary keys for all tables (will update automatically)
    - fixed player names without using *

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

    thatevilcreeper

    Would this plugin allow me to make people look like Creepers like in the new episode of shadow of israhpel (bluexphos) where somebody was actually playing a creeper
     
  12. Offline

    nil0bject

    yep.
    add a new skin called creeper.
    set its value to: http://yourimg.in/i/gydprluw.png

    add a new name called blank.
    set its value to: ' '

    then, in game,
    /set <username> skin creeper
    /set <username> name blank

    edit: i updated 1.3. please re download
     
  13. Offline

    cadwal

    Does this plugin work with Citizens? Looking at how it functions, it most likely does... I just wanted to confirm before uploading to my server since I don't have spout yet.
     
  14. Offline

    nil0bject

    yes, it works well.
     
  15. I'm waiting for Titles in color :D

    [​IMG]
     
    nil0bject likes this.
  16. Offline

    nil0bject

    Update:
    1.4 Download
    - fixed PLAYER_JOIN bug
    - commands now work properly again.
    - sorry for those bugs. i had to rewrite heaps of stuff to get it working again. Thanks for being patient!

    do you know the code so i can do this?

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

    DarkKiller13

    i downloaded spout and though it tried to save as a zip i saved as a jar, downloaded spout players as a jar, put both in plugin folder, tried to login and it said it was working but when i tried to use /set MorningFrost name jdwhihea (random example) and i tried to type, it still showed my name as MorningFrost and when i did same with skin it had my normal skin and i used a png url and it said it changed to that but stayed the same, whats the deal lol :S
     
  18. Offline

    nil0bject

    any hints? the server console is there for a reason.
     
  19. Offline

    Zombiemold

  20. Offline

    nil0bject

    if you're using 1.4, can you take out the @global: name: * stuff and try again. thanks!
     
  21. Offline

    Zombiemold

    Cleared the table, and restarted the server. It still seems to be happening. One of the earlier versions, 1.3 I believe didn't seem to have this issue, I kinda forgot about it when I was using it lol.
     
  22. Offline

    nil0bject

    Update
    1.5 Gravity
    - new modifier "grav". controls how much gravity a player experiences. 1 is normal. 0 is none. you can use negative numbers and decimals. 0.5 is good. watch out for fall damage.
    - skins, capes, grav and names are refreshed on all players more regularly. this is controlled via the preferences: updateFreq: setting in the config file.
     
  23. Offline

    nicquehen

    Hi sorry i French so it is possible i don't understand some features of this plugins.

    It is possible assign a cape to a group.

    I have 5 groups i need a different capes from each them.

    (only capes not skin)
     
    nil0bject likes this.
  24. Offline

    nil0bject

    yes it's possible. will you use the config file or mysql?
     
  25. Offline

    nicquehen

    I can use mysql i don't know which is the best?


    Thx for the quick answer
     
  26. Offline

    nil0bject

    no problem.
    -If you use mySQL, setup the config file with the details of the server, and set the mysql preference to true.
    -Start the server. When the plugin is loaded, it will create the tables.
    -Use your favourite mysql editor to add a row in 'SPcapes' for each group.
    ie name=group1 url=http://www.minecraftwiki.net/images/4/47/Creeper_cape.png
    name=group2 url=http://www.minecraftwiki.net/images/7/79/JulianClark.png
    -in game, log into the server.
    -use the /set command to assign the cape to a player.
    ie /set nicquehen cape group1
    /set nil0bject cape group2

    i hope that's easy enough to understand. good luck!
     
  27. Offline

    nicquehen

    Thx i will do some test this evening :)
     
    nil0bject likes this.
  28. Offline

    nil0bject

    Update
    1.6 @<type> - saving group data
    - new modifier "@<type>", where <type> is skin, cape, grav or name.
    - usage: /set @<type> <name> <value>
    - example:
    /set @cape group1 http://www.minecraftwiki.net/images/4/47/Creeper_cape.png
    /set @cape group2 http://www.minecraftwiki.net/images/7/79/JulianClark.png
    /set nicquehen cape group1
    /set nil0bject cape group2

    /set @skin group1 http://www.minecraft.net/skin/Notch.png
    /set @skin group2 http://www.minecraft.net/skin/nil0bject.png
    /set nicquehen skin group1
    /set nil0bject skin group2


    ps. you can use this now instead of what i mentioned in the post above this one. cheers, @nicquehen
     
    nicquehen likes this.
  29. Offline

    winston100

    Can you make it so that our skin goes through a web site that we can adapt and perhaps also via a php script can register via a website :3?

    Sorry for my bad english
     
  30. Offline

    nil0bject

    you can use something like http://www.minecraftwb.com/index.php/skins
     

Share This Page