Skip to content

Commit d75b79d

Browse files
committed
Update resources
1 parent 8b2689d commit d75b79d

22 files changed

+2544
-469
lines changed

src/main/resources/config.sk

Lines changed: 41 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# This file, all scripts and other files ending in .sk are NOT .yml/YAML files, but very similar!
2323
# Please remember the following when editing files:
2424
# - 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")
2626
# - If you use special characters (§, äöü, éèàôç, ñ, etc.) you have to encode the file in UTF-8.
2727
#
2828

@@ -31,12 +31,12 @@
3131
# ==== General Options ====
3232

3333
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.
3536
# Please note that not everything can be translated yet, i.e. parts of Skript will still be english if you use another language.
3637
# If you want to translate Skript to your language please read the readme.txt located in the /lang/ folder in the jar
3738
# (open the jar as zip or rename it to Skript.zip to access it)
3839

39-
4040
check for new version: true
4141
# Whether Skript should check for whether a new version of Skript is available when the server starts.
4242
# 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
5353
release channel: @release-channel@
5454
# If 'check for new version' is enabled, this determines how stable the updates must be.
5555
# '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.
5757
# Initial value of this depends on the Skript version you first installed; it was '@release-channel@'.
5858

5959
enable effect commands: false
@@ -76,6 +76,20 @@ allow ops to use effect commands: false
7676
# Whether server operators which do not have the permission "skript.effectcommands" should have access to effect commands.
7777
# This setting is mainly useful for servers that do not run any permissions plugin.
7878

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+
7993
player variable fix: true
8094
# Whether to enable the player variable fix if a player has rejoined and was reciding inside a variable.
8195
# Player objects inside a variable(list or normal) are not updated to the new player object
@@ -84,9 +98,9 @@ player variable fix: true
8498
# This fix should work around that and whenever a invalid(old) player object is attempted to be get through a variable
8599
# It will check if the player is online and then get the valid(new) player object and update the variable object to that one.
86100

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}.
90104
# Please note that if this setting is changed old variables WILL NOT be renamed automatically.
91105

92106

@@ -118,11 +132,9 @@ plugin priority: high
118132
# - effects 'remove ... from drops'/'clear drops': Drops added by other plugins are not removed => increase priority
119133
# Skript removes drops it shouldn't => decrease priority or specify which item types to remove
120134

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.
126138

127139
number accuracy: 2
128140
# How many digits should be displayed after the dot at maximum when displaying numbers.
@@ -141,6 +153,15 @@ case sensitive: false
141153
# This e.g. applies to the effect 'replace' and the conditions 'contains' and 'is/is not'.
142154
# Variable names are case-insensitive irrespective of this setting.
143155

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+
144165
disable variable will not be saved warnings: false
145166
# 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.
146167
# By Mirre.
@@ -159,7 +180,8 @@ soft api exceptions: false
159180

160181
enable timings: false
161182
# 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.
163185
# When false, timings are not enabled for scripts even if you're running Paper.
164186

165187
parse links in chat messages: disabled
@@ -204,6 +226,11 @@ player name regex pattern: [a-zA-Z0-9_]{1,16}
204226
# A regex pattern that is used to match player names.
205227
# This can be used if you are using Geyser, where some usernames are prefixed by a certain character.
206228

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+
207234
# ==== Variables ====
208235

209236
databases:
@@ -320,7 +347,7 @@ databases:
320347

321348
# ==== Settings that should not be changed ====
322349

323-
version: ${project.version}
350+
version: @version@
324351
# DO NOT CHANGE THIS VALUE MANUALLY!
325352
# This saves for which version of Skript this configuration was written for.
326353
# If it does not match the version of the .jar file then the config will be updated automatically.

0 commit comments

Comments
 (0)