Usage

Usage

Base Setup

Before you try anything with command blocks, you need to be sure you have them enabled on your server

  1. Find your server.properties. It should be in your main server folder Where is server.properties?
  2. Look at it and find "enable-command-blocks". If it is set to false, change it to true. Otherwise, leave it alone.

Showing where enable-command-block is

  1. Save server.properties and restart your server

/cw Usage

The usage for /cw is

/cw [-w world] [-u username] [-o x y z] <command> [arguments]

The -w flag can change the world that the dummy player is in. Usually, it can be one of:

  • world
  • world_nether
  • world_the_end Just like the worlds in your server folder. If you have something like Multiverse, you should be able to use the name of those worlds, too. The -u flag can change the dummy player's username to whatever you want. Use it if you want multiple dummy players. The -o flag can change where the dummy player is in the world. Give it the three coordinates of the desired location. If you prefer relative coordinates, put a '~' in front of each relative coordinate.

Example #1 - WorldEditing some stone in

In order for this example to work, WorldEdit must be installed on your server.

  1. Place a command block somewhere on your server
  2. Set the command for it to "/cw /pos1". This will make the command block tell CBWrapper to execute the command "pos1" as the dummy player, and that command gets passed to WorldEdit, so WorldEdit sets the dummy player's first position to wherever the dummy player is. CBWrapper makes it so that the dummy player's position is wherever you put the command block
  3. Place another command block somewhere else, and set its command to "/cw /pos2". This will do a similar process.
  4. Power both command blocks
  5. Place a third command block with the command "/cw /replace 0 1". This command will replace all the air between the other 2 command blocks with stone. Be sure you don't use set or wall, because those will get rid of your command blocks!
  6. Power it
  7. If everything worked right, some stone should've appeared! Example #1 (Please note that the above effect was acheived through image editing. The plugin does not create partially transparent blocks

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes