Settings: Add missing settings to settingtypes.txt

Conf.example: Remove quotes from bones modes. Setting does not work
if quotes are used.
This commit is contained in:
Paramat 2018-06-04 00:01:56 +01:00 committed by GitHub
parent e376d57bd2
commit bcf76eab1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 5 deletions

View File

@ -8,10 +8,10 @@
#creative_mode = false #creative_mode = false
# Sets the behaviour of the inventory items when a player dies. # Sets the behaviour of the inventory items when a player dies.
# "bones": Store items in a bone node but drop items if inside protected area. # bones: Store items in a bone node but drop items if inside protected area.
# "drop": Drop items on the ground. # drop: Drop items on the ground.
# "keep": Player keeps items. # keep: Player keeps items.
#bones_mode = "bones" #bones_mode = bones
# The time in seconds after which the bones of a dead player can be looted by # The time in seconds after which the bones of a dead player can be looted by
# everyone. # everyone.

View File

@ -39,10 +39,21 @@ enable_tnt (TNT) bool true
# The radius in which nodes will be destroyed by a TNT explosion. # The radius in which nodes will be destroyed by a TNT explosion.
tnt_radius (TNT radius) int 3 0 tnt_radius (TNT radius) int 3 0
# Sets the behaviour of the inventory items when a player dies.
# bones: Store items in a bone node but drop items if inside protected area.
# drop: Drop items on the ground.
# keep: Player keeps items.
bones_mode (Bones mode) enum bones bones,drop,keep
# The time in seconds after which the bones of a dead player can be looted # The time in seconds after which the bones of a dead player can be looted
# by everyone. # by everyone.
# Setting this to 0 will disable sharing of bones completely. # Setting this to 0 will disable sharing of bones completely.
share_bones_time (Bone share time) int 1200 0 share_bones_time (Bones share time) int 1200 0
# How much earlier the bones of a dead player can be looted by
# everyone if the player dies in a protected area they don't own.
# 0 to disable. By default it is "share_bones_time" divide by four.
share_bones_time_early (Earlier bones share time) int 300 0
# Inform player of condition and location of new bones. # Inform player of condition and location of new bones.
bones_position_message (Inform player about bones) bool false bones_position_message (Inform player about bones) bool false