[Plugin] CuboidPlus r4 - Building/Landscaping/Terraforming
#1
A project aimed to expand the original cuboid plugin into a comprehensive suite for all your building, landscaping, and terraforming needs.

-Developed by Omencraft Plugin Team (Luthrandel, Kwen)
-Original cuboid plugin by benphelps

Instructions
The basic cuboid tool is the wand, otherwise known as a stick (Item Id 280). To select an area, hold your wand and click on a block. Left click defines Pos1, the first corner of the area, and right click defines Pos2, the opposite corner. The space in between the two points becomes your selected area. Commands acting on a selected area (aka. Area Commands) will now effect this space.

Many functions (sphere, cylinder, pyramid) will instead require a point to center around (aka. Point Commands). For such functions your selection Pos1, or left click point, will be used as this center point.

All functions requiring a block id will also accept meta deta in the form of BlockId:Meta.

Updates
  • [R3] - 11/29/11
    • Updated to work with r141+
    • Drain brush fixed
    • cuboid.ini
      • DoubleSlash - commands require two slashes (aka WE mode).
      • CuboidEnable - Auto enable cuboid on join. More convenience.
  • [R2] - 11/8/11
    • Melt, Smooth, Lift, Over, Top, and drain brushes were added.
    • /line [BlockId], and /redo functions added.

Basic Commands
  • /cuboid
    • Desc: Enables/disables cuboid and brush functions for the user. Call this first.
    • Aliases: /c
    • Perm: cuboid.cuboid
  • /wand
    • Desc: Gives the user a "wand" (Id 280 - Stick); the tool used for cuboid selection.
    • Perm: cuboid.wand
  • /undo
    • Desc: Undo up to 10 commands the user recently called.
    • Perm: cuboid.undo
  • /redo
    • Desc: Reapplies the last undo the user recently called.
    • Perm: cuboid.redo

Area Commands
  • /fill [BlockId]
    • Desc: Fill selected area with block of type BlockId.
    • Aliases: /set /z
    • Perm: cuboid.fill
  • /hfill [BlockId]
    • Desc: Fill the exterior of a selected area with block of Type BlockId.
    • Perm: cuboid.hfill
  • /replace [BlockId] [ReplaceId]
    • Desc: Replaces all blocks in the selected area of type ReplaceId with type BlockId
    • Perm: cuboid.replace
  • /delete
    • Desc: Clears all blocks in the selected area.
    • Perm: cuboid.delete
  • /overlay [BlockId]
    • Desc: Overlays all blocks within the limits of the selected area with block of type BlockId.
    • Aliases: /over
    • Perm: cuboid.overlay
  • /line [BlockId]
    • Desc: Draws a line between Pos1 and Pos2.
    • Perm: cuboid.line

  • /expand [Number]
    • Desc: Expands the selection area, relative to the user's direction, by Number.
    • Perm: cuboid.extract
  • /contract [Number]
    • Desc: Contracts the selection area, relative to the user's direction, by Number.
    • Perm: cuboid.contract
  • /outset [Number]
    • Desc: Expands the selection area, in all directions, by Number.
    • Perm: cuboid.outset
  • /inset [Number]
    • Desc: Constracts the selection area, in all directions, by Number.
    • Perm: cuboid.inset
  • /shift [Distance]
    • Desc: Moves the selection area position, relative to the user's direction, by Distance.
    • Perm: cuboid.shift

  • /stack [Number]
    • Desc: Duplicates the selection Number of times relative to the user's direction.
    • Perm: cuboid.stack

  • /pos1
    • Desc: Sets the users Pos1 (Left click) to their current position.
    • Perm: cuboid.pos1
  • /pos2
    • Desc: Sets the users Pos2 (Right click) to their current position.
    • Perm: cuboid.pos2
  • /ceil
    • Desc: Sets the selection area height to the top of the map.
    • Perm: cuboid.ceil
  • /floor
    • Desc: Sets the selection area depth to the bottom of the map.
    • Perm: cuboid.floor
  • /size
    • Desc: Shows the total number of blocks in the selected area.
    • Perm: cuboid.size

Point Commands
  • /circle [Radius] [BlockId]
    • Desc: Generates a circle of size Radius using block type BlockId centered at Pos1.
    • Perm: cuboid.circle
  • /disk [Radius] [BlockId]
    • Desc: Generates a disk of size Radius using block type BlockId centered at Pos1.
    • Perm: cuboid.disk
  • /cylinder [Radius] [Height] [BlockId]
    • Desc: Generates a cylinder of size Radius and height Height using block type of BlockId centered at Pos1.
    • Perm: cuboid.cylinder
  • /square [Size] [Block]
    • Desc: Generates a square of size Size using block of type BlockId centered at Pos1.
    • Perm: cuboid.square
  • /pyramid [Size] [Block]
    • Desc: Generates a pyramid of size Size using block of type BlockId centered at Pos1.
    • Perm: cuboid.pyramid
  • /sphere [Radius] [Block] [Filled]
    • Desc: Generates a sphere of radius Radius using block of type BlockId centered at Pos1. If filled is 0 then the sphere is hollow; otherwise solid.
    • Perm: cuboid.sphere

Copy / Paste Commands
  • /copy (small bug. will be fixed shortly)
    • Desc: Copies the selection area into the clipboard relative to players location.
    • Perm: cuboid.copy
  • /copyc
    • Desc: Centers the relative position of the clipboard along the x/y axis.
    • Aliases: /cc
    • Perm: cuboid.copyc
  • /copyt
    • Desc: Sets the relative position y to the top of the clipboard.
    • Aliases: /ct
    • Perm: cuboid.copytop
  • /copyb
    • Desc: Sets the relative position y to the bottom of the clipboard..
    • Aliases: /cb
    • Perm: cuboid.copybottom
  • /paste
    • Desc: Pastes the clipboard onto a location relative to the user.
    • Perm: cuboid.paste
  • /pasteb
    • Desc: Pastes the non air blocks in the clipboard onto a location relative to the user.
    • Perm: cuboid.pasteb
  • /mirrorx
    • Desc: Mirrors the clipboard along the x axis.
    • Perm: cuboid.mirrorx
  • /mirrory
    • Desc: Mirrors the clipboard along the y axis.
    • Perm: cuboid.mirrory
  • /mirrorz
    • Desc: Mirrors the clipboard along the z axis.
    • Perm: cuboid.mirrorz
  • /rotate [angle]
    • Desc: Rotates the clipboard counterclockwise in 90 degree increments.
    • Perm: cuboid.rotate
  • /cbclean
    • Desc: Remove water and lava from the clipboard.
    • Alias: /cbc
    • Perm: cuboid.cbclean

Brush Instructions
Caution: Still under development.
Brushes are configured using the /Brush command and activated by right clicking with the brush tool (Id 262 - Arrow) from a distance. Not all brush types will support all configurations and settings.
  • /brush [Type]
    • Set <BlockId>
      • Fills the targetted area with type BlockId.
    • Erase <BlockId>
      • Erases blocks in the targetted area.
      • Accepts BlockId as an optional parameter to specify which blocks are erased.
    • Replace [BlockId] [ReplaceId]
      • Replaces blocks of type ReplaceId with type BlockId
    • Over [BlockId]
      • Sets the top block in the targetted area to BlockId
    • Top [BlockId]
      • Places a layer of type BlockId on top of the targetted area.
    • Smooth
      • Attempts to smooth the targetted area.
    • Melt
      • Attempts to reduce the targetted area.
    • Lift
      • Attempts to lift outward the targetted area.
    • Drain
      • Removes water and lava in the targetted area.
  • /brush [Shape]
    • Sphere
    • Cube
  • /brush [BlockId]
  • /brush [BlockId] [BlockId]
  • /brush radius [Size]
  • /brush range [Range]

Download [R3] (old)
Dropbox

Download (Updated by Hunterz to be compatible with new system) (old)
https://forum.cuberite.org/attachment.php?aid=54

Download v4 (Updated by FakeTruth)
Put the CuboidPlus.zip file in your Plugins directory and choose 'extract here'. Then add NewPlugin=CuboidPlus to your settings.ini

.zip   CuboidPlus.zip (Size: 14.95 KB / Downloads: 545)
Reply
Thanks given by:
#2
[ Post reserved for future content. Yes, this plugin will probably get that many features.]
Reply
Thanks given by:
#3
Wow loads of nice feature's
More then most cuboid plugins have haha.

You sure this is still a cuboid plugin ? even though it says plus :p.

People looking at the name asume that it just is able to make cuboids.
But thats not true at all.
Reply
Thanks given by:
#4
Luthrandel doesn't do anything small. The plugin's also incredibly fast.
Reply
Thanks given by:
#5
(11-10-2011, 11:45 PM)ThuGie Wrote: People looking at the name asume that it just is able to make cuboids.
But thats not true at all.

Good point. I'll add a subtitle or something. idk. I've still got quite a few commands and optimizations planned but suggestions are always welcome.
Reply
Thanks given by:
#6
cuboidplus and cuboid doesn't work in MC-Server r144
Reply
Thanks given by:
#7
(12-30-2011, 04:10 AM)STR_Warrior Wrote: cuboidplus and cuboid doesn't work in MC-Server r144

Are you sure? Try doing /cuboid.
Reply
Thanks given by:
#8
I think something with "isValidItem" could be wrong, because it got renamed to "IsValidItem"Big Grin
So replacing this function with the new one should help if it´s used Wink
Reply
Thanks given by: Luthrandel
#9
I must have fixed that, in our dropbox, late one night and didn't realize it. Updated this thread to the most recent version. Thanks.
Reply
Thanks given by:
#10
thanks cuboidplus r3 works with r144Big Grin.
maybe an idea for r4 to add /butcher like in worldedit to kill all the mobs?
Reply
Thanks given by:




Users browsing this thread: 14 Guest(s)