HiddenCommandSigns
This plugin utilizes and adds to SimpleCommandSigns by storing a hidden commands database. Because we wish to keep SimpleCommandSigns simple and lightweight, we kept these extra features separate.
Features:
- You no longer need to have the command(s) being executed on the sign itself.
- You can have multiple commands run in sequence.
- You can list the permission(s) you wish the player to have when running the command and they will be granted temporarily during command execution.
- You can set permissions nodes allowing players to view the true commands behind the sign.
- The true commands are linked to the text on the sign rather than the sign block. This means there will be no issues with sign block removal and modification. Hiddencommandsigns with the same sign text will run the same commands.
- You can make the hiddencommandsigns look exactly like a normal commandsign.
- If you understand the formatting, you can manually edit the human-readable database file. (Not recommended though)
How to create a HiddenCommandSign:
- Create a SimpleCommandSign as you normally would. The text on the lines that usually holds the command can be anything arbitrary now.
- Use: /hcs create "<command>" (Note: If your command contains quotation marks, replace them with "\''" - that is: forward slash, single quote, single quote)
- If the people running the sign need additional permissions to run the command, use: /hcs addperm "<permission>"
- Right click the sign and the command(s) you specified will be run!
Commands:
- /hcs create "<command>" ["othercommands"] - Creates a hiddencommandsign with the command(s) given within parenthesis. (Example: /hcs create "/cp points" "/day")
- /hcs detect - Tells you if the next block you hit is a hiddencommandsign and its author.
- /hcs obtainreal - Tells you the real command that will run when you right-click the sign.
- /hcs addperm "<permission>" ["otherpermissions"] - Adds the specified permissions to the sign. They will be given to the player right before they run the command, and removed immediately after. (Example: /hcs addperm "CommandPoints.give")
- /hcs quickcreate - If the text on a simplecommandsign already has a hidden command sequence linked to it. This allows you to turn it into a hiddencommandsign with the original commands.
Permissions:
- hcs.create: Can create a hidden command sign.
- hcs.detect: Can detect and get the creator of hidden command signs.
- hcs.obtainreal: Can get the real command behind the sign.
- hcs.addperm: Can add permissions to a sign.
- hcs.addperm.any: Can add any permissions to a sign, including those which they do not own.
Note: If you do not use Legacy Permissions as your permissions handler, remove any Permissions compatibility bridge (such as the one from Essentials) if you want to be able to use "/hcs addperm".
Doesn't Work for 1.7.9 for me says could not load HiddenCommandSigns.jar/plugins
Join My Server ip is 162.244.167.81:56036
Does it work with 1.6.4?
I have a craftbukkit server and it ain't even possible to install it, I'm just getting errors! Please add me on Skype and help me, it would mean so much to me, I really need this plugin! Skype: crazylinus
Quick Issue Statement:
I'm using this plugin [combined with SCS] in a large scale on my upcoming server. I've setup the permissions for all players with scsigns.use as well as all the signs with /addperm * However when any standard member attempts using any of the signs, they get a red message stating that they don't have permissions.
HiddenCommands.ini
ThisSignWorks1
JedReally
tppos 350 4 -277
ThisSignWillNotWork 1
JedReally
tppos 350 4 -277
I am guessing your calling the .ini for the plugin the database file.
So you know i'm running bukkit server build #2896
http://dl.bukkit.org/downloads/craftbukkit/view/02363_1.6.4-R0.1/
Can I see your database file with one sign that works and one that doesn't?
I just want to see if maybe the database is messing up formatting.
Note:
This plugin adds invisible characters to the signs so that it can identify them. In some situations, these get removed on accident by other plugins, world saves, etc.
I just need to make sure that isn't happening.
Line by Line:
First Line: [RightClick] Second Line: Start Third Line: Fishing Fourth Line: Tournament 1
then added the hsc create command and will not work.
But if I remove the space on the fourth line and change it to Tournament1 it works
@coolcell
Wait, can you tell me what was on the sign line by line?
There's a chance a line might have just had too many characters in it.
I just figured out the problem
I make a sign like this: [RightClick] Start Fishing Tournament 1
then add command /hcs "/fish go `" and the sign does not work or detect
But if I remove the space in the sign from Tournament 1 and change the last line to Tournament1 it will work.
There can not be any blank spaces in a sign line. The plugin does not detect the sign correctly if there is a space it's looking for StartFishingTournament not the real sign name StartFishingTournament 1 the blank space makes it drop the 1.
Maybe add a update and put in the ini a start and end sign marker like StartFishingTournament 1~
I realized this when I would try another test sign after got it working StartFishingTournament1 worked but StartFishingTournament 1 did not work
@coolcell
Is there any chance that the HiddenCommandSigns were being converted to RedStoneCommandSigns?
It's weird I know I didn't have the redstonecommandsigns permissions in the permissions plugin I just decided to delete .jar file and restarted the server now it works. Never know with minecraft it seems very touchy to changes sometimes or maybe my hosting service has a conflict with both of them running.
@coolcell
Sorry, I was out taking a test.
I'm not exactly sure how it fixed XD
I'll probably need to check up on RedStoneCommandSigns to see if it's running any incompatibilities with HiddenCommandSigns.
Removed a plugin forgot I add to test later RedStoneCommandSigns.
Restarted server and everything works now. To make sure restarted the server 4 times and it worked every time now.
Thank you for the plugin and support
Ok it was bugging me so stayed up.
I put a hcs command on the sign it said it was added then when I right click it does not work.
use hcs detect and left clicked the sign and it tells me it's not a hsc command sign
@coolcell
I would recommend you experiment using the "/hcs detect" command before you try another permissions system. I think it'd be better if we could solve the issue without you having to spend time reconfiguring your permissions.
Thank you, Tomorrow I will give them a try and let you know if that fixed the problem.
@coolcell
The two popular ones right now are PermissionsEx and bPermissions. We test against both, so either should do fine.
mbaxter and others have a good argument against using PermissionsEx though. It is said to have bar implementation of the Bukkit permission system.
So I guess the best choice for compatibility would be bPermissions.
Thank you what permission plugin would you recommend?
@coolcell
Well, in programming, very few things just happen to work half the time.
There's usually some sort of variable changing that causes the two different results.
I would like to mention that GroupManager (however simple it may be to use) has a history of causing issues with plugins that need to check/grant/remove permissions.
However, that set aside, I think you should try using the "/hcs detect" command to make sure that the sign (when it isn't working) is still a hidden command sign. You're simply checking to make sure that the sign is still linked with the database.
This is how I add to play the fishing tournament
Yes, all the permissions for all the plugins have been added and work
1.) Create the sign using SimpleCommandSigns.
[scs] Start Fishing Tournament 1
2.) Then in survival mode /hcs create "/fish go area1"
3.) Left click the sign it says command added.
4.) Right click the sign works
5.) server reboots there's a 50% chance the command sign will work again when you right click it.
6.) checked hsc .ini it's saving the info correctly
7.) Reboot again it might work or might not when you right click a hsc sign.
I'm using bukkit 1.6.4 latest build and removed all plugins to make sure not conflict. Only using fishing Tournament, essentials groupmanager, scs and hcs
I'm not a java programmer but don't some vb and .net on the side. I would guess the plugin is not loading half the time or needs code to auto refresh the commands with the signs.
Hope it helps thank you to listening and responding