[CitizenSpout Inactive]

Discussion in 'Inactive/Unsupported Plugins' started by mbsuperstar1, Aug 20, 2011.

  1. Offline

    mbsuperstar1

    CitizenSpout - Give your NPCs skins:

    http://dev.bukkit.org/server-mods/citizenspout/
    Please use the bukkit dev page instead, to make the conversion easier once this section is removed.
    Features:
    • You can add a players skin to an NPC by typing /sc skin add (player-name)
    • GUI for creating NPC's will be made available soon.
    • You can add a custom cloak or skin to an NPC by typing -/sc (cloak or skin) add (url)
    • You can now also hide an NPC's nameplate!
    How to use:

    Select an NPC and type /sc skin add (player-name) to give it that skin.
    Select an NPC and type /sc skin add (URL) to give it that cloak.
    If skins or cloaks are not re-added for any reason, you can type /sc update-
    to re-add them.

    Download:
    Download the latest CitizenSpout below!
    http://github.com/downloads/mbsuperstar1/CitizenSpout/CitizenSpout.jar

    Changelog:
    • Version 0.1.8 - Stripped features to get a quick working release.
    • Version 0.1.7 - Quick fix during exams... broke badly.
    • Version 0.1.6 - Permission fix for cloaks and changed the default for name-plates!
    • Version 0.1.5 - PermissionsBukkit support, hidable nameplates and configuration!
    • Version 0.1.4 - Reverted command to /sc to fix conflicts.
    • Version 0.1.3 - Added capes and more cleanup on the code.
    • Version 0.1.2 - Changed commands around and fixed skin loading. Also added custom URL skins.
    • Version 0.1.1 - The skin update command is now automated, but can be used if it fails to work.
    • Version 0.1 - Giving NPCs a change of clothes. (skin)
    Credit: - Citizens Developers - Bukkit Developers - Spout Developers
     
    nazhrenn, aPunch, jlu and 4 others like this.
  2. Offline

    Dec64

    when i go to use the /skin edit, command, i get this error.

     
  3. Offline

    mbsuperstar1

    This will be fixed in the next update..for now always add a skin after edit, as intended.
    Thanks ~ :D
     
  4. Offline

    Dec64

    Sorry i have no idea what you mean "add a skin after edit" I'm following your instructions.


    How do i "add" a skin?
     
  5. Offline

    mbsuperstar1

    The command may be mis-leading..but the edit command implies you are editing the default skin into the new custom skin.
    ~
     
  6. Offline

    Dec64

    Yes i get that...so i edit a skin into the one i want, thats one of two commands this plugin has, so how am i not using as intended? what do you mean
     
  7. Offline

    mbsuperstar1

    Sorry was watching Notch code...It is really really late for me.
    To add a skin..
    Select an NPC.
    Then type
    -/skin edit (Skin-Player-Name)
    For example.
    -/skin edit mbsuperstar1
     
  8. Offline

    Julianoz1224

    how do I add a skin using a URL?
     
  9. Offline

    mbsuperstar1

    This feature has not yet been implemented; however it will hopefully be added in the next update.
     
    Mordaith likes this.
  10. Offline

    Julianoz1224

    Woops sorry, I was reading the to-do list and didn't realise XD
     
  11. Offline

    Mordaith

    I can not wait!
     
    mbsuperstar1 likes this.
  12. Offline

    Dec64

    But thats what i ment i did, when i use the /skin edit blahblah, as intended. it throws me the error, and does nothing.
     
  13. Offline

    Montpelier

    If this is going to become a general Spout addon for Citizens, would it be possible to support disabling NPC names floating above heads? I haven't used reinstalled Citizens for a while so ignore this if they figured out a way to add that to the ordinary install.
     
  14. Offline

    Lotos

    When we can expect a update of your plugin ?
     
    mbsuperstar1 likes this.
  15. Offline

    mbsuperstar1

    "soon" :p

    If you are still experiencing this error on the latest build; Giving me the full error would be helpful thanks.

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

    jlu

    Finally, we've personnal skin for NPC. Thanks, genius.
    However, /reload delete all my fabulous skins...I've created a folder called "CitizensSpout" but nothing.
     
  17. Offline

    mbsuperstar1

    They should be re-added, but if not try /skin update- to manually re-add them.

    P.S. CitizenSpout, No s.
     
    jlu likes this.
  18. Offline

    jlu


    And it works, thanks man. ;)[diamond]
     
    mbsuperstar1 likes this.
  19. Offline

    mbsuperstar1

    I'm about to upload a new version that should stop almost all problems with loading skins.

    However the skins.citizens file now only stores the NPC's name with their skin name, instead of a UID.
    This should hopefully stop conflicts with 2 NPC's and 2 different skins trying to fight it out.

    Also a currently unpreventable feature is that NPC's with the same name as a player will share their skin, this could be viewed as useful allowing admins to change the skin of every player on their server. If I ever stop this it will be toggleable via a configuration file.

    Feature Time
    1.1.2 will also include URL's for skins.
    1.1.2 also changes the commands to begin with -/cs - More documentation as I upload the download.
    You can add a URL with the normal command as long as it begins with http://
    Or you can edit the config and copy and paste it to the chosen NPC's name!

    OLD COMMANDS STILL WORK WHILE I TWEAK :D

    Second Update of today 1.1.3 :p
    Cloaks are included, type /cs to see commands and work from there :D
    Moved from using ID until spout stops messing around with the wrong player by accident ;(
    This means you must delete your skins file and re-do, sorry It's spouts fault :(

    Enjoy!
     
  20. Offline

    Werzieq

    What happenes if a players those not use spout?
     
  21. Offline

    mbsuperstar1

    They will not be able to see the effects, but they will still be able to play.
    If anything other than this happens to anyone, a report back would be great, so I can fix.
     
  22. Offline

    Werzieq

    Great, will install tomorrow
     
  23. Offline

    mbsuperstar1

    It's decided to mess up on the latest version, will try and fix as soon as possible!

    I'm pretty sure this was unrelated now..but not 100%
     
  24. Offline

    futhermukker

    Everytime I use the command /cs it thinks I am trying to run a WorldEdit script. that is the same command it uses to run scripts apparently. Is there any way around this?
     
  25. Offline

    kahlilnc

    cs command is a worldedit command for the craft scripts. . . ;(
     
  26. Offline

    mbsuperstar1

    Only just realized, sorry! And the GUI code is in an unstable state...will comment out and re-upload with sc, any objections to sc?
     
    kahlilnc likes this.
  27. Offline

    kahlilnc

    Sc command would be perfect for me. :D
     
  28. Offline

    MadcowD

    Could you change the command from CS it conflicts with world edit craft scrips

    Code:
    16:48:32 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'skin
    ' in plugin CitizenSpout v0.1.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    52)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
            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:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:436)
            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)
    Caused by: java.lang.NoSuchMethodError: com.citizens.npcs.NPCDataManager.getSelected(Lorg/bukkit/entity/Player;)I
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  29. Offline

    mbsuperstar1

    I am aware of this issue and I am trying to fix it.
     
    MadcowD likes this.
  30. Offline

    MadcowD

    Thank you much, shoulda read the thread above!
     
  31. Offline

    mbsuperstar1

    Can you tell me what version of Citizens you were using? Seems it can't find the required API method.
     

Share This Page