Jump to content
  • 0

Database cleanup help


ShaneMartin

Question

Hi,

 

How would I go about cleaning up my database, so players that haven't logged on for over 30 days get's their objects and vehicles deleted due to inactivity?

 

And if they were part of a group, how would I keep the base and vehicles intact but only delete them from the database?

 

Thank you for your time,

 

Shane

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

There is no real world and a seperate database world. Both are the same. If you delete things in the db they are gone.

to get rid of objects damage is added to them. I am on linux and have no idea of hive. But i think it's configured in the hive.ini to put damage on objects in a specific timeframe. An database event running from time to time then deletes objects with damage = 1. The event is included in the sql folder of the release as far as i know. Maybe you need to allow/enable executions of events in your mysql database.

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