本模组旨在为 Cobblemon 1.20.1 版本添加功能,该版本已于 2024 年 5 月停止更新(v1.5.2)。部分功能是从更新的 Cobblemon 版本移植过来的,也有全新添加的功能。
概述
- 战斗用户界面,显示有用信息,如队伍状态、当前属性变化、属性克制关系和场地状况。[在游戏中按住 SHIFT 以查看更多信息]
- 完全自定义的 PVP 对战格式:可设置等级、禁止项、条款等。默认格式将在首次启动时生成(位于
config/cobblemon_showdown),并且可以自定义。
- DOUBLE BATTLES(双打对战)也是配置中可用的 PVP 格式选项。[v2.0.0]
- PC 排序用户界面,可按多种特征对箱子进行排序。您还可以使用 [鼠标滚轮] 快速切换箱子。
- 命令用于快速查找任何宝可梦物种/招式/特性等。
❗ 此模组需要在客户端和服务器端都安装。它依赖于服务器发送的自定义数据包来向客户端传输战斗数据。

命令
所有命令都在 /showdown 下。
Play(对战)
/showdown challenge <player> :打开一个格式菜单,以挑战该玩家
/showdown challenge <player> <format> :以指定格式发起挑战
/showdown challenge <player> <format> item_bet:<item>,<amount> :同上,但以物品作为赌注押注结果
/showdown accept <player> :接受来自该玩家的待处理挑战
/showdown deny <player> :拒绝来自该玩家的待处理挑战
/showdown abort :离开/取消你当前正在进行的战斗
Watch(观战)
/showdown spectate <player> :观战该玩家当前的战斗
/showdown unspectate :停止观战
Formats and party(格式与队伍)
/showdown format list :列出所有已配置的格式
/showdown format <formatId> :显示某个格式的规则和条款
/showdown format_party_test <formatId> :检查你当前的队伍是否符合某个格式的要求
Data lookup (Showdown-style /dt)(数据查询)
/showdown dt <query> :查询宝可梦、招式、特性、属性、携带道具或 SimpleTMs TM/TR。支持模糊匹配,结果可点击以链接更多查询。对于 TM,还会显示哪些队伍成员可以学习该招式。
History(历史记录)
/showdown history :显示你自己的胜负记录和最近的比赛
/showdown history <player> :显示其他玩家的记录
Admin (op level 2)(管理员权限,操作等级 2)
/showdown format <formatId> export :打印该格式的 JSON 文件,并带有单击复制按钮
Help(帮助)
/showdown help (或直接输入 /showdown) :打印游戏内帮助信息

自定义对战格式
请参阅下面的示例配置:

这些格式配置位于 configs/cobblemon_showdown/formats。要编辑这些 JSON 文件,您可以使用代码编辑器,例如 Notepad++。以下是创建自定义格式所需的变量:
| Field(字段) |
Type(类型) |
Description(描述) |
name |
string(字符串) |
格式的显示名称 |
description |
string(字符串) |
在信息中显示的简短描述 |
party_size |
1-6 |
必需的宝可梦数量 |
battle_type |
string(字符串) |
"singles" 或 "doubles" |
best_of |
1, 3, 5 |
每场比赛的游戏局数(系列赛) |
set_level |
1-100 |
将所有宝可梦缩放至该等级 |
battle_timer |
bool(布尔值) |
启用总计 210 秒 + 每回合 60 秒的计时器 |
team_preview |
bool(布尔值) |
战斗前的首发选择阶段 |
species_clause |
bool(布尔值) |
不允许重复的物种 |
ban_all_pokemon_except_whitelist |
bool(布尔值) |
白名单模式 |
whitelist_species |
array(数组) |
允许的物种(如果在白名单模式下) |
bans.pokemon |
array(数组) |
禁止的物种(小写,下划线分隔) |
bans.moves |
array(数组) |
禁止的招式 |
bans.abilities |
array(数组) |
禁止的特性 |
bans.items |
array(数组) |
禁止的携带道具 |
| |
|
|

