Commit graph

723 commits

Author SHA1 Message Date
Lucas Nicodemus
379a689ae2 Change message to be "greater than or equal to" 2015-04-13 14:30:11 -06:00
Lucas Nicodemus
12f893e0cb Require minimum password length of 4, and trim new passwords for whitespace.
Fixes problems reported by @MarioE and @Simon311:
- Users can no longer register with whitespace for a password.
- Users can no longer register with 4 whitespaces for a password.
2015-04-13 14:26:12 -06:00
Lucas Nicodemus
37b5a52fdb Move all TShock usages to use User.VerifyPassword() 2015-04-13 11:16:21 -06:00
Lucas Nicodemus
ed34a87c3f Migrate some manual password creation to BCrypt
Note that several times, user.Password was set to a plain text password,
but then later changed to a hashed password, creating data inconsistency.

This also changes User.Password to private set to prevent further accidents.
2015-04-13 10:44:45 -06:00
Lucas Nicodemus
1b835c0597 Fix more broken docs
Also disables warnings for some specific unused variables
2015-04-13 00:01:37 -06:00
Lucas Nicodemus
e927b55fcb /group add now uses non-deprecated method 2015-04-12 23:39:26 -06:00
Lucas Nicodemus
6ed91f12c8 Remove redundant argument checks 👌 2015-04-12 22:02:19 -06:00
Lucas Nicodemus
8bcb3ef6bc Check all user subcommands for param count
Fixes more problems found in #899 (thanks Marcus)
2015-04-12 21:48:50 -06:00
Lucas Nicodemus
0f1b334d8e Merge branch 'general-devel' of github.com:NyxStudios/TShock into general-devel 2015-04-12 21:46:46 -06:00
Lucas Nicodemus
16960c7d2c Require 3 parameters to change a password
Fixes #899
2015-04-12 21:46:15 -06:00
Zack Piispanen
904c44a1b6 Fix UseServerName config options, to now work properly. Remove duplicate unused code. Ensure that everywhere we use Main.WorldName, we are sending the config server name. 2015-04-09 22:58:32 -04:00
Lucas Nicodemus
cef253ce20 Remove the ability to ban oneself 2015-04-08 23:46:00 -06:00
White
2f2749c480 Time parameter in temp group command 2015-04-06 12:50:33 +09:30
Zack Piispanen
7fee8d786c Fix logout to set group to the guest group, and temp to null. These seem to have been swapped on accident, and used the default group instead of guest. 2015-04-05 22:42:57 -04:00
Zack Piispanen
015cf61b77 Add logout command and pos command. Closes #872 and Closes #887 2015-03-25 21:17:11 -04:00
Lucas Nicodemus
6ec08de26b Advertise TShock.co more effectively 2015-03-23 10:02:41 -06:00
Lucas Nicodemus
04b1aff65a Fix verbage in temp ban command 2015-03-15 15:22:58 -06:00
Lucas Nicodemus
bca48fb2eb Attempt to fix tempbans not working 2015-03-09 23:34:07 -06:00
Lucas Nicodemus
de2a07db6b Advertise https websites (this is 2015) 2015-03-09 07:56:27 -06:00
Lucas Nicodemus
32218f9be0 PlayerCommandEventArgs passes the command prefix
Fix tab space conflict in PlayerHooks.cs
2015-03-08 16:00:43 -06:00
Lucas Nicodemus
9221c14ca6 Commands.cs now has less e for exceptions 2015-02-28 19:54:39 -07:00
Lucas Nicodemus
db5e88acf7 /stats is now /serverinfo 2015-02-28 17:24:33 -07:00
Enerdy
a632e7f510 Added specifier to tshock commands 2015-02-28 14:46:44 +00:00
Enerdy
825de3fe73 Update methods using deprecated SendData code and Logs 2015-02-28 13:08:32 +00:00
Lucas Nicodemus
c5625aa896 Merge pull request #870 from NyxStudios/whitexz-general-devel
Adds SQL logging from WhiteX's fork; closes #869
2015-02-28 01:21:54 -07:00
Lucas Nicodemus
b133d6c470 ProtectSpawn also uses more logical logic statement 2015-02-28 00:56:53 -07:00
Lucas Nicodemus
2736ef8af2 ToggleAntiBuild no longer has weird logic statement 2015-02-28 00:54:55 -07:00
Lucas Nicodemus
b02c99254c Add parenthesis because you need that 2015-02-28 00:20:58 -07:00
Lucas Nicodemus
d6c267c152 Remove player & slot count from version command 2015-02-28 00:16:56 -07:00
Lucas Nicodemus
97d2894773 The mute reason is back to being a mute reason 2015-02-25 15:38:46 -07:00
Lucas Nicodemus
0459dfca11 Adds SQL logging from WhiteX's fork; closes #869 2015-02-25 15:33:35 -07:00
Lucas Nicodemus
e18ab50453 Literally add a comma between two different things 2015-02-24 21:42:06 -07:00
Lucas Nicodemus
13756360bb Slightly more commands support silence 2015-02-24 21:38:25 -07:00
Lucas Nicodemus
c9dcc3d227 Full, blood, and eclipse moon phases support silence
DropMeteor now supports broadcasting to all and silence
2015-02-24 21:26:16 -07:00
Lucas Nicodemus
192ee915ae Another batch of commands support silence 2015-02-24 21:20:33 -07:00
Lucas Nicodemus
f2b2da90d7 Added silent commands & other stuff (see below)
1. Removed old code.
2. Added silent command prefix & supporting code
3. Region ban & spawnmob support silence
2015-02-24 20:55:59 -07:00
Lucas Nicodemus
7649718530 Some people really like uneven spacing 2015-02-24 19:12:22 -07:00
Lucas Nicodemus
183084d60f Minor changes pertaining to spacing & some unclear messages 2015-02-24 19:08:30 -07:00
PhoenixICE
10de490c86 Tab formatting issue 2015-02-23 09:30:05 +11:00
PhoenixICE
6bb3a2f2ab Godmode Other Permission 2015-02-23 09:26:51 +11:00
Zack
63231c73f2 Utilize new account hooks to insert and delete from the SSC table, since this is what the feature was intended for. 2015-02-22 16:17:05 -05:00
Lucas Nicodemus
deb4113c73 /user group has proper error handling
This blast of commits fixes #543
2015-02-21 17:50:19 -07:00
Lucas Nicodemus
70104f795c /user password now returns correct message if user does not exist 2015-02-21 17:40:58 -07:00
Lucas Nicodemus
32c7645795 /user del now responds appropriately if the user doesn't exist 2015-02-21 17:36:32 -07:00
Lucas Nicodemus
964115dbb5 /user add now returns sensible errors 2015-02-21 17:34:39 -07:00
Zack
f9bf470b1d Tick version and update copyright 2015-01-28 15:29:13 -05:00
Zack Piispanen
444af6cf57 Update to latest TSAPI. Changed update manager to use same code as stat tracker, which hopefully doesnt break on mono. Also changed it to not check every update to see if time has passed. Made packetbufferer async for windows and if specified for mono. Fixed maxspawns error message to explain range. Ticked version. 2014-09-09 03:49:57 -04:00
Brian Ricketts
e2258c84d7 Fixed invalid default value for max spawns 2014-08-31 03:34:42 -05:00
Zack
18138afd1d Update ServerAPI to latest. Added command to reset the completed angler quests. Verified that angler quests are working as intended. Set value in db to 9, completed quest, received fuzzy carrot, shut down server, set to saw it was set to 10, set to 19, started server, completed quest, received his hat. Please stop reporting this as broken. 2014-08-02 10:18:47 -04:00
Zack
7a8422de5c Add tile banning, because such whine, much desire (doge).
I am sure this will result in someone whining for wall banning as well, but that can wait another couple of months.
2014-07-27 20:57:17 -04:00