BackPacks
你好!你是否讨厌在探索 Minecraft 世界时,发现闪闪发光的钻石却因背包已满而无法拾取?那么这款插件正是为你准备的!本插件旨在成为 Bukkit 插件世界中最好的物品栏扩展工具。尽管功能非常强大,但它依然易于使用且配置简单。你可以添加任意数量的背包类型。如果你有任何问题或建议,请随时私信我!(在评论区提问将无法获得支持!)
如何使用 BackPacks?
使用该插件相当简单。默认的背包合成配方是用皮革围绕一个箱子,默认容量为 27 格。自 1.6 版本起,你也可以通过在空中右键来打开背包!当你制作背包时,你会注意到它的名称和描述(lore),其中描述是一个紫色的数字 '0'。首次右键点击你的背包时,你需要对其进行注册。会弹出一条消息:You registered <backpack> : <id>。你还会注意到背包的名称已更改为:<yourname>'s <backpackname>,而描述则变为一个代表 ID、你的名字以及背包类型的紫色整数(这看起来可能不太美观,但能让插件运行更快且更少出现 bug)。
你还会注意到该物品带有附魔光泽,我们这样做是为了检测某物品是否为背包。由于这是一种自定义附魔,请勿将背包放入铁砧中,否则会导致客户端崩溃。此外,你也不能将背包放入自己的背包中,以防止“无限套娃”现象。
默认合成配方:

注册你的背包后,输出效果如下:

当鼠标悬停在背包上时:

(我知道它看起来不太美观,但我正在寻找隐藏描述的方法)
由 gyro89 制作的插件展示视频(非常感谢他!)
还有另一个由 BukkitHelper 制作的展示视频(谢谢!)
西班牙语教程感谢:geniusmarc1999
待办事项
我正在添加一些酷炫的功能,例如经济系统支持,以便玩家可以购买背包,以及可能的语言支持。谁知道呢,也许有一天我会加入物理系统,让玩家在携带沉重的背包时会感到疲惫。

BackPacks
Hello there! Do you hate it when you're exploring your minecraft world and you find some shiny diamonds but your inventory is full? Well then this plugin is something for you! This plugin aims to be the best inventory-expander in the bukkit plugin world. While it is very advanced it's still easy to use and easy configurable. You can add as much backpack types as you want. If you have any question or suggestions, don't hesitate to pm me! (Asking things in a comment will not get support!)
How to use BackPacks?
Using the plugin is fairly easy. The default backpack recipe is a chest surounded by leather and the default size is 27. Since version 1.6 you can also open a backpack by right clicking in the air! When crafting a backpack you will notice it's name and the lore, the lore is a purple integer '0', now when first right clicking your backpack you will register it. A message will popup: You registered <backpack> : <id>. You will also notice the name of the backpack changed to: <yourname>'s <backpackname>, and the lore is changed to a purple integer which represents the id, your name and the backpack type (this may look ugly but it makes the plugin way faster and less buggy).
You will also notice the item has an enchantment glow, now we did this to detect wether an item is a backpack or not, since it's a custom enchantment don't place your backpack in an anvil because that will crash your client. You are also not able to put your backpack in your backpack, to prevent backception.
The default crafting recipe:

When registering your backpack, the output will be:

And when hovering over your backpack:

(I know it looks ugly but I'm currently searching a way to hide the lore)
A showcase of the plugin made by gyro89 (Many thanks to him!)
And another showcase by BukkitHelper (Thank you!)
Tutorial in Spanish Thanks to: geniusmarc1999
To do
I'm currently adding some fancy stuff like economy support, so players are able to buy backpacks and maybe language support. And who knows, maybe one day I'll add physics so players get tired when carrying around their heavy backpacks.

评论 0
登录后参与评分
还没有评论,来抢沙发吧