-
Notifications
You must be signed in to change notification settings - Fork 0
/
modinfo.lua
95 lines (77 loc) · 4.61 KB
/
modinfo.lua
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
local isEN = locale~="zh" and locale~="zhr" --如果当前语言环境不是中文
name = ((locale == "zh" or locale == "zhr") and "联合封禁") or (locale == "zht" and "聯合封禁") or "Joint ban"
author = "雨夏"
version = "1.2"
description = ((locale == "zh" or locale == "zhr") and "[当前版本]\n "..version..[[
[模组介绍]
所谓联合封禁,是指加了这个 mod 的服务器可以共同封禁一批捣乱者
随着以后黑名单的逐步完善,或许可以有效的创造一个良好的游戏环境
需要提供捣乱者信息可在评论区留言或推荐前往
https://github.com/ylk2534246654/dst-mod-joint-ban/issues
黑名单同步是在每次服务器重启后
[黑名单列表]
https://github.com/ylk2534246654/dst-mod-joint-ban/blob/main/docs/blacklist.json
]]) or (locale == "zht" and "[當前版本]\n "..version..[[
[模組介紹]
所謂聯合封禁,是指加了這個 mod 的服務器可以共同封禁一批搗亂者
隨著以後黑名單的逐步完善,或許可以有效的創造一個良好的遊戲環境
需要提供搗亂者資訊可在評論區留言或推薦前往
https://github.com/ylk2534246654/dst-mod-joint-ban/issues
黑名單同步是在每次服務器重啟後
[黑名單清單]
https://github.com/ylk2534246654/dst-mod-joint-ban/blob/main/docs/blacklist.json
]]) or "[Version]\n "..version..[[
[Mod introduction]
The joint ban mod allows servers that have installed it to collectively ban a group of troublemakers. With the gradual improvement of the blacklist, this mod may effectively create a better gaming environment.
To report troublemakers, please leave a message in the comments or visit
https://github.com/ylk2534246654/dst-mod-joint-ban/issues
The blacklist is synchronized after each server restart.
[Blacklist]
https://github.com/ylk2534246654/dst-mod-joint-ban/blob/main/docs/blacklist.json
]]
forumthread = "" --和官方论坛相关,一般不填
api_version = 10 --api 版本,联机版目前为 10,如果不填 10,则会被提示模组已经过期。
dont_starve_compatible = false --兼容饥荒单机版
reign_of_giants_compatible = false --兼容饥荒巨人版
dst_compatible = true --此值为 true 则表明模组兼容联机版
all_clients_require_mod = false --让客机知道自己是否需要订阅这个模组并下载下来,通常有自定义美术资源的,都需要令此项为 true。
client_only_mod = false --这一项和上一项正好相反,如果此项为 true,则这是一个客机模组,可以在游戏模组界面启动。否则需要在开启房间的界面启动。
icon_atlas = "modicon.xml" --mod图标
icon = "modicon.tex"
server_filter_tags = { --服务器标签
"联合封禁",
"聯合封禁",
"Joint ban",
}
local function AddTitle(title)
return {
label = title,
name = "",
hover = "",
options = {{description = "", data = 0}},
default = 0
}
end
configuration_options = {
-- {
-- name = "language",
-- hover = isEN and "Choose your language" or "选择您使用的语言",
-- label = isEN and "Language" or "语言",
-- options =
-- {
-- {description = "Auto", data = "auto", hover = isEN and "Detect the language based on language mods installed." or "根据安装的语言模块检测语言。"},
-- {description = "English", data = "english", hover = isEN and "English" or "英语"}, --英语
-- {description = "中文(简体)", data = "chinese_s", hover = isEN and "Simplified Chinese" or "简体中文"},
-- {description = "中文(繁体)", data = "chinese_t", hover = isEN and "Traditional Chinese" or "繁体中文"},
-- {description = "日本語", data = "japanese", hover = isEN and "Japanese" or "日语"}, --日语
-- {description = "русский", data = "russian", hover = isEN and "Russian" or "俄语"}, --俄语
-- {description = "Deutsch", data = "german", hover = isEN and "German" or "德语"}, --德语
-- {description = "Português (BR)", data = "portuguese", hover = isEN and "Portuguese BR" or "葡萄牙语"}, --葡萄牙语
-- {description = "Español", data = "spanish", hover = isEN and "Spanish" or "西班牙语"}, --西班牙语
-- {description = "Polish", data = "polish", hover = isEN and "Polish" or "波兰语"}, --波兰语
-- {description = "Czech", data = "czech", hover = isEN and "Czech" or "捷克语"}, --捷克语
-- {description = "ภาษาไทย", data = "thai", hover = isEN and "Thai" or "泰语"}, --泰语
-- },
-- default = "auto",
-- },
}