feat(Scripts/Commands): Item restoration command (#9538)
* Implement item restore command & move itemmove to new item cmd * Implement LANG_COMMAND_DISABLED * Prevent command usage if no config is set * WIP: `.item restore list` * Fix restore list & create base for restore item * Send item to player via mail * Put player as last argument * Use Postmaster & fix restore list * Show item name in restore list * Update HandleItemMoveCommand to be using the api Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com> * Send item instantly if online
This commit is contained in:
parent
8ae8db5283
commit
c95c29838b
7 changed files with 226 additions and 35 deletions
|
|
@ -54,6 +54,7 @@ void AddSC_titles_commandscript();
|
|||
void AddSC_wp_commandscript();
|
||||
void AddSC_player_commandscript();
|
||||
void AddSC_cache_commandscript();
|
||||
void AddSC_item_commandscript();
|
||||
|
||||
// The name of this function should match:
|
||||
// void Add${NameOfDirectory}Scripts()
|
||||
|
|
@ -97,4 +98,5 @@ void AddCommandsScripts()
|
|||
AddSC_wp_commandscript();
|
||||
AddSC_player_commandscript();
|
||||
AddSC_cache_commandscript();
|
||||
AddSC_item_commandscript();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue