Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| VarScript 1.1.2 release | 165.06 KB | Jul 22, 2015 | 1.8.1 | 467 | Download |
| VarScript 1.0.0 release | 144.81 KB | Mar 1, 2015 | 1.8 | 207 | Download |
| VarScript 0.6.3 release | 57.07 KB | Mar 25, 2014 | 1.7.2 | 453 | Download |
| VarScript 0.6.2 release | 51.44 KB | Mar 18, 2014 | 1.7.2 | 188 | Download |
| VarScript 0.5.7 release | 1.20 MB | Nov 6, 2013 | 1.6.4 | 320 | Download |
| VarScript 0.5.6 release | 1.19 MB | Sep 7, 2013 | 1.6.2 | 258 | Download |
| VarScript 0.6.1 beta beta | 45.76 KB | Mar 2, 2014 | 1.7.2 | 172 | Download |
| VarScript 0.5.5 beta | 1.16 MB | Aug 24, 2013 | 1.6.2 | 170 | Download |
| VarScript 0.5.4 beta | 1.13 MB | Aug 19, 2013 | 1.6.2 | 170 | Download |
| VarScript 0.5.3 beta | 1.12 MB | Aug 13, 2013 | 1.6.2 | 178 | Download |
| Varscript 0.5.2 beta | 585.64 KB | Jul 22, 2013 | 1.6.2 | 218 | Download |
| VarScript 0.5.1 beta | 337.17 KB | Jul 17, 2013 | 1.6.2 | 136 | Download |
| VarScriptTest 0.5.0.B beta | 430.95 KB | Jul 14, 2013 | 1.6.2 | 139 | Download |
| Varscript 0.4 beta | 1.54 MB | Dec 4, 2012 | 1.4.2 | 303 | Download |
Screenshots
Description
[VarScript]
Scripting on Groovy
Version: 1.0.0
Features
- execute scripts on Groovy
- create and run script files
- autorun files
- Tab-completion (not full-featured)
- script can register events and timers. Full access to Bukkit API and other plugins
Get Started
- Download VarScript.jar and put it to
plugins/directory - Start server
- Wait until VarScript download dependings
- use command
/>
for example:
/> println "Hello ${worlds*.name}"
Basic commands
/> script...- run script
- Example:
/> test.groovy /> filename arg1, arg2, ...- run script file with parameters
/ws list- show all workspaces
/ws set name- set new workspace
/ws stop ?name- stop all triggers in workspace (selected or current)
/ws remove ?name- remove workspace (selected or current)
/ws create name- create new workspace
/ws reload ?name- reload workspace (selected or current)
Script files
You can create script file in directory plugins/VarScript/scripts/ and run it by command
< todo: tutorial >
Static variables
| variable | description | type |
|---|---|---|
me |
current command sender | Player, Block, Entity, Console |
server |
bukkit server | org.bukkit.Server |
this |
current script | ? extends ru.dpohvar.varscript.workspace.CallerScript |
workspace |
current workspace | ru.dpohvar.varscript.workspace.Workspace |
global |
workspace service | ru.dpohvar.varscript.workspace.WorkspaceService |
| %player name% | get player by name | org.bukkit.entity.Player |
| %plugin name% | get plugin by name | org.bukkit.plugin.Plugin |
| %world name% | get world by name | org.bukkit.World |
| %script name% | run script file and get result | ? |
Wiki
https://github.com/DPOH-VAR/VarScript/wiki
Changelog
VarScript 1.1.2:
- fixed classloader.
- fixed auto-import in config
- fixed Grape config
VarScript 1.0.0:
- 1.X release
| older versions | Github | Maven |
Get 0.05 TON 💎
Download


Add a comment