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
-
View User Profile
-
Send Message
Posted Feb 12, 2012...and again! I've found @bypass to be glitchy at times, some people will aactually end up stuck as OP but with no building permissions (I tihnk they loose their permissions group as OP somehow). @bypass:permission.whatever doesn't work with permissionsBukkit or Group Manager and @bypass:group is glitchy like the OP is. A way to run commands from the console would be really useful that ignores the player all together except for <player> so something like: @console /give <player> 264
This plugin is awesome though, my server is fully dependent on it just about now lmao!
-
View User Profile
-
Send Message
Posted Feb 12, 2012Me again lol, another feature request! Could you have ScriptBlock check if a player is holding a specific item in their hand before continuing. Kind like how @group works, like: @item:264 @bypass /bradcast <player> has a diamond in their hand! This will be handy for Heroes /bind command.
Also I'm having problems using this with commands made with CommandHelper, it jsut says command not recognized, yet the commands work otherwise. Scriptblock + Commandhelper can do so much.
-
View User Profile
-
Send Message
Posted Feb 11, 2012I hate to be a bother, but please hurry on the update! This plugin has AMAZING versatility and I basically based half of my server on it. The update should fix any and all issues I'm having! Best of luck and Gods speed my friend!
-
View User Profile
-
Send Message
Posted Feb 9, 2012@ChupaDrahkir
I will try to add these request too. For now you can remove heroes cost and use two Scriptblock, one for the free change class, and one for the one that will be payable .
example for the free one : /sbcreate [@group:freeGroup] [/heroCommand] [@bypass /permissionPlugin Command Remove <Player> freeGroup]
-
View User Profile
-
Send Message
Posted Feb 9, 2012Could you support negative $cost to give the player money or maybe $pay:"amount" instead. Also $check:"amount" to check if the player has at least that much money, if they don't the script stops, as I use some plugins that charge the player themselves such as Heroes charges to change class but the first time is free so I use Heroes to charge the player rather than ScriptBlock, but if the player can't afford they money asked for by Heroes the rest of the script still goes on anyway (as it should) so it'll /broadcast Player has become a Mage or whatever even though they haven't because they didn't have enough to pay for it.
-
View User Profile
-
Send Message
Posted Feb 6, 2012Can't wait either this plugin is so awesome.
-
View User Profile
-
Send Message
Posted Feb 2, 2012Aha, looking forward to trying the new version.
-
View User Profile
-
Send Message
Posted Feb 2, 2012@Bowarrow51
I have just started the full re-coding of the plugin. I'll see if I can add some request.
-
View User Profile
-
Send Message
Posted Feb 1, 2012An ignore next # of lines if player is in [gamemode (0/1)] or player has [permission.node] would be pretty awesome for this. But really I'm just looking forward to per player nodes this is awesome.
-
View User Profile
-
Send Message
Posted Jan 30, 2012@ironmaniac72
The original Minecraft Server use \247+colorCode in front of the text to tell the client to show a color to the player ! (without the "&" char )
exemple for red : \247c
I haven't tried it yet with scriptblock but... you should try it, I think it should work without a hacked client !
exemple with script block :" /sbcreate @player \247c You are now Dead ! muehehehe ! "
-
View User Profile
-
Send Message
Posted Jan 30, 2012@Shereis
To be specific then, I use nodus client {not the official minecraft client} which allows use of color prefixes in chat using the ` key.
I don't know the reason for it however i can make color messages using this method. I cannot use the same method to create colored text using the default minecraft client, once created the color works using the regular client.
-
View User Profile
-
Send Message
Posted Jan 30, 2012@ironmaniac72
"using a Hacked client" ??? what do you mean by "Hacked client" ???
-
View User Profile
-
Send Message
Posted Jan 29, 2012I found it possible to create colored messages, by adding the prefixes using a hacked client.
My chat plugin is essentials chat.
The command was written like this:
/sbcreate [@player `prefix"Test"]
-
View User Profile
-
Send Message
Posted Jan 24, 2012Well... I really want to create a script to give permissions to players by taking money.
So far, it looks like this :
The problem is that my players lose money (good), but do not have the permission given (bad). They have a "you don't have the required permissions" error. What am I doing wrong ?
EDIT : Ok, works fine. Just have to remove the brackets. The correct code is (maybe usefull for other users) :
-
View User Profile
-
Send Message
Posted Jan 23, 2012@ihasamoose
write it like this :
/sbcreate [@bypass /give <player> diamond 32] [@bypass /i diamondsword] [@bypass /enchant fireaspect2] [@bypass /enchant sharpness 5] [@bypass /spawn]
-
View User Profile
-
Send Message
Posted Jan 22, 2012Doesn't seem to be bypassing permissions with @bypass. Not with essentials anyways.
/sbcreate @bypass [/give <player> diamond 32] [/i diamondsword] [/enchant fireaspect2] [/enchant sharpness 5] [/spawn]
Only /spawn works because that's what they have permissions to.
Permissions 1.2k.
-
View User Profile
-
Send Message
Posted Jan 22, 2012Thank you i didn't see how to this in any of your other examples. This is really an amazing plugin.
-
View User Profile
-
Send Message
Posted Jan 22, 2012@ironmaniac72
you can use the @amount:numberOfTime options to do this !
exemple : /sbcreatewalk [@bypass /rocket <player>] [@amount:2]
-
View User Profile
-
Send Message
Posted Jan 22, 2012Is it possible add an option so that a trigger can only be used a limited number of times, before it is removed. I would like to use this for a rewards system.
-
View User Profile
-
Send Message
Posted Jan 21, 2012@Shooty_
Sad to see you still have Server crash problems... but somehow, I'm comforted to know that ScriptBlock is not the cause ...