Skip to content

IRI-Research/we_undo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

//undo undo the latest worldedit command
//redo redo what was just undone
//show_journal view what can be undone and redone

The changes of nodes after invoking /set are compressed to improve memory usage.

Related issues:

Supported chatcommands:

  • /pos1 and /1
  • /pos2 and /2
  • /p
  • /set and /s
  • /mix
  • /replace and /r
  • /replaceinverse and /ri
  • /sphere and /spr
  • /hollowsphere and /hspr
  • /dome and /do
  • /hollowdome and /hdo
  • /cylinder and /cyl
  • /hollowcylinder and /hcyl
  • /pyramid and /pyr
  • /hollowpyramid and /hpyr
  • /spiral
  • /load
  • /y
  • /n

Ignored chatcommands:

  • /lua
  • /luatransform
  • /clearobjects
  • /fixlight
  • /save
  • /mtschemcreate
  • /mtschemprob
  • /inspect /i
  • /mark /mk
  • /unmark /umk
  • /volume and /v
  • /about

Not yet implemented:

  • /fixedpos /fp
  • /reset /rst
  • /shift
  • /expand
  • /contract
  • /outset
  • /inset
  • /cube /hollowcube
  • /copy
  • /move
  • /stack
  • /stack2
  • /scale
  • /transpose
  • /flip
  • /rotate
  • /orient
  • /drain
  • /hide
  • /suppress
  • /highlight
  • /restore
  • /allocate
  • /mtschemplace
  • /deleteblocks

TODO:

  • Add parameters to undo and redo: undo the last n
  • Allow undoing changes which happened before other changes (considered unsafe) e.g. //undo ~1 to undo the change before the latest one
  • Add times to the changes, show in //show_journal
  • Implement more commands
  • worldedit pyramid fix
  • Fix the shown "nodes changed" count

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%