You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/resources/config.sk
+41-14Lines changed: 41 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@
22
22
# This file, all scripts and other files ending in .sk are NOT .yml/YAML files, but very similar!
23
23
# Please remember the following when editing files:
24
24
# - To indent sections you can use spaces like in YAML, but tabs are also allowed. Just remember to stick to the one or the other for a section/trigger.
25
-
# - '#' starts a comment like in YAML. If you don't want it to start a comment simply double it: '##' (You also have to double these in "quoted text")
25
+
# - '#' starts a comment like in YAML. If you don't want it to start a comment simply double it: '##' (You do NOT have to double these in "quoted text")
26
26
# - If you use special characters (§, äöü, éèàôç, ñ, etc.) you have to encode the file in UTF-8.
27
27
#
28
28
@@ -31,12 +31,12 @@
31
31
# ==== General Options ====
32
32
33
33
language: english
34
-
# Which language to use. Currently english, german and korean are included in the download, but custom languages can be created as well.
34
+
# Which language to use. Currently English, German, Korean, French, Polish, Russian, Japanese, Simplified Chinese and Turkish
35
+
# are included in the download, but custom languages can be created as well. Use the name in lowercase and no spaces as the value.
35
36
# Please note that not everything can be translated yet, i.e. parts of Skript will still be english if you use another language.
36
37
# If you want to translate Skript to your language please read the readme.txt located in the /lang/ folder in the jar
37
38
# (open the jar as zip or rename it to Skript.zip to access it)
38
39
39
-
40
40
check for new version: true
41
41
# Whether Skript should check for whether a new version of Skript is available when the server starts.
42
42
# If this is set to true Skript will announce a new version to all players with the "skript.admin" permission.
@@ -53,7 +53,7 @@ update check interval: 12 hours
53
53
release channel: @release-channel@
54
54
# If 'check for new version' is enabled, this determines how stable the updates must be.
55
55
# 'stable' means that only stable releases of Skript will be considered updates.
56
-
# 'beta' and 'alpha' mean that also development releases will be checked for.
56
+
# 'prerelease' means that development releases will also be checked for.
57
57
# Initial value of this depends on the Skript version you first installed; it was '@release-channel@'.
58
58
59
59
enable effect commands: false
@@ -76,6 +76,20 @@ allow ops to use effect commands: false
76
76
# Whether server operators which do not have the permission "skript.effectcommands" should have access to effect commands.
77
77
# This setting is mainly useful for servers that do not run any permissions plugin.
78
78
79
+
log effect commands: false
80
+
# Whether Skript should log the usage of effect commands.
81
+
# They will be logged as [INFORMATION] in this format: '<player> issued effect command: <command>'
82
+
83
+
84
+
load default aliases: true
85
+
# Whether Skript should use the default, Skript-provided aliases for items.
86
+
# Disabling this will cause all aliases to be automatically generated. Some items, like potions,
87
+
# will likely not have aliases in this case.
88
+
#
89
+
# You can provide your own aliases by making an 'aliases' folder in the Skript directory and putting the alias files there.
90
+
# The default aliases folder is available with Skript releases on GitHub.
91
+
92
+
79
93
player variable fix: true
80
94
# Whether to enable the player variable fix if a player has rejoined and was reciding inside a variable.
81
95
# Player objects inside a variable(list or normal) are not updated to the new player object
@@ -84,9 +98,9 @@ player variable fix: true
84
98
# This fix should work around that and whenever a invalid(old) player object is attempted to be get through a variable
85
99
# It will check if the player is online and then get the valid(new) player object and update the variable object to that one.
86
100
87
-
use player UUIDs in variable names: false
88
-
# Whether to use a player's UUID instead of their name in variables, e.g. {home.%player%} will look like
89
-
# {home.e5240337-a4a2-39dd-8ed9-e5ce729a8522} instead of {home.njol}.
101
+
use player UUIDs in variable names: true
102
+
# Whether to use a player's UUID instead of their name in variables, e.g. {home::%player%} will look like
103
+
# {home::e5240337-a4a2-39dd-8ed9-e5ce729a8522} instead of {home::njol}.
90
104
# Please note that if this setting is changed old variables WILL NOT be renamed automatically.
91
105
92
106
@@ -118,11 +132,9 @@ plugin priority: high
118
132
# - effects 'remove ... from drops'/'clear drops': Drops added by other plugins are not removed => increase priority
119
133
# Skript removes drops it shouldn't => decrease priority or specify which item types to remove
120
134
121
-
122
-
log player commands: false
123
-
# Whether Skript should log the usage of custom commands.
124
-
# They will be logged as [INFORMATION] in this format: '<player>: /<command> <arguments>'
125
-
135
+
listen to cancelled events by default: false
136
+
# Determines whether `on <event>` will be triggered by all events (true) or only uncancelled events (false).
137
+
# The default is false, which maintains traditional Skript behavior.
126
138
127
139
number accuracy: 2
128
140
# How many digits should be displayed after the dot at maximum when displaying numbers.
@@ -141,6 +153,15 @@ case sensitive: false
141
153
# This e.g. applies to the effect 'replace' and the conditions 'contains' and 'is/is not'.
142
154
# Variable names are case-insensitive irrespective of this setting.
143
155
156
+
case-insensitive variables: true
157
+
# Whether Skript's variables should be case sensitive or not.
158
+
# When set to true, all variable names and indices case will be ignored.
159
+
160
+
case-insensitive commands: false
161
+
# Whether Skript should accept custom commands regardless of case.
162
+
# When set to true, /test, /Test, and /TEST will all be equivalent.
163
+
# This does not affect non-Skript commands.
164
+
144
165
disable variable will not be saved warnings: false
145
166
# Disables the "... i.e contents cannot be saved ..." warning when reloading and something in your scripts sets a variable(non local) to a value that is not serializable.
146
167
# By Mirre.
@@ -159,7 +180,8 @@ soft api exceptions: false
159
180
160
181
enable timings: false
161
182
# When enabled, triggers in scripts will be present in timings reports.
162
-
# Note that this requires Paper (https://paper.readthedocs.io/en/paper-1.11/) to work; on Bukkit/Spigot this option has no effect.
183
+
# Note that this requires Paper (https://papermc.io/downloads/paper) to work; on Bukkit/Spigot this option has no effect.
184
+
# Warning: Paper no longer supports Timings as of 1.19.4. This option has no effect on versions 1.19.4 and above.
163
185
# When false, timings are not enabled for scripts even if you're running Paper.
164
186
165
187
parse links in chat messages: disabled
@@ -204,6 +226,11 @@ player name regex pattern: [a-zA-Z0-9_]{1,16}
204
226
# A regex pattern that is used to match player names.
205
227
# This can be used if you are using Geyser, where some usernames are prefixed by a certain character.
206
228
229
+
long parse time warning threshold: 0 seconds
230
+
# This setting determines how long a statement can take to parse before Skript produces a warning
231
+
# stating that the statement has taken a long time to parse.
232
+
# A value of 0 seconds means that this warning should be disabled.
233
+
207
234
# ==== Variables ====
208
235
209
236
databases:
@@ -320,7 +347,7 @@ databases:
320
347
321
348
# ==== Settings that should not be changed ====
322
349
323
-
version: ${project.version}
350
+
version: @version@
324
351
# DO NOT CHANGE THIS VALUE MANUALLY!
325
352
# This saves for which version of Skript this configuration was written for.
326
353
# If it does not match the version of the .jar file then the config will be updated automatically.
0 commit comments