Commit graph

5223 commits

Author SHA1 Message Date
stacey
33f4f20eb3
Merge branch 'general-devel' into patch-31 2021-07-24 20:13:35 -04:00
stacey
5bce3b3492
Update CHANGELOG.md with suggested change
Co-authored-by: Lucas Nicodemus <shank@shanked.me>
2021-07-24 20:13:11 -04:00
stacey
b5c1640058
Refactor: use more human-readable ProjectileID 2021-07-24 20:08:51 -04:00
stacey
adeb7225e6
Add DisablePrimeBombs to Upcoming changes 2021-07-24 20:01:21 -04:00
stacey
347a23a8bc
Add DisablePrimeBombs to World Settings 2021-07-24 19:55:38 -04:00
stacey
11463930f3
Add DisablePrimeBombs to OnProjectileSetDefaults 2021-07-24 19:53:13 -04:00
Killia0
9b249d72a8
Merge branch 'general-devel' into upstream-general-devel 2021-07-24 19:48:54 -04:00
Killia0
2a80e22e12 Update CHANGELOG.md 2021-07-24 19:47:29 -04:00
stacey
f01cdb565a
Merge branch 'general-devel' into patch-30 2021-07-24 19:31:47 -04:00
Lucas Nicodemus
dcf1f07ff9
Merge pull request #2387 from Stealownz/general-devel
Fix SendTileRectHandler not sending tile rect updates to everyone else
2021-07-24 16:23:41 -07:00
Lucas Nicodemus
aae0c9fbae
Merge branch 'general-devel' into general-devel 2021-07-24 16:21:52 -07:00
Lucas Nicodemus
c71bcc02b9
Update PR template changelog warning 2021-07-24 16:19:59 -07:00
stacey
88080b139c
Update CHANGELOG.md 2021-07-24 16:47:31 -04:00
stacey
1d2cc0f7d3
fix minor typo 2021-07-24 16:45:30 -04:00
stacey
7cf49b55d8
Update TShockAPI/Commands.cs
Co-authored-by: Chris <2648373+QuiCM@users.noreply.github.com>
2021-07-24 16:44:24 -04:00
stacey
def7bc2e6a
Merge branch 'general-devel' into patch-30 2021-07-24 16:38:27 -04:00
stacey
c25ec8aac8
Merge branch 'general-devel' into patch-31 2021-07-21 22:27:36 -04:00
Lucas Nicodemus
59f7ea0245
I'm seeing things 2021-07-21 19:22:45 -07:00
Lucas Nicodemus
87d5b769c7 Version tick: 4.5.5 2021-07-21 18:46:01 -07:00
Lucas Nicodemus
5a96688796 Merge branch 'advistory-fix-1' into general-devel 2021-07-21 18:44:11 -07:00
James Puleo
853715cfa7
Update changelog to be _much_ more verbose about GHSA-jq4j-v8pr-jv7j 2021-07-21 21:40:44 -04:00
Lucas Nicodemus
6ad57ba517
Fix changelog typos 2021-07-21 18:14:46 -07:00
stacey
640c4ebdb5
Slightly even better idea I just realized 2021-07-19 20:25:20 -04:00
stacey
cdafad1d5a
Update CHANGELOG.md 2021-07-19 20:10:11 -04:00
stacey
1521c8b28e
Improved login error messages and onboarding process
Added config based checks so error messages only tell what is relevant to the user. Doesn't make any sense to tell them you can do /login when UUID is set to false because they will just get the same error message again. Also added an additional info message to the onboarding/password registration process so the next steps will be more obvious for first time users.
2021-07-19 20:03:39 -04:00
stacey
96570bfcbd
Update CHANGELOG.md 2021-07-17 14:43:52 -04:00
stacey
8ebecd9ff2
Add notify msg for online player group change
This makes it more consistent with how /tempgroup works, since that tells the target player of their group change. Also added silent command support.
2021-07-17 14:36:10 -04:00
stacey
40f8c93118
Update CHANGELOG.md 2021-07-16 15:01:41 -04:00
Killia0
154bee58f1 Typo fixes on comments/strings
My first PR contribution to TShock is spellcheck huh, frankly I don't know why but hey I could spare the time for this and caught some stuff.
2021-07-16 14:53:37 -04:00
stacey
10e0b33e82
Add Lunatic Cultist summon permission check
Didn't bother adding the broadcast stuff bc there's 4 cultists and it'll prob spam the chat if multiple players kill them at around the same time
2021-07-16 14:19:37 -04:00
Chris
35d9a8e715
Merge pull request #2390 from moisterrific/patch-29
Add permission check for summoning Empress of Light + ForceTime check for using Enchanted Sundial
2021-07-17 03:46:37 +09:30
stacey
26460a13c4
Merge branch 'general-devel' into patch-29 2021-07-16 14:07:32 -04:00
Chris
2d04a67c5f
Merge pull request #2399 from moisterrific/patch-30
Player count option for MOTD
2021-07-17 02:18:24 +09:30
stacey
d61ebb4111
Update TSPlayer.cs 2021-07-16 12:20:13 -04:00
stacey
fabea62d96
Update CHANGELOG.md 2021-07-15 16:16:19 -04:00
stacey
89695c3965
separate online players / max slots in stock MOTD 2021-07-15 16:13:51 -04:00
stacey
1e9804a13d
Separate current player count and max server slots 2021-07-15 16:12:36 -04:00
stacey
7e479ea396
Update CHANGELOG.md 2021-07-15 15:57:00 -04:00
stacey
b8b86a42fd
Add space after comma so names look less clustered 2021-07-15 15:51:14 -04:00
stacey
2dc887266d
Add player count 2021-07-15 15:50:02 -04:00
stacey
b88d1f562f
Add player count support for MOTD 2021-07-15 15:48:27 -04:00
stacey
0316f9d502
update change log again 2021-07-11 23:22:31 -04:00
stacey
2a6bc51dd6
Change EoL summon to be more consistent w/ config
now this should be more in line with how other boss summons are currently handled, also made the sundial user messages better thx to quake's suggestions
2021-07-11 23:11:28 -04:00
James Puleo
ef603f61a8
Consistently use TilePlacementValid and SendTileSquare in Bouncer.
There are 3 different ways Bouncer uses these:
- Not checking `TilePlacementValid` at all.
- Checking `TilePlacementValid`, rejecting, but then doing a
  `SendTileSquare` to that player.
- Checking `TilePlacementValid`, rejecting. _(this is what we should
  always be doing)_

Not checking `TilePlacementValid` can allow for placement outside of the
world (unknown results), and checking `TilePlacementValid` and sending a
`SendTileSquare` on rejection causes the server to try to frame that
square. In the case of invalid coordinates (negative), framing takes
much longer than expected.
2021-07-10 00:10:45 -04:00
stacey
dd9067a50a
Update CHANGELOG.md 2021-07-04 21:38:34 -04:00
stacey
65bbd80ca6
Add perm check for EoL + Sundial ForceTime check
If the player does not have permission to summon bosses, they should not be able to kill Prismatic Lacewing, which summons the Empress of Light. 
Using the Enchanted Sundial while ForceTime is set to day or night (via config) will conflict with TShock's continued attempts to set it back to day or night, this makes the world appear very glitchy.
2021-07-04 21:33:48 -04:00
Stealownz
a26ad7dce0 Fix SendTileRectHandler not sending tile rect updates to everyone else
Fixes #2386
2021-07-04 17:20:57 +08:00
Lucas Nicodemus
c5421460ae Re-enable console input via TSAPI submodule bump
This re-enables command input when backgrounded. To disable this
behavior, pass -disable-commands. This patch is from @DeathCradle, who
we love immensely. Please give him all of your money. It's the ethical
thing to do.

Fixes #1450.
2021-06-20 22:24:42 -07:00
Lucas Nicodemus
9c748abda8 Minor: add h, this commit is worthless, do not read
Told you.
2021-06-19 01:08:55 -07:00
Lucas Nicodemus
eb97bdd259 Add helpful note to rest rate-limit error
The rate limiting error message used the term "tokens," which could be
easily misconstrued to refer to REST auth tokens, and not rate limit
leaky-bucket tokens. Since we don't expose the internals of the leaky
bucket to end-users, this error message is essentially just not good.
Without knowledge of a leaky bucket/GCRA, it really makes no sense.

Therefore, this changes the message to indicate that the "tokens" are
rate-limit tokens. It also adds a hint that there's a config setting
that can be changed to raise the limit, which further makes it more
understandable, and also provides a reasonable hint as to what setting
to change to alleviate this problem immediately. This makes it easier
for users to debug and less likely they have to read old docs/wait for help.
2021-06-19 01:04:00 -07:00