LegacyOfLexicus.com IS STILL UNDER CONSTRUCTION. EXPECT BUGS.

CommandBack

/restoreServer


Description

Creates an archive of a Discord server's files before restoring them from an archive. Archives are listed with `/listOldServers`.


Permission

Bot Admin


Syntax

/restoreServer <username> <archive> [resetname]


Arguments

username is the name of the player running the command. This acts as confirmation. Required.

archive is the name of the archive you want to restore.

resetname is the name for the archive. Spaces are replaced with dashes (-). Uses the bot's current timestamp if not provided. Optional.

Example - Reset Server Without Name

/resetServer SomeMineGame Testing-Server


Sample Data

Current Time On The Server:
January 18, 2026 at 9:45 PM


Result

The server is archived with the name January-18-2026, provided there wasn't already an unnamed reset for the day. Then, Testing-Server is recovered.


Example - Reset Server With Name

/resetserver SomeMineGame Testing-Server LegacyOfLexicus


Result

This will put all the files in the current server into an archive called
LegacyOfLexicus, provided the name isn't already in use. Then
Testing-Server is recovered.