CobbleStops 数据包(适用于 Cobblemon 1.7.1)
立即为你的 Cobblemon 测试服务器添加功能完善且回报丰厚的精灵球投掷点!此数据包新增了一个自定义的精灵球投掷点 NPC,玩家可以与之互动以领取物品。
它专为服务器管理员轻松配置而设计,允许你修改所有战利品池和冷却时间以满足你的需求。

特性
-
新增 NPC:生成一个专门的“精灵球投掷点”NPC。
-
完全自定义战利品:通过编辑 loot_pool.json 文件,轻松配置每一种可能的奖励。无需脚本知识!
-
4 种稀有度等级:奖励分为普通、不常见、稀有和超稀有四个池子。由你决定哪些物品属于哪个等级。
加权稀有度:脚本使用 1-100 的随机 roll 值来决定玩家从哪个池子获得奖励。默认设置如下:
- 普通:60%
- 不常见:25%
- 稀有:10%
- 超稀有:5%
安装
此数据包包含两部分,必须正确安装:
服务器端(主机):将数据包的 .zip 文件放入服务器的世界文件夹中的 datapacks 文件夹内。
客户端(所有玩家):所有玩家(包括主机)都必须在他们的 resourcepacks 文件夹中安装相同的 .zip 文件,并在设置中启用它。这是为了让所有人都能看到精灵球投掷点的模型。
如何使用与配置
- 生成 CobbleStop
一旦安装了数据包和资源包,你就可以在游戏中生成该 NPC(你需要拥有 OP 权限)。
只需运行命令:
/spawnnpc pokestop
- 配置战利品
你可以在不触碰主脚本的情况下更改所有物品奖励。
通过使用 /npcedit 命令,你可以编辑 NPC 中每个战利品池的所有值,包括战利品内容。
- 配置冷却时间
你可以直接在游戏中的精灵球投掷点设置等待时间。
确保你处于创造模式或拥有管理员权限。
在精灵球投掷点 NPC 上使用 /npcedit 打开 NPC 编辑器。
在编辑器顶部找到“Cooldown”(冷却时间)设置。
将值更改为你想要的等待时间(以小时为单位)。
保存并退出编辑器。新的冷却时间将在玩家下次使用精灵球投掷点时生效。每个精灵球投掷点都有各自独立的冷却时间。
CobbleStops Datapack (for Cobblemon 1.7.1)
Instantly add functional, rewarding PokeStops to your Cobblemon test server! This datapack adds a new, custom PokéStop NPC that players can interact with to claim items.
It's designed to be incredibly easy for server owners to configure, allowing you to change all loot pools and cooldowns to fit your needs.

Features
-
Adds a New NPC: Spawns a dedicated "PokeStop" NPC.
-
Fully Customizable Loot: Easily configure every possible reward by editing the loot_pool.json file. No scripting knowledge required!
-
4 Rarity Tiers: Rewards are split into Common, Uncommon, Rare, and Ultra Rare pools. You decide what items go where.
Weighted Rarity: The script uses a 1-100 roll to determine which pool a player gets a reward from. The defaults are:
- Common: 60%
- Uncommon: 25%
- Rare: 10%
- Ultra Rare: 5%
-
Configurable Cooldown: Set how long (in hours) a player must wait before using the PokeStop again.
-
User-Friendly Feedback: Players receive a clean, colorful chat message telling them exactly what they found.
Installation
This datapack has two parts that MUST be installed correctly:
Server-Side (Host): Place the datapack .zip file into your server's world folder, inside the datapacks folder.
Client-Side (All Players): All players (including the host) MUST install the same .zip file in their resourcepacks folder and enable it in their settings. This is required for everyone to see the PokeStop model.
How to Use & Configure
- Spawning the CobbleStop
Once the datapack and resource pack are installed, you can spawn the NPC in-game (you must have OP permissions).
Simply run the command:
/spawnnpc pokestop
- Configuring the Loot
You can change every item reward without touching the main script.
By using /npcedit you can edit all values including loot for each loot pool in the npc.
- Configuring the Cooldown
You can set the wait time for the PokéStop directly in-game.
Make sure you are in Creative Mode or have admin permissions.
Use /npcedit on the PokeStop NPC to open the NPC Editor.
Find the "Cooldown" setting in the top the editor.
Change the value to your desired wait time (in hours).
Save and exit the editor. The new cooldown will apply from the next time a player uses the PokeStop. Each PokeStop will have its own independent cooldown.
评论 0
登录后参与评分
还没有评论,来抢沙发吧