Merge remote-tracking branch 'pontaoski/work/janb/give-direct' into general-devel

This commit is contained in:
Lucas Nicodemus 2022-10-28 17:34:19 -07:00
commit 1b3a3d6cc4
No known key found for this signature in database
6 changed files with 122 additions and 3 deletions

View file

@ -72,6 +72,7 @@ Use past tense when adding new entries; sign your name off when you add or chang
* Allow flask buffs to be applied on town npc due to the Flymeal. Add a permission could skip the buff detection. (@KawaiiYuyu)
* Dockerize TShock (@PotatoCider)
* Add ability for items given to players to be inserted directly into their inventory instead of spawned as an item drop (@pontaoski)
## TShock 4.5.18
* Fixed `TSPlayer.GiveItem` not working if the player is in lava. (@PotatoCider)

View file

@ -3,6 +3,11 @@ Enable server side characters, causing client data to be saved on the server ins
* **Field type**: `Boolean`
* **Default**: `False`
## GiveItemsDirectly
If set to true, items given to players will be inserted directly into their inventory. Requires SSC. Otherwise, items given to players will spawn as dropped items.
* **Field type**: `Boolean`
* **Default**: `False`
## LogonDiscardThreshold
Time, in milliseconds, to disallow discarding items after logging in when ServerSideCharacters is ON.
* **Field type**: `Int32`