开发说明
- 欢迎在你的整合包中使用此模组。
- 许可证:本模组在 MIT 许可证下开源,您可以自由查看、修改并学习源代码。请勿将此模组重新上传至其他网站;仅从此 CurseForge 页面和官方 GitHub 仓库下载。
This mod aims to add features to Cobblemon on 1.20.1, which has ceased updates as of May 2024 (v1.5.2). Some features are backports from updated versions of Cobblemon, and some entirely new.
Overview
- In-battle user interface that displays helpful information, like party stats, current stat changes, type effectiveness, and field conditions. [Hold SHIFT for more info ingame]
- Completely custom PVP battle formats: set level, bans, clauses and more. The default formats will generate in on first launch (in
config/cobblemon_showdown) and are customizable.
- DOUBLE BATTLES are also an available PVP format option in config. [v2.0.0]
- PC sorting user-interface to sort boxes by many characteristics. You can also use [MOUSE SCROLL] to quickly switch boxes.
- Commands to quick lookup any Pokemon species/move/ability etc.
❗ This mod is required on both client and server. It relies on custom packets from the server to send battle data to the client.

Commands
All commands are under /showdown.
Play
/showdown challenge <player> : open a menu of formats to challenge that player with
/showdown challenge <player> <format> : send a challenge in the given format
/showdown challenge <player> <format> item_bet:<item>,<amount> : same, but stake an item on the outcome
/showdown accept <player> : accept a pending challenge from that player
/showdown deny <player> : decline a pending challenge from that player
/showdown abort : leave/cancel the battle you're currently in
Watch
/showdown spectate <player> : spectate the battle that player is currently in
/showdown unspectate : stop spectating
Formats and party
/showdown format list : list every configured format
/showdown format <formatId> : show the rules and clauses for a format
/showdown format_party_test <formatId> : check whether your current party is legal for a format
Data lookup (Showdown-style /dt)
/showdown dt <query> : look up a Pokemon, move, ability, type, held item, or SimpleTMs TM/TR. Fuzzy matched, results are clickable to chain more lookups. For TMs it also shows which party members can learn the move.
History
/showdown history : show your own W/L record and recent matches
/showdown history <player> : show another player's record
Admin (op level 2)
/showdown format <formatId> export : print the format's JSON with a click-to-copy button
Help
/showdown help (or just /showdown) : print the in-game help

Custom Battle Formats
Please view the example config below:

These format configs live in configs/cobblemon_showdown/formats. To edit these JSON files, you can use a code editor like Notepad++. Here are the variables to make your own formats:
| Field |
Type |
Description |
name |
string |
Display name for the format |
description |
string |
Brief description shown in info |
party_size |
1-6 |
Required Pokemon count |
battle_type |
string |
"singles" or "doubles" |
best_of |
1, 3, 5 |
Games per match (series) |
set_level |
1-100 |
Scale all Pokemon to this level |
battle_timer |
bool |
Enable 210s total + 60s/turn timer |
team_preview |
bool |
Lead selection phase before battle |
species_clause |
bool |
No duplicate species allowed |
ban_all_pokemon_except_whitelist |
bool |
Whitelist mode |
whitelist_species |
array |
Allowed species (if whitelist mode) |
bans.pokemon |
array |
Banned species (lowercase, underscores) |
bans.moves |
array |
Banned moves |
bans.abilities |
array |
Banned abilities |
bans.items |
array |
Banned held items |
| |
|
|

Dev Notes
- Feel free to use this mod in your modpack.
- License: This mod is open source under the MIT License, you're free to view, modify, and learn from the source code. Please do not reupload this mod to other sites; download it only from this CurseForge page and the official GitHub repository.
评论 0
登录后参与评分
还没有评论,来抢沙发吧