Author Topic: Database Reset  (Read 870 times)


  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Database Reset
« on: October 17, 2015, 08:56:27 AM »
War3Source Addon - Database Reset
See this.
The feature was requested a few times as well back in the day, here it is.

DISCLAIMER: I only tested this briefly with a SQLite database and dummy entries.

How to use
Once you installed the plugin, there is a new console command available.
war3_resetdb - Reset war3source database

You can enter this command from the server console or while being connected(requires RCON adminflag)
Once entered, you're prompted to enter a random generated token to confirm deletion. If everything went smoothly, the DB will be cleared.

attachment removed, get latest version from git repository
« Last Edit: October 18, 2015, 05:02:54 AM by Revan »
#war3source on gamesurge


  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: Database Reset
« Reply #1 on: October 17, 2015, 10:26:50 AM »
Hi I'm DraxB. This will be very useful for me since I don't have access to mySQL in the community I play in. I hope it works for mySQL, but yeah I can't atm since I launched the server already  :P

If no one else tests it with mySQL I will let you know in a few months whether it works or not.

Cheers, Stefan.


  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: Database Reset
« Reply #2 on: October 17, 2015, 11:06:34 PM »
put it on the trunk, also in the warning printouts, say that players will be kicked