Add ability for items given to players to be inserted directly into their inventory instead of spawned as an item drop

This commit is contained in:
Janet Blackquill 2022-10-22 23:50:16 -04:00
parent 80736028df
commit 7198a47e82
6 changed files with 122 additions and 3 deletions

View file

@ -70,6 +70,7 @@ Use past tense when adding new entries; sign your name off when you add or chang
* Fix players being kicked after using the Flamethrower to apply the `OnFire3` debuff for `1200` ticks. (@BashGuy10)
* Fix being kicked for using the new sponge types on liquid. (@BashGuy10)
* Allow flask buffs to be applied on town npc due to the Flymeal. Add a permission could skip the buff detection. (@KawaiiYuyu)
* 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`