Commands

I've added a few commands to the game, which are mostly just to aid in creating a smoother gameplaying experience in adventure maps. All commands will work in Command Blocks as well as by players, given permissions are available.

Repair Command
The Repair Command will instantly repair your tools without requiring any experience or an anvil.

The usage is simply "/repair [player]", where [player] is either the player name or player selector (e.g. @p @r @a)

So, if you were to programme the command into a Command Block so that, when a button is pressed, the tool in hand is repaired, you simply but "/repair @p" into the Command Block.

Repair Command - Configuration File
There are two Configuration File booleans for the Repair Command. This is because the repair command is pretty over powered, due it being able to be used anywhere and has no cost.

B:repairAvailable=true B:repairAvailableSurvival=true The first boolean, "repairAvailable" make the command available to people with admin/operator priviledges. The "repairAvailableSurvival" boolean makes the command available to everyone.

To elaborate:

This

B:repairAvailable=true B:repairAvailableSurvival=true and this

B:repairAvailable=false B:repairAvailableSurvival=true makes the repair command available to everyone.

This

B:repairAvailable=true B:repairAvailableSurvival=false makes the command available to admins/operators only.

This

B:repairAvailable=false B:repairAvailableSurvival=false makes the command available to no one.

None of these booleans affect Command Block functionality and the commands sent from Command Blocks are always available.

Rename Command
The Rename Command renames the item or block you're currently holding without requiring an anvil or experience.

It's usage is "/rename [player] " where [player] is either the name of the player or the player selector (e.g. @p @r @a) and is the new name of whatever you're holding.

So, if you were to programme the command into a Command Block so that, when a button is pressed, the item/block you're holding will be renamed. If the command were, say, "/rename @p The Sword of Swords", it will rename the current held item to the name The Sword of Swords.

Rename Command - Configuration File
The part of the Configuration File for the Rename is quite a lot simpler than with the Repair Command. There is only one boolean of:

B:renameAvailable=true If true, it's available to everyone, if false, it's not available at all.

It's always available with command blocks.

Future Commands
I do have plans for future commands. I did plan to have a remove command, where it would remove a specified number of items from a player's inventory, but as Minecraft are apparently planning this for the 1.8 update, I probably won't be doing that.

Commands I do have planned are:

- Recolour - Where the name of the item/block you're holding is re-coloured.

- Waypoint - Creates a waypoint on the map that you can teleport to