[go: up one dir, main page]

Menu

[r2]: / config.yml  Maximize  Restore  History

Download this file

114 lines (86 with data), 2.5 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Configuration file for RMBT.
# --------------------------------------------------------------------------------
# DEBUG SETTINGS
# Show debug messages when loading the page.
# true | false
debug: false
# --------------------------------------------------------------------------------
# DATABASE SETTINGS
# Database host name
dbHost: localhost
# Database user name
dbUser: rmbtdev
# Database password
dbPassword: rmbtdev
# Database name
dbName: RMBT_TEST
# Database table for rooms
dbRoomsTable: rooms
# Database table for room change history
dbRoomChangesTable: room_changes
# Database table for links between rooms
dbLinksTable: links
# Database table for groups of rooms
dbAreasTable: areas
# Database table for users
dbUsersTable: users
# --------------------------------------------------------------------------------
# DISPLAY DEFAULTS
# Default size of the displayed box for a room, in pixels
defaultRoomSize: 25
# Default width and height of the map, in number of rooms
defaultMapSize: 20
# Default starting X coordinate for shown rooms
defaultStartX: 0
# Default starting Y coordinate for shown rooms
defaultStartY: 0
# Default Z coordinate for shown rooms
defaultZ: 0
# Default P cordinate for shown rooms
defaultP: 1
# By default, use "Show Rooms Above" option
# true | false
defaultShowAbove: false
# By default, use "Show Rooms Below" option
# true | false
defaultShowBelow: false
# By default, use "Show Undescribed" option
# true | false
defaultShowUndescribede: false
# --------------------------------------------------------------------------------
# FIELD SETTINGS
# Room fields that are not shown in the edit tab.
# list of strings
hiddenFields:
- id
- size
- x
- "y" # y has special meaning in yaml, but quotes clarify that its a string
- z
- plane_id
- lastModified
- creator
- whenCreated
# Fields that are represented by an HTML form field other than one-line text input.
# list of mappings from string to (text_big | checkbox | text_small)
specialFields:
description: text_big
indoors: checkbox
road: checkbox
falling: checkbox
# Fields on an exit between rooms.
# list of string to (label to string, inputType to (text | checkbox), dbField to String)
dirFields:
isDoor:
label : Is a Door
inputType: checkbox
dbField : door
# Multifields
# Fields that have multiple values and/or values that are sets of several sub-fields
multiFields:
edesc:
table: edescs
roomRefField: rid
editableFields:
- name
- value