Enerdy
e31cdfb7d5
Handle the MassWireOperation packet. Fixes #1190
2016-05-28 19:16:52 +01:00
Enerdy
aa419283a9
Add PlayerPermission hook, replace p.Group.HasPermission by p.HasPermission everywhere possible.
2016-01-11 14:37:02 +00:00
tysonstrange
6abff7e3df
Update Utils.cs
...
/reload doesn't reload proj and tile bans.
2015-09-22 20:54:34 +10:00
Enerdy
2320613a1d
Add GetItemFromTag(), null check on item names.
2015-07-29 15:27:16 +01:00
White
1ab66128ab
Added Moon Lord to SpawnBoss
2015-07-16 20:06:54 +09:30
Enerdy
63bf256abf
Fix bubble tile triggering noclip checks.
2015-07-15 03:12:56 +01:00
Enerdy
6495496cd4
Fixes /who -i and /userinfo. Also updates the submodule.
2015-07-09 03:23:37 +01:00
Enerdy
fd96f9d65c
Fix /buff + Update Submodule
2015-07-06 17:07:16 +01:00
Enerdy
eca0c03189
Add ColorTag() and ItemTag() to Utils.cs, to make those easier to use across plugins and possibly TShock in the future.
2015-07-06 00:46:56 +01:00
White
63bf31ded5
Removed Disconnect handling in NetHooks_SendData
2015-07-05 12:12:31 +09:30
Enerdy
0e23ffa1a6
Fixed issues with BitsByte. TShock should compile again.
2015-07-04 17:17:26 +01:00
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
Lucas Nicodemus
342921b3ed
Document Utils.cs & UserManager.cs
...
Deprecated Utils.Random()
2015-04-19 21:14:15 -06:00
Lucas Nicodemus
ce4585d151
🍰 Moved indentation back for deprecated algo block
2015-04-18 13:51:53 -06:00
Lucas Nicodemus
5e4651e9c4
Deprecate ValidString & SanitizeString methods.
...
They're unused and don't support UTF-8.
2015-04-17 04:20:48 -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
1dae83d1b6
Fix TryParseTime documentation again?
2015-04-12 23:43:39 -06:00
Lucas Nicodemus
417ffbc740
Updated XML documentation for several methods
2015-04-12 23:39:04 -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
eda5ba312e
Remove deprecated GetUsers() and IDs method
...
Thanks @Enerdy
2015-03-14 13:38:22 -06:00
Lucas Nicodemus
d971db165c
Remove several obsolete shims
...
No need to keep obsolete shims in for several versions of TShock
2015-02-28 20:15:56 -07:00
Lucas Nicodemus
d8f1324836
Utils.cs now has uniform tabs
2015-02-28 19:47:27 -07:00
Lucas Nicodemus
1be5f6fdc2
Remove remaining obsolete references to Log vs TShock.Log
2015-02-28 19:42:26 -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
Enerdy
7135217315
Fix Utils.GetPrefixById
2014-07-20 01:54:02 +01:00
Zack
fb451c6d49
Update license header for 2014
2014-07-10 21:48:33 -04:00
Zack
915e791406
Initial work to move all Server Side Character code to its own module.
2014-07-10 21:09:32 -04:00
MarioE
16cf364d59
Add user account banning, similar to offline bans
...
Also removed logging of bans since... the command is logged as well
2014-07-02 13:34:15 -04:00
MarioE
3e12e80a89
Clean up /itemban, /projban and tempbans
2014-07-02 10:51:06 -04:00
Zack Piispanen
871ad1fd2a
Initial Commit of 1.2.4, all data handlers are currently off.
2014-05-09 21:20:21 -04:00
CoderCow
39a81cfa66
-SSC now saves player hair, hair color, hair dye, cloth colors and accessory visibility.
...
-Fixed hair changes now showing up to other players ingame.
2014-02-26 22:24:03 +01:00
MarioE
ebc36a5ada
Add temp banning, remove /ban clear, fix temp ban check
2013-11-10 23:03:12 -05:00
MarioE
9f7055b806
Merge with upstream
2013-11-10 14:40:16 -05:00
Zack Piispanen
f8eafb9073
Require at least one digit in regex.
2013-11-10 08:14:33 -05:00
Zack Piispanen
9b477e461d
Fix that awful code that parses colors to use a regex. This likely fixes the issue Icy mentioned.
2013-11-10 07:53:14 -05:00
MarioE
3405acd15b
Fix warps
2013-11-03 17:10:20 -05:00
Zack Piispanen
229d2bf990
Wrap usages of TShock.Players[] with checks for out of bounds.
2013-10-22 02:37:19 -04:00
Zack Piispanen
cd13cc97aa
Reload itembans on /reload
2013-10-22 00:25:26 -04:00
Zidonuke Ghost
05ff0be3f5
Reverting change that sneaked in.
2013-10-06 02:59:19 -04:00
Zidonuke Ghost
3f956801f8
Removed stat hack configs and permissions, added hardcoded limits due to crash exploit potential from abnormal stats. Also added hardcoded limits of player damage and killme due to crash exploits.
2013-10-06 02:56:55 -04:00
MarioE
01388a5948
Fix noclip on actuated tiles and fix crimson grass vine purification
2013-10-03 16:49:22 -04:00
Zack Piispanen
931e65fd80
Fix bans.
2013-10-01 18:38:39 -04:00
Zidonuke Ghost
0d351778a7
Initial server side character system implementation.
2013-10-01 06:22:08 -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
d71aacc58d
Did some tweaks to Teleport to make the bounds checks in one place.
...
Fixed item drop packet, as well as update the bounds.
2013-09-30 19:34:43 -04:00
Zack Piispanen
c17b661166
Stripped out stupid shit
...
Commented packets we dont know about yet.
2013-09-28 17:32:03 -04:00
Zack Piispanen
dea360869b
Refactored the many matches found redundancy by adding a utils method. Changed the csproj to build x86 instead of anycpu which was causing issues for release.
2013-09-27 01:42:13 -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