[DONE] /undo /undox sugestion

Fixed bugs, solved problems, and old reports.
Locked
User avatar
Intertoothh
Trustee
Offline
Posts: 1149
Joined: May 24th, 2011, 5:51 am

[DONE] /undo /undox sugestion

Post 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!
McLaughlinKid wrote:You put roar on everything don't you?

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: /undo /undox sugestion

Post 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.

User avatar
Intertoothh
Trustee
Offline
Posts: 1149
Joined: May 24th, 2011, 5:51 am

Re: /undo /undox sugestion

Post 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 ?
McLaughlinKid wrote:You put roar on everything don't you?

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: /undo /undox sugestion

Post 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.

User avatar
Desosus
SupOP
Offline
Posts: 325
Joined: May 28th, 2011, 12:16 am

Re: /undo /undox sugestion

Post 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.
_Snivy_: is desosus a bot?

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: /undo /undox sugestion

Post by fragmer »

/UndoArea and /UndoPlayer are now done. I also added a warning to /undo when it's used with parameters.

Locked