promotional bannermobile promotional banner

CommandIt

Abandoned
Allows players to bind commands and scripts to blocks

Bind Lua scripts to any block! This is the successor to CommandSigns with an entirely new syntax build around a popular scripting language.

NOTE: This project is still in development and so all details and instructions are not final.

Commands

All commands are subcommands of either /cmdit or /commandit.

/cmdit line[x] [line contents] - Set the contents of clipboard

/cmdit edit - select a sign for editing

For now, most of the commands are remaining similar to CommandSigns. Just note that all code run on the sign is in Lua, not the old format.

If you wish to keep your old CommandSigns, you can copy your signs.yml file into your CommandIt plugin folder and run /cmdit import signs.yml

Basic process

Step one, set lines to be put using /cmdit line[x] [contents]

For example, try /cmdit line1 player.op()

Right click on the block you want to bind this code to.

Now, whenever someone clicks that block, they'll become op.

Scripting

All scripting is done in lua. (http://www.lua.org/) Libraries are currently in development, but a few apis are currently implemented: player: methods pertaining to the player who clicked the sign. block: methods pertaining to the block that this script is being run from server: methods for the server as a whole

All methods exposed to scripts are available for inspection here: https://github.com/zonedabone/CommandIt/tree/master/Specification.txt

Development

You can view our progress on this plugin at https://github.com/zonedabone/CommandIt/

The CommandIt Team

RisingBuilder tier frameprofile avatar
  • 9
    Projects
  • 595.4K
    Downloads
Donate

More from _ForgeUser7307234View all