Scoredex 2
由 Tellsanguis 制作的 Scoredex 模组的扩展分支。
? 描述
Scoredex 是一个 Minecraft 模组,通过一个小型的可配置 Web 服务器提供各种记分板,
显示玩家已发现、捕获、孵化等的宝可梦数量。
它完全在服务器端运行,无需任何客户端安装。
以下记分板可用:
- 捕获的野生宝可梦
- 捕获的闪光宝可梦
- 进化的宝可梦
- 孵化的宝可梦
- 发现的宝可梦
- 捕获的宝可梦(图鉴记录)
⚠️ “捕获的野生宝可梦”和“捕获的宝可梦(图鉴记录)”记分板统计的内容不同!
前者统计的是在野外捕获的不同宝可梦的数量,而后者统计的是在图鉴中注册为捕获的不同宝可梦的数量!
✨ 功能
- 自动生成记分板图片
- 定期更新玩家的分数
- 在集成的 Web 服务器上托管生成的图片
- 高度可定制
- 记分板标题
- 显示的玩家可以设置多列
- 记分板颜色
- 以及更多
⚙️ 配置
配置文件会在你首次使用模组启动服务器时自动创建。
它将位于服务器的 config 文件夹中,文件名为 scoredex.json。
默认配置
{
"advancedLogging": false,
"port": 8080,
"updateIntervalMinutes": 5,
"defaultScoreboard": "CAUGHT",
"captureTitle": "Scoreboard - Captured Wild Pokémon",
"shinyTitle": "Scoreboard - Captured Shiny",
"evolvedTitle": "Scoreboard - Evolved Pokémon",
"hatchedTitle": "Scoreboard - Hatched Pokémon",
"seenTitle": "Scoreboard - Seen Pokémon",
"caughtTitle": "Scoreboard - Pokémon Caught",
"timeZone": "Europe/Paris",
"autoDetectDataFolder": true,
"manualDataFolderPath": "",
"maxPlayers": 100,
"rowsPerColumn": 10,
"showLastUpdate": true,
"lastUpdateText": "Last update: ",
"colors": {
"background": "#141414",
"titleBackground": "#3232C8",
"titleText": "#FFFFFF",
"firstPlaceText": "#FFFFFF",
"firstPlaceBackground": "#FFD700",
"secondPlaceText": "#FFFFFF",
"secondPlaceBackground": "#C0C0C0",
"thirdPlaceText": "#FFFFFF",
"thirdPlaceBackground": "#CD7F32",
"text": "#FFFFFF",
"footerText": "#FFFF00"
}
}
配置选项
| 选项 |
描述 |
默认值 |
| advancedLogging |
是否进行模组活动的额外日志记录。仅对调试真正相关。 |
false |
| port |
Web 服务器开放的端口 |
8080 |
| updateIntervalMinutes |
记分板更新频率(分钟) |
5 |
| defaultScoreboard |
scoreboard.png URL 的默认记分板 |
"CAUGHT" |
| captureTitle |
在野生宝可梦捕获记分板上显示的标题 |
"Scoreboard - Captured Wild Pokémon" |
| shinyTitle |
在闪光宝可梦捕获记分板上显示的标题 |
"Scoreboard - Captured Shiny" |
| evolvedTitle |
在进化宝可梦记分板上显示的标题 |
"Scoreboard - Evolved Pokémon" |
| hatchedTitle |
在孵化宝可梦记分板上显示的标题 |
"Scoreboard - Hatched Pokémon" |
| seenTitle |
在发现宝可梦记分板上显示的标题 |
"Scoreboard - Seen Pokémon" |
| caughtTitle |
在捕获宝可梦记分板上显示的标题 |
"Scoreboard - Pokémon Caught" |
| timeZone |
服务器时区,用于标记记分板更新的日期 |
"Europe/Paris" |
| autoDetectDataFolder |
是否自动检测宝可梦数据文件夹 |
true |
| manualDataFolderPath |
手动指定宝可梦数据文件夹路径(仅在 autoDetectDataFolder 设置为 false 时使用) |
"" |
| maxPlayers |
记分板上显示的最大玩家数量 |
100 |
| rowsPerColumn |
每列显示的行数 |
10 |
| showLastUpdate |
是否在图片上显示记分板更新时间 |
true |
| lastUpdateText |
在记分板上更新时间之前显示的文本(仅在 showLastUpdate 设置为 true 时有效) |
"Last update: " |
| colors |
记分板图片颜色的详细配置 |
见下一节 |
颜色自定义
可以通过修改以下颜色来完全自定义颜色配置组件:
background: 棋盘整体背景颜色
titleBackground: 标题栏背景颜色
titleText: 标题文本颜色
firstPlaceText: 第一名玩家文本颜色
firstPlaceBackground: 第一名玩家背景颜色
secondPlaceText: 第二名玩家文本颜色
secondPlaceBackground: 第二名玩家背景颜色
thirdPlaceText: 第三名玩家文本颜色
thirdPlaceBackground: 第三名玩家背景颜色
text: 棋盘其余部分的文本颜色
footerText: 页脚文本颜色(更新日期,仅在启用 showLastUpdate 配置时显示)
?️ 图片托管
图片可通过以下地址获取:
| 记分板 |
URL |
| Captured |
http://<服务器 IP>:<端口>/captured.png |
| Shiny |
http://<服务器 IP>:<端口>/shiny.png |
| Evolved |
http://<服务器 IP>:<端口>/evolved.png |
| Hatched |
http://<服务器 IP>:<端口>/hatched.png |
| 已查看 | http://<服务器 IP>:<端口>/seen.png |
| 捕获 | http://<服务器 IP>:<端口>/caught.png |
默认的记分板(位于 http://<服务器IP>:<端口>/scoreboard.png)将重定向到在以下列出的记分板中配置的那个。
⚠️ 重要说明
- 配置的端口必须对公网开放,以便在更广泛的网络中可用。
- 如果模组无法正常工作,但服务器日志中没有出现任何相关内容,请检查您的防火墙或联系您的服务器主机。
❓ 支持
- 通过 Codeberg Issues,在 源代码仓库(推荐方式)
- 通过 Discord,在我的 服务器
- 请勿向原作者报告问题,
此分支已被大量修改,大多数问题对他们来说完全无关
Scoredex 2
An expanded fork of the Scoredex mod by Tellsanguis.
? Description
Scoredex is a Minecraft mod that provides various scoreboards via a small configurable web server,
displaying how many Pokémon have been seen, captured, hatched, etc., by the players.
It is fully server-side and does not require any client-side installation.
The following scoreboards are available:
- captured wild pokémons
- captured shiny pokémons
- evolved pokémons
- hatched pokémons
- seen pokémons
- caught pokémons
⚠️ The "captured wild pokémons" and "caught pokémons" scoreboards do not count the same thing!
The former counts the number of different pokémons captured in the wild, while the latter the different
pokémons registered as caught in the pokedex!
✨ Functionalities
- Automated generation of scoreboard images
- Periodic updates of the players' scores
- Hosting of the generated images on an integrated web server
- Heavily customizable
- Scoreboard titles
- Number of displayed players, possibly on multiple columns
- Scoreboard colors
- And more
⚙️ Configuration
The configuration file is automatically created when first launching your server with the mod.
It will be located in your server's config folder, as scoredex.json.
Default configuration
{
"advancedLogging": false,
"port": 8080,
"updateIntervalMinutes": 5,
"defaultScoreboard": "CAUGHT",
"captureTitle": "Scoreboard - Captured Wild Pokémon",
"shinyTitle": "Scoreboard - Captured Shiny",
"evolvedTitle": "Scoreboard - Evolved Pokémon",
"hatchedTitle": "Scoreboard - Hatched Pokémon",
"seenTitle": "Scoreboard - Seen Pokémon",
"caughtTitle": "Scoreboard - Pokémon Caught",
"timeZone": "Europe/Paris",
"autoDetectDataFolder": true,
"manualDataFolderPath": "",
"maxPlayers": 100,
"rowsPerColumn": 10,
"showLastUpdate": true,
"lastUpdateText": "Last update: ",
"colors": {
"background": "#141414",
"titleBackground": "#3232C8",
"titleText": "#FFFFFF",
"firstPlaceText": "#FFFFFF",
"firstPlaceBackground": "#FFD700",
"secondPlaceText": "#FFFFFF",
"secondPlaceBackground": "#C0C0C0",
"thirdPlaceText": "#FFFFFF",
"thirdPlaceBackground": "#CD7F32",
"text": "#FFFFFF",
"footerText": "#FFFF00"
}
}
Configuration options
| Option |
Description |
Default values |
| advancedLogging |
Whether to do extra logging of the mod's activities. Only truly relevant for debugging. |
false |
| port |
The port at which the web server will be open |
8080 |
| updateIntervalMinutes |
Scoreboard update frequency (in minutes) |
5 |
| defaultScoreboard |
The default scoreboard for the scoreboard.png url |
"CAUGHT" |
| captureTitle |
Title displayed on the wild pokémon captured scoreboard |
"Scoreboard - Captured Wild Pokémon" |
| shinyTitle |
Title displayed on the shiny pokémon captured scoreboard |
"Scoreboard - Captured Shiny" |
| evolvedTitle |
Title displayed on the evolved pokémon scoreboard |
"Scoreboard - Evolved Pokémon" |
| hatchedTitle |
Title displayed on the hatched pokémon scoreboard |
"Scoreboard - Hatched Pokémon" |
| seenTitle |
Title displayed on the seen pokémon scoreboard |
"Scoreboard - Seen Pokémon" |
| caughtTitle |
Title displayed on the caught pokémon scoreboard |
"Scoreboard - Pokémon Caught" |
| timeZone |
Server timezone, for dating scoreboard updates |
"Europe/Paris" |
| autoDetectDataFolder |
Whether to automatically detect pokémon data folder |
true |
| manualDataFolderPath |
Manual path to the pokémon data folder (only used if autoDetectDataFolder is set to false |
"" |
| maxPlayers |
Maximum number of players displayed on the board |
100 |
| rowsPerColumn |
Number of lines displayed per column |
10 |
| showLastUpdate |
Whether to display the scoreboard update time on the pictures |
true |
| lastUpdateText |
The text to display before the update time on the scoreboard (only if showLastUpdate is set to true) |
"Last update: " |
| colors |
Detailed configuration of the scoreboard images colorations |
See next section |
Colors customization
The colors’ configuration component can be fully customized by modifying the following colors:
background: Overall board background color
titleBackground: Title bar background color
titleText: Title text color
firstPlaceText: First place player text color
firstPlaceBackground: First place player background color
secondPlaceText: Second place player text color
secondPlaceBackground: Second place player background color
thirdPlaceText: Third place player text color
thirdPlaceBackground: Third place player background color
text: Text color for the rest of the board
footerText: Footer text color (update date, only if the showLastUpdate config is neabled)
?️ Images hosting
The images are made available at the following addresses:
| Scoreboard |
URL |
| Captured |
http://<server IP>:<port>/captured.png |
| Shiny |
http://<server IP>:<port>/shiny.png |
| Evolved |
http://<server IP>:<port>/evolved.png |
| Hatched |
http://<server IP>:<port>/hatched.png |
| Seen |
http://<server IP>:<port>/seen.png |
| Caught |
http://<server IP>:<port>/caught.png |
The default scoreboard (at http://<server IP>:<port>/scoreboard.png) will redirect to the
one it is configured to, among the afore-listed ones.
⚠️ Important notes
- The configured port must be open to outside connections to make it available to the broader network.
- If the mod does not work but nothing related appears in your server logs,
please check your firewall or reach out to your server host.
❓ Support
- Via Codeberg issues, on the source repository (preferred method)
- Via Discord, on my server
- Please do NOT report issues to the original creator,
this fork has been heavily modified, and most issues would be completely irrelevant to them
评论 0
登录后参与评分
还没有评论,来抢沙发吧