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


    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.

    • 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

    • /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.

    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

    • 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


    Im using permissions 3.1.6 and LWC thx for the help ill try those suggestions
    also what i meant by extract earlier no folder was created
    and this is my main problem. I will give u a list of plugins installed if u want???

    maybe if someone uploads a copy of the folder i could download it would work ???

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


    Not sure if this is a bug or not or even if you know it. but you can't seem to have more then 1 sign for 1 person. but other then that its a really really simple but awesome plugin.
    Vorago likes this.
  4. Offline


    Are you sure?

    On my server we have multiple signs for multiple people without problems. Are there any errors in the logs you can find that might help me?
  5. Offline


    We got 2 signs for some persons (doesnt seem to be a problem ) but it seems the signs are broken after server-restart.

    edit: it seems signs break on server restart and other occasions ?
  6. Offline


    Err is it just me or did this stop working?
    I joined my server today and it sayed i was offline on my sign, so i tried making one for another player on the server but it just stayed as [PSS] Name reloaded my plugins to, didn't seem to work. Also /pss returns an error

    Edit: sorry just needed a restart
  7. Offline


    Do they break for you when you reload also? Are you sure you are using version 0.4.1? How do you normally restart your server? Are there any errors you can give to me to help me fix it?

    So it is fixed? Can you send me the errors the plugin made?
  8. Offline

    Ryan Clemente

    everything works fine when im in my server. when i place the signs it properly shows whether im on, off, or afk. but once i go to my CMD for my server and type "stop" to shut down the server, and open it once again, it says im offline and same to everyone on the server. any help?
  9. Offline


    This is very odd...

    I think I'll make a 0.4.2 with a debugging logger.

    In the meantime, can you grab the contents of your signs file while the server is off before you start it back up again?

    Also, PSS has been translated into Spanish and Polish, thanks to kevdama and @TGF respectively for their most amazing work.
  10. Offline


    Nice :)
    Like your other Sign plugin ;)
    Thanks again ;D
  11. Offline


    No errors;
    I will try to get the offline text asap. (if I won't forget it :D)

    Edit caught some errors
    ... 12 more
    at org.bukkit.command.PluginCommand.execute(
    at sl.nuclearw.pss.pss.onCommand(
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at net.minecraft.server.MinecraftServer.h(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.Packet3Chat.a(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetServerHandler.handleCommand(
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    at org.bukkit.command.SimpleCommandMap.dispatch(
    at org.bukkit.command.PluginCommand.execute(
    org.bukkit.command.CommandException: Unhandled exception executing command 'pss' in plugin PlayerStatusSigns v0.4.1 
    Hope this helps.... you want to know other plugins running maybe ? ;)

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


    I've got a problem, i can use commands but when i do "/pss" (no quotes) ingame, i get this internal command error.
    I still checked if signs would work, they do. But when i restart/start up server again, the signs would be on the ground. got any ideas why?
  13. Offline


    Looking at it I see the command will error out if you don't provide an option. I have fixed this for the next version.

    However, you should never really be using the /pss command unless you know exactly what you are doing/I ask you to. It's a strictly debugging command.

    @Raycrash , is that from while the server is down, or while the server is running (and the signs are working), or while the server is running (and the signs are not working).

    @Tombguy6 , could you also try to get the contents of your signs file between stop and start of the server? Although I haven't the faintest what would cause the signs to fall off other than players.
  14. Offline

    Ryan Clemente

    well i found out what the problem was. I just had to exit the Minecraft server, then go to the server command prompt and type "Stop". Before i was doing this without leaving the game and typing "/stop", but everything seems to be running fine now. ill let you know if i notice any more bugs. thanks for this amazing plugin :)
  15. Offline


    Well sorry to say that i wasn't watching the thread here and my server hoster (brohoster) closed down. i don't have access to my map nor my server logs. so there is no way to say what was happening. but basically one sign would update and the other wouldn't. so one would say Sgt_Green is offline and another Sgt_Green is online.
  16. Offline



    May i get the Source?
    I want to write it fully german (Date and Timeformat).
  17. Offline


    No it was while the server is running....still didnt figure it out.
    And forgot to copy while server was down ;(
  18. Offline



    I like your Plugin. It's awesome!

    But there is one major problem.
    If a player destroys a PSS in an protected area (used WorldGuard-Region-Protection) without build-permission, the Sign (+Text) is automatically replaced by WorldGuard, but it's broken from now on. (deleted from the PSS-File)

    Could u please fix that? It would be great :)
  19. Offline


    Its almost the same as onlinesigns. You sould of just added it the the online sign plugin i think.
  20. Offline


    Made this one first, actually.
  21. Offline


    oh lol. thats why. sorry about that.
  22. Offline


    That's alright.

    Also, OnlineSigns has 100% more fish than this plugin.
  23. Offline


    Confirmed working in CB1060
  24. Offline


    Could you please get rid of the requirement to write the name with upper and lowercase letters ?
    this really hurts me when there are names like xxXXxheLLoXxxX
  25. Offline


    If they are online you only have to type part of the name. For your example, unless there are other people on the server with that many x's, just using xxX should be enough.
  26. Offline


    yes but I would also like to use this for offline people :p
  27. Offline


    Sorry, it will only work caps correct if they are offline.
  28. Offline


    hey I was just thinking. maby if there was a way that you could make it to where when a player comes online that it flips a switch if there is a switch on the backside of the block the sign is on. i have been looking to find one that would do that so that i can go about my buisness when I re enter the game insted of going all the way back to my room turn the light off go offline then get online turn the light on then go where i was and get to work where as if the sign turned it on for me I wouldn't have to do that just a sugestion if I knew how to write these plugins I would have made and sent it to you to overview but idon't :(
  29. Offline


    That's just a bit outside the scope of this plugin, I'm afraid. That does make a good idea for a separate plugin, though...
  30. Offline


    so no way you will add it ? ;(

    well thanks anyways. we are now on a new proper server and it _seems_ they are working now
  31. Offline


    if i knew how to make a plugin i would help make one any tutorial on the basics of makeing a plugin

Share This Page