-
Notifications
You must be signed in to change notification settings - Fork 2
/
-template.sk
50 lines (37 loc) · 1.46 KB
/
-template.sk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# ### Skript template by Roy Curtis
# ### Licensed under MIT, 2016
# This is an example of how a Skript file should be organized. There should be a blurb at
# this position to describe the file. Then the various sections below should be included.
#
# An explaination of each section:
# ### Permission nodes - Describes what permission nodes this skript creates
# ### Global variables - Describes the global variables this skript creates
# ### Configuration - Contains an options block for easy configuration of the skript
# ### Global functions - Contains global functions defined by the skript
# ### Global events - Contains event handlers defined by the skript
# ### Global commands - Contains commands defined by the skript
# ### Permission nodes
# a.permission.node - <description>
# ### Global variables
# a.variable - <type>; <description>
# ### Configuration
options:
# Reference using {@option name}
option name : option value
# ### Global functions
function templateFunction(value: type):
return value
# ### Global events
on event:
# Conditions
# Logic
# ### Global commands
command /commandname <arg 1> [<optional arg 2=default value>]:
description: Command description
aliases: /commandname2
usage: /command-name <arg 1> [--arg2]
permission: a.permission.node
executable by: players / players and console / console
trigger:
# Conditions
# Logic