• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

[SQL Query] Make every player level 1 with 185 HP and 35 Mana

Justin123456

New Member
Joined
Mar 24, 2011
Messages
177
Reaction score
4
Is there any way that I can use an SQL Query that will change the Level (8), HP (185), and the Mana (35) of each player?
I've searched but I couldn't find anything : /

I'll REP whoever helps :D
Thanks everyone! :)

- - - Updated - - -

Woops! I messed up in the title... It's supposed to be Level 1 with 185 Health and 35 Mana : /
 
For each player:
PHP:
UPDATE `players` SET `level` = 8, `health` = 185, `healthmax` = 185, `mana` = 35, `manamax` = 35 WHERE `name` = "TYPE_NAME_HERE";

For all players:

PHP:
UPDATE `players` SET `level` = 8, `health` = 185, `healthmax` = 185, `mana` = 35, `manamax` = 35;
 
Last edited:
Thank you so much :D It worked! :D

Edit: Chuck I tried giving you REP but it said I have to spread some more reputation before I can give it to you again :( I'm sorry : / I'll try to give it to you later when I can! :D
 
Back
Top