[CC] BlockScripts

Place commands or scripts onto blocks which run on click or redstone signal.
<p>Image of the BlockScripts addon.</p>

Image of the BlockScripts addon.

<div style="text-align:left"><p>\foreach entity : {\list*entities at:world;10,220,10 r:5} {<br>entity.hurt 1.5<br>entity.teleport world;10,1,10<br>}<br>&lt;blank&gt;&amp;6This was a little test <span class="emote emote-smile" title="Smile">:)</span></p>...

\foreach entity : {\list*entities at:world;10,220,10 r:5} {
entity.hurt 1.5
entity.teleport world;10,1,10
}
<blank>&6This was a little test :)

...

<div style="text-align:left"><p>\bc &amp;aHello World!<br><br>This was the first fully working script made in this addon. The code started, followed the cable and reached the code item, then executed its content. It was after a lot of working and repair...

\bc &aHello World!

This was the first fully working script made in this addon. The code started, followed the cable and reached the code item, then executed its content. It was after a lot of working and repair...

Description


BlockScripts


Clever Command

how to install

:: //www.iconfinder.com/data/icons/142-mini-country-flags-16x16px/32/flag-usa2x.png" rel="noopener nofollow" target="_blank">https://www.iconfinder.com/data/icons/142-mini-country-flags-16x16px/32/flag-usa2x.png" width="32" height="22" /> :: ::

Permissions are not yet written.

Blocklines

BlockScripts provides you the abbility to place commands on blocks. A block can have as many lines as you want. The lines are under each other, they are counted from 1. You can use this index in commands as links to the line. The executions goes from up to down, and executes all commands. If error occurs it will be printed ingame and the process will stop. In the commands you can use the <player> tag, which will be replaced on each execution, use cc script commands and you can use any feature of the cc plugin.

Snippets

Snippets are list of lines. A snippet item is named "&rSnippet" and its lore contains the lines themselves. Later, you will be able to use these items on the environment, such as clicking on a block and addings the lines to it. The main purpose of the snipets is that they are simple mc items without any specific stuff like NBT or Metadata modifications, so they can be stored anywhere, and every plugin works with it as a simple item. Because it is. The other and more active purpose is that snippet items can be placed into Scripting Workbenches.

Scipts

After built a script in a Scripting Workbench you can export your creation into script form. Scripts are more complex version of snipets, the lines cannot be seen, because there can be hundreds of lines, and it would be hard to show visually the mechanich in a simple item lore. Scripts can be runned and can be used to register them as parametered commands. In this way, you will be able to register your own commands ingame. To do this you will need the CommandBank addon, which is not written yet.

 



The [CC] BlockScripts Team

profile avatar
  • 1
    Followers
  • 9
    Projects
  • 22.0K
    Downloads
Donate

More from Scriber36View all

  • Farmer project image

    Farmer

    • 8.6K
    • Bukkit Plugins

    Better use of hoes; plant and harvest faster. Further farming features coming later on. Let farming be fun!

    • 8.6K
    • June 6, 2023
    • Bukkit Plugins
    • +2
  • Remote Command Scheduler project image

    Remote Command Scheduler

    • 1.2K
    • Bukkit Plugins

    Best command scheduling plugin. Yet from files only.

    • 1.2K
    • December 12, 2016
    • Bukkit Plugins
  • Server ToolBox project image

    Server ToolBox

    • 1.6K
    • Bukkit Plugins

    Handles plugins, players, server-events, schedule, prevent problems and help the general workaround.

    • 1.6K
    • January 23, 2016
    • Bukkit Plugins
    • +1
  • Zure Zones project image

    Zure Zones

    • 1.0K
    • Bukkit Plugins

    Easy to use, but goes far in complexity for more difficult things to do.

    • 1.0K
    • April 18, 2016
    • Bukkit Plugins
  • Farmer project image

    Farmer

    • 8.6K
    • Bukkit Plugins

    Better use of hoes; plant and harvest faster. Further farming features coming later on. Let farming be fun!

    • 8.6K
    • June 6, 2023
    • Bukkit Plugins
    • +2
  • Remote Command Scheduler project image

    Remote Command Scheduler

    • 1.2K
    • Bukkit Plugins

    Best command scheduling plugin. Yet from files only.

    • 1.2K
    • December 12, 2016
    • Bukkit Plugins
  • Server ToolBox project image

    Server ToolBox

    • 1.6K
    • Bukkit Plugins

    Handles plugins, players, server-events, schedule, prevent problems and help the general workaround.

    • 1.6K
    • January 23, 2016
    • Bukkit Plugins
    • +1
  • Zure Zones project image

    Zure Zones

    • 1.0K
    • Bukkit Plugins

    Easy to use, but goes far in complexity for more difficult things to do.

    • 1.0K
    • April 18, 2016
    • Bukkit Plugins