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".
Here ya go: http://s1142.photobucket.com/albums/n618/Wolf4141/?action=view¤t=consoleerror01.png
Oh its probably easier to read if I just post it once, not what happens when I click the sign three times... http://s1142.photobucket.com/albums/n618/Wolf4141/?action=view¤t=Consoleerror02.png
@Wolf314151
We'd have to see what the console error is.
Hmm...I'm confused. Is groupmanager completely not supported? As in, if I'm using groupmanager, is there no way for me to add a group via sign to a nonop?
Because when I first make the sign it works fine (minus the permissions, haven't attempted that yet), but then when I close out of the server, and reopen the server. Right clicking on the sign yields an error message in the console
@Devil_Boy
Ah never used SimpleCommandSigns
Superquick and helpful response. I'm impressed thanks :)
@Wolf314151
Just like in SimpleCommandSigns, you can specify the player's name using: %p
I need some help with my sign. Basically it is trying to add a group to a player, but I'm not sure how to detect the player that hit the sign. I've tried:
/hcs create "/manuaddsub [player] group01
But it doesn't work says "Player not found" which means my formatting is wrong for detecting the player.
I understand Groupmanager isn't supported yet (I love it, its the only essntials thing I have running) but isn't there a way to do it like this?
Thanks,
@a006052
We're still waiting on a good list of plugins that are unsupported. Essentials we think we might know how to handle already. PEX, on the other hand, may be difficult.
I'm not very good with forums, so I don't know how to quote, but I was mislead by this post:
"Devil_BoyThu, 2 Feb 2012 09:17 @loserman778: Yes just like InflamedSebi said, you'd just do it through PEX commands. Replacing where the player name should be with %p should work fine."
Because of this I was trying to run pex commands, using pex permissions. But now this:
"I think it might be unsupported. We still need to build up a list of other plugins that aren't supported so that we can get them all in one go."
Ok, that's my problem Thanks. Please add support for this soon, this will fix so many things on my server.
@Folas1337
I think it might be unsupported. We still need to build up a list of other plugins that aren't supported so that we can get them all in one go.
Is it possible to give permissions on PermissionsEx? Because it seems like that does not work =/ I gave the permission "*" but I was still not able to trigger it. Thanks for a reply already.
@a006052
Make sure it isn't an Essentials command you're trying to run.
Ok then, it's something else wrong... I use /hcs addperm, it adds the permission, and when I check on the sign it still says it has the permissions, but when users use the sign it still says they dont have permission. They already have scs.use, so its the addperm thats not working for me.
Plugins are:
Autoannouncer, Buttonwarp, PEX, Chestshop, Creeperheal, Essentials, EssentialsChat, EssentialsSpawn, Factions, HeroicDeath, HCS, iConomy, Logblock, LWC, MCVote, MobBounty, MultiInv, NoCheat, NoLagg, NoWeather, PorteCoulissant, retractablebridge, Showcase, SCS, Spout, Enchanter, Vanish, Vault, WorldEdit, WorldGuard, and WormholeXtreme.
I don't think most of these would be the problem, but I'm not sure.
@HyperStorm21 GoupManager is one of the plugins that still isn't supported. We still need a list of these plugins that don't use the conventional permissions method.
@a006052 The EssentialsCompatBridge is a jar file that would be within your "plugins" folder. Just delete it to remove it.
Hi, I've been having some trouble with /hcs addperm, i think it might be the essentials compat. bridge, but I don't know how to disable it. I've searched the essentials config files and can't find it. Anyone know how to do this?
Is there any way to use this plugin with Essentials GroupManager?
I type: /hcs create /mapromote %p Player /hcs addperm groupmanager.manpromote
but it says that i dont have permission to use this command is i klick on the sign as a Guest without operater.
@Devil_Boy
Oops :X
Ty
@PAL18
HiddenCommandSigns is an addon for: http://dev.bukkit.org/server-mods/simplecommandsigns/
Plugin crashes on load in CraftBukkit 1.1R2:
2012-02-12 21:41:55 [SEVERE] Could not load 'plugins\HiddenCommandSigns.jar' in folder 'plugins': org.bukkit.plugin.UnknownDependencyException: SimpleCommandSigns at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:165) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:156) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:132) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
@insers
What's the command they're trying to run? As far as I recall, the Thuun plugin required ChatCommand.
@Devil_Boy Its from Permissions Bukkit, i need to use it becouse of HawkEye
i added hcs create /permissions player setperm %p thuum.shout.blahblah.1 and hcs addperm permissions.player.* but players get You dont have permission