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
BTW, I would like to add that your work on this very unique plugin is very much appreciated. Through your plugin i have been able to bypass the need to download random plugins that may or may not do exactly what i want. This plugin provides so many uses!
I on behalf of my server's 20 some odd players, We thank you for your hard work!
Could you please add a script option @console "command"? This would be useful because it doesn't promote the player so its unhackable, and it would let me use some commands on my server which are set up to be console-only. I also agree with TrinaryAtom's suggestion. Thanks for this amazing plugin!
I've got a feature request for yu. You know the
in the options, i would like to be able to use that in reverse. For example, look for a permison node and make sure it isnt there before procceeding. (It would be useful for buying Permissions :) )
@Shereis
Ok ya cool that works! in that case ya @ command is useless.
@Jaminb2030
that's what I said... for now, the @say works like if you typed something in the chat. so if you add the /l before it will probably works. And this make me think that the @command is useless... :/
@Shereis
Well i want it to be a post in local chat so i need the /l before the statement.
@Jaminb2030
if it's a talk command, @say should works I think, You should try it !
@iSullzZ
How did you get it to work? Im having the same problem, using towny chat and trying to use
/sbwalk create @command /l Message
the /l is a talk in local command.
It keeps saying unknown command.
Using 0.8.6 and ya i tried letting it recreate the config's no luck.
@iSullzZ
Np ! ;)
@Shereis
It works fine now. Thanks a lot for your help. Great plugin!
@iSullzZ
You should open a ticket, or the main forum will be spammed by questions !
Also try this: Make a back-up of you scripts ( if you had some ) and Try deleting your ScriptBlock folder.
@Shereis
yeah it's v0.8.6 and there aren't any that I know of.
@iSullzZ
Do you use the v0.8.6 ? Do you have a plugin that disable block interaction events ?
@Shereis
Nope
@iSullzZ
Does it works for "/sbinteract create @command /money" ?
@PhiberOptikx
if you use "@permADD:" does the player can use the command related to the permission node you've added ? if not : does it works when you use "@permADD", disconnect your player and reconnect it and then use the command? if not : does it works if you do the same thing, but instead of disconnecting/reconnecting, you reload you permission plugin ?
I don't know if this is just me being stupid, but I type in /sbwalk create @command /money Then it says 'Click on a block to bind a text to it' When I click on blocks, nothing happens. I'm probably just making some stupid mistake but I've looked around and I can't find what I'm doing wrong.
@PhiberOptikx
The @bypass grant the player to OP just for the command. Removing permissions requirement is not possible. So if the command of your plugin do not support OP, that won't work.
What do you mean by :" If I had a 3rd party plugin that was listening for a command ran via @bypass - what should I be looking for to catch it? " ??
About the "@bypassPERM:" I have checked my code, And I don't see any errors. I will try it tomorrow...
if I remember , you have GroupManager, I'm not sure actually but, maybe the problem is coming from here, you are not the first with GM to have this issue. Maybe GM need to be refreshed after a permission is added. or maybe the problem is coming from Vault...
Anyway I will try it again tomorrow with PEX ( because it's the one I used to use) and if I have the time with GM too.
I have MSN, but I don't have the time to speak on it. you should contact me by bukkitDev's PM system, I should see your response quite fast if I'm on my computer.
@PhiberOptikx
/sbinteract create @bypassPERM:bukkit.broadcast /broadcast Testing!
"You do not have permission to run that command."
@PhiberOptikx
How does @Bypass work, does it run a command as if the player WAS op, or does it simply remove the requirement for the permission node.
If I had a 3rd party plugin that was listening for a command ran via @bypass - what should I be looking for to catch it?
@Shereis
I have tried every single way possible. Is there any place off this forums i can contact you?
Skype Vent Teamspeak IRC AIM XFIRE MSN Yahoo
I have them all.