Online Players Sign
This plugin has been rewritten as AMS. Loads of features are added and there are yet more to come. Click the image above or this line to get to the AMS page.
I've developed a game for Android devices which goes by the name Ghosts Can't Fly! It's a simple game in which you try to survive as long as possible while charging and timing your jumps perfectly. Feel free to try it out here ;)
All information below is irrelevant. Use only if you plan to stick with OPS.
I will completely rewrite this, and hopefully without breaking your configs, but they are really messy so I should update them. If I update them I will *try* to create a script or a runnable jar file that will edit the config to the new version.
Easy per-world player counters on signs
Detailed guide on creating a sign:
- Place a sign
- On line 1 write "[OPS]" or "[ONLINE]" on the first line or one of the following: [IPO], [ISPLAYERONLINE], [ISONLINE], [PO], [PLAYERONLINE], [OP] for creating a sign monitoring a single player. (not case sensitive none of them)
- On line 2 either specify a world by its name or write nothing on the second line (if the world written does not exist you will be warned and the sign will default to the current world) or write a players name if creating a player monitoring sign (not case sensitive none of them)
- Your sign should update and start displaying the amount of players in the world you specified or whether the player you specified are online or offline.
Screenshots:

The above image shows how you can make a sign monitoring the current world.

The above image shows what a sign would look like by defaults. The first line displaying text, second line world name and third line currently online players in the world. (in this case there is zero because I use a multiworld system and was not in the world being monitored when the screenshot was taken)

The above image shows a sign customized by this config:
Line1: '&aThere are' Line2: '%totalonline% &aout of &r%maxplayers%' Line3: '&aonline on the' Line4: '&aserver' #Variables available: %online%, %maxplayers%, %world%, %totalonline%

