欢迎来到 ScriptBlock v0.8.0 项目页面!
ScriptBlock 是一款受 Fluff 的优秀插件 Annotate 和 CommandSign 启发的 CraftBukkit 插件。
它允许你将文本、命令或大量命令绑定到任何方块(拉杆、按钮、门、告示牌等),并通过点击或踩踏来触发!
以下是由 Kunoichi Kitteh 制作的教程视频!感谢她!
LiekMudkipzz 也制作了一个很棒的 ScriptBlock 视频!虽然有些过时,部分命令已更改!但也感谢他!
这是链接!
关于 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 !
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.
Link to the permission page.
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 Nodes
A command that let you know what commands you've bound to a block.
- WorldGuard / Residence support. (low priority)
- Custom messages
- Chat color
评论 0
登录后参与评分
还没有评论,来抢沙发吧