⚠️ 兼容性说明: 本插件基于 Minecraft 1.21.5 Purpur 构建。我已在 Purpur 1.21.5 和 Spigot 1.21.1 上进行了测试。它应该适用于 1.21.1-1.21.5 版本的 Spigot/Purpur/Paper/Bukkit。
如果您想报告错误或建议新的插件,请加入我的 Discord 服务器。
✨ InstantPickUp
收集。安全。生存。
InstantPickUp 彻底改变了物品收集机制,将物品(和经验值)直接瞬间转移到玩家的背包中。它使用高级启发式算法来可靠地追踪复杂情况下的掉落来源,并提供针对每个玩家的完整通知控制。
⚡️ 核心功能
-
⚡️ 即时收集(物品与经验值): 所有物品和经验球(XP)都会直接传入玩家背包。
-
钓鱼: 直接将鱼收入背包,无需它们在周围乱飞。支持 经验修补 (Mending) 附魔。
-
剪羊毛: 羊毛会立即出现在你的背包中。
-
? 自动压缩: 拾取时自动将 9 个物品压缩为其方块形态(例如:9 钻石 ➝ 1 钻石块,9 煤炭 ➝ 1 煤块)。立即节省背包空间。
-
? 智能掉落物理: 使用高级启发式算法来可靠地归因和收集掉落物:
-
逼真的 TNT: 具备 “气化” 机制,越靠近爆炸中心的方块掉落率越低,而边缘的方块则会被保留。(可配置:逼真模式 vs 原版产量)。
-
下落柱体: 收集在非固体方块上破碎的沙/沙砾/铁砧的整组掉落物。
-
智能容器: 智能过滤允许你拾取箱子本身,同时让其中的内容物自然掉落(如果已配置)。
-
✨ 增强用户体验与防垃圾信息:
-
连击计数器: 内置的 连击计数器 会在动作栏上显示已收集物品的累计总数(例如 + 64 石头)。
-
冷却时间: 背包已满警告消息具有可配置的冷却时间(默认 3 秒),以防止聊天刷屏。
-
⚙️ 完全的玩家自定义: 每位玩家都可以完全掌控自己的体验:
-
切换/状态: 启用或禁用自动拾取 (/ip)。
-
自动压缩: 开启或关闭压缩 (/ip compress)。
-
警告音效: 开启或关闭 背包已满警告音效 (/ip sound)。
-
通知类型: 选择接收背包已满警告的位置 (/ip notify fulleq <chat/title/actionbar/none>)。
-
语言: 即时切换语言 (/ip lang)。
?️ 管理员控制与配置
所有全局设置均可在 config.yml 中找到,并且可以动态更改。
- TNT 设置: 在
realistic-drops(基于距离)或标准原版产量之间切换。
- 黑名单: 可配置的材料列表(例如
COBBLESTONE),这些材料在收集时将被忽略。
- 限制: 全局限制模式 (
/ip toggle) 强制要求所有玩家进行权限检查。
? InstantPickUp - 命令与权限
主命令: /ip(或 /instantpickup, /ap, /autopickup)
| 命令 |
描述 |
权限 |
默认 |
| --- 玩家 --- |
|
|
|
/ip |
切换你的自动拾取状态(开/关)。 |
instantpickup.use |
✅ 所有人 |
/ip compress <true/false> |
切换自动压缩模式。 |
instantpickup.use |
✅ 所有人 |
/ip status |
显示你所有设置的当前状态。 |
instantpickup.use |
✅ 所有人 |
/ip sound |
切换背包已满警告音效。 |
instantpickup.use |
✅ 所有人 |
/ip notify <fulleq/count> ... |
管理显示类型(背包已满)或状态(连击计数器)。 |
instantpickup.notification |
✅ 所有人 |
/ip lang <pl/en> |
更改你的个人界面语言。 |
— |
✅ 所有人 |
| --- 管理员 --- |
|
|
|
/ip toggle |
切换 全局限制模式。 |
instantpickup.admin |
❌ OP |
/ip default <true/false> |
为新玩家设置默认的 AP 模式。 |
instantpickup.admin |
❌ OP |
/ip reload |
重新加载插件配置和语言文件。 |
instantpickup.reload |
❌ OP |
特殊权限(绕过):
| 权限 |
描述 |
默认 |
instantpickup.bypass.blacklist |
允许玩家收集全局黑名单中定义的物品。 |
❌ 否 |
- 通配符权限:
instantpickup.*(授予完整的命令访问权限)。
? 安装
- 下载
.jar 文件。
- 将其放入服务器的
/plugins/ 文件夹中(Spigot/Paper/Purpur 1.21.x)。
- 重启服务器。
将来,我将使 veinminer(矿脉挖掘)和 treecapitator(砍树器)与本插件兼容。
⚠️ Compatibility Note: This plugin is built for Minecraft 1.21.5 Purpur. I tested it on Purpur 1.21.5 and Spigot 1.21.1. It should work on 1.21.1-1.21.5 Spigot/Purpur/Paper/Bukkit.
If you want to report a bug or suggest a new plugin, join my Discord server.
✨ InstantPickUp
Collect. Secure. Survive.
InstantPickUp completely changes the item collection mechanic, transferring items (and XP) directly into the player's inventory instantly. It uses advanced heuristics to reliably track the culprit of drops in complex situations and offers full, per-player control over notifications.
⚡️ Key Features
-
⚡️ Instant Collection (Item & XP): All items and experience orbs (XP) are transferred directly into the player's inventory.
-
Fishing: Catch fish directly to your inventory without them flying around. Supports Mending enchantment.
-
Shearing: Wool appears instantly in your inventory.
-
? Auto-Compress: Automatically compresses 9 items into their block form upon pickup (e.g., 9 Diamonds ➝ 1 Diamond Block, 9 Coal ➝ 1 Coal Block). Saves inventory space instantly.
-
? Smart Drop Physics: Uses advanced heuristics to reliably attribute and collect drops:
-
Realistic TNT: Features a "Vaporization" mechanic where blocks closer to the explosion center have a lower drop chance, while blocks at the edge are preserved. (Configurable: Realistic vs. Vanilla Yield).
-
Falling Columns: Collects entire stacks of sand/gravel/anvils breaking on non-solid blocks.
-
Smart Containers: Intelligent filtering allows you to pick up the Chest block itself while letting its contents drop naturally (if configured).
-
✨ Enhanced UX & Anti-Spam:
-
Combo Counter: A built-in Combo Counter displays a running total of collected items (e.g., + 64 Stone) on the Action Bar.
-
Cooldown: Inventory Full warning messages have a configurable cooldown (default 3s) to prevent chat spam.
-
⚙️ Full Player Customization: Every player has full control over their experience:
-
Toggle/State: Enable or disable AutoPickUp (/ip).
-
Auto-Compress: Toggle compression on/off (/ip compress).
-
Warning Sound: Toggle the Inventory Full warning sound (/ip sound).
-
Notification Type: Choose where to receive full inventory warnings (/ip notify fulleq <chat/title/actionbar/none>).
-
Language: Instant language switching (/ip lang).
?️ Admin Control & Configuration
All global settings are available in config.yml and can be changed dynamically.
- TNT Settings: Toggle between
realistic-drops (distance-based) or standard vanilla yield.
- Blacklist: Configurable list of materials (e.g.,
COBBLESTONE) that are ignored during collection.
- Restrictions: The Global Restriction Mode (
/ip toggle) forces a required permission check for all players.
? InstantPickUp - Commands & Permissions
Main command: /ip (or /instantpickup, /ap, /autopickup)
| Command |
Description |
Permission |
Default |
| --- PLAYER --- |
|
|
|
/ip |
Toggles your AutoPickUp status (ON/OFF). |
instantpickup.use |
✅ Everyone |
/ip compress <true/false> |
Toggles Auto-Compress mode. |
instantpickup.use |
✅ Everyone |
/ip status |
Displays the current state of all your settings. |
instantpickup.use |
✅ Everyone |
/ip sound |
Toggles the Inventory Full warning sound. |
instantpickup.use |
✅ Everyone |
/ip notify <fulleq/count> ... |
Manages display type (Full Inv) or state (Combo Counter). |
instantpickup.notification |
✅ Everyone |
/ip lang <pl/en> |
Change your personal interface language. |
— |
✅ Everyone |
| --- ADMIN --- |
|
|
|
/ip toggle |
Toggles the Global Restriction Mode. |
instantpickup.admin |
❌ OP |
/ip default <true/false> |
Set the default AP mode for new players. |
instantpickup.admin |
❌ OP |
/ip reload |
Reloads plugin configuration and languages. |
instantpickup.reload |
❌ OP |
Special Permissions (Bypass):
| Permission |
Description |
Default |
instantpickup.bypass.blacklist |
Allows player to collect items defined in the global blacklist. |
❌ False |
- Wildcard Permission:
instantpickup.* (Grants full command access).
? Installation
- Download the
.jar file.
- Place it in the
/plugins/ folder of your server (Spigot/Paper/Purpur 1.21.x).
- Restart the server.
In the future, I will make veinminer and treecapitator work with this plugin.
评论 0
登录后参与评分
还没有评论,来抢沙发吧