Page 1 of 1

[DONE] /undo /undox sugestion

Posted: August 17th, 2011, 7:39 am
by Intertoothh
I 'sometimes' type to fast.
Not your problem, but i sometimes miss the X in the /undo.
And those commands are realy similar but it creates a problem.

Problem:
1: I copie a huge build over for someone.
2: I catch a griefer (griefernr3), kick him and.. ofc help our guests with the dammage.
3: After inspection i see he was griefing for 5 mins.
4: I type /undo griefernr3 6m

And gone is the players build i just copied ;(

Solution:
- Have /undo to only work if there are no parameters.

Pro's:
- No more silly mistakes

Cons:
- Learn to type, its not the softwares fault!

Re: /undo /undox sugestion

Posted: August 17th, 2011, 1:34 pm
by fragmer
Actually, I'd rather split /undo and /undox into several commands:
  • /UndoDraw - Works like current /undo, maybe with some added functionality
  • /UndoPlayer - Works like current /undox, undoes everything by a player on the current map. Takes a player name and either a time span or a number of blocks.
  • /UndoArea - Restores a selected area. Takes either a time span or a number of blocks, and optionally a player name.
I think that's too much functionality to fit into one command.

Re: /undo /undox sugestion

Posted: August 18th, 2011, 7:28 am
by Intertoothh
That also fixes my mistakes with
/undo Fragmer 10m

Can/does /undox (/undoplayer) also work with parts of there name?
/undox Frag 10m ?

Re: /undo /undox sugestion

Posted: August 18th, 2011, 2:44 pm
by fragmer
/undox does support autocompletion, but it's done against the whole player database (150k+ players), not just online players. So you may have to type out more than "frag" to get a definite autocompletion match.

Re: /undo /undox sugestion

Posted: August 26th, 2011, 12:34 pm
by Desosus
I think UndoArea would be incredibly useful. both for repairing griefed builds specifically and for repairing ground grief and random block spams quickly without having to do smaller sections of /c air or /c grass.

Re: /undo /undox sugestion

Posted: October 8th, 2011, 1:53 am
by fragmer
/UndoArea and /UndoPlayer are now done. I also added a warning to /undo when it's used with parameters.