Commit graph

334 commits

Author SHA1 Message Date
Zaicon Kiroshu
50d8b0db30 1.3.4.3 Update (API 1.26) 2016-11-19 17:05:08 -06:00
Hussein Farran
7d323f253a Merge pull request #1321 from DogooFalchion/ssc_join_inv
Enable user to upload their data from when they join as SSC
2016-10-23 20:58:40 -04:00
DogooFalchion
f1ce158efd Implement logic to store the data of a player when they join, and allow for a command to be run that will upload that data in place of their existing SSC data. 2016-10-23 18:11:44 -04:00
Lucas Nicodemus
a0c4864567
Removed all obsolete methods from TShock 2016-10-23 06:09:17 -06:00
Lucas Nicodemus
dce26d6928 Merge pull request #1310 from Simon311/general-devel
Fix for HealOtherPlayer exploit, also fix #1309
2016-10-17 08:51:19 -06:00
Simon
1460a7ad91 Fix for HealOtherPlayer exploit, also fix #1309 2016-10-17 15:51:49 +03:00
Adilson Carvalho
49b4effe74 Changed year to 2016 on all GPL headers 2016-10-16 17:06:02 -02:00
ProfessorXZ
e0f17b82ef SyncExtraValue validation. Fixes #1024 2016-08-10 11:25:03 +02:00
ProfessorXZ
2f57336fe8 Fixes #1252 and #1160, remove the optional parameter from TSPlayer.SendMessage() 2016-07-31 22:33:53 +02:00
ProfessorXZ
d0d0fae5ca Add an optional parameters to SendMessage(), add more XML comments to TSPlayer 2016-07-29 14:11:19 +02:00
ProfessorXZ
a02bc1012d Increase chat length 2016-07-29 11:28:58 +02:00
ProfessorXZ
d5c7dab03d Use packet 107 for sending chat messages 2016-07-29 10:21:24 +02:00
White
ad2f56e251 Added detail to the TSPlayer.HasPermission method comments 2016-07-06 22:06:15 +09:30
Enerdy
dbd6228cc7 Revert "Make TSPlayer.SendMessage use the smart chat packet"
This reverts commit 653f6b834f.
2016-05-29 23:15:48 +01:00
Enerdy
653f6b834f Make TSPlayer.SendMessage use the smart chat packet 2016-05-27 01:00:35 +01:00
White
1a11beded7 Removed readonly from TSPlayer's data field so that it can actually be used 2016-05-18 13:03:17 +09:30
White
457b3d40b3 Changed the GetData<T> and SetData<T> components of TSPlayer, and added RemoveData and ContainsData 2016-05-16 16:45:00 +09:30
White
275ca6f9d1 Added a ConcurrentDictionary for plugin data to TSPlayer 2016-05-16 15:30:56 +09:30
Enerdy
7f9865bf5b TempGroups now override the group's permissions again instead of simply extending them 2016-01-13 17:17:04 +00:00
Enerdy
81fff9bd66 Pass down the permission being checked to the EventArgs (thanks @white) 2016-01-11 22:34:22 +00:00
Enerdy
aa419283a9 Add PlayerPermission hook, replace p.Group.HasPermission by p.HasPermission everywhere possible. 2016-01-11 14:37:02 +00:00
White
7dbebb2b9a Moved TSServerPlayer and PlayerData classes into their own files 2016-01-10 13:01:11 +10:30
Tyler Watson
4167a9b627 Removed unimportant messages from OnSecondUpdate()
Removed check ignores failed and player disabled for
not being logged in whilst SSC is enabled console messages, as
they are incessant in larger servers.

The messages are not informative as they are not reasonably
actionable by the console, and there is no point in spamming
server operators about such issues.
2015-11-26 19:13:38 +10:00
White
9c7d0f08e2 Deprecated PacketBufferer as its function is now fulfilled by SendQ 2015-11-23 11:50:24 +10:30
White
7d4a96cfee Fixes #1134 and #1131 2015-11-01 12:13:17 +10:30
White
be4d741f2b Extra slot will now function correctly in SSC. Fixes #1036 2015-10-09 17:56:56 +10:30
Beau Hastings
943606c870 Fix #1082
Signed-off-by: Beau Hastings <beausy@gmail.com>
2015-10-09 00:01:57 -05:00
White
90655adf8c ActiveChest is now correctly tracked. Fixes #1122 2015-09-29 18:12:09 +09:30
tysonstrange
65924b9f15 Update TSPlayer.cs 2015-09-17 21:08:53 +10:00
White
33739c4f07 Added a new Disable method with flags to determine where the message is logged to.
Obsoleted the old disable method
Added a config option to disable OnSecondUpdate logs (disable message is written only to console if set to true)
Updated all instances of the obsolete Disable method to the new Disable method
2015-09-12 11:33:17 +09:30
White
218bd98556 Added newline parsing to SendMessage to prevent plugins doing funky stuff to chat 2015-08-26 20:55:32 +09:30
White
a99414e712 Merge branch 'general-devel' of https://github.com/nyxstudios/TShock into general-devel 2015-07-10 16:59:44 +09:30
Lucas Nicodemus
b592a04190 Re-add stack trace 2015-07-10 00:42:57 -06:00
Enerdy
bfe407024e TSPlayer.Disable() now uses new debuffs, removed weird code? 2015-07-10 00:40:20 -06:00
White
e5cbee82e9 Backwards compatibility for databases with pre-existing SSC entries 2015-07-10 14:34:42 +09:30
Lucas Nicodemus
89bbbccdab Revert "TSPlayer.Disable() now uses new debuffs, removed weird code?"
This reverts commit 9df043764c.
2015-07-09 09:41:31 -06:00
Enerdy
9df043764c TSPlayer.Disable() now uses new debuffs, removed weird code? 2015-07-09 15:43:20 +01:00
White
f5e1b79fbb Fixed more of SSC. Trash, held item, piggy items, and safe items are all cleared upon first login. 2015-07-09 16:48:32 +09:30
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
White
af7ee24de4 Fixed /time 2015-07-05 11:32:01 +09:30
Enerdy
b7aaf4092c Fix calls in TShock.cs and TSPlayer.cs 2015-07-04 14:18:17 +01:00
MarioE
d5fb8726cc Extend NetItem 2015-05-04 22:11:10 -04:00
White
dd7ad78d3f Adds a User object to TSPlayer 2015-04-29 17:24:20 +09:30
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
White
b4f2ddef47 DEBUG preprocessor conditional inside method 2015-04-09 15:56:51 +09:30
White
fc1d188951 DEBUG preprocessor checks for ILog 2015-04-08 20:46:12 +09:30
White
d0a962bd0f Notification when temp group expires 2015-04-06 12:31:10 +09:30
White
bddcf81331 Stop timer once it's done 2015-04-06 12:31:08 +09:30
White
cd353c27a3 Time parameter for tempgroup 2015-04-06 12:31:07 +09:30
Zack Piispanen
8a7aae9143 Purge "initial vanilla inventory" from playerdata, and pushed it to the SSC config creation if not existing. 2015-03-16 12:47:44 -04:00