Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

[Plugin][Bukkit] WorldEdit - Edit your world in-game! [1.8.1]


  • Please log in to reply
486 replies to this topic

#1

sk89q
    sk89q

    Gold Miner

  • Curse Premium
  • Curse Premium
  • 474 posts

Posted 30 September 2010 - 07:41 AM

Posted Image

WorldEdit is a powerful tool that assists you in building, fixing, and undoing griefing incidents.

If you want the single player version of WorldEdit, check out: <!-- l --><a class="postlink-local" href="http://www.minecraft...=156902</a><!-- l -->

Some of the things that WorldEdit can do include:

    [*:2p1wbo7i]Replace an area with different blocks and randomly distribute blocks in the area
    [*:2p1wbo7i]Restore an arbitrary selected area from a backup in-game
    [*:2p1wbo7i]Build from far away by just swinging at a location
    [*:2p1wbo7i]Generate spheres, cylinders, cuboids, forests, pumpkin patches, and snowy areas
    [*:2p1wbo7i]Copy cuboids, paste them, rotate them, mirror them, and save them to file (MCEdit-compatible)
    [*:2p1wbo7i]Smooth regions, fix non-stationary water, extinguish fires, kill mobs
    [*:2p1wbo7i]Build from far away, mine instantly, generate trees with a right click
    [*:2p1wbo7i]Delete chunks, find out which chunks were in a region, look up your current chunk
    [*:2p1wbo7i]Count the statistical variation of blocks inside an area
    [*:2p1wbo7i]Teleport to the location that you are looking at, ascend through ceilings, pass through walls
    [*:2p1wbo7i]Tie in with WorldGuard (currently not ported) to protect areas
    [*:2p1wbo7i]Do much more!

Artsy wall (//set 33%cloth:white,33%cloth:grey,33%cloth:darkgrey):
Posted Image

Fixing water:
Posted Image

Making snow:
Posted Image

Stacking:
Posted Image

Candyland (the land was replaced with 50% red wool and 50% white wool)
Posted Image


Tutorial

The idea (for the selection commands) is that you make a cube-like selection by choosing two points:

Posted Image


    [*:2p1wbo7i]Type //wand to give yourself the wand
    [*:2p1wbo7i]Left click a block with your wand (wood axe) to select point 1
    [*:2p1wbo7i]Right click another block with your wand (wood axe) to select point 2
    [*:2p1wbo7i]Type //set rock
    [*:2p1wbo7i]Type //expand 2 up
    [*:2p1wbo7i]Type //set glass
    [*:2p1wbo7i]Type //move 1 up
    [*:2p1wbo7i]Type /up 5
    [*:2p1wbo7i]Type //walls brick
    [*:2p1wbo7i]Type //set 0
    [*:2p1wbo7i]Type /snow 5
    [*:2p1wbo7i]Type //undo

Download

This plugin requires Bukkit. hMod is dead, Bukkit is not done: sucks, doesn't it? There is also a hMod version available, although it is an old version of WorldEdit.

Get WorldEdit here:
<!-- m -->http://www.sk89q.com...ects/worldedit/<!-- m -->
I'm the author of WorldEdit, WorldGuard, WarmRoast, a custom MC launcher platform, and a few other things.
I've also been running a server since MC alpha:
Posted Image

Register or log in to remove.

#2

netlork
    netlork

    Tree Puncher

  • Members
  • 25 posts

Posted 30 September 2010 - 10:42 AM

This look fine, i will try in my server :Sheep:

#3

Joeyy
    Joeyy

    Gold Miner

  • Members
  • 358 posts

Posted 30 September 2010 - 11:20 AM

Looks awesome.
Im going to wait to test till you added a list of blocks who can be used and which do not cause crashes.
Posted Image

#4

sk89q
    sk89q

    Gold Miner

  • Curse Premium
  • Curse Premium
  • 474 posts

Posted 30 September 2010 - 04:19 PM

You can use any regular block (cobblestone, rock, grass, dirt, water, etc.). Just don't try questionable things. Really, the only command that will cause considerable harm if you enter a bad item type is /editfill, as that will go into an infinite loop.

I do plan to add support for configuring a list of usable blocks though, so you don't accidentally enter something you shouldn't one day because you're sleepy.
I'm the author of WorldEdit, WorldGuard, WarmRoast, a custom MC launcher platform, and a few other things.
I've also been running a server since MC alpha:
Posted Image

#5

Kane_Hart
    Kane_Hart

    Forum/Wiki Sponsor

  • Curse Premium
  • Curse Premium
  • 1674 posts
  • Location: Barrie Ontario Canada

Posted 30 September 2010 - 05:38 PM

I suggest you add your thread here too:
http://forum.hey0.net/?login=1
xxxxxx

#6

sk89q
    sk89q

    Gold Miner

  • Curse Premium
  • Curse Premium
  • 474 posts

Posted 02 October 2010 - 08:46 AM

I'll make a post there.

I updated WorldEdit with a hard-coded list of items that you can spawn. That way you won't be able to do very bad things.

http://github.com/do... ... it-0.3.zip

There is also JavaScript support for quick scripts now (to make forests, etc.).
I'm the author of WorldEdit, WorldGuard, WarmRoast, a custom MC launcher platform, and a few other things.
I've also been running a server since MC alpha:
Posted Image

#7

Skarred
    Skarred

    Zombie Killer

  • Members
  • 229 posts
  • Location: UK
  • Minecraft: Skarred

Posted 02 October 2010 - 08:54 AM

:) There isn't a mod folder >.<
where do I put the mod folder?
Posted Image

