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 Apr 10, 2012@Shereis
Yea, I did saw that. And I took the chance to fix some bug:
BTW, I am using [$item:<itemid>[:<damage>] amount] to identify the damage value. The <damage> is optional.
What do you think?
ItemCost.java init method:
-
View User Profile
-
Send Message
Posted Apr 10, 2012@yuhhaur
I have already added the item cost option ! =D I've finally used my own method !
Take a look at the ItemCost.java !
@HeIIsing
About the "else if" option I have my idea on it ! but I will first work on area script ! So you can try to add it, or just wait a bit for me to finish what i'm working on !
I estimate the next release of ScriptBlock to next week with most of request added ! I want it to be finished ! it's been inDev for too long !
-
View User Profile
-
Send Message
Posted Apr 10, 2012@yuhhaur
I just wanted to be able to turn off the message when using the [@group] thing.
A "if else" type option would solve my problem better, best would be switch case, but for now I've just removed the message bening sent when using @group.
If the author if okay with that, I will try to add this feature and share the code with him.
-
View User Profile
-
Send Message
Posted Apr 10, 2012@Shereis
Thanks!
@HeIIsing
What kinds of feature you want to enhance? I will take a look at the item for the time being, maybe we can share with Shereis our findings?
"/sbcreate [@group:VIP] [$cost:i:itemid] [@bypass /i diamond] [@cooldown:5] "
-
View User Profile
-
Send Message
Posted Apr 9, 2012@Shereis
Awesome, thanks.
I've been looking for that code for a while now :D Cuz I wanna add the feature to change the messages for my server. ;)
If you are interested in the results, tell me :P
-
View User Profile
-
Send Message
Posted Apr 9, 2012@HeIIsing
Here ! ; )
-
View User Profile
-
Send Message
Posted Apr 9, 2012Hey,
You said something about "This Plugin and its source code is free to use and read" in your licence?
Where can I find the source?
Thanks in advance.
-
View User Profile
-
Send Message
Posted Apr 9, 2012@yuhhaur
Well... thanks for this code suggestion ! but I have my own idea on how to code it ! Though, I will see witch one of the two way I like the most as yours is one I never thought about and I think it is a quite interesting manner to do it !! ; )
About the source code, I can send it to you if you will ! I will send you the link to download it as soon as I get it uploaded !
@UltrafaceGuy
The 0.7.1 version shouldn't be incompatible with 1.2.4+ .
-
View User Profile
-
Send Message
Posted Apr 8, 2012Love the plugin, but I needs me some 1.2.4+ support >:D
-
View User Profile
-
Send Message
Posted Apr 7, 2012@Shereis
I would like to help. I suggest the items to be separate from money. instead of [$cost:i:itemid] I want to propose [$item: qty itemid (optional)damage]
The java code for item checking in native bukkit-way:
I don't have a chance to peek into your code so I do not know how you write your $cost, but I think the concept is basically same. Instead of deduct money we deduct items.
See if this helps.
OFFTOPIC: I can and willing to help more if you let me access to your source code. I promise not to distribute around.
-
View User Profile
-
Send Message
Posted Apr 4, 2012@PhiberOptikx
Well if you're a nice girl I'm okay for the back rub ! if you have a "Multiply your freeTime by 10" CD ... I also, can be interessed by it !
Anyway... I will add the most features I can for the minecraft 1.3 ! ( if I don't have to do fully recode the plugin again... ) maybe I will think about this one if it does not take to much time to add ... ! but don't take this as an engagement...
-
View User Profile
-
Send Message
Posted Apr 3, 2012@Shereis
What if I gave you a back rub and whispered encouraging words into your ears like. "No one is better than you." "You're the true champ." "Buy my motivational CD for only $19.99"
Ya know, the usual.
-
View User Profile
-
Send Message
Posted Apr 3, 2012@PhiberOptikx
I would like to do it... but... I don't even have the time to add older requests for now ... sorry about that...
-
View User Profile
-
Send Message
Posted Apr 3, 2012Any chance you can setup "/sbcreate $cost:"TheCost" " to accept items as a cost? For example:
/sbcreate [@group:VIP] [$cost:i:itemid] [@bypass /i diamond] [@cooldown:5]
My server uses items as a currency and we'd like to make a full transition into this plugin to cover that primarily for the cooldown/delay functionality. We sell specific items (enchants) to players for tokens though.
-
View User Profile
-
Send Message
Posted Apr 3, 2012@spyguy587
I've tried it and it works well with PermissionEX... and Vault latest release ! So, maybe, your problem is due to Vault or/and your permission plugin.
What is your permission plugin+version and Vault version ?
-
View User Profile
-
Send Message
Posted Apr 2, 2012Hey.... I know there is a lot of pressure here but is there an ETA (estimated time of arrival) for the CB 1.2.4 build? because I would really like this for my server but either the permissions nodes or the @bypass isnt working correctly with the current RB. Thanks
-
View User Profile
-
Send Message
Posted Mar 31, 2012@Shereis
Thank you
-
View User Profile
-
Send Message
Posted Mar 31, 2012@cdricdw
Didn't seem to work properly for me. Received an error when I reloaded. Apparently "ยง" isn't a valid character..
-
View User Profile
-
Send Message
Posted Mar 24, 2012@simple_evil
Yes, you can use @group:groupName at the beginning of your script to define the group the scriptblock is belong to.
-
View User Profile
-
Send Message
Posted Mar 24, 2012@Elgitar
There is a solution to add colors. Look at this comment: http://dev.bukkit.org/server-mods/scriptblock/polls/what-do-you-want-next/#c3
Once you have edited the config file, do /sbreload to refresh the scripts.