crystal-gauntlet/config.toml.example

49 lines
1.4 KiB
Plaintext
Raw Normal View History

2022-12-31 09:16:43 +01:00
[general]
# if this path is encountered during path traversal,
# it will be removed. this is useful for instances
# where your absolute domain path is not long enough
# to replace boomlings.com, because you can then point
# it at a different, longer path to fill the gap
#
# example:
# boomlings.com/database/
# example.com/aaaaaaaaaa/
# ^^^^^^^^^^^
2022-12-31 09:16:43 +01:00
#
# leaving blank will disable this
append_path = ""
2022-12-31 19:44:56 +01:00
[formatting]
# whether to format dates as relative or absolute
# "relative" = relative, "absolute" = absolute
# do note that absolute times can result in uglier
# times due to colons being forbiddne in certain
# spots
date = "relative"
2022-12-31 09:16:43 +01:00
[accounts]
# allow new accounts to be created
allow_registration = true
[voting]
# allow votes to influence a level's difficulty when it
# hasn't been set yet. when set to false, all unrated
# levels will be NA
allow_votes = true
2022-12-31 10:42:05 +01:00
# same as above, but for demon difficulties
# this will let people vote and influence a demon'S
# difficulty past its original demon rating
allow_demon_votes = true
2022-12-31 09:16:43 +01:00
# the minimum amount of votes before a level's difficulty
# will go from NA to the average
2022-12-31 10:42:05 +01:00
min_votes = 10
# same as above, but for demon ratings
2022-12-31 19:44:56 +01:00
min_demon_votes = 10
[levels]
# prevent users from deleting their own levels
# if they are rated
prevent_deletion_rated = true
# prevent users from deleting their own levels
# if they are featured
prevent_deletion_featured = true