SimpleRuler

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

- SimpleRuler -

SimpleRuler is a simple plugin that can calculate the distance in 1D and 3D between two blocks.
SimpleRuler is also capable of calculating volume and showing a block summary between two points.

Commands:

By default, commands are turned on for Ops
The permission for allowing non-ops to use SR is sr.all
It allows the player to use all SR features.

To use SR, two points, A and B, must be set.

/ruler pta - Sets your location as point A
/ruler ptb - Sets your location as point B

/ruler sighta - Sets the block you are looking at as point A
/ruler sightb - Sets the block you are looking at as point B

Once these two point have been set, the following commands will be able to work.

/ruler distance x - Returns the distance AB in X inclusive of AB
/ruler distance y - Returns the distance AB in Y inclusive of AB
/ruler distance z - Returns the distance AB in Z inclusive of AB
Useful for finding the length of 2 points.

Eg. Block A is (1,1,1) Block B is (1,2,1)
/ruler distance y will return 2. It is measured from one end of a block to the opposite end.

/ruler volume - Returns the volume from A to B
Eg. Block A is (1,1,1) Block B is (2,2,2)
Volume will be 8 blocks.
This is useful for determining how many blocks you need to fill up an area.

/ruler directdist - Returns the direct distance AB calculated from the center of A to the center of B in 3D

/ruler blocksumm - Returns a summary of blocks in the region AB
                            Eg. If there are 4 wool blocks in a 2x2x2 region, it would return [WOOL/4:50%]
                            Format [NAME/AMOUNT:PERCENTAGE]
                            If there are multiple block types in a region,
                            it will list down all the block types, amounts and percentages.
                            It does not count air.

/ruler id - Returns the block name and id of the block you are looking at.

This is my first plugin that I have submitted so please report any bugs and errors that may occur.

Please also post a log from the console (if there is any).

- SimpleRuler -


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    35614
  • Created
    Jan 13, 2012
  • Last Released File
    Jan 13, 2012
  • Total Downloads
    960
  • License

Categories

Members

Recent Files