ScriptBlock
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
Works perfectly on 1.12.2.
ScriptBlockPlus?
Japanese Forum
I don't know whether I am a server problem. It cannot run at 1.9, use it will report an error
work fine on 1.10 too
Skript > this plugin
it work on 1.8.8 :)
So, how long do you think before its running on CB 1.7.10? btw, love the idea for this plugin, just cant use it properly because its not up to date :/
Any way to use redstone on it, like a command block, make an automated way to run the command with redstone?
@Shereis Scriptblock now works on my server, but it crashes when I use commands like $item and /sbinteract list does nothing... Is this because of PermissionsEx? Please fix it, I've spent hours on perms and don't want to redo them...
Excellent plugin ! It's very useful ! But it seems that something is wrong with @delay command ... For example , sometimes I can only activate a script which contains [@delay:10] one time . It can no longer be activated again unless I restart the server . It always says "you must wait to activate this again..." , although I have already waited for 10 minutes . What should I do to fix it ?
Love this plugin! Waiting for per player cooldown. :D
@yanniclord
No, it can't be removed because the message you've got is not a scriptblock message, but a message from the command itself.
@motionape
Maybe it can be fixed, ask later again, I have lot of problems in my life actually. thanks !
@Maxwellpunt
I won't add any new features for now because of my answer above.
Is there a way making it not output anything to the chat or console when a command is run? Like when i add /sbwalk create @bypass /remove all 99999 , it gives out a pink text that said how many entities got removed, can i disable that?
Hey, awesome plugin! It's really useful for my server.
But one thing, I have been trying to figure out to fix a problem:
When I use [$item: .... ] script, it works to read the availability of the specific item. Let's say it's 1 GOLD_INGOT. But when I click the scripted block with my bare-hand or other item, the gold is used but the number displayed on the screen is not decreased (which is actually decreased, but its just doesn't show. So if it was 15, now it displays 15 but it is actually already 14). I have tried remaking and reloading it, but it didn't fix anything.
Is there something I can do to fix this?
Thanks in advance!
Hello @Shereis, I've tried putting scriptblock into my 1.7 server's plugin folder but the plugin does not show up. Please fix this and update to 1.7. Thanks!
and can you make the cooldown message configurable
can you also make it that the player must be jump on the block to launch a command.
Please Update to 1.7.2
Function additional demand
To one block
I want you to add a function to bury plural commands, and to execute those commands at random.
@Shereis I'm sorry!
I updated my permission plug-in and vault plugin , we work! Sorry that you have it in misunderstanding fuss of me.
Thank you for your help is, We are looking forward to hearing from you.