#8

sk89q
    sk89q

    Gold Miner

  • Curse Premium
  • Curse Premium
  • 474 posts

Posted 02 October 2010 - 09:04 AM

It's the bin folder that you make the "plugins" folder inside.
I'm the author of WorldEdit, WorldGuard, WarmRoast, a custom MC launcher platform, and a few other things.
I've also been running a server since MC alpha:
Posted Image

#9

Joeyy
    Joeyy

    Gold Miner

  • Members
  • 358 posts

Posted 02 October 2010 - 09:39 AM

Is it possible to create a /tree command which grows a tree on the place you click?

Thanks for adding a block list, im going to use it now :P


How to redo editset and how to cancel when you typed something wrong or so?
Posted Image

#10

NikoKun
    NikoKun

    Iron Miner

  • Members
  • 251 posts

Posted 02 October 2010 - 02:39 PM

Personally I wish more mods were standalone (with compatibilities when needed), for servers that use things other than hey0's.
Does this require hey0's stuff?

#11

sk89q
    sk89q

    Gold Miner

  • Curse Premium
  • Curse Premium
  • 474 posts

Posted 02 October 2010 - 04:55 PM

I can look into creating a tree command.

Here's a pine tree forest generator script for WorldEdit though:
http://forum.hey0.ne...hp?pid=779#p779

@NikoKun:
Yes, it does require hey0's.

The problem is that all these mods make direct replacements of Minecraft's server files. Once you have too many of these mods, they will start stepping over each others' toes because they will be replacing the same files. Second, the Minecraft server code — while you can "convert" it to source code so you can edit it and put it back in — Notch obfuscated the code so someone has to figure out what all the functions do and update it for new versions. Therefore it's not very attractive to make standalone mods, for both creators and users. hey0's mod has plugin support and also provides a sensible interface for programmers, so it helps solve the two problems.
I'm the author of WorldEdit, WorldGuard, WarmRoast, a custom MC launcher platform, and a few other things.
I've also been running a server since MC alpha:
Posted Image

#12

Joeyy
    Joeyy

    Gold Miner

  • Members
  • 358 posts

Posted 02 October 2010 - 05:51 PM

Hey sk89q, you haven't told me anything about a cancel function/abort function and an undo/redo function yet. Im going to test tree generator thanks.
Posted Image

#13

jamsessionein

Posted 02 October 2010 - 06:24 PM

I would lose my mind for this if it would let me 'move' selected blocks from one place to another.

#14

Joeyy
    Joeyy

    Gold Miner

  • Members
  • 358 posts

Posted 02 October 2010 - 06:49 PM

Exactly, copy & pasta function
Posted Image

#15

sk89q
    sk89q

    Gold Miner

  • Curse Premium
  • Curse Premium
  • 474 posts

Posted 02 October 2010 - 08:20 PM

Copy/paste is something I have been considering.

There's no undo/redo yet.
I'm the author of WorldEdit, WorldGuard, WarmRoast, a custom MC launcher platform, and a few other things.
I've also been running a server since MC alpha:
Posted Image

#16

Joeyy
    Joeyy

    Gold Miner

  • Members
  • 358 posts

Posted 02 October 2010 - 08:34 PM

sk89q said:

Copy/paste is something I have been considering.

There's no undo/redo yet.

Will there be an undo/redo ?
Posted Image

#17

sk89q
    sk89q

    Gold Miner

  • Curse Premium
  • Curse Premium
  • 474 posts

Posted 02 October 2010 - 08:36 PM

Yes, most likely. I've screwed up too many times with these commands for me to not make it.
I'm the author of WorldEdit, WorldGuard, WarmRoast, a custom MC launcher platform, and a few other things.
I've also been running a server since MC alpha:
Posted Image

#18

Joeyy
    Joeyy

    Gold Miner

  • Members
  • 358 posts

Posted 02 October 2010 - 08:53 PM

sk89q said:

Yes, most likely. I've screwed up too many times with these commands for me to not make it.

I have got another suggestion
I see you can do /editreplace everything to 1 type of block within the cuboid.
How about /editreplace 1 type of block with another within the cuboid

So this:   :coalore:  :coalore:  :goldore:  :goldore:  :coalore:  :coalore:
will be:  :coalore:  :coalore:  :coalore:  :coalore:  :coalore:  :coalore:
Posted Image

#19

sk89q
    sk89q

    Gold Miner

  • Curse Premium
  • Curse Premium
  • 474 posts

Posted 03 October 2010 - 12:50 AM

I added:
    [*:il71s15b]Undo/redo up to 15 states
    [*:il71s15b]Replacing only one type of block with another (see /editreplace)
    [*:il71s15b]Primitive copying and pasting of an area
    [*:il71s15b]A worldedit.properties file will be created on initial plugin load, letting you adjust the list of allowed block types (note: a server/plugin reload is required for changes to take effect)

Note that the copy/undo function is primitive at the moment — it only copies block type and not block data (such as the type of mob to spawn with a mob spawner). It is also not yet possible to rotate pasted regions.

You cannot currently save your clipboard to file or read from file. In the future I plan to add .schematic save/load support if I continue.

Download: http://github.com/do... ... it-0.4.zip
Usage: http://github.com/sk...edit/wiki/Usage
I'm the author of WorldEdit, WorldGuard, WarmRoast, a custom MC launcher platform, and a few other things.
I've also been running a server since MC alpha:
Posted Image

#20

jamsessionein

Posted 03 October 2010 - 01:37 AM

Definitely in love with you. The features you've mentioned that you're considering would be icing on the cake, if you can set them up.