Expose command "delete-blueprint-library <player>" through LuaGameScript
Posted: Sun Jan 11, 2026 11:37 am
I would like to request if it would be possible to expose this Lua command though the LuaGameScript:
Something like "game.delete_blueprint_library(player_identification)"
This is most useful for servers where admins would have to join and manually prune dozens of inventories by console command, automating it in script.
Bonus: would be useful to also have a getter method to get players BP library size (single player or of array for all players/indexes) in bytes. But this is not striclty necessary.
Thanks! RR
Code: Select all
delete-blueprint-library <player>: Deletes the blueprint library storage for the given offline player from the save file. Enter "everybody confirm" to delete the storage of all offline players.This is most useful for servers where admins would have to join and manually prune dozens of inventories by console command, automating it in script.
Bonus: would be useful to also have a getter method to get players BP library size (single player or of array for all players/indexes) in bytes. But this is not striclty necessary.
Thanks! RR