Skip to content

Commit e84b47f

Browse files
committed
Setting correct default settings in config.yaml
1 parent 903f0b0 commit e84b47f

File tree

1 file changed

+60
-62
lines changed

1 file changed

+60
-62
lines changed

_datafiles/config.yaml

Lines changed: 60 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,16 @@ Server:
5151
# Commands to run when a user logs in. These commands are run by the user
5252
# and can be anything they have access to.
5353
OnLoginCommands:
54-
- 'emote @appears before you in a flash of <ansi fg="yellow-bold">⚡l<ansi fg="white-bold">i</ansi>gh<ansi fg="white-bold">tn</ansi>i<ansi fg="white-bold">n</ansi>g⚡</ansi>!'
55-
- print
56-
- motd
57-
- print
58-
- online
59-
- print
60-
- inbox check
61-
- print
62-
- mudletmap
63-
- checkclient
54+
- 'emote @appears before you in a flash of <ansi fg="yellow-bold">⚡l<ansi fg="white-bold">i</ansi>gh<ansi fg="white-bold">tn</ansi>i<ansi fg="white-bold">n</ansi>g⚡</ansi>!'
55+
- print
56+
- motd
57+
- print
58+
- online
59+
- print
60+
- inbox check
61+
- print
62+
- mudletmap
63+
- checkclient
6464
# - Motd -
6565
# Message of the day. This is displayed when the motd command is run.
6666
Motd: '{{ t "Motd" }}'
@@ -77,12 +77,12 @@ Server:
7777
# It is a good idea to lock configs related to folder/file paths to prevent
7878
# accidental changes that could break the game.
7979
Locked:
80-
- FilePaths
81-
- Server.CurrentVersion
82-
- Server.NextRoomId
83-
- Server.Seed
84-
- Server.OnLoginCommands
85-
- Server.BannedNames
80+
- FilePaths
81+
- Server.CurrentVersion
82+
- Server.NextRoomId
83+
- Server.Seed
84+
- Server.OnLoginCommands
85+
- Server.BannedNames
8686

8787
################################################################################
8888
#
@@ -140,7 +140,6 @@ LootGoblin:
140140
# suddenly the goblin shows up.
141141
IncludeRecentRooms: true
142142

143-
144143
################################################################################
145144
#
146145
# ENGINE TIMING
@@ -321,8 +320,7 @@ Integrations:
321320
Discord:
322321
# Optional webhook URL to send mud event messages to, such as joins/disconnects
323322
# Can also be set via environment variable: DISCORD_WEBHOOK_URL
324-
WebhookUrl: ''
325-
323+
WebhookUrl: ""
326324

327325
################################################################################
328326
#
@@ -337,15 +335,15 @@ UserInterface:
337335
# - Prompt -
338336
# Default prompt formatting.
339337
# See: "help prompt" in game to learn more about this.
340-
Prompt: '{8}[{t} {T} {255}HP:{hp}{8}/{HP} {255}MP:{13}{mp}{8}/{13}{MP}{8}]{239}{h}{8}:'
338+
Prompt: "{8}[{t} {T} {255}HP:{hp}{8}/{HP} {255}MP:{13}{mp}{8}/{13}{MP}{8}]{239}{h}{8}:"
341339
# - Time -
342340
# When real world time is shown, what format should be used?
343341
# This uses a Go time format string, which is kinda weird.
344342
# See: https://go.dev/src/time/format.go
345-
Time: 'Monday, 02-Jan-2006 3:04:05PM'
343+
Time: "Monday, 02-Jan-2006 3:04:05PM"
346344
# - TimeShort -
347345
# Same as Time, but shorter form
348-
TimeShort: 'Jan 2 ''06 3:04PM'
346+
TimeShort: "Jan 2 '06 3:04PM"
349347
# - EnterRoomMessageWrapper -
350348
# Decorate entrance text with this. Put a %s where the message should be.
351349
EnterRoomMessageWrapper: " <ansi fg=\"enters-message\"> >>> </ansi>%s\n"
@@ -370,15 +368,15 @@ UserInterface:
370368
Translation:
371369
# - DefaultLanguage -
372370
# Specify the default game language (fallback)
373-
DefaultLanguage: 'en'
371+
DefaultLanguage: "en"
374372
# - Language -
375373
# Specify the game language
376-
Language: 'en'
374+
Language: "en"
377375
# - LanguagePaths -
378376
# Specify the game language file paths
379377
LanguagePaths:
380-
- '_datafiles/localize'
381-
- '_datafiles/world/default/localize'
378+
- "_datafiles/localize"
379+
- "_datafiles/world/default/localize"
382380

383381
################################################################################
384382
#
@@ -422,7 +420,8 @@ Network:
422420
# - TimeoutMods -
423421
# Whether Admin/Mod users get timed out when reaching MaxIdleSeconds
424422
# If set to false, Admins & Mods never get force disconnected.
425-
TimeoutMods: false
423+
TimeoutMods:
424+
false
426425
# - ZombieSeconds -
427426
# How many seconds a character stays active/in game after a network connection
428427
# is lost. Set to 0 to instantly log out characters (exploitable).
@@ -499,7 +498,7 @@ Validation:
499498
# (This is a regular expression, you must understand how to create them)
500499
# Set to empty to disable. If the regex is invalid it will revert to the
501500
# default of '^[a-zA-Z0-9_]+$'
502-
NameRejectRegex: '^[a-zA-Z0-9_]+$'
501+
NameRejectRegex: "^[a-zA-Z0-9_]+$"
503502
NameRejectReason: "Must only contain Alpha-numeric and underscores."
504503
# - BannedNames -
505504
# Names that are not allowed to be used by players. This is a good place to
@@ -513,39 +512,39 @@ Validation:
513512
# that contain that name. For example, "*admin*" would ban "admin", "superadmin",
514513
# "administrator", etc.
515514
BannedNames:
516-
- "*admin*"
517-
- "*moderator*"
518-
- "player*"
519-
- "user*"
520-
- "me"
521-
- "myself"
522-
- "self"
523-
- "us"
524-
- "you"
525-
- "them"
526-
- "everyone"
527-
- "someone"
528-
- "anyone"
529-
- "nobody"
530-
- "somebody"
531-
- "anybody"
532-
- "none"
533-
- "nothing"
534-
- "something"
535-
- "anything"
536-
- "everything"
537-
- "all"
538-
- "north*"
539-
- "south*"
540-
- "east*"
541-
- "west*"
542-
- "up"
543-
- "down"
544-
- "chest"
545-
- "door"
546-
- "new"
547-
- "join"
548-
- "register"
515+
- "*admin*"
516+
- "*moderator*"
517+
- "player*"
518+
- "user*"
519+
- "me"
520+
- "myself"
521+
- "self"
522+
- "us"
523+
- "you"
524+
- "them"
525+
- "everyone"
526+
- "someone"
527+
- "anyone"
528+
- "nobody"
529+
- "somebody"
530+
- "anybody"
531+
- "none"
532+
- "nothing"
533+
- "something"
534+
- "anything"
535+
- "everything"
536+
- "all"
537+
- "north*"
538+
- "south*"
539+
- "east*"
540+
- "west*"
541+
- "up"
542+
- "down"
543+
- "chest"
544+
- "door"
545+
- "new"
546+
- "join"
547+
- "register"
549548

550549
################################################################################
551550
#
@@ -566,7 +565,6 @@ Roles:
566565
builder: ["room.info", "build"]
567566
helper: ["paz", "teleport.playername", "locate"]
568567

569-
570568
################################################################################
571569
#
572570
# Modules

0 commit comments

Comments
 (0)