summaryrefslogtreecommitdiff
path: root/manachat.json
blob: 576627882e7f01e7d31f0fd8bc6cfe83bf870018 (plain) (blame)
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
114
115
116
117
118
119
120
121
122
123
124
[
  { "type"    : "title",
    "title"   : "Server" },

  { "type"    : "string",
    "title"   : "Host",
    "desc"    : "IP or hostname of the TMWA-compatible server",
    "section" : "Server",
    "key"     : "host" },

  { "type"    : "numeric",
    "title"   : "Port",
    "desc"    : "Numeric port of the TMWA-compatible login server",
    "section" : "Server",
    "key"     : "port" },

  { "type"    : "title",
    "title"   : "Player" },

  { "type"    : "string",
    "title"   : "Username",
    "desc"    : "Account name",
    "section" : "Player",
    "key"     : "username" },

  { "type"    : "password",
    "title"   : "Password",
    "desc"    : "Account password",
    "section" : "Player",
    "key"     : "password" },

  { "type"    : "string",
    "title"   : "Character name",
    "desc"    : "Character to use. The character must exist.",
    "section" : "Player",
    "key"     : "charname" },

  { "type"    : "title",
    "title"   : "Other" },

  { "type"    : "string",
    "title"   : "Online players list source",
    "desc"    : "The source of online.txt file, containing current online users.",
    "section" : "Other",
    "key"     : "online_txt_url" },

  { "type"    : "bool",
    "title"   : "Log network packets",
    "desc"    : "Used for debugging. Log file will be saved in $TEMP/netlog.txt",
    "section" : "Other",
    "key"     : "log_network_packets" },

  { "type"    : "title",
    "title"   : "Plugins" },

  { "type"    : "bool",
    "title"   : "notify",
    "desc"    : "Desktop notifications.",
    "section" : "Plugins",
    "key"     : "notify" },

  { "type"    : "bool",
    "title"   : "chatlogfile",
    "desc"    : "Log chat history to files.",
    "section" : "Plugins",
    "key"     : "chatlogfile" },

  { "type"    : "bool",
    "title"   : "shop",
    "desc"    : "Enable shop mode.",
    "section" : "Plugins",
    "key"     : "shop" },

  { "type"    : "bool",
    "title"   : "autofollow",
    "desc"    : "Add autofollow (/follow Player).",
    "section" : "Plugins",
    "key"     : "autofollow" },

  { "type"    : "title",
    "title"   : "Notifications" },

  { "type"    : "numeric",
    "title"   : "Notifications timeout",
    "desc"    : "Seconds (or milliseconds) before notifications disappear.",
    "section" : "notify",
    "key"     : "notif_timeout" },

  { "type"    : "bool",
    "title"   : "Notification sound",
    "desc"    : "Play notification sound.",
    "section" : "notify",
    "key"     : "notif_sound" },

  { "type"    : "title",
    "title"   : "Chat logs" },

  { "type"    : "path",
    "title"   : "Chat log directory",
    "desc"    : "Created automatically.",
    "section" : "chatlogfile",
    "key"     : "chatlog_dir" },

  { "type"    : "title",
    "title"   : "Shop mode" },

  { "type"    : "numeric",
    "title"   : "Max trade time",
    "desc"    : "Max time (seconds) before shop auto-cancels trade.",
    "section" : "shop",
    "key"     : "timeout" },

  { "type"    : "path",
    "title"   : "shoplist.txt file",
    "desc"    : "Path to ManaPlus-compatible shoplist.txt",
    "section" : "shop",
    "key"     : "shoplist_txt" },

  { "type"    : "path",
    "title"   : "File with shop admins",
    "desc"    : "Each line contains a name of a shop admin. Can be empty",
    "section" : "shop",
    "key"     : "admins_file" }
]