Jump to content
  • 0

[Help] Maintenance, How prepare server


Dominopi

Question

Good evening, 

Could you tell me or give link how can I prepare server to Maintenance via plot pole?

I was looking on this forum but I cannot find easy wait to do it.

I use NAvicate and coins (  )

How can I start event if I want to use maintenance every week?Do I have change interval to 7 days and cleanday in hive to 7 day?

UPDATE `Object_DATA` SET `Damage`=0.1 WHERE `ObjectUID` <> 0 AND `CharacterID` <> 0 AND `Datestamp` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 3 DAY) AND ( (`Inventory` IS NULL) OR (`Inventory` = '[]') )
;

In navicate where can I use this command?

SET GLOBAL event_scheduler = ON;

best regards, 

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

How many days do you want to give players to maintain before the object is deleted?

 

Just open your HiveExt.ini in your config settings

 

 

Look for this area ---> 

 

;Negative values will disable this feature
;0 means that ALL empty placed items will be deleted every server restart
;A positive number is how old (in days) a placed empty item must be, in order for it to be deleted
CleanupPlacedAfterDays = 365
 
 
If "CleanupPlacedAfterDays =" is not a part of this then add it
 
the number after this "365" or any number you want, is how many days your players will have to maintain
 
So if you want players to maintain every within a weeks then replace 365 with 7
 
;Negative values will disable this feature
;0 means that ALL empty placed items will be deleted every server restart
;A positive number is how old (in days) a placed empty item must be, in order for it to be deleted
CleanupPlacedAfterDays = 7 <---- Like this
 
Also make sure theirs no --->  ;      in front of the CleanupplacedAfterdays

but keep in in front of the other lines :3

 

If you need any more help just reply ok

Link to comment
Share on other sites

  • 0

thank you. To sum up.

 CleanupPlacedAfterDays = 8 days and time of repeat "DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 7 DAY)"?

7 days to pay and next day to remove. 

How often database have to damage obcj? 1 per weak? I mean 0.1 per week or every day?

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