Commit graph

765 commits

Author SHA1 Message Date
White
2045ff511c Fixed SetDungeon permission. Closes #1263 2016-07-29 15:59:54 +09:30
White
7a8bbb1b99 Updated naming on CheckXMas 2016-07-23 10:11:26 +09:30
White
4652b90a01 Fixes tabbing on the Settle command registration, and the Reload command 2016-07-02 17:11:41 +09:30
White
ed78313994 Fixes tabbing on the SetDungeon command 2016-07-02 17:08:41 +09:30
webmilio
bbca61cea1 Added the SetDungeon command. 2016-07-01 18:30:22 -04:00
Patrikk
6f42ac1215 Fixing SSC for real 2016-06-26 01:00:08 +02:00
Patrikk
ee3e47c1c1 Fixes #1226 2016-06-25 13:46:30 +02:00
Patrikk
ba73d5906a Separate item give perm from item spawn 2016-06-20 19:24:15 +02:00
White
72ccd34ae6 Fixes unwanted superadmin behaviour concerning SSC inventories. 2016-06-14 23:22:06 +09:30
White
91c41aa68b Adds a --no-restart command-line argument for Multiplay 2016-04-27 15:12:43 +09:30
White
a2bfc8f5b1 Modified the /rain command to take an optional parameter of "slime" to allow starting/stopping of slime rain. 2016-02-02 11:23:44 +10:30
Enerdy
aa419283a9 Add PlayerPermission hook, replace p.Group.HasPermission by p.HasPermission everywhere possible. 2016-01-11 14:37:02 +00:00
White
7d4a96cfee Fixes #1134 and #1131 2015-11-01 12:13:17 +10:30
White
d9a75dad42 /reload command now uses Permissions.cfgreload like it says it does 2015-09-29 19:02:25 +09:30
White
2e5eaae0b3 Checking whether a point is in a region no longer requires to region to be protected.
Renamed some methods to conform to C# conventions.
2015-09-06 18:49:57 +09:30
Lucas Nicodemus
95ef7c9d85 Fix #1063 2015-07-30 16:43:45 -06:00
Lucas Nicodemus
9af4980b60 /auth now forcekicks if auth is disabled
Update submodule
2015-07-30 16:10:59 -06:00
White
4371ad4d9a Logging out is now safe in SSC. Fixes #1037 2015-07-20 23:25:33 +09:30
Denwey Tharkt
e8ce773fdb Target Dummies no longer get butchered by /butcher. Fixes #1025 2015-07-17 20:38:56 -03:00
Jordy Moos
fd49aaad83 Use tabs not spaces 2015-07-16 13:25:03 +02:00
Jordy Moos
51e2cbeb21 Serverpassword syntax error gave wrong command 2015-07-16 13:11:43 +02:00
White
1ab66128ab Added Moon Lord to SpawnBoss 2015-07-16 20:06:54 +09:30
Enerdy
6495496cd4 Fixes /who -i and /userinfo. Also updates the submodule. 2015-07-09 03:23:37 +01:00
White
4df54d89c1 Added 'expertmode' as an alias for toggling expert mode 2015-07-06 11:00:57 +09:30
White
2dd4be0081 Added /expert command to toggled expert mode 2015-07-06 10:51:08 +09:30
Lucas Nicodemus
800ef86b65 Log errors instead of absorbing them 2015-07-05 18:12:05 -06:00
White
3a3e053d43 Fixed SSC. Note that SSC will NOT work with UUID login before join. UUID login before join has been disabled during SSC unless the player has the "tshock.ignore.ssc" permission.
Removed IncrementKills()
2015-07-05 23:13:54 +09:30
Lucas Nicodemus
34fac2c85e Nullcheck banning a player with no known ips 2015-07-04 22:30:28 -06:00
White
af7ee24de4 Fixed /time 2015-07-05 11:32:01 +09:30
Enerdy
597322217d Fix more broken calls. 2015-07-04 16:17:31 +01:00
White
18988ecba1 Fixed a bad index check on /tempgroup 2015-05-31 21:49:54 +09:30
White
3276a8c532 Fixed issue with the changed output 2015-05-28 17:18:10 +09:30
White
6374d8214d Changed some output from the tempgroup command 2015-05-28 17:16:38 +09:30
White
ec178f0c4a Fixed the bug where updating the config WorkFactor would mean that users could not log into their accounts once their passwords were updated to the new WorkFactor 2015-05-28 11:51:29 +09:30
White
e33b6ebebc Now targets NET 4.5, so the solution actually compiles.
Fixed an issue where /user password sets a blank string in the database
Fixed an issue where /password <old> <new> wouldn't update the user's password
2015-05-27 18:29:29 +09:30
White
44ad0c68b8 Change TSPlayer.UserID to TSPlayer.User.ID, as well as refactoring some of UserManager.cs. Solves #916 2015-05-01 11:18:37 +09:30
White
f400d4ff04 Fix a missed line 2015-04-29 17:41:43 +09:30
White
dd7ad78d3f Adds a User object to TSPlayer 2015-04-29 17:24:20 +09:30
Lucas Nicodemus
f5bf9d55ca Add semicolon 2015-04-25 22:55:15 -06:00
Lucas Nicodemus
c1183ec950 Make verbiage more clear on how to use /auth and /auth-verify 2015-04-25 22:54:45 -06:00
Lucas Nicodemus
b34c00107c "Brace" for impact with these Important changes
Apparently the convention is UpperCamel for private functions too.
Fixed a stray brace that caused people to brace for a sudden evisceration of limbs.
Use Int32.Parse instead of Convert.ToInt32, because Microsoft exposes public
APIs they say not to use. 👏
2015-04-13 23:24:37 -06:00
Lucas Nicodemus
493dc0c069 Change braces to use VS style 2015-04-13 14:49:04 -06:00
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