ItemDisplay 发布 v1.3
此插件支持 JRE6 和 JRE7
注意:我将不再升级此插件。我已经开始了一个我长期以来一直想做的新项目,它是一个 2D 太空射击游戏,我和我的朋友目前正在开发它,我可能会再次处理这个插件,但可能性不大。由于 v1.3.1 是最新且最稳定的版本,我将保持项目现状。最后但同样重要的是,感谢所有人的合作。
有关可能的更新和错误修复,请参阅 。
描述
此插件允许您将库存中的任何物品放置在指定方块上作为展示,还允许您在地面上放置物品和方块以便稍后拾取。所有展示和掉落物都不会消失,并且防火/防熔岩。
命令
/itemd - 开启/关闭 itemd 模式
/itemd help - 显示帮助信息
/itemd list - 显示您周围 5 个方块半径(球形)内所有物品的列表
/itemd delete ID/(ID1 ~ ID2) - 删除属于您的 ID 或位于 ID1 到 ID2 范围内的任何物品展示/放置
/itemp - 关闭物品放置模式
/itemp #sec - 在地面上放置一个物品,使其可被任何人拾取,保护该物品 #sec 秒,防止因熔岩、火焰等死亡而消失和重生
用法
使用命令 "/itemd" 赋予您创建展示的能力,左键单击您希望物品停留的方块,您可以单击方块的任意一面,请注意它将始终位于您单击的方块顶部。再次使用 "/itemd" 将禁用该模式。启用模式时,左键单击并潜行将允许您移除展示。
使用命令 "/itemd help" 显示包含命令及其简要说明的帮助信息。
使用命令 "/itemd list" 显示以您为中心、半径为 5 个方块的球形范围内每个物品展示/放置的列表。它还显示了可用于删除命令的 ID。
使用命令 "/itemd delete ID/ID1ID2" 删除具有 ID 或位于 ID1 到 ID2 范围内的任何物品展示/放置。如果配置设置为 true,它将归还物品,并且根据配置设置,您可能无法删除某些展示。OP 始终可以删除任何展示/放置。
使用命令 "/itemp #" 赋予您在地面上放置物品的能力,左键单击您希望物品停留的方块,您可以单击方块的任意一面,请注意它将始终位于您单击的方块顶部。再次使用 "/itemp #" 将设置时间保护为 #。启用模式时,左键单击并潜行将允许您移除物品。
使用命令 "/itemp" 停用物品放置模式。
权限
- itemdisplay.forcedelete:
- description: 赋予您强制删除展示的权限
- itemdisplay.basic:
- description: 创建、列出和命令删除展示的基本权限
- itemdisplay.nodecrease:
- description: 放置物品时不减少物品堆叠数量
- itemdisplay.ignoredisplaylimit:
- description: 允许您创建无限数量的展示
- itemdisplay.*:
- description: 赋予您所有展示权限
- default: op
- children:
- itemdisplay.forcedelete: true
- itemdisplay.basic: true
- itemdisplay.nodecrease: true
- itemdisplay.ignoredisplaylimit: true
配置文件
- version
- 文件版本,请勿更改
- decrease_item_stack_on_creation
- 当设置为 true 时,如果玩家不是 OP,玩家手持的物品堆叠数量将减少 1。
- give_item_back_on_deletion
- 当设置为 true 时,玩家在删除展示后将收回物品
- force_public_displays
- 当设置为 true 时,任何玩家都可以删除任何展示
- max_player_displays
- 每个玩家可以创建的最大展示数量。OP 可以创建任意数量
- block_default
- 当设置为 true 时,玩家将能够在以下未指定的所有方块上创建展示
- allow_blocks
- - COBBLESTONE
- - STONE
- 尽管 'block_default' 的值如何,玩家仍然可以在 COBBLESTONE 和 STONE 上创建展示
- deny_blocks
- - BEDROCK
- - SAND
- - GRAVEL
- 尽管 'block_default' 的值如何,玩家将不能在 BEDROCK、SAND 和 GRAVEL 上创建展示
备注
展示在插件启用和禁用时保存和加载。展示中的物品不可拾取,并在火焰死亡时重生,如果它们被移动,它们也会尝试移回原始位置。创建展示不会消耗任何物品。
待办事项
- [1.2]
/itemd 代替 /itemd [on/off]
- [1.3]
/itemp # 代替 /itemd p #
- [1.2]
配置文件
- [1.3]
仅允许在指定方块上放置
- [进行中]仅允许创建指定物品
- [1.2]
是否在创建展示时减少物品堆叠数量
- [1.2]
是否将物品归还给玩家
- [1.2]
允许或禁止玩家删除其他玩家的展示
- [1.2]
允许或禁止拾取物品(除非玩家是 OP,否则创建时将减少物品堆叠数量)
- [1.3]
限制展示数量
- [1.0]权限:
- [1.2]
itemdisplay.forcedelete(你可以删除任何展示)
- [1.2]
itemdisplay.basic(你可以创建和删除自己的展示)
- [1.2]
itemdisplay.nodecrease(创建展示或放置物品时,你的物品堆数量不会减少)
- [1.3]
itemdisplay.ignoredisplaylimit(你可以创建任意数量的展示)
- [1.2]
itemdisplay.*(授予你上述所有权限)
- [?]每个方块放置多个物品(这将需要大量工作和思考,但效果会非常棒)
- [?]通过聊天或命令输入数字来选择方块的槽位
- [?]添加物品时自动整理——在一个方块内最多创建 9 个展示,但如果你想移除其中一个,则必须全部移除
- [?]在方块上方创建 9 个展示,使用你背包中的所有物品
- [1.3]
重写代码以修复错误、帮助添加新功能并提升速度
- [1.3]
List 和 Delete 命令(支持单个 ID 或范围)
- [?]支持下界和末地中的物品展示
已知问题
问题:服务器启动时,玻璃/发光红石/楼梯/台阶/熔炉上的一些物品可能最初不显示
快速解决方法:在服务器控制台中输入 "reload",问题应该就会解决
原因:有时服务器或客户端虽然物品存在,但未绘制其贴图,即物品存在但未渲染。
[已修复]问题:当一名玩家激活模式时,所有玩家都能创建展示
最新动态
20/06 - 05:06(GMT):我忙于大学学业,将尽快发布 v1.2,可能在本周末连同新视频一起推出。感谢大家的支持!
23/06 - 02:25(GMT):1.2 的大部分功能已经完成,实际工作量比我预期的要大得多。我的代码非常混乱,因为我原本只打算在自己的服务器上运行,所以可能在 1.2 之后我会重写它,以便更容易修复错误。这是我的第一个插件,因此适应 API 需要一些时间……不过无论如何,明天应该就能发布 1.2 了!再次感谢大家的支持!
24/06 - 00:01(GMT):插件已准备就绪!我正在与朋友在服务器上测试,很快就可以上线!
24/06 - 01:01(GMT):插件已准备就绪!只需等待审核通过即可下载!
26/06 - 03:25(GMT):我目前正在重写该插件以提升速度、修复错误并增加更多功能,请耐心等待 ;)
28/06 - 02:38(GMT):ItemDisplay 1.3 已发布!只需等待审核通过。我修复了大量错误,并添加了备受期待的 /itemd delete 和 /itemd list 命令,帮助你处理那些令人头疼的“无法删除”的展示 :)
29/06 - 00:21(GMT):ItemDisplay 1.3.1 已准备就绪,正在等待审核。我修复了一些允许玩家拾取物品的漏洞,现在插件确保无论发生什么情况,物品都不会被拾取!
ItemDisplay Release v1.3
This plugin supports JRE6 and JRE7
Note: I am not going to upgrade this plugin anymore. I've started a new project I've been wanting to do for a long time, it's a 2d space shooter game, me and my friend are currently working on it, I might work on this plugin again but it's not likely. Since v1.3.1 is the lastest and most stable version i'll keep the project this way. And last but not least, thank you ALL for your cooperation.
Refer yourselves to for possible updates and bug fixes.
Description
This plugin allows you to put any items in your iventory over specified blocks as a display, it also allows you to place items and blocks on the ground to be picked up later. Both displays and drops don't despawn and are fire/lava proff.
Commands
/itemd - Turns itemd mode on/off
/itemd help - Shows help message
/itemd list - Shows a list of all items in a 5 block radius(spherical) around you
/itemd delete ID/(ID1 ~ ID2) - Deletes any item displays/placings that belongs to you with ID or is in range of ID1 to ID2
/itemp - Turns off item placing mode
/itemp #sec - Places an item on the ground, makes it pickable by anyone, protects the item for #sec seconds, prevents despawn and respawn if it dies by lava, fire, etc.
Usage
Using the command "/itemd" gives you the ability to create the displays, left click the block you want the item to stay above, you can click in any face of the block, note that it will alwas stay on TOP of the block you clicked. Using "/itemd" again disbales the mode. Left Clicking and sneaking with the mode enabled you will be able to remove the display.
Using the command "/itemd help" shows a help message with the commands and a brief description.
Using the command "/itemd list" shows a list with every item display/placing around you within a spherical radius of 5 blocks. It also shows the ID's wich can be used with the delete command.
Using the command "/itemd delete ID/ID1ID2" deletes any item displays/placings with ID or is in range of ID1 to ID2 . It'll give the item back if the configuration is set to true, and you won't be able to delete some displays depending on the configuration settings. OP's can always delete any displays/placings.
Using the command "/itemp #" gives you the ability to lay an item on the ground, left click the block you want the item to stay above, you can click in any face of the block, note that it will alwas stay on TOP of the block you clicked. Using "/itemp #" again sets the time protection to #. Left Clicking and sneaking with the mode enabled you will be able to remove the item.
Using the command "/itemp" deactivated the item place mode.
Permissions
- itemdisplay.forcedelete:
- description: Gives you the permission to force displays deletion
- itemdisplay.basic:
- description: Basic permissions to create, list and command delete displays
- itemdisplay.nodecrease:
- description: Does not decrease item stack when placing an item
- itemdisplay.ignoredisplaylimit:
- description: Let's you create infinite ammounts of displays
- itemdisplay.*:
- description: Gives you all display permissions
- default: op
- children:
- itemdisplay.forcedelete: true
- itemdisplay.basic: true
- itemdisplay.nodecrease: true
- itemdisplay.ignoredisplaylimit: true
Configuration File
- version
- The version of the file, DO NOT CHANGE IT
- decrease_item_stack_on_creation
- when set to true, if player is not OP, the itemstack of the item the player is holding will be decreased by 1.
- give_item_back_on_deletion
- when set to true, the player will receive the item back upon deleting a display
- force_public_displays
- when set to true, any player can delete any display
- max_player_displays
- the maximum ammount of displays each player can create. OP's can create as many as they wish
- block_default
- when set to true, players will be able to create displays on all blocks not specified below
- allow_blocks
- - COBBLESTONE
- - STONE
- players will be able to create displays on COBBLESTONE and STONE despite the value of 'block_default'
- deny_blocks
- - BEDROCK
- - SAND
- - GRAVEL
- players will NOT be able to create displays on BEDROCK, SAND and GRAVEL despite the value of 'block_default'
Notes
The displays are saved and loaded on plugin enable and disable. The items on display are not pickable and will respawn on fire death, they will also try to move to their original location if they are moved. Creating a display will not consume any items.
To Do List
- [1.2]
/itemd instead of /itemd [on/off]
- [1.3]
/itemp # instead of /itemd p #
- [1.2]
Configuration file
- [1.3]
Allow placement only over specified blocks
- [In progress]Allow creation of only specified items
- [1.2]
Whether or not to decrease the itemstack when creating the display
- [1.2]
Whether or not to give the item back to the player
- [1.2]
Allow or deny players to delete other player's displays
- [1.2]
Allow or deny item pickup (it'll decrease itemstack on creation unless player is op)
- [1.3]
Limited displays
- [1.0]Permissions:
- [1.2]
itemdisplay.forcedelete(You can delete any display)
- [1.2]
itemdisplay.basic(You can create and delete your own displays)
- [1.2]
itemdisplay.nodecrease(Your item stack does not decrease upon creating displays or placing items)
- [1.3]
itemdisplay.ignoredisplaylimit(You can create as many displays as you want)
- [1.2]
itemdisplay.*(Gives you all the permissions above)
- [?]More than 1 item per block (that'll be a lot of work and thinking but it'll look awsome)
- [?]Chat or command the number to select the slot of the block
- [?]Auto-organize on item addition - create up to 9 displays in one block but if you want to remove 1 you'll have to remove all
- [?]Create 9 displays ontop of a block with all your inventory items
- [1.3]
Rewrite code to fix bugs, help adding new features and enhance speed
- [1.3]
List and Delete commands(single ID or range)
- [?]Support for items on nether and theend
Known Bugs
Bug: On server start some items over glass/glowstone/slabs/stairs/furnaces may not appear at first
Quick fix: Type "reload" on your server console and it should be ok
Cause: Sometimes the server or the client does not draw the sprite of the item despite it being there, that is, it is there but it's not being rendered.
[FIXED]Bug: When a player activates the mode, all players are able to create display
Latest News
20/06 - 05:06(GMT): I'm overloaded with college work, I will release v1.2 as soon as possible, maybe this weekend along with a fresh video for the plugin. Thank you all for the support!
23/06 - 02:25(GMT): Most of the features for 1.2 is already done, it took me a lot more work than what I thought it'd take. My code is really messy, I intended to use it only on my server so I'll probably rewrite it after 1.2 so I can fix the bugs more easily. This is my first plugin so it'll take a lot of getting used to API... But anyways, tomorrow 1.2 will probably be out! Again, Thanks for the support!
24/06 - 00:01(GMT): Plugin is ready! I'm just testing it with a friend on the server, should be up any time soon!
24/06 - 01:01(GMT): Plugin is ready! Just needs approval for you to download!
26/06 - 03:25(GMT): I'm currently rewriting the plugin to enhance speed, fix bugs and add more functionalities, thanks for your patience ;)
28/06 - 02:38(GMT): ItemDisplay 1.3 is out! It just needs approval, I fixed a bunch of errors and added the so much awaited /itemd delete and /itemd list commands to help you with those annoying "undeletable" displays :)
29/06 - 00:21(GMT): ItemDisplay 1.3.1 is ready, waiting approval. I fixed some bugs that allowed items to be picked up, now the plugin ensures no item will be picked no matter what!
评论 0
登录后参与评分
还没有评论,来抢沙发吧