• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Can i reset all house's ?

Teddy

SweStream.se
Joined
Oct 2, 2008
Messages
3,797
Reaction score
10
Location
Sweden 172
On my server player wanna have reset in house's `?
is that possible ? to make all house's "no body live here" ? and all item's go to house owners dp..
 
go to ur database....click on house_list.......and u will see all the houses of ur server that have a OWNER , then if u delete them by clicking the red X , they will stay as "nobody own this house"
 
items are saved on house_data i guess...., u need to clean both, if u want empty houses with no owner ;P , if u clean house_list , houses will stay with "nobody" but items inside....

test this with one house ;P
 
ok no...not in house_data , ill check this myself and ill give u an answer in few minutes, if none answers before.


EDIT:

you need to clean House_list to clean invited player list on houses, with aleta sio.

and in "houses" are saved the houses....where it says OWNER , u need to put a 0 , 0=nobody own house

if it says 7, is cuz player id 7 , owns the house

SERVER NEEDS TO BE OFFLINE to changge OWNER ID to houses


about the items on houses...idk...im searching :P
 
Last edited:
UPDATE houses SET owner = 0 WHERE id > 0


use that on ur DB , put it on SQL , it will set all houses owner in 0 = nobody own house

made by pitufo

edit:sry triple post :S forgot about the one above T_T
 
Back
Top