Soncresity Industries Wiki

Configuration

A guide on how to configure SI: Death Bolt properly

Server-side Configuration

SI: Death Bolt generates a server-side configuration in /si/db/ called main.cnfg. This means, that when playing on a singleplayer world, you need to look for it in your world directory (e.g. /<minecraftDir>/saves/MyCoolWorld/), whereas on a server it will be in the servers' world directory (usually called world).

General Settings

mod_prefix

The Mod prefix. This String will be prepended to all messages sent by the mod.

Message Formatting

This value supports MiniMessage Formatting, a more advanced way to style messages.
  • Type: String
  • Default Value: <bold><white>[</white><gradient:#2F97DD:#026DCA>SI: Death Bolt</gradient><white>]</white></bold>

enable_lightning_bolt

Whether a lightning bolt should be spawned upon a player's death.

  • Type: Boolean
  • Default Value: true

bolt_visual

Whether the lightning bolt should be purely visual or also deal damage to entities and set fires.

  • Type: Boolean
  • Default Value: true

blacklisted_worlds

A list of worlds in which no action should be taken upon a player's death. Use the world identifier (e.g., minecraft:overworld, minecraft:the_nether, minecraft:the_end).

  • Type: List<String>
  • Default Value: []

Sound Settings

sound_enabled

Whether the lightning bolt sound should be played upon a player's death.

  • Type: Boolean
  • Default Value: true

sound_scope

The scope of the lightning bolt sound effect.

SoundScopeDescription
ALLPlays the sound to all players on the server.
DIMENSIONPlays the sound to all players in the same dimension.
RADIUSPlays the sound to all players within a certain radius of the lightning bolt.
  • Type: SoundScope
  • Default Value: RADIUS
  • Available Values: ALL, DIMENSION, RADIUS
  • Requires: sound_enabled = true

sound_volume

The volume of the lightning bolt sound effect.

  • Type: Float
  • Default Value: 10.0
  • Minimum Value: 0.0
  • Maximum Value: Float.MAX_VALUE
  • Requires: sound_enabled = true

sound_pitch

The pitch of the lightning bolt sound effect.

  • Type: Float
  • Default Value: 1.0
  • Minimum Value: 0.0
  • Maximum Value: Float.MAX_VALUE
  • Requires: sound_enabled = true

Death Action Settings

death_action

The action to be taken upon a player's death.

DeathActionDescription
NONENo action is taken.
MSGSends a message to the player or broadcasts it to all players. (See msg_type)
KICKKicks the player from the server. The world host is immune. The punish_message will be shown on the Disconnect screen.
BANBans the player from the server. The world host is immune. The punish_message will be shown on the Disconnect screen.
TITLEDisplays a title and subtitle to the player or broadcasts them to all players. (See title_type)
  • Type: DeathAction
  • Default Value: MSG
  • Available Values: NONE, MSG, KICK, BAN, TITLE

override_death_message

Whether the default death message should be overridden with a custom message.

  • Type: Boolean
  • Default Value: false

death_message

The custom death message to be displayed.

Message Formatting

This value supports MiniMessage Formatting, a more advanced way to style messages.

Available placeholder: %player%

Message Settings

msg_type

The type of message to be sent upon a player's death. This setting determines how punish_message is delivered.

MessageTypeDescription
MSG_PRIVATESends a private message to the player who died.
MSG_BROADCASTBroadcasts a message to all players. Selecting this together with overriding the death message will result in two messages!
MSG_PRIVATE_ACTIONBARSends a private action bar message to the player who died.
MSG_BROADCAST_ACTIONBARBroadcasts an action bar message to all players.
  • Type: MessageType
  • Default Value: MSG_BROADCAST
  • Available Values: MSG_PRIVATE, MSG_BROADCAST, MSG_PRIVATE_ACTIONBAR, MSG_BROADCAST_ACTIONBAR
  • Requires: death_action = MSG

punish_message

The message to be sent upon a player's death.

Message Formatting

This value supports MiniMessage Formatting, a more advanced way to style messages.

Available placeholder: %player%

Title Settings

title_type

The type of title to be sent upon a player's death.

TitleTypeDescription
TITLE_PRIVATESends a private title to the player who died.
TITLE_BROADCASTBroadcasts a title to all players.
  • Type: TitleType
  • Default Value: TITLE_BROADCAST
  • Available Values: TITLE_PRIVATE, TITLE_BROADCAST
  • Requires: death_action = TITLE

title_title

The title message to be displayed.

Message Formatting

This value supports MiniMessage Formatting, a more advanced way to style messages.

Available placeholder: %player%

title_subtitle

The subtitle message to be displayed.

Message Formatting

This value supports MiniMessage Formatting, a more advanced way to style messages.

Available placeholder: %player%

  • Type: String
  • Default Value: <yellow>died because they weren't careful enough.
  • Requires: death_action = TITLE

title_fade_in

The time, in seconds, it takes for the title to fade in.

  • Type: Long
  • Default Value: 1000
  • Minimum Value: 0
  • Maximum Value: Long.MAX_VALUE
  • Requires: death_action = TITLE

title_stay

The time, in seconds, the title should stay visible.

  • Type: Long
  • Default Value: 3000
  • Minimum Value: 0
  • Maximum Value: Long.MAX_VALUE
  • Requires: death_action = TITLE

title_fade_out

The time, in seconds, it takes for the title to fade out.

  • Type: Long
  • Default Value: 1000
  • Minimum Value: 0
  • Maximum Value: Long.MAX_VALUE
  • Requires: death_action = TITLE

On this page