Skip to content

a block to run player-defined JavaScript (voxel.js plugin)

License

Notifications You must be signed in to change notification settings

voxel/voxel-scriptblock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

voxel-scriptblock

A block to run player-defined JavaScript code (voxel.js plugin)

screenshot

Load with voxel-plugins

To use in-game, acquire the scriptblock item (it'll be under "blocks" with voxel-inventory-creative, or you can type .item scriptblock if voxel-commands is installed) and place it in the world.

Right-click on the top of the block to change the script. By default, it will popup an alert as shown in the screenshot, but you can run any JavaScript code you want, including interacting the game world.

Right-click anywhere else on the block to run the script.

License

MIT

About

a block to run player-defined JavaScript (voxel.js plugin)

Resources

License

Stars

Watchers

Forks

Packages

No packages published