Commit graph

346 commits

Author SHA1 Message Date
Ruby Rose
8ae0a3b5a6 Write proper docs 2017-06-08 17:18:38 +03:00
Ruby Rose
81cb1381b4 Add hooks for item/projectile/tile bans 2017-06-07 15:32:40 +03:00
ZIT WANG
85b0b7bc6a Fix an itemban issue due to localization 2017-04-26 19:26:54 +08:00
White
e1919adfb2 Fixes { and } breaking server message broadcasts 2017-04-25 11:32:39 +09:30
Lucas Nicodemus
9b419467d6
Replace NetworkText.FromLiteral("") with NetworkText.Empty
Thanks @deadsurgeon42
2017-04-20 00:31:33 -06:00
Lucas Nicodemus
2d14533172
Terraria 1.3.5 changes compile (NO GUARANTEES ON EXECUTING) 2017-04-19 18:21:34 -06:00
Lucas Nicodemus
b8dbdb9ff4
Final batch of .name changes 2017-04-19 17:41:15 -06:00
White
c4a3a9fb67 Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
White
86c180c156 Spawning items by ID now actually uses the ID properly.
Fixes #1398
2017-03-13 11:45:32 +10:30
ProfessorXZ
7c8bf7712a Added TSPlayer.Logout() 2016-12-18 12:37:15 +01:00
White
739892a611 Added TSPlayer.KillPlayer() which uses NetMessage.SendPlayerDeath(...).
Changed /kill to use `TSPlayer.KillPlayer()`
2016-12-11 13:46:57 +10:30
Lucas Nicodemus
678f6c7cf8
Update to Mintaka (thanks @enerdy) 2016-12-06 17:36:44 -07:00
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