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

Solved how to add shop points with sql command?

TKO

Syphero Owner!
Joined
Mar 10, 2008
Messages
2,252
Reaction score
27
Location
Sweden
how to add shop points with sql command?
the command is
UPDATE `dbname`.`accounts` SET `premium_points` = '1000' WHERE `accounts`.`id` = accountid LIMIT 1 ;
 
Last edited:
Don't know what tables u have got in ur database, so I give u example:

Code:
UPDATE `[COLOR="DarkOrange"][B]table[/B][/COLOR]` SET `[COLOR="Purple"][B]pointstable[/B][/COLOR]` = `[COLOR="Purple"][B]pointstable[/B][/COLOR]` + amount ;
Go to ur database (example forgottenserver)
table are [accounts,bans,players ect] - search where ur points are saved
pointstable are tables in accounts (like premdays), players (level).
amount is how many point u want add (this query add points to all players), change it to number.

Hope i helped :thumbup:
Regards
 
Back
Top