Jump to content
  • 0

Delete Safes, storage, etc..


Logan

Question

Tried this

 

BEGIN
DELETE FROM dayz_epoch.object_data
WHERE
Classname LIKE '%Storage",1%'
AND object_data.LastUpdated < NOW() - INTERVAL 35 DAY;

END

 

 

Doesn't seem to work, tried editing it around a bit and still can't get it.

 

Currently running the safe unlock after 25 days.

 

Just looking for a way to delete safes and other storage after a certain amount of time.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
/* Delete unused storage objects */
DELETE FROM `object_data` 
WHERE `LastUpdated` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 35 DAY) 
AND `Classname` IN ('Wooden_shed_DZ','WoodShack_DZ', 'TentStorage', 'TentStorageDomed', 'TentStorageDomed2', 'WoodCrate_DZ', 'GunRack_DZ', 'OutHouse_DZ', 'StorageShed_DZ', 'VaultStorageLocked', 'LockboxStorageLocked');
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...