Commit graph

41 commits

Author SHA1 Message Date
Zidonuke
c06bf2fe2e Break off from older commands and systems, move to more recent configurations.
Cheating detection no longer kicks, instead uses new system to block actions, and notifies user to fix the issue instead.
2011-12-20 22:41:49 -05:00
Zidonuke
82fb69f9d4 Random Improvements and Fixes 2011-12-20 03:31:47 -05:00
Lucas Nicodemus
8514140ca7 As per High's complaining, holocaust against the Tools class (now Utils)
Plugin developers: You really need to change to reference this.
2011-12-01 23:24:02 -07:00
Zack Piispanen
56beeb446a Fixed modgroup to actually update the local( ram ) copies of the groups. Also set it up to properly delete from a group. 2011-11-26 00:28:46 -05:00
high
920fabaa7e Fixed TSDEV-117
Conflicts:

	TShockAPI/Properties/AssemblyInfo.cs
2011-09-03 15:16:36 -04:00
high
f90b530531 Parents now implemented correctly as a separate column.
Negate permissions now work again.
2011-08-17 17:19:56 -04:00
high
7e3a38c5c1 Typo 2011-08-08 19:59:37 -04:00
high
1a801b268c All managers now use querybuilder for creating tables to make for easy changes. 2011-08-03 19:55:23 -04:00
high
423a33325a Finished:
-sqlite altering
-implemented mysql
Todo:
-Merge SqlTableCreator into the querybuilders or make it static
-Make all the managers use the querybuilder for making tables. (See GroupManager.cs for an example)
-Implement more datatypes (see TypesAsStrings in IQueryBuilder.cs)
2011-08-03 18:37:42 -04:00
high
4bab43466c Adding classes to make querying between sqlite/mysql easier 2011-08-03 02:52:44 -04:00
Twitchy
f95fdf5085 Fix group inheritance 2011-08-01 16:46:42 +12:00
Deathmax
75f3d3c046 out of range check when reading chat colors. 2011-07-31 22:56:44 +08:00
Deathmax
279b8ef9e2 Load chat colours into groups. 2011-07-31 22:09:29 +08:00
Twitchy
5ff8680ccb Adds chat colors to player groups. 2011-07-31 23:36:21 +12:00
Twitchy
0438d0ffce Fix OrderBy removal 2011-07-31 16:11:58 +12:00
Twitchy
917865cab5 OrderBy... Bye bye. DBTool fixes 2011-07-29 12:21:28 +12:00
Lucas Nicodemus
37146adb4c Resharper code cleanup, including:
- Optimized using statements
 - Removal of redundant code
2011-07-26 23:37:06 -06:00
high
57a2d082ef Added query function for easier queries.
Normalized method names in GroupManager.cs
2011-07-24 10:12:18 -04:00
Lucas Nicodemus
5c59ebf71a Merge remote-tracking branch 'remotes/origin/general-devel'
Conflicts:
	TShockAPI/Commands.cs
	TShockAPI/DB/GroupManager.cs
	TShockAPI/DB/RegionManager.cs
	TShockAPI/Properties/AssemblyInfo.cs
	Terraria.sln
2011-07-23 17:25:20 -06:00
high
a49269cc0c Create save path first 2011-07-23 00:50:30 -04:00
Zack Piispanen
727ae2322b Added new commands to allow users in game to create, delete, modify groups.
Added new methods to create, delete, modify groups.

Uhhh....dunno why RegionManager.cs was conflicted.

Added permission for accessing group commands
2011-07-22 23:14:56 -04:00
high
85dac355be Cleaned up the adding of default groups 2011-07-22 21:46:14 -04:00
Zack Piispanen
987d9e793b fixed useless query for being useless. Added in code that checks the list of groups and not the db itself.
TSDEV-49
2011-07-22 17:33:59 -04:00
Lucas Nicodemus
91c1430f3c Not using OrderBy as much anymore. 2011-07-21 15:03:52 -06:00
Lucas Nicodemus
b98614946d Changed every instance of Main.worldID.ToString() to Main.worldName. You broke backwards compatibility with all other warp and region files by doing that. 2011-07-21 15:03:15 -06:00
Zack Piispanen
3ce6de9e20 Merge branch 'master' of github.com:TShock/TShock
Conflicts:
	TShockAPI/Group.cs
	TShockAPI/TShock.cs
2011-07-20 20:58:26 -04:00
Zack Piispanen
cfcc0e7276 groups work, with inheritance, still need to remove order by 2011-07-20 20:55:49 -04:00
Lucas Nicodemus
8fa45f4aae Attempting to fix permissions 2011-07-19 20:36:15 -06:00
Zack Piispanen
f08b94c8f8 Bans and Groups now convert from txt to db items.
Just put bans.txt and groups.txt in the tShock folder( where they already exist i believe ) and run the server.  It moves the files to tShock/old_configs in case you want to keep them.
2011-07-17 15:17:28 -04:00
Lucas Nicodemus
e684ecd289 Added vip group 2011-07-16 21:58:48 -06:00
Lucas Nicodemus
4ca7a9aeec Default permissions are fixed 2011-07-16 18:49:26 -06:00
Lucas Nicodemus
77ed57a4bd PRIMARY KEY, thanks SQLite for being a FUCKING DICKBAG 2011-07-13 02:47:32 -06:00
Lucas Nicodemus
2608ca0779 We want PRIMARY keys, not UNIQUE keys, because UNIQUE without PRIMARY means absolute BULLSHIT. 2011-07-13 02:42:06 -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
Twitchy
29aef28c1e manage users is now admin by default 2011-07-12 17:37:09 +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
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