Chris
01fc41968d
Refactor wallow command & update changelog
2021-04-19 22:04:41 +09:30
Chris
0b890f9507
Merge branch 'general-devel' of https://github.com/Pryaxis/TShock into general-devel
2021-04-19 21:48:37 +09:30
Chris
e80f0bfda5
Add ban ticket ID to ban messages
2021-04-19 21:48:34 +09:30
quake1337
663041e8b0
Fix /r against offline players.
...
- Offline players will no longer be valid /r targets.
2021-04-17 10:11:49 +02:00
quake1337
3e40ade0ca
Added feedback to /ungodme
...
- The command now tells the user that the operation succeeded.
Previously it would be a silent command, potentially leaving the user
wondering if it worked
2021-04-16 10:18:40 +02:00
quake1337
78b72df79d
Address JourneyMode Godmode issues
...
- Add /ungodme to allow unstucking godmode for involuntarily godmodded
characters
- Warn player about disabling Godmode before disconnecting
- Minor change to command format to reduce code copypaste.
2021-04-16 10:14:46 +02:00
quake1337
4a28d6779f
Update casing & remove using static
...
- god_power -> godPower
- Remove using static on GameContent.CreativePowers, instead fully
qualify the nested class.
2021-04-16 07:01:11 +02:00
quake1337
207b43e772
Update /godmode to use JourneyMode Godmode power.
...
- Previous Bouncer checks for GodMode (namely, Hurt) were removed.
- The command now uses the GodmodePower from core Terraria
- The toggle powers (which this command will now make use of) are now
reset on disconnect to prevent accidentally "gifting" godmode to an
unsuspecting player.
2021-04-16 06:11:26 +02:00
Chris
c72e64fa5e
Add silent command support to spawnboss
2021-04-13 15:15:49 +09:30
Chris
784a75b7c5
Implement handled pattern on the PlayerChat hook
2021-04-13 13:14:56 +09:30
Chris
32a0e2f1b6
Resolve /v2/players/list generating a stack overflow
2021-04-13 13:06:18 +09:30
Luke
71e2ae1b31
Corrected UUID InsertBan in TSPlayer
...
Pointed out thanks to this discussion: https://github.com/Pryaxis/TShock/discussions/2268#discussioncomment-598331
2021-04-12 17:35:46 +10:00
Luke
d0ce5746ea
Fix mysql & sqlite ban manager migration during init
...
Tested with existing bans in both sqlite & mysql environments.
This is in addition to the syntax fix from earlier.
2021-04-11 21:18:37 +10:00
Luke
81b6872d6e
Fix OTAPI reference
...
This now allows MonoDevelop to compile without receiving error while starting a build: System.IO.FileLoadException: The assembly name is invalid
2021-04-11 21:00:28 +10:00
Lucas Nicodemus
78eab01904
Fix ban system conversion issue with MySQL
...
DeathCradle spotted a typo in the ban converter and identified that the
issue is likely because we used table_name in some, but not all, of the
conversion SQL.
Co-authored-by: DeathCradle <rt.luke.s@gmail.com>
2021-04-11 00:12:28 -07:00
Lucas Nicodemus
4835c41dd9
Merge branch 'general-devel' into 1.4.2.1
2021-04-10 21:15:36 -07:00
Lucas Nicodemus
67a1a669a4
Update version codename
2021-04-10 20:31:33 -07:00
Lucas Nicodemus
07a555eab9
Update to TShock 4.5.0
2021-04-10 20:30:40 -07:00
Stealownz
bc32eab4c8
Update GetDataHandler.HandleProjectileNew to include HasBannerIdToRespondTo
2021-04-05 10:45:41 +08:00
Stealownz
4159f6c186
Update firework command to include extra parameter in NewProjectile
2021-04-05 09:49:41 +08:00
Chris
b4789607f6
Implement suggestion for fixing forceupdate flag
2021-03-23 11:44:24 +10:30
Chris
e23509de75
Removed stoned and frozen from disable
2021-03-23 11:35:26 +10:30
Nova4334
709997b728
Rewriting /grow; Adding /wallow
2021-03-21 01:59:44 +01:00
Terrabade
0f42b42d87
Change serverinfo "WinVer" to "Operating system"
2021-02-07 21:19:16 +00:00
Chris
b5ca015d26
Minor refactor
...
CheckForMissingFields -> CheckForChanges
anyMissingFields -> anyChanges
2021-01-28 19:43:03 +10:30
Chris
0012bf73da
Remove obsolete config options relating to bans
2021-01-28 19:33:52 +10:30
Chris
f87b6156f4
Update config upgrades to be a bit more robust
2021-01-28 19:31:09 +10:30
Lucas Nicodemus
355a7f02f5
Fix ∞ velocity exploit (@bartico6, @tlworks)
2021-01-28 00:39:09 -08:00
Lucas Nicodemus
f4cc14fb8e
Remove extra whitespace
2021-01-28 00:23:57 -08:00
Lucas Nicodemus
597e403d50
Disable debug logs by default
2021-01-28 00:23:57 -08:00
Chris
7bbc647b2f
Update config field check to correctly check TSettings fields
2020-12-23 01:48:23 +10:30
Chris
51f179f84a
Added URI-unescaping for inputs into REST requests
2020-12-23 01:46:42 +10:30
Chris
1b4dc5361c
Set REST response status to statuses defined by returned REST objects
...
Closes #2189
2020-12-23 00:26:18 +10:30
Chris
193f1ddc3e
More new() constraints
2020-12-03 17:51:33 +10:30
Chris
50c1b757be
Enforce new() constraint on ConfigFile<TSettings>
2020-12-03 17:50:44 +10:30
Chris
9423febd0a
Refactor for new configuration
2020-12-03 17:43:10 +10:30
Chris
a03647ce38
Genericise configurations
...
This is a breaking change. Enables easy creation of config files without copy/pasting the Read/Write code all the time
2020-12-03 17:42:46 +10:30
Chris
3776a71a20
Handle SyncExtraValue all the time
...
This may prevent platinum coin duping
2020-12-03 14:26:13 +10:30
Chris
ae8ab04e8a
Change BanManager.Bans to a readonly dictionary
...
Entries to this dictionary should be added through `InsertBan` rather than directly to the dictionary
2020-12-03 14:25:38 +10:30
Chris
3fe192cbfa
Re-enable Int64 override for IDataReader.Get
2020-11-29 18:23:35 +10:30
Chris
fe91cb0d41
Obsolete the Permissions.immunetoban field
2020-11-29 18:12:40 +10:30
Chris
24a4ab885c
Offload ban checking to BanManager
...
Remove ban immunity
2020-11-29 18:10:47 +10:30
Chris
c334e00042
Revert syncextravalue change
2020-11-29 16:32:15 +10:30
Chris
514d7ac041
Refactored for 'ticket number' naming
...
Added 'ban help identifiers' to list known identifiers
Fixed some typos and restructured some logic
2020-11-29 16:22:37 +10:30
Chris
af9957f8ec
Refactoring based on suggestions
2020-11-29 16:18:09 +10:30
Chris
d68b1ed5ad
Remove ban conversion command as it now happens automatically
2020-11-29 15:19:14 +10:30
Chris
ce2873fa81
Some more type checking on QueryScalar
2020-11-29 15:18:03 +10:30
Chris
29170e62a6
Rename unique ID -> ticket number
...
Also get ban conversion to execute cleanly and clean up after itself
2020-11-29 15:17:49 +10:30
Chris
3e6cdb3c71
Remove ban immunity at the command level.
...
Ban immunity will be managed when a ban is validated
2020-11-29 14:26:25 +10:30
Chris
c71cf79125
Refactor 'Id' to 'TicketNumber' and extend the identifier model
2020-11-29 14:23:58 +10:30