Skip to content
Andrey Vakhterov edited this page Jun 28, 2016 · 3 revisions

Config file

plugins/varscript/config.yml
All config options:

ivy.download-url
URL to download main dependency ivy.jar on first start.

ivy.jar
Path to local ivy.jar file.

libraries
Directory from which dependings will be loaded

sources.classes
Directory for your groovy classes

sources.scripts
Directory for your groovy scripts

sources.encoding
sources encoding. If empty, use system default

sources.autorun
Directory for your groovy autorun scripts

import
List of classes for the automatic import in groovy scripts
Examples:

  • import class:
import:
- class: org.bukkit.material.MaterialData
  as: MData # optional, custom name of class
  • import package (not recommended, slows down compilation):
import:
- package: org.bukkit.entity
  • import all classes in package with scanning:
import:
- scan-package: org.bukkit.event
  recursive: true # optional, false by default
  mask: .*Event # regexp, optional

workspace
assigned workspaces.
Example:

workspace:
  CONSOLE: CONSOLE
  DPOHVAR: helljump

you can change this values by command /ws set (name)

Clone this wiki locally