The above image shows a player monitoring sign with this config:
PlayerSignLine1: '&aThe player' PlayerSignLine2: '%player%' PlayerSignLine3: '&ais %OnlineMessage=Logged in%%OfflineMessage=Logged out%' PlayerSignLine4: ''
Configuration:
Pretty self explanatory as it includes a comment as well, but, for those people wanting it on the page, here you go:
Line1: '&aOnline in' Line2: '%world%' Line3: '%online%' Line4: '' #Variables available: %online%, %maxplayers%, %world%, %totalonline% PlayerSignLine1: '&aThe player' PlayerSignLine2: '%player%' PlayerSignLine3: '&ais %OnlineMessage=Logged in%%OfflineMessage=Logged out%' PlayerSignLine4: '' #Variables available: %player%, %OnlineMessage=Online% (the part behind the equal sign (=) is changeable, same with offline), %OfflineMessage=Offline% UseBypassNode: false #Turn on or off the bypassnode's function - Defaults to false
This is what the default config looks like. As you can see, there are four available variables for the first type of sign and you can use more than one of them on every line (though sometimes it might exceed length limit on the sign). Color codes are also fully supported. The variable %online% will turn into displaying the "ERROR" message if the sign is failing. For the PlayerSignLines there are three variables which does the following: %player% - shows the player name currently monitored by the sign. %OnlineMessage=TEXTYOUMAYREPLACE% is the part of the sign showing if the player is online and hidden when not (hidden when invisible too, also, color supported in there). %OfflineMessage=&cis offline% - (Displays red text "is offline" when the player monitored is offline or invisible).
Sign Protection:
Currently signs are protected from:
- Fire (signs cannot burn in default Bukkit)
- Explosions (Creepers&TNT)
- Players without permissions (break events and create events are blocked without permission)
- All physics events (meaning the sign won't break if the block beneath it is removed.
Permissions:
- ops - Gives you all permissions (including bypass, which makes you invisible to counters and are this player online signs)
- ops.allow - defaults to OP
- ops.allow.create
- ops.allow.create.normalsign - Create normal signs.
- ops.allow.create.playersign - Create player specific signs.
- ops.allow.break
- ops.allow.break.normalsign - Break normal signs.
- ops.allow.break.playersign - Break player specific signs.
- ops.bypass - Makes you invisible to the counters - does not default to anyone
- ops.bypass.normalsign
- ops.bypass.playersign
- ops.verify - Defaults to OP - Gives access to the command /opsverify. Aliases - /verifyops
Notes:
- If you are using any '*' permission nodes you will be getting the 'ops.bypass' permission as well. Most players does not want this and therefore you should exclude it by giving yourself the permission '-ops.bypass' (does not work in every permission plugin, sadly)
- If you happen to either move or remove the signs using WorldEdit it will result in a corrupt signs.yml file. This can be fixed by running /opsverify to remove them from the signs.yml or replacing the signs in the exact positions.
Todo:
- Add command to create signs - (Sort of) suggested by pomtom44
- Add region monitoring signs - Suggested by nikgro - I will begin makin this reallo soon now (within a few days)
Done:
- Add support for checking whether a player is online or not with signs. - Added in V1.5

-
View User Profile
-
Send Message
Posted Jun 6, 2013AMAZING, see you ;)
-
View User Profile
-
Send Message
Posted Jun 6, 2013Could you add a variable %Playersjoined% (Shows how many different people have joined the server since you made the sign)?
-
View User Profile
-
Send Message
Posted Jun 5, 2013@to175
Added withing 24 hours :D
-
View User Profile
-
Send Message
Posted Jun 5, 2013@whitehooder
Okay cool!
Thank you!
-
View User Profile
-
Send Message
Posted Jun 5, 2013Okay, so I found a fix for it. Apparently the quit event takes two ticks to get the player out of the server. Simply increasing the delay from one to two ticks did the trick. Here is a link for you wanting this fix, but for version 1.5 I will add the second dot on the ToDo list.
Edit: for some reason the link was removed, readded.
-
View User Profile
-
Send Message
Posted Jun 5, 2013@uCraftMinecraft
I managed to reproduce your problem, but not when it should update after a player joins. I only had the same problem whenever a player left and will look into this. If you had problems with both, please try to reproduce it and tell me exactly what was done (I don't need player names).
-
View User Profile
-
Send Message
Posted Jun 4, 2013Ummm, this is the code in my config:
Line1: '&a[Online]' Line2: ' ' Line3: '%totalonline%'&e/&0%maxplayers%' Line4: ' '
When I placed the sign at my spawn, it wasn't updating the players online! I just stood at 5 and didn't change! What is wrong?
Thanks.
-
View User Profile
-
Send Message
Posted Jun 4, 2013@to175
I will add this once I get time. I won't add it the way you suggest though, as it would collide quite a lot with the normal signs. I will simply create something like "[IsOnline] whitehooder". This will have it's own customizing lines and all this. Probably gonna name those PlayerLine1 and so on, so that the ones using this plugin won't have to update their config file.
-
View User Profile
-
Send Message
Posted Jun 4, 2013thanks!!! can you add per player please? I mean when I writte "[OPSign] to175" on the sign and if I'm online/offline it will display : to175 is online(or offline)
-
View User Profile
-
Send Message
Posted Jun 4, 2013@to175
As you wish.
-
View User Profile
-
Send Message
Posted Jun 4, 2013Hi, screenshot please. thanks
-
View User Profile
-
Send Message
Posted Jun 3, 2013@NickChaffee
Yes, there is, in version 1.4. You can use the variables %totalonline% for total players online on the server and %maxplayers% for the maximum allowed players.
@Drewerd615
I will fix it in a minute.
@Jerimu
Thank you very much for this stack trace :) Helped me find the error. I had forgot to include the config.yml file in the jar file. I have two exports in eclipse, one exporting to test server and one for release. I think the release export does not include the config.yml :)
Updating now. Should be working fully.
-
View User Profile
-
Send Message
Posted Jun 3, 2013It dont Make any Files and i have try it without any plugins and with plugins so i get this error 013-06-04 06:53:34 [INFO] Preparing spawn area: 41% 2013-06-04 06:53:34 [INFO] [Online Player Signs] Enabling Online Player Signs v1.4 2013-06-04 06:53:34 [SEVERE] Error occurred while enabling Online Player Signs v1.4 (Is it up to date?) java.lang.IllegalArgumentException: The embedded resource 'config.yml' cannot be found in plugins\OPS.jar at org.bukkit.plugin.java.JavaPlugin.saveResource(JavaPlugin.java:149) at org.bukkit.plugin.java.JavaPlugin.saveDefaultConfig(JavaPlugin.java:137) at com.github.whitehooder.OPS.OPS.onEnable(OPS.java:156) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_5_R3.MinecraftServer.j(MinecraftServer.java:304) at net.minecraft.server.v1_5_R3.MinecraftServer.e(MinecraftServer.java:283) at net.minecraft.server.v1_5_R3.MinecraftServer.a(MinecraftServer.java:243) at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:151) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:382) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
-
View User Profile
-
Send Message
Posted Jun 3, 2013v1.4 appears to not be working.
-
View User Profile
-
Send Message
Posted Jun 3, 2013@whitehooder
The config file that I see generated does not include "Line1,Line2,Line3,Line4" and only contains the worlds/signs once placed. I tried changing it to "signs.yml" but that did not work either.
-
View User Profile
-
Send Message
Posted Jun 3, 2013Great plugin!
Is there a way to configure the sign so I can use it like:
Worldname Online Players currently on/max players
And if not could you add it? Thank you!
-
View User Profile
-
Send Message
Posted Jun 3, 2013@whitehooder
@Drewerd615 && @secretjuna Your suggestions has been added :D
-
View User Profile
-
Send Message
Posted Jun 3, 2013Really sorry for this, but for some reason I don't receive any email when a comment has been made...
I can tell you I'm planning to add it all :)
-
View User Profile
-
Send Message
Posted Jun 3, 2013Nice plugin. I would suggest adding in full customization for what the signs actually say, and add in variables. Like %on or %max for players online and max players.
:D
-
View User Profile
-
Send Message
Posted May 26, 2013I have a request, could you please change [OPS] to [Online] OR add both?
I just dont want people confused with OPs (like powered people) aha cheers