欢迎来到 ScriptBlock v0.8.0 项目页面!
ScriptBlock 是一款受 Fluff 的优秀插件 Annotate 和 CommandSign 启发的 CraftBukkit 插件。
它允许你将文本、命令或大量命令绑定到任何方块(拉杆、按钮、门、告示牌等),并通过点击或踩踏来触发!
以下是由 Kunoichi Kitteh 制作的教程视频!感谢她!
LiekMudkipzz 也制作了一个很棒的 ScriptBlock 视频!虽然有些过时,部分命令已更改!但也感谢他!
这是链接!
关于捐赠者
那些帮助我保持动力以持续更新此项目的人!
我非常感谢他们!
S4h4rk
StefanPelskamp
Slipswhitley
关于 0.8.0...
代码和命令进行了大量修改,以便其他开发者能够轻松添加选项,并使 ScriptBlock 选项可用于除行走和交互触发之外的其他 Minecraft 事件!(如需源代码和帮助以自行开发,请提出请求!)
此外,还新增了一个大型且完全可自定义的权限系统。 有关更多信息,请参阅变更日志!
功能特性
- 将任意文本、命令或命令集添加到方块(拉杆、按钮、门、告示牌等)上,并带有多种选项!
- 读取绑定在方块上的任意文本,并通过右键或左键执行任意命令或命令脚本。
- ScriptBlock 使用 Vault API!即使你不想使用经济系统和权限功能,也需要下载它!
下载 Vault - 支持所有由 Vault 支持的权限插件;如果你不喜欢权限插件,它也可以仅基于 OP 权限运行!
- 支持大多数经济插件(如果 Vault 支持,ScriptBlock 也支持!)。
- 支持多世界。
- 借助 @bypass 前缀的帮助,玩家可以使用绑定的命令,即使他们通常没有使用该命令的权限。
- 你可以使用简单的文本编辑器(如 notepad
++)来编辑脚本。 - 查看更改日志以获取更多信息!
命令
触发器:
- /sbinteract
用于“在方块交互时触发”的脚本! - /sbwalk
用于“在方块行走时触发”的脚本!
选择好所需的触发器类型后,你需要选择要发送给 ScriptBlock 的命令类型!
类型:
- create
使用此命令创建脚本,并遵循显示的提示信息! - add
使用此命令将命令或脚本添加到已创建的脚本中,或添加到已绑定的脚本中。 - remove
使用此命令从方块上移除脚本。 - view
使用此命令查看你绑定到方块的脚本! - reload
此命令允许你重新加载保存文件,以刷新绑定在方块上的脚本!
当服务器仍在运行时,若正在编辑 BlocksData.yml 保存文件中的脚本,此命令非常有用!
示例:"/sbinteract create" , "/sbwalk create", "/sbinteract remove", "/sbwalk remove" 等...
选项
有很多很棒的选项可用于你的脚本!你必须至少为脚本使用一个选项才能使其生效!
选项列表
权限
ScriptBlock 权限系统具有多种自定义可能性。 如果你是管理员并希望拥有全部权限,可以使用简单的权限节点,而无需花费时间为玩家设置所有权限。或者你也可以花时间完全自定义玩家使用 ScriptBlock 的方式。
即将推出的功能
- 按玩家设置的冷却时间。
经济插件支持- 复制/粘贴脚本。(低优先级)
添加配置文件以编辑已绑定的脚本。更多权限节点一条让你知道已绑定到方块的命令的命令。- WorldGuard / Residence 支持。(低优先级)
- 自定义消息
- 聊天颜色
Welcome on the ScriptBlock v0.8.0 project page !
ScriptBlock is a CraftBukkit plugin inspired by the great Fluff's plugin Annotate and CommandSign !
It allow you to bind text, commands, or MANY commands to any block (levers, buttons, doors, Signs, etc...), triggered by clicking or walking on it !
Here is a Tutorial video made by Kunoichi Kitteh ! Thanks to here !
LiekMudkipzz also made a cool video of ScriptBlock ! It's a bit outdated, some commands have changed ! but Thanks to him too !
Here is the link !
Regarding Donators
Those who help me maintain motivation for Keeping this project updated !
I really Thanks them !
S4h4rk
StefanPelskamp
Slipswhitley
About 0.8.0...
Lot of change in the codes, in the commands, to make possible and easily, for other devs, the add of Options, and the use of ScriptBlock Options for other Minecraft Event than walk , and interact trigger ! ( ask for sources, and for help if you want to do one ! )
Also a New BIG and FULLY customizable permission system. See changes log for more informations !
Features
- Adding any text, command, or set of commands to a block (levers, buttons, doors, signs, etc...) with Various Options !
- Read any Text and execute any commands or command Script. that has been bound to a block with right or left-click !
- ScriptBlock use the Vault API ! You need to download it even if you don't want to use the Economy and Permissions features !
Download Vault - Support all permissions plugins supported by Vault or if you don't like permissions, it can be Op based only !
- Most of Economy plugins support (if Vault support it, ScriptBlock support it too ! ).
- MultiWorld Support.
- Player can use a bound command, even if he usually doesn't have the permission to use it, with the help of the @bypass prefix.
- You can edit scripts with a simple Text editor like notepad
++. - Look at Changes Logs for more Infos !
Commands
Trigger:
- /sbinteract
is used for "on block interaction triggered" scripts ! - /sbwalk
is used for "on block walk triggered" scripts !
After you've choosen the kind of trigger you want , you need to choose the type of commands you want to send to ScriptBlock !
Types:
- create
Use this command to create a script and follow displayed informations ! - add
Use this command to add a command, or a script to an already created one, or to an already bound one. - remove
Use this command to remove a script from a block. - view
Use this command to view the script you've bound to a block ! - reload
This command let you reload the save file, to refresh the scripts bound on blocks !
Usefull when editing script in the BlocksData.yml save file while server is still running !
exemples:"/sbinteract create" , "/sbwalk create", "/sbinteract remove", "/sbwalk remove", etc...
Options
There is a lot of cool options you can use for your scripts ! You MUST at least use one option with your script to make it work !
Options List
Permissions
ScriptBlock Permissions system have a lot of possible customisation. You can use simple permissions nodes if you are admin and want full power, without taking the time to set up all the permissions for your players. Or you can take the time, and fully customize the way you want your players to use ScriptBlock.
Upcoming Features
- Per Player Cooldown.
Economy plugins support- Copy/paste Scripts. (low priority)
Add a Config file to edit Script that has been bound.More Permission NodesA command that let you know what commands you've bound to a block.- WorldGuard / Residence support. (low priority)
- Custom messages
- Chat color
下载 ScriptBlock
下载 ScriptBlock
下载 ScriptBlock
下载 ScriptBlock
下载 ScriptBlock
下载 ScriptBlock
下载 ScriptBlock
下载 ScriptBlock
下载 ScriptBlock
下载 ScriptBlock
如果您希望我继续开发 ScriptBlock,请发送关于它的反馈。
0.8.72
- 修复了 "@bypassPERM" 选项
- 修复了意外的共享冷却时间问题。
0.8.7
- 兼容 CB 1.3.1-R2.0
- 修复了 @BypassGROUP
- 新增一个选项:
@CONSOLE /YourCommand
通过控制台发送命令。 权限标签:console
- 移除了控制台消息刷屏(您也可以在配置文件中的 "Trigger" 处重新启用它)
0.8.6
- 修复了 "@bypassPERM"。
0.8.5
- 修复了延迟错误
0.8.4
- 添加了配置文件以设置未来的功能...
- 添加了 "script trigger" 控制台消息
- 添加了可配置的 "option use" 控制台消息(用于检查您的用户是否使用了正确的选项)(您可以在 config.yml 中启用要检查的选项消息)
- 修复了 @amount 选项。
0.8.3
- 修复了延迟问题
- 修复了 @command
0.8.2
"此版本不稳定!在您想尽快帮助查找错误之前,请勿下载!"
- 修复了文件夹问题。
- 修复了缺失的 plugin.yml
0.8.0
"不稳定版本"
在使用此更新之前,请备份您的世界和脚本配置!这需要一些 beta 测试!
- 所有命令现在都已更改!请参阅“Commands”页面获取更多信息!
- 如果您有没有任何选项的脚本!您需要修复它们!如果是命令,请使用 "@command /command";如果只是文本,请使用 "@say "!("@player" 不需要更改!)
- 现在,当玩家绑定脚本时,它会将脚本保存为包含脚本创建者姓名及其组的标签!
- CoolDowns 和 Delays 现在适用于步行触发的脚本!
- 完全可自定义的 Permissions!现在您可以让您的管理员或玩家...绑定脚本,而无需看到他们擦除您的脚本或绕过您不想要的权限!
- 新的伪变量选项:<itemName> 和 <itemID>;!如果在脚本中使用它,它将被脚本用户持有的物品替换!
- 某种 API... 现在,如果开发人员想要制作一个选项,而不修改 ScriptBlock,他也可以!如果需要帮助,请询问我!(请注意,ScriptBlock 尚未完全完成,某些内容可能会发生变化,所以当我更新它时,您可能需要修改一些小东西!)
0.7.2
- 添加了物品费用选项,如果玩家没有所需的物品,脚本将取消!感谢 yuhhaur 的帮助!
Synthaxe: "$item:id amount"。您还可以添加元数据信息,"$item:id:metadata amount"
示例:
使用此示例,我们将增加十块黑羊毛的费用!
"/sbcreate $item:35:15 10"
0.7.1
- 兼容 CraftBukkit 1.2.2-R0.1!
- "偷回"并添加了来自旧版 CraftBukkit 发布的旧配置代码,以保留一些我无法在新系统中保留的功能。
0.7.0
注意:插件的完整重新编码可能涉及我尚未发现的新错误!所以...
请备份您的脚本配置和世界!!!
此外,在用自己的脚本配置之前,请进行全面测试!
- 完全重新编码!
- 移除了多线程及相关问题(TP 问题,以及我认为的一些 @bypass 问题)
- 提高了 @bypass 选项的安全性。现在,即使在使用 @bypass 脚本时抛出异常,玩家理论上应从被绕过的组或 OP 中移除(我无法测试这一点,所以请就此发送反馈给我!)
- 在一些选项语法中进行了更改(参见命令列表)。您可以使用
notepad++一键修改过时的选项。
新功能!
- 新的权限节点:每个命令都有自己独立的权限(目前这不太有用……但我想在我添加非管理员玩家的权限时会变得有用。)
- 添加了新选项!
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