• 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!

Lua Remove all player items

Raggaer

Godly Member
Joined
Jul 25, 2012
Messages
1,557
Solutions
8
Reaction score
957
Location
Spain
How can I do that to remove all players items without knowing what items the player have?

Thanks
 
For Delete ALL ITEMS.. you need exequte query in phpmyadmin - SQL
SQL:
DELETE FROM player_depotitems;
DELETE FROM player_items;
DELETE FROM tile_items;

for only remove 1 item need use query
SQL:
DELETE FROM player_depotitems WHERE itemtype = 2160;
DELETE FROM player_items WHERE itemtype = 2160;
DELETE FROM tile_items WHERE itemtype = 2160;

For delete all items need have offline your otserver and edit 2160 for what ID item wanna remove
 
SQL:
DELETE FROM `player_depotitems` , `player_items`  WHERE `player_id` = '1234'

ID player you look in Seach and write waht player wanna delete items .. in table look
ID - NAME example
1 - cronox

Etc for delete need edit 1234 for ID player
 
Back
Top