Commit graph

3314 commits

Author SHA1 Message Date
AxeelAnder
210c95e5b1 sorted Bouncer and GetDataHandlers, ordered by packet type enum value 2018-10-26 14:06:46 +08:00
AxeelAnder
b2033d9eac update changelog 2018-10-25 22:10:33 +08:00
AxeelAnder
124ca19393 Merge branch 'player-zone' of https://github.com/AxeelAnder/TShock into player-zone 2018-10-24 15:58:55 +08:00
AxeelAnder
42e413012d added filter: only check when zones contains towers 2018-10-24 15:56:24 +08:00
Axeel
2332861cc8
Merge branch 'general-devel' into player-zone 2018-10-23 17:58:02 +08:00
AxeelAnder
2ea9a0161b added PlayerZone handler and bouncer, detect lunar towers cheat 2018-10-23 17:22:59 +08:00
Enerdy
f6590ab509 Merge branch 'general-devel' of https://github.com/Pryaxis/TShock into improve-config-doc 2018-10-21 19:54:21 +01:00
Enerdy
447d801dbc Clean up xml comments and descriptions in ConfigFile.cs
Remove property name from start of xml comments
xml comments now almost always match the property's description
Improve grammar in both comments and descriptions overall
2018-10-21 19:52:46 +01:00
AxeelAnder
f715d91dc6 disable -> kick 2018-10-21 11:01:08 +08:00
Lucas Nicodemus
e9372be276 Rename cheat var to detectedNPCBuffTimeCheat. 2018-10-20 09:14:38 -07:00
AxeelAnder
6efa0d2bb6 better code 2018-10-20 20:21:18 +08:00
AxeelAnder
b9dedd77dc add some anti-cheat code 2018-10-20 18:39:24 +08:00
AxeelAnder
fc38521dbd add NPCAddBuff bouncer 2018-10-20 18:39:07 +08:00
AxeelAnder
87915b70b0 add ignoreNpcAddBuffPermission 2018-10-20 18:38:44 +08:00
AxeelAnder
6b8f346868 add NPCAddBuff GetDataHandler 2018-10-20 18:29:11 +08:00
Enerdy
f5ccf925bd Logout players when their user account is removed 2018-10-15 14:33:32 +01:00
Chris Nord
207925ddf1 Update Manager now uses TLS.
Solves issue #1633
2018-10-02 16:35:46 -07:00
Ruby Rose
4df8a6f38f add another case to the exception message regex 2018-09-23 14:29:59 +03:00
Chris
b70ecb5bc3
Merge branch 'general-devel' into fix-time 2018-05-29 02:31:11 +00:00
Chris
1de7b08486
Merge branch 'general-devel' into banbanban 2018-05-29 02:26:06 +00:00
Hussein Farran
851cc7b34c
Merge branch 'general-devel' into fix-time 2018-05-28 21:25:46 -04:00
Chris
9222d8112a Copy pasting is hard 2018-05-22 18:55:59 +09:30
Chris
ae5d508989 Add filtering for packet 96.
Fixes #1605
2018-05-22 18:54:28 +09:30
Chris
1d306994fe
Minor adjustments to the ban add subcommand
Should fix #1609
2018-05-22 10:24:14 +09:30
Chris
f99b7ec359
Allow time parser to take spaces
So you can pass in `10h 5m 2s` instead of `10h+5m+2s`.
Works for things like `10h +5m -2s` as well
2018-05-22 10:10:22 +09:30
Lucas Nicodemus
c06e000997
Merge branch 'general-devel' into regions 2018-05-06 09:07:15 -06:00
Ivan
9ee692d93f Implement IDisposable on RegionHandler 2018-05-06 14:45:31 +02:00
Ivan
4d241381be Replace RegionHandler.OnGameUpdate with RegionHandler.OnPlayerUpdate 2018-05-06 12:18:06 +02:00
Ivan
0dab238fd3 Fix invalid area checks 2018-04-30 00:36:30 +02:00
Ivan
e954d98a54 Fix incorrect RegionHandler comment 2018-04-29 21:32:14 +02:00
Ivan
c71ed3953f Move OnGemLockToggle to RegionHandler 2018-04-29 21:03:04 +02:00
Ivan
44dfc570ab Merge remote-tracking branch 'upstream/general-devel' into regions 2018-04-29 18:39:12 +02:00
Ivan
ec78a070a7 Move Region related code into a separate subsystem 2018-04-29 18:33:07 +02:00
Egor
d5da93563e s/PlayerID/PlayerId 2018-04-27 19:52:20 +03:00
Egor
fd83748b9f Change banning admin name for hardcore bans to "TShock"
Also added some comments and formatting
2018-04-27 10:19:26 +03:00
Egor
1eae5ae671 Remove TSPlayer.InitSpawn 2018-04-27 08:41:57 +03:00
Egor
9ac3dfa228 Make Kick/BanOnMediumcoreDeath behave like their Hardcore equvivalents
fixes #1618
2018-04-27 05:44:22 +03:00
Egor
ec44ae6ff6 Don't send PlayerTeam packet twice in SetTeam 2018-04-26 22:29:41 +03:00
Lucas Nicodemus
3f58274ef4 Remove the stat tracker
The stat tracker has been offline for the last several weeks/months and
nobody has done anything to fix that. Because of that, GDPR, and the
fact that we haven't used it, we're discarding it.
2018-04-19 18:22:52 -06:00
Ziteng Wang
6266b47fb3 Fix tile entity placing 2018-02-18 16:35:26 -08:00
Lucas Nicodemus
4605e24c59
Revert "Remove IP reset code in TShock init" 2018-02-18 09:14:49 -07:00
Lucas Nicodemus
569b350cea Update to Pryaxis, 2018 part 2
If there's one thing I learned in this exercise, it's that letting
people add random python scripts to the repo like gpltext.py that
promise to be easier than find and replace is a bad idea.
2018-01-01 02:20:56 -07:00
Lucas Nicodemus
8d934ef08f Update to 2018 2018-01-01 02:17:21 -07:00
Ziteng Wang
01a85a0758 Fix tile square checking in Bouncer 2018-01-01 16:40:07 +08:00
Lucas Nicodemus
2846ad915f Change default motd format to use new colors
Since we just removed the old color format, we probably shouldn't ship
the old motd that still uses legacy colors to people.
2017-12-31 01:41:16 -07:00
Lucas Nicodemus
df4da817b6 Rename Utils.ActivePlayers to something better.
Issues related to ICollections being null led to reverting migrating
this to TSPlayer until a better solution is uncovered.
2017-12-31 01:30:13 -07:00
Lucas Nicodemus
a5cad284a8 Revert "Remove Utils.ActivePlayers"
This reverts commit b613fdcda6.
2017-12-31 01:28:21 -07:00
Lucas Nicodemus
cb2ed84038 Revert "Add TSPlayer.ActivePlayers"
This reverts commit 17cfdc3a16.
2017-12-31 01:25:05 -07:00
Lucas Nicodemus
43ddb73112 Revert "Migrate calls from Players.Length to ActivePlayers"
This reverts commit 521283c36b.
2017-12-31 01:24:54 -07:00
Lucas Nicodemus
521283c36b Migrate calls from Players.Length to ActivePlayers
As pointed out by @QuiCM, TShock.Players is actually an array and not a
smarter collection, so length will return the total collection size and
not the active players. An earlier commit was added that gives TSPlayer
an ICollection<TSPlayer> that contains only active players. This is now
the basis of determining the number of active players on the server.
2017-12-31 01:13:33 -07:00