Overview: This plugin can associate the script set in the block by ScriptBlockPlus with any entity. It can be set on various entities and can also be executed if the entity dies or is destroyed. In addition, the script must be set in the block in advance in order to associate the script with the entity.
Installation: 1. Download ScriptEntityPlus from this site.(Latest version recommended). 2. Please download ScriptBlockPlus which is a prerequisite plugin. 3. Save the downloaded plugin in the plugins folder.
Configration: Settings such as update settings and language settings depend on
ScriptBlockPlus, so no settings are required.
Code (YAML):
# ScriptEntityPlus Config #
## ===== For Developers ===== ## # Basically, non-developers should not change the settings. # Please specify the exact ClassPath of the Option. # This function rewrites the coordinates to be retrieved to the coordinates of the entity. FilterOptions: - 'com.github.yuttyann.scriptblockplus.script.option.chat.Command'
- 'com.github.yuttyann.scriptblockplus.script.option.chat.Console'
- 'com.github.yuttyann.scriptblockplus.script.option.chat.BypassOP'
- 'com.github.yuttyann.scriptblockplus.script.option.vault.BypassPerm'
- 'com.github.yuttyann.scriptblockplus.script.option.vault.BypassGroup'
- 'com.github.yuttyann.scriptblockplus.script.option.other.PlaySound'
Permission: Using the tool "Script Connection": "
scriptentityplus.tool.scriptconnection"
How to use the tool: Basically follow the tool
description.
Enter the
Command"
/sbp tool" from the player to get the
Tool"
Script Connection".
The target specification method is
Left-click when targeting a block, and
Right-click when targeting an entity.
――――――――――――――――――――――――――――――――――――
Tool Mode: You can switch the mode by
Left-clicking while holding the tool in the main hand.
NORMAL MODE You can set the script to be executed when the entity is clicked.
DEATH MODE You can set a script to be executed when the entity die or breaking.
――――――――――――――――――――――――――――――――――――
Chat Event: You can view or set the information by clicking or hovering over the text displayed by the tool.
Script selection.[MAINHAND+SHIFT+LEFT_CLICK] By clicking on the green text, you can select the script you want to set for the entity.
Display of the script set in the entity.[OFFHAND+RIGHT_CLICK] Clicking on the green text will set the command to execute the script.
Entity settings.[OFFHAND+SHIFT+RIGHT_CLICK] You can change the settings by clicking the text surrounded by orange "
[...
]".
You can also move the cursor over the light blue text to see a description of the setting.
――――――――――――――――――――――――――――――――――――
Setting File: Please note that if the UUID is changed for any reason, it will not be deleted properly. Path: The file format is JSON.
"
.../plugins/ScriptBlockPlus/json/entityscript/<uuid>.json"
Remove: The configuration file is deleted when the tool deletes it or when an entity other than the player dies.
Also, deleting the entity script does not affect the original script.
――――――――――――――――――――――――――――――――――――
Support: Please send requests and bugs to
Issues, not comments.
I'm not good at English, so I apologize for the unnatural writing.