Commit graph

3709 commits

Author SHA1 Message Date
Lucas Nicodemus
94939bc050
Merge branch 'general-devel' into patch-21 2021-05-20 01:57:39 -07:00
Lucas Nicodemus
a3b98b5406
Merge pull request #2306 from Pryaxis/logs
Change logpath to `./tshock/logs` by default
2021-05-20 01:49:10 -07:00
stacey
62d15cf445
Add tele potion and conch perms to default 2021-05-16 20:57:26 -04:00
stacey
a1ddea4f59
Update /gbuff with the same changes
totally forgot this existed
2021-05-14 13:44:37 -04:00
Chris
b754f142a1 Change logpath to ./tshock/logs by default 2021-05-14 22:08:32 +09:30
stacey
44d7bf04f8
Merge branch 'general-devel' into patch-21 2021-05-14 07:51:12 -04:00
stacey
d2a0a539f4
fix error msg 2021-05-12 22:08:10 -04:00
stacey
306e4d1ab4
fix typo
sigh
2021-05-12 21:45:06 -04:00
stacey
dacc20e9c3
Update buff command HelpText
More properly explain the command functionality
2021-05-12 21:40:44 -04:00
stacey
68c650f4fa
More minor fixes
Reverted default (when no duration is specified) buff duration to 60s, added formula instead of hard coding max duration as per Quake's recommendation, made error message more self-explanatory
2021-05-12 21:36:26 -04:00
stacey
0eadfaba52
Minor fixes 2021-05-12 15:48:38 -04:00
stacey
0d686ea80f
Change duration to actual max value in seconds 2021-05-12 15:39:11 -04:00
stacey
9418e4304f
Change max buff limit from short to int 2021-05-12 13:47:27 -04:00
stacey
b98c6aa282
fix typo
oops sorry
2021-05-12 12:35:15 -04:00
stacey
e7807f6378
improved the code 2021-05-12 12:18:53 -04:00
stacey
10318f032a
Improve HealOtherPlayer 0.2 check
Since this check is based on damage and healing amount is based on 20% of the damage, it makes more sense to skip the check if the player has ignoredamagecap (trustedadmin and higher).
2021-05-12 12:09:11 -04:00
James Puleo
b3cf5f4e43
Implement additional teleport permissions.
This adds the follows permissions to the following items:
- tshock.tp.tppotion:   Teleportation Potion
- tshock.tp.magicconch:  Magic Conch
- tshock.tp.demonconch: Demon Conch
2021-05-11 14:17:36 -04:00
Chris
d92bfc0f65
Merge branch 'general-devel' into rest-permissions 2021-04-22 16:52:55 +09:30
Chris
76ea1760fd
Merge branch 'general-devel' into pscheck 2021-04-22 13:16:40 +09:30
Lucas Nicodemus
6bb4230bc3 Remove /ungodme
With 1.4.2.2, we no longer need to offer an escape hatch due to the
underlying bug involving godmode being permanently applied to local
players now having been fixed.
2021-04-21 20:16:57 -07:00
Lucas Nicodemus
4668ab86a0 Version tick: 4.5.2 2021-04-21 19:58:36 -07:00
Lucas Nicodemus
f8c265d74c Version tick: 4.5.1 2021-04-19 10:54:12 -07:00
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
3664b81c3f
Merge branch 'general-devel' into pscheck 2021-04-13 16:32:14 +09:30
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
Chris
85fbf593c9 Implement place style checks, courtesy of @AgaSpace 2021-03-22 10:29:09 +10:30
Nova4334
709997b728 Rewriting /grow; Adding /wallow 2021-03-21 01:59:44 +01:00
Bambino
d1687b7ad0 Fix REST Server Broadcast description try #2. One too many 'cans'. 2021-02-08 12:37:56 -06:00
Bambino
3a8ea49823 Fixed server broadcast permission description. 2021-02-08 08:16:14 -06:00
Bambino
60464a890d Permission added to REST Server Broadcast . 2021-02-08 05:05:31 -06:00