Inactive [GEN/INFO] PlayerStatusSigns v0.6 - Have a sign tell you who is on and off [1.1-R7]

Discussion in 'Inactive/Unsupported Plugins' started by NuclearW, Jul 15, 2011.

  1. Offline

    NuclearW

    PlayerStatusSigns - Have a sign tell you who is on and off
    Version: v0.6

    PlayerStatusSigns (PSS) lets users create signs that will change when players log in, our, or go /afk.

    PSS supports language translation: Simply edit the "lang" file to change anything PSS says..

    PSS has been translated into French, Brazilian Portuguese, Dutch, Spanish, and Polish.
    PSS supports and is tested with PermissionsEx. PSS also supports default Bukkit Permissions! And will support any permissions plugin that does the same. PSS also tentatively supports Permissions 2.7.4 and 3.1.x, but is not tested against these.


    Usernames 15 or 16 characters in length will not be colored in order to fit them on the sign.

    To create a PSS sign: You must first have the appropriate permission (if a permissions plugin is being used), or have ops (if a permissions plugin is not being used).

    Simply create a sign with "[PSS]" (without quotes) in the first line, and a player name in the second. If that player is currently online, you may use partial name matching, if they are not you must spell their exact name out completely and caps-correct.


    A visual explanation:[​IMG]

    If you translate this plugin I would be very grateful if you would send me your lang file so that I may share it with others in this post.

    Features:
    • Create signs to show when a player is on or off.
    • Signs also track users who use /afk and have permission to do so.
    • Supports translation.
    • Supports PermissionsEx, Permission 2/3, Bukkit Permissions, and defaults to OP
    Commands:

    • /afk (on|off) - Sets the signs of the player who uses this command to show AFK, or Online.
    • /pss <option> - Debugging/admin command use following for <option>
      • save - Saves the current signs in memory to the signs file.
      • load - Loads from the signs file and over-writes the current signs in memory.
      • check - Runs through all signs in memory and removes any signs that are now missing.
      • dump - Prints a lovely chat spam representation of the current signs in memory.
    Permissions:


    Nodes (open)

    • pss.* - Allows access to all pss commands
    • pss.create.* - Implies pss.create and pss.create.other
    • pss.create - Needed to create a PSS sign for one's self
    • pss.create.other - Needed to create a PSS sign for any player
    • pss.afk - Needed to use /afk
    • pss.admin - Needed to use the /pss command


    Download PlayerStatusSigns

    Changelog:
    • Version 0.6
      • Many internal changes to fix me being dumb when I first wrote it
      • Actually loads properly now!
    • Version 0.5
      • Update to new event system, still needs a re-write
    • Version 0.4
      • Chunks with signs in them now loaded if they are not in order to properly update them
      • PSS now supports Bukkit Permissions!
      • Version 0.4.1
        • Chunks with signs in them are now really loaded if they are not.
        • PSS now tracks other forms of disconnect other than just quit and kick (endOfStream, etc)
    • Version 0.3
      • PSS now watches for block breaks, to better track it's signs
      • New /pss command, mostly debugging commands, should never really need to be used in general use.
    • Version 0.2
      • Added permission pss.create.other for permission to create signs for users other than self.
      • Version 0.2.1
        • Names longer than 15 characters are not colored to try to make them fit.
    • Version 0.1
      • Initial release.
    Known Bugs:
    • None to my knowledge!
    PSS was suggested by @Parrothead
     
    Vorago, Xaostica and Parrothead like this.
  2. Offline

    Sgt_Green

    [​IMG]
    this is what i was talking about before.
     
  3. Offline

    NuclearW

    Hmm... This seems to be a logic error, I'll look into it.
     
  4. Offline

    Sgt_Green

    and another thing.
    when people dont deesigante a name it turns out to be one person from our server. same person all the time.

    i do not have craft bukkit 1060 because my major plugins i use are not compatible with that yet. so i dont knmow if its fixed or not.
     
  5. Offline

    Raycrash

    too bad it seems there is still something not working with it, 2 signs 1 of them didnt update properly...
    could be server restarting while being logged a reason ?
     
    imerej likes this.
  6. Offline

    Don Redhorse

    @NuclearW
    hi cb 1060, the signs file isn't written to as it seems it is updating the timestamp of the signs and version file so to the time of the server restart. Any idea?
     
  7. Offline

    SkayzenoX

    Source plz? For change the colors.
     
  8. Offline

    pandy8

    is it possible to change time of the plugin? because the time on the signs have 2 hours difference with the reality... can you help me plz?


    sorry for my bad english :S
     
  9. Offline

    Holzbunker-City

    does it work with 1185 ?
     
  10. Offline

    croxis

    Following bug in 1.0
    Code:
    3:30:10 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pss' in plugin PlayerStatusSigns v0.4.1
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:364)
            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 net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
            at sl.nuclearw.pss.pss.onCommand(pss.java:212)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 12 more
    
     
  11. Offline

    Calgon

    Works on 1488?
     
  12. Offline

    NuclearW

    I really need to rewrite this plugin, thanks for the bug report.

    I have not tested it in any non-RB releases.

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

    Calgon

    Ok
     
  14. Offline

    Don Redhorse

    Hi,

    any chance you update this? There are still problems with it not working after a reload, my signs file for example is still 0 bytes.
     
  15. Offline

    RiotShielder

    I need this updated , pwease.

    I'll give you this cookie ( : : )
     
  16. Offline

    BlackHornet

    Hi, really nice plugin...but could you make it possible to allow custom date formatting?

    a date like: 20.02.12 13:48 is trunked and the last digit is missing...we would like to only print out the date without the time
     
  17. Offline

    CackleFish

    Hey,
    awesome plugin it helps alot to let our players know how active are admins are :) Any chance of a update for it soon though?
    Thanks :)
     
  18. Offline

    RiotShielder

    I get this error on startup


     
  19. Offline

    NuclearW

    It's on my list.
     
  20. Offline

    CackleFish

    Nice looking forward to be able to have it on my server again :)
     
  21. Offline

    NuclearW

    Updated to the new event system, still needs a rewrite desperately.
     
    CackleFish likes this.
  22. Offline

    CackleFish

    Yay Yay Yay! just gonna put it on my server and give it a go :)
     
  23. Offline

    NuclearW

    Far from the total re-write it might need, v0.6 contains many internal changes to fix me being a n00b when I first wrote this.

    In addition, it actually loads things properly now! So things like "multiple signs per user" should actually work now.
     
  24. Offline

    webcraft

    I really love this plugin! Thx for making!
    It works fine with 1.2.3-R0.2 !! +1 :)


    If you can add that more then 1 user can be listed at one sign would be fine. Only the color show, if the user is online or offline.
    red=offline
    green=online
     
  25. Offline

    googlewiki

    This is, amazing. No longer do noobs ask for admins! READ THE SIGNS NOOBS! XD
     
  26. Offline

    NuclearW

    googlewiki
    Glad you like it

    webcraft
    That isn't really easy to do with how it works now, so I gotta say it probably isn't going to happen in the foreseeable future.
     
  27. Offline

    BoorMachine

    Awesome Plugin, works with 1.2.3 beta. But theres a Small Problem, When you add people with 14/15 character names, they dont get the green/red/yellow color. could you make the player names to have no color?
     
  28. Offline

    NuclearW

    As I said in the OP names that are 15 or 16 characters long won't be colored to fit the name on the sign.

    What is it you are asking it to do?
     
  29. Offline

    Parrothead

    Thanks for updating this, NuclearW. It's still displayed prominently in my spawning area :D.
     
    NuclearW likes this.
  30. Offline

    BoorMachine

    It would be nice if there was an option to not color the names.
     
  31. Offline

    NuclearW

    As in never color the names at all?
     

Share This Page