[Discontinued] CommandSigns [v1.3.1] [API 6]

This is a simple CommandSigns plugin, that enables server admins/owners to create signs that run commands.

Downloads

If you’d like to download this plugin, you can grab the latest build here.

GitHub Repository

If you’d like to check out the GitHub Repository, you can do so here.

Commands

/commandsigns - Main command of the plugin, returns version installed.
/commandsigns setcommandsign <one-time> <command> - Creates a CommandSign on the next
"Tile Entity" you right-click. If one-time is set to true, the sign can only be used once.
/commandsigns addcommand <command> - Adds the specified command to the next CommandSign you
right click.
/commandsigns removecommand <command number> - Removes the command that corresponds to
that number from the next CommandSign you right click.
/commandsigns listcommands - Will list all the commands of the next CommandSign you 
right click.

If you want to target the player who clicks your sign in your command, simply use @p

Permissions

commandsigns.command
commandsigns.setcommandsign
commandsigns.addcommand
commandsigns.removecommand
commandsigns.listcommands
commandsigns.create - Permission to create a CommandSign
commandsigns.destroy - Permission to destroy a CommandSign
commandsigns.modify - Permission to change a CommandSign
commandsigns.use - Permission to use a CommandSign

Usage

To create a CommandSign, you simply use the /comamndsigns setcommandsign command, with all the arguments, and right click a TileEntity, like a sign. If it works, it will look like the picture below.

Once you have this you use /commandsigns addcommand <command> and then right click the sign to bind another command to it.

Support Me

If you’d like to support me, you can do so here.

8 Likes

Nice plugin!

Once you have this you use /setcommand [command] and then right click the sign to bind a command to it.

You might want to take a look at BlockRay, to allow people to look at the sign while running the command.

Thanks for the advice :wink:

would it be possible to have multiple commands on a sign?

1 Like

Could we be able to set a time limit to a sign?

1 Like

I’ll add this today

Added. Enjoy v0.3

Updated to latest Sponge, as well as several bug fixes.

More compatible with 1.8-1515-2.1DEV-691.
the server crashes

I’m looking into it, hold on.

EDIT: Fixed in v0.4b

Thank you it works.

1 Like

Are the command sings ran by a player or by console?

You could look at the src. It runs it on the player.

Released v0.5 to fix bugs with latest Sponge, enjoy!

All bugs fixed in most recent release.

New Release:

  • Bug fixes regarding all signs becoming CommandSigns. Enjoy!

Currently having an issue where I can create command signs but none of them seem to be saving once the server restarts or I stop it. Also, I do not know if this is intentional, but your Config file is blank. Using version 0.5c

Config file should be blank, I’m looking into why it’s not saving and reading correctly right now.

All bugs fixed with this in v0.6, sorry for the inconvenience!

Release v0.6b:

Tested on SpongeForge 848

Changes:

  • This release brings compatibility with SpongeForge 848 and up, it seemed it needed a recompile.

Enjoy this update! :smile: