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:
parent
80736028df
commit
7198a47e82
6 changed files with 122 additions and 3 deletions
|
|
@ -72,6 +72,10 @@ namespace TShockAPI.Configuration
|
|||
/// </summary>
|
||||
[Description("Warns players and the console if a player has the tshock.ignore.ssc permission with data in the SSC table.")]
|
||||
public bool WarnPlayersAboutBypassPermission = true;
|
||||
|
||||
/// <summary>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.</summary>
|
||||
[Description("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.")]
|
||||
public bool GiveItemsDirectly = false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ namespace TShockAPI.Configuration
|
|||
/// <summary>Disables tombstone dropping during death for all players.</summary>
|
||||
[Description("Disables tombstone dropping during death for all players.")]
|
||||
public bool DisableTombstones = true;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Disables Skeletron Prime Bombs from spawning, useful for preventing unwanted world destruction on for the worthy seed world.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue