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".
@Devil_Boy
Would like to add that you can check in game permissions with /manulistp <player>
I currently use GM
@ElementalBurst
Yea.. Sadly, what they have in user-friendliness, they seem to lack in robustness.
@Devil_Boy
I'm rather sure it doesn't, and I wouldn't worry about that. I've been on the edge of leaving it for a while, and I've only stuck out of habit, because I got into it early. At this point, it works so poorly with many plugins that I'll just take the time to use something more reliable. Thanks for all the help, though! (And it turns out, it can check permissions, sorry about that (glancing through it too fast), but it's a bit of a moot point, since I've already started moving to BukkitPermissions)
@ElementalBurst
I'll try to make a plugin that checks for perms o.o
Does GroupManager have an API?
@Devil_Boy
It does not have a command to let you see the permissions of a player in game (obviously, I could look at the config, but that wouldn't help much :P)
@ElementalBurst
Does GroupManager have any command to let you view whether or not a player has a specific permission?
@Devil_Boy
I added the "*" node as suggested, and the players are still unable to rankup when clicking the sign.
@ElementalBurst
I remember somebody else trying to do what you're doing as well. Unfortunately, I can't remember how he made it work.
There is no OP permission. OPs are just granted permissions. If adding "*" to the sign doesn't work, then we may have to see why GroupManager doesn't want to accept granted permissions.
I wanted to use these signs to allow people to rank up (in essentials group manager) but even when I add the node "groupmanager.manuadd" or even "groupmanager.*", it does not allow them to use the command. It is working with OPs - is there any way to give the OP permission while the command is running? I did know to remove the bridge :P So it must be something else.
Still doesnt work :/
same problem
@S6ge
Make sure you have this and SimpleCommandSigns installed. Do a full server restart. If it still doesn't show up, check your console.
if i put this plugin do my server folder and i do in server /reload ... its like dont exist on my server ... can someone help me ?
@abmenzel
If you are using a permission plugin make sure to remove the ....bridge file like i just had the same problem where it breaks but as I am using EssentialsGroup i had to remove the EssentialsGroupBridge file and then it worked like a dream...
(LOL i geuse i should have read the fine print, would have saved me a long time ;) )
@abmenzel
Do you get any errors in the console? o.o
Make sure you aren't in creative mode
Hello seems to be a fine plugin
However when I left click the sign after doing the hcs create <command> it just break? I tried right clicking aswell but with no luck, any ideas??
@Zhaledd
You don't have SimpleCommandSigns installed...
@pointfit
What is broken?
Please update for the new builds
I'm using lastet craftbukkit recommended build for 1.4.5 and getting this error:
16:27:54 [SEVERE] Could not load 'plugins\HiddenCommandSigns (1).jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: SimpleCommandSigns at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:195) at org.bukkit.craftbukkit.v1_4_5.CraftServer.loadPlugins(CraftServer.jav a:229) at org.bukkit.craftbukkit.v1_4_5.CraftServer.<init>(CraftServer.java:207 ) at net.minecraft.server.v1_4_5.ServerConfigurationManagerAbstract.<init> (ServerConfigurationManagerAbstract.java:52) at net.minecraft.server.v1_4_5.ServerConfigurationManager.<init>(SourceF ile:11) at net.minecraft.server.v1_4_5.DedicatedServer.init(DedicatedServer.java :111) at net.minecraft.server.v1_4_5.MinecraftServer.run(MinecraftServer.java: 398) at net.minecraft.server.v1_4_5.ThreadServerApplication.run(SourceFile:856)
@kotkowski
What is the error log?
It doesn't work for R1 :( I need it for my skyrim server, but it doesn't work :(