Zack
f9bf470b1d
Tick version and update copyright
2015-01-28 15:29:13 -05:00
Zack
fb451c6d49
Update license header for 2014
2014-07-10 21:48:33 -04:00
Zack
fee116c6df
Update BanManager.cs
...
Fix uuid arg in constructor
2014-02-27 21:50:16 -05:00
MarioE
ebc36a5ada
Add temp banning, remove /ban clear, fix temp ban check
2013-11-10 23:03:12 -05:00
Zack Piispanen
df5eb940bd
Fix compat sigs ban method.
2013-10-01 19:02:21 -04:00
Zack Piispanen
931e65fd80
Fix bans.
2013-10-01 18:38:39 -04:00
Zidonuke Ghost
b2a8198bb1
Client UUID Implementation: Bans and User Auth.
...
Send ServerSideCharacter flag if set in WorldInfo.
2013-10-01 04:35:49 -04:00
Zack Piispanen
038b2c027d
Added Registered field to user db.
...
Set all those time based fields to use UtcNow, sortable
2013-09-30 20:32:43 -04:00
Zack Piispanen
856def83b3
Added basic framework for allowing for ban durations and banning admin.
...
Added BanningUser, Date(of ban), and Expiration to the db
On join, Expiration is checked, if ban is expired we remove it and the user is allowed on.
When running the ban command, your UAN is used as the banning user, and the date is that moment, with no expiration.
#531
2013-09-22 16:04:12 -04:00
Zack Piispanen
b22457382e
remove unused using statements
2013-09-17 02:24:02 -04:00
Lucas Nicodemus
ae7ab5f234
Updated copyright information to point to 2013.
2013-08-22 21:51:17 -06:00
Lucas Nicodemus
8d5cdf04a8
Update copyright to reflect actual year date.
2012-04-24 12:45:46 -06:00
stevenh
b6b5a2f1ca
Added compatibiliy shims for old method signatures without which existing compiled plugins will error with missing method ...
...
This fixes #410
2012-02-24 11:37:43 +00:00
stevenh
41dbd31aac
Converted all files to LF line endings
2012-02-21 15:56:34 +00:00
stevenh
2f7cb9f44e
Added exception handling option to AddBan & Remove Ban
...
Fixed formatting of EnsureExists(table) block
2012-02-16 11:11:30 +00:00
stevenh
78cc7a6f75
Added the ability to delete a ban by name in the same way as a user
2012-02-13 22:38:04 +00:00
stevenh
0c13716b84
Removed TShock.Config.EnableBanOnUsernames check from GetBanByName so that it can be used internally for queries
2012-02-13 22:20:44 +00:00
Lucas Nicodemus
454403d495
Added /lists/bans REST endpoint - Returns a JSON list of bans
2012-02-09 22:20:36 -07:00
k0rd
7dcac918ec
Added a more descriptive error message when database dlls are missing.
2012-01-20 18:45:53 -05:00
Lucas Nicodemus
bf9d0137f1
Added any missing license headers to all files
2012-01-01 03:06:48 -07:00
Lucas Nicodemus
902015b285
Remove flat file converter from ban system constructor
2012-01-01 02:56:57 -07:00
Lucas Nicodemus
c6abbfe4d2
ReSharper code reformat to match naming conventions and stuff
2011-12-30 14:38:04 -07: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
6f26cc0dc5
Fixed the query helper functions
2011-08-01 19:33:15 -04:00
Lycaonj
19df6bb009
Fixed incorrect parameter name in the Unban method (from @ip to @0) which was causing ban removals to fail.
2011-07-30 22:35:36 -05: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
3744e49592
Added a config option (default off) for banning by usernames.
2011-07-21 12:39:01 -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
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
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
3e17e42a37
Adds MySql Support
2011-07-12 13:31:36 +12:00
Twitchy
b5ca97ae35
Adds a whole bunch of SQL logging
2011-07-11 20:31:25 +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
16a90f3240
Added SQL Regions and Fixed SQL Warps
2011-07-08 23:36:53 +12:00
high
6d531283fc
Moved BanManager/WarpsManager
...
Added UserManager (empty)
2011-07-08 04:00:53 -04:00