Commit graph

21 commits

Author SHA1 Message Date
Lucas Nicodemus
e81982569c We want PRIMARY keys, not UNIQUE keys, because UNIQUE without PRIMARY means absolute BULLSHIT. 2011-07-13 02:13:53 -06:00
Lucas Nicodemus
cbc6bd2751 Fixed a lot of database stuff. 2011-07-12 21:30:55 -06:00
Twitchy
eda5cfc10d Fixes SQL not working correctly. and saving 2011-07-12 22:47:36 +12:00
Twitchy
30d0d48386 Added reader closing (if it will help) and returns default group rather than "null" 2011-07-12 21:16:59 +12:00
Twitchy
b74455433e Changed Exception catch types. Removed trying to insert to ID field 2011-07-12 19:36:17 +12:00
Lucas Nicodemus
101aaa4856 Added UserManager.RemoveUser(string inputUser, bool ip) 2011-07-12 00:44:39 -06:00
Twitchy
29aef28c1e manage users is now admin by default 2011-07-12 17:37:09 +12:00
Twitchy
ac8b293232 Removes Auto increment ID from table 2011-07-12 17:26:07 +12:00
Twitchy
3e17e42a37 Adds MySql Support 2011-07-12 13:31:36 +12:00
Twitchy
0997b5bd5d Adds group manager, editable only by DB program. 2011-07-11 20:33:03 +12:00
Twitchy
b5ca97ae35 Adds a whole bunch of SQL logging 2011-07-11 20:31:25 +12:00
Twitchy
6d1bea3577 Fixed SQL inserting a new superadmin on each load. 2011-07-10 13:35:49 +12:00
Twitchy
bbcf84ed4a Adds Itembans into SQL, in game commands not added yet, but can use a DB editor to add bans 2011-07-10 13:08:19 +12:00
Twitchy
243b0297b9 Commands /region list and /warp list now work
Regions now use User ID's for /region allow (can be IP or Username/password based ID)
Minor Tweaks
A reset of your database is recommended
2011-07-09 20:41:31 +12:00
Twitchy
cb7033d89c Adds UserManager to sql
Changes the way Warps and Regions are stored
A few other minor tweaks
2011-07-09 16:33:07 +12:00
Twitchy
4a25cd612c Merge branch 'sql' of github.com:TShock/TShock into sql 2011-07-08 23:40:07 +12:00
Twitchy
16a90f3240 Added SQL Regions and Fixed SQL Warps 2011-07-08 23:36:53 +12:00
high
213fe1cb61 User table defined, missing any columns? 2011-07-08 06:05:25 -04:00
high
6d531283fc Moved BanManager/WarpsManager
Added UserManager (empty)
2011-07-08 04:00:53 -04:00
high
d3cdb1095a Fixed copy/paste mistakes 2011-07-08 03:54:08 -04:00
high
c26867633a Added a nice generic method for things like GetString(GetOrdinal(name)) => Get<string>(name)
Moved AddParameter to extension
2011-07-05 05:44:58 -04:00