-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodinfo.lua
More file actions
74 lines (71 loc) · 2.13 KB
/
modinfo.lua
File metadata and controls
74 lines (71 loc) · 2.13 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
name = "DST TO QQ LITE"
description = [[
在QQ群中可以与游戏中互通聊天,反之亦然,搭建使用非常简单,教程见mod主页
可在配置项启用特定消息转发,转发科雷id,开启日志
默认端口为http post 5562
]]
author = " ling , xsluck "
version = "0.0.1"
forumthread = ""
api_version = 10
dont_starve_compatible = false
reign_of_giants_compatible = false
dst_compatible = true
all_clients_require_mod = false
client_only_mod = false
icon_atlas = 'icon.xml'
icon = "icon.tex"
configuration_options =
{
{
name = "isPrefix",
label = "消息前缀",
hover = "启用时,饥荒聊天中,只有首字符为:的消息才会传到QQ",
options =
{
{ description = "禁用", data = false },
{ description = "启用", data = true },
},
default = false,
},
{
name = "isSource",
label = "显示消息来源",
hover = "启用时,转发到饥荒的消息会显示群名",
options =
{
{ description = "禁用", data = false },
{ description = "启用", data = true },
},
default = false,
},
{
name = "isLog",
label = "日志",
hover = "打印日志便于调试",
options =
{
{ description = "禁用", data = false },
{ description = "启用", data = true },
},
default = true,
},
{
name = "interval",
label = "轮询时间间隔",
hover = "从服务器轮询的时间间隔,越短刷新消息越快,但会造成额外性能损耗,推荐不修改",
options =
{
{ description = "1秒", data = 1 },
{ description = "2秒", data = 2 },
{ description = "3秒", data = 3 },
{ description = "4秒", data = 4 },
{ description = "5秒", data = 5 },
{ description = "7秒", data = 7 },
{ description = "10秒", data = 10 },
{ description = "20秒", data = 20 },
{ description = "30秒", data = 30 },
},
default = 4,
}
}