Mineuniverse
Log in Register
Plugins

VarScript

scheduler, cron, javascript
by Dpohvar
Download Claim this project
6,972 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools Developer Tools

[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

  1. Download VarScript.jar and put it to plugins/ directory
  2. Start server
  3. Wait until VarScript download dependings
  4. 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

variabledescriptiontype
mecurrent command senderPlayer, Block, Entity, Console
serverbukkit serverorg.bukkit.Server
thiscurrent script? extends ru.dpohvar.varscript.workspace.CallerScript
workspacecurrent workspaceru.dpohvar.varscript.workspace.Workspace
globalworkspace serviceru.dpohvar.varscript.workspace.WorkspaceService
%player name%get player by nameorg.bukkit.entity.Player
%plugin name%get plugin by nameorg.bukkit.plugin.Plugin
%world name%get world by nameorg.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 versionsGithubMaven
VarScript 1.1.2
MC 1.8.1
Release 2015-07-22 Get
VarScript 1.0.0
MC 1.8
Release 2015-03-01 Get
VarScript 0.6.3
MC 1.7.2, 1.6.4
Release 2014-03-25 Get
VarScript 0.6.2
MC 1.7.2, 1.6.4
Release 2014-03-18 Get
VarScript 0.6.1 beta
MC 1.7.2
Beta 2014-03-02 Get
VarScript 0.5.7
MC 1.6.2, 1.6.4
Release 2013-11-06 Get
VarScript 0.5.6
MC 1.6.2, 1.5.2, 1.4.6
Release 2013-09-07 Get
VarScript 0.5.5
MC 1.6.2, 1.5.2
Beta 2013-08-24 Get
VarScript 0.5.4
MC 1.6.2, 1.5.2, 1.4.6
Beta 2013-08-19 Get
VarScript 0.5.3
MC 1.6.2, 1.5.2, 1.4.6
Beta 2013-08-13 Get
Varscript 0.5.2
MC 1.6.2
Beta 2013-07-22 Get
VarScript 0.5.1
MC 1.6.2
Beta 2013-07-17 Get
VarScriptTest 0.5.0.B
MC 1.6.2
Beta 2013-07-14 Get
Varscript 0.4
MC 1.4.2, CB 1.4.5-R0.2
Beta 2012-12-04 Get

More from Dpohvar

GroovyLoader
811

You Might Also Like

WorldGuard Custom Flags
WorldGuard Custom Flags
97,851
HoloAPI
Advanced and powerful holographic displays
93,959
Minequery
Minequery
91,099
SQLibrary
SQLibrary aims to streamline driver wrappers in Java for every database engine
85,675
WolfyUtilities
Utils and APIs: Config, Language and Inventory API, Protection Utils: WorldGuard, LWC, PlotSquared
84,728
DisguiseTester
Experiment with disguises!
9,677