i would like a plugin that turns a specific sign into a redstone torch when there is someone on the server and turns back into a sign when there is no-one on. i would also like there to be a config for anyone "not counted" as being on. thanks in advance
Was his request difficult to read/understand. Stop telling ppl to format thier threads, it is not mandatory it is just a guide for those making long confusing posts.
You could do this really well with Variable Triggers mate Two scripts. so simple that i wrote them here for you already. First is an Event trigger "on player join" Code: @IF b <haspermission:dontcount.thisguy> = true @ADDINT $online.total 1 (counts online players except those with "dontcount.thisguy" permission @SETBLOCK 76:0 x,y,z (set redstonetorch) @ENDIF Second is for the Event "on player disconnect" Code: @IF b <haspermission:dontcount.thisguy> = true @SUBINT $online.total 1 (counts online players except those with "dontcount.thisguy" permission @IF i $online.total = 0 @SETBLOCK 0:0 x,y,z (remove redstone torch) @ENDIF @ENDIF
how does this look Suggested name: Sign-RedstoneTorch (Or you can suggest one) What I want: I would like a plugin that turns a specific sign into a redstone torch when there is someone on the server and turns back into a sign when there is no-one on. i would also like there to be a config for anyone "not counted" as being on. thanks in advance Ideas for commands: /srt - Allows you to select the sign with the function Ideas for permissions: srt.set - Allows people to use the srt command Would u mind if you add the player names for "not counted" manually in the config.yml file?
k ill get started i made to so u dont need to command you just need to right click a sign when u have the permission does anyone wanna take over im a bit busy atm EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Can anyone make this? And for anyone who does make it, can it be done as soon as possible. Thanks in advance.
I can try and tackle this, but no guarantees on delivery time today (I'm usually pretty good about delivering in a reasonable time, but I am at work for a good chunk of the day).
The scripts mentioned above are really easy. You need the VariableTriggers plug-in if that was misunderstood. http://dev.bukkit.org/server-mods/variabletriggers/
I already have variable triggers. I'm just not sure how to add the script. anyone? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
just use variabletriggers as said before. There are instructions on how scripts work, etc on their bukkitdev page. This is already possible, so please have a close look at how variabletriggers works. IF you really don't get it. You can ask for help on their forum, or in a help thread on the bukkit forum.