Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 61 out of 2476 tags...
Name<util.available_processors>
ReturnsElementTag(Number)
DescriptionHow many virtual processors are available to the server.
(In general, Minecraft only uses one, unfortunately.)
Generated Example
- narrate "the number value is <util.available_processors>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L783

Name<util.color_names>
ReturnsListTag
DescriptionReturns a list of all color names recognized by ObjectType:ColorTag.
Generated Example
- foreach <util.color_names> as:entry:
    - narrate "found <[entry]>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L430

Name<util.current_tick>
ReturnsElementTag(Number)
DescriptionReturns the number of ticks since the server was started.
Note that this is NOT an accurate indicator for real server uptime, as ticks fluctuate based on server lag.
Generated Example
- narrate "the number value is <util.current_tick>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L794

Name<util.current_time_millis>
ReturnsElementTag(Number)
DescriptionReturns the number of milliseconds since Jan 1, 1970.
Note that this can change every time the tag is read!
Use Tag:util.time_now if you need stable time.
Generated Example
- narrate "the number value is <util.current_time_millis>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L831

Name<util.debug_enabled>
ReturnsElementTag(Boolean)
DescriptionReturns whether script debug is currently globally enabled.
Generated Example
- if <util.debug_enabled>:
    - narrate "it was true!"
- else:
    - narrate "it was false!"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L996

Name<util.default_encoding>
ReturnsElementTag
DescriptionReturns the name of the default system text encoding charset, such as "UTF-8".
Generated Example
- narrate <util.default_encoding>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L611

Name<util.delta_time_since_start>
ReturnsDurationTag
DescriptionReturns the duration of delta time since the server started.
Note that this is delta time, not real time, meaning it is calculated based on the server tick,
which may change longer or shorter than expected due to lag or other influences.
If you want real time instead of delta time, use Tag:util.real_time_since_start.
Generated Example
- flag server myflag expire:<util.delta_time_since_start>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L805

Name<util.disk_free>
ReturnsElementTag(Number)
DescriptionHow much remaining disk space is available to this server, in bytes.
This counts only the drive the server folder is on, not any other drives.
This may be limited below the actual drive capacity by operating system settings.
Generated Example
- narrate "the number value is <util.disk_free>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L702

Name<util.disk_total>
ReturnsElementTag(Number)
DescriptionHow much total disk space is on the drive containing this server, in bytes.
This counts only the drive the server folder is on, not any other drives.
Generated Example
- narrate "the number value is <util.disk_total>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L715

Name<util.disk_usage>
ReturnsElementTag(Number)
DescriptionHow much space on the drive is already in use, in bytes.
This counts only the drive the server folder is on, not any other drives.
This is approximately equivalent to "disk_total" minus "disk_free", but is not always exactly the same,
as this tag will not include space "used" by operating system settings that simply deny the server write access.
Generated Example
- narrate "the number value is <util.disk_usage>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L727

Name<util.e>
ReturnsElementTag(Decimal)
DescriptionReturns e (Euler's number): 2.7182818284590452354
Generated Example
- narrate "the decimal value is <util.e>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L410

Name<util.empty_list_entries[<#>]>
ReturnsListTag
DescriptionReturns a list of the specified size where each entry is blank (zero characters long).
Generated Example
- foreach <util.empty_list_entries[4]> as:entry:
    - narrate "found <[entry]>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L315

Name<util.event_stats>
ReturnsElementTag
DescriptionReturns a simple debuggable stats report for all ScriptEvents during this server session.
Generated Example
- narrate <util.event_stats>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L591

Name<util.event_stats_data>
ReturnsListTag(MapTag)
DescriptionReturns the raw data for Tag:util.event_stats, as a ListTag of MapTags.
Generated Example
- foreach <util.event_stats_data> as:entry:
    - narrate "found <[entry]>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L601

Name<util.has_file[<name>]>
ReturnsElementTag(Boolean)
DescriptionReturns true if the specified file exists. The starting path is /plugins/Denizen.
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L642

Name<util.int_max>
ReturnsElementTag(Number)
DescriptionReturns the maximum value of a 32 bit signed integer (a java 'int'): 2147483647
Generated Example
- narrate "the number value is <util.int_max>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L350

Name<util.int_min>
ReturnsElementTag(Number)
DescriptionReturns the minimum value of a 32 bit signed integer (a java 'int'): -2147483648
Generated Example
- narrate "the number value is <util.int_min>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L360

Name<util.java_class_context>
ReturnsListTag
DescriptionReturns a list of class names in the current stack history.
More stable than Tag:util.stack_trace
This contains a lot of stray content, the first 4 to 20 or so classes in this list are likely irrelevant to what you're searching for.
Each entry in the list is a raw class name, like "com.denizenscript.denizencore.tags.core.UtilTagBase".
Class names may appear multiple times in a row if that class contains methods that call each other.
Generated Example
- foreach <util.java_class_context> as:entry:
    - narrate "found <[entry]>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L981

Name<util.java_version>
ReturnsElementTag
DescriptionReturns the current Java version of the server.
Generated Example
- narrate <util.java_version>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L632

Name<util.last_reload>
ReturnsTimeTag
DescriptionReturns the time that Denizen scripts were last reloaded.
Generated Example
- flag server myflag expire:<util.last_reload>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L924

Name<util.list_denizen_commands>
ReturnsListTag
DescriptionReturns a list of all currently loaded Denizen commands.
Generated Example
- foreach <util.list_denizen_commands> as:entry:
    - narrate "found <[entry]>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L420

Name<util.list_files[<path>]>
ReturnsListTag
DescriptionReturns a list of all files (and directories) in the specified directory. The starting path is /plugins/Denizen.
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L663

Name<util.list_numbers[to=<#>;(from=<#>/{1});(every=<#>/{1})]>
ReturnsListTag
DescriptionReturns a list of integer numbers in the specified range.
You must specify at least the 'to' input, you can optionally specify 'from' (default 1), and 'every' (default 1).
Note that this generally should not be used as input to the 'foreach' command. Instead, use Command:repeat.
Example
# Narrates "1, 2, and 3"
- narrate <util.list_numbers[to=3].formatted>
Example
# Narrates "3, 4, and 5"
- narrate <util.list_numbers[from=3;to=5].formatted>
Example
# Narrates "4, 8, and 12"
- narrate <util.list_numbers[from=4;to=12;every=4].formatted>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L265

Name<util.list_numbers_to[<#>]>
ReturnsListTag
DescriptionReturns a list of integer numbers from 1 to the specified input number (inclusive).
Note that you should NEVER use this as the input to a "foreach" command. Instead, use Command:repeat.
In most cases, there's a better way to do what you're trying to accomplish than using this tag.
Consider instead using Tag:util.list_numbers
Generated Example
- foreach <util.list_numbers_to[3]> as:entry:
    - narrate "found <[entry]>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L297

Name<util.list_tag_bases>
ReturnsListTag
DescriptionReturns a list of all currently loaded Denizen tag bases (including "player", "context", "util", "server", etc).
Generated Example
- foreach <util.list_tag_bases> as:entry:
    - narrate "found <[entry]>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L440

Name<util.long_max>
ReturnsElementTag(Number)
DescriptionReturns the maximum value of a 64 bit signed integer (a java 'long'): 9223372036854775807
Generated Example
- narrate "the number value is <util.long_max>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L370

Name<util.long_min>
ReturnsElementTag(Number)
DescriptionReturns the minimum value of a 64 bit signed integer (a java 'long'): -9223372036854775808
Generated Example
- narrate "the number value is <util.long_min>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L380

Name<util.mongo_connections>
ReturnsElementTag
DescriptionReturns a list of all Mongo connections opened by Command:mongo.
Generated Example
- narrate <util.mongo_connections>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L902

Name<util.notes[<type>]>
ReturnsListTag
DescriptionLists all saved notable objects of a specific type currently on the server.
Valid types: locations, cuboids, ellipsoids, inventories, polygons
This is primarily intended for debugging purposes, and it's best to avoid using this in a live script if possible.
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L843

Name<util.parse_yaml[<yaml>]>
ReturnsMapTag
DescriptionParses the input YAML or JSON text into a MapTag.
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L566

Name<util.pi>
ReturnsElementTag(Decimal)
DescriptionReturns PI: 3.14159265358979323846
Generated Example
- narrate "the decimal value is <util.pi>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L390

Name<util.queues>
ReturnsListTag(QueueTag)
DescriptionReturns a list of all currently running queues on the server.
Generated Example
- foreach <util.queues> as:entry:
    - narrate "found <[entry]>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L581

Name<util.ram_allocated>
ReturnsElementTag(Number)
DescriptionHow much RAM is allocated to the server, in bytes (total memory).
This is how much of the system memory is reserved by the Java process, NOT how much is actually in use by the minecraft server.
Generated Example
- narrate "the number value is <util.ram_allocated>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L741

Name<util.ram_free>
ReturnsElementTag(Number)
DescriptionHow much RAM is unused but available on the server, in bytes (free memory).
Generated Example
- narrate "the number value is <util.ram_free>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L762

Name<util.ram_max>
ReturnsElementTag(Number)
DescriptionHow much RAM is available to the server (total), in bytes (max memory).
Generated Example
- narrate "the number value is <util.ram_max>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L752

Name<util.ram_usage>
ReturnsElementTag(Number)
DescriptionHow much RAM is used by the server, in bytes (free memory).
Equivalent to ram_max minus ram_free
Generated Example
- narrate "the number value is <util.ram_usage>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L772

Name<util.random_boolean>
ReturnsElementTag(Boolean)
DescriptionReturns a random boolean (true or false). Essentially a coin flip.
Generated Example
- if <util.random_boolean>:
    - narrate "it was true!"
- else:
    - narrate "it was false!"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L204

Name<util.random_chance[<percent>]>
ReturnsElementTag(Boolean)
DescriptionReturns a random boolean (true or false) with the given percent chance (from 0 to 100).
Example
- if <util.random_chance[25]>:
    - narrate "This happens 25% of the time"
- else:
    - narrate "This happens 75% of the time"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L189

Name<util.random_decimal>
ReturnsElementTag(Decimal)
DescriptionReturns a random decimal number from 0 to 1.
Generated Example
- narrate "the decimal value is <util.random_decimal>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L179

Name<util.random_gauss>
ReturnsElementTag(Decimal)
DescriptionReturns a random decimal number with a gaussian distribution.
70% of all results will be within the range of -1 to 1.
Generated Example
- narrate "the decimal value is <util.random_gauss>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L214

Name<util.random_simplex[x=<#.#>;(y=<#.#>);(z=<#.#>);(w=<#.#>)]>
ReturnsElementTag(Decimal)
DescriptionReturns a pseudo-random decimal number from -1 to 1, based on a Simplex Noise algorithm. See 🔗https://en.wikipedia.org/wiki/Simplex_noise
Input map is like "x=1.0", or "x=1.0;y=2.0", or "x=1.0;y=2.0;z=3" or "x=1;y=2;z=3;w=4"
(That is: 1d, 2d, 3d, or 4d).
Generated Example
- narrate "the decimal value is <util.random_simplex>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L235

Name<util.random_uuid>
ReturnsElementTag
DescriptionReturns a random unique ID.
Generated Example
- narrate <util.random_uuid>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L225

Name<util.random.boolean>
ReturnsElementTag(Boolean)
DescriptionDeprecated in favor of Tag:util.random_boolean
Deprecateduse 'util.random_boolean' with a '_'
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L124

Name<util.random.decimal>
ReturnsElementTag(Decimal)
DescriptionDeprecated in favor of Tag:util.random_decimal
Deprecateduse 'util.random_decimal' with a '_'
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L112

Name<util.random.decimal[<#.#>].to[<#.#>]>
ReturnsElementTag(Decimal)
DescriptionReturns a random decimal number between the 2 specified decimal numbers, inclusive.
Example
# Will narrate '1.5', or '1.75', or '1.01230123', or any other decimal in range.
- narrate <util.random.decimal[1].to[2]>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L85

Name<util.random.duuid[(<source>)]>
ReturnsElementTag
DescriptionReturns a random 'denizen' unique ID, which is made of a randomly generated sentence.
Optionally specify the source context to base the value on.
There is no guarantee of format or content of the returned value - generally, use any other random tag instead of this.
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L160

Name<util.random.gauss>
ReturnsElementTag(Decimal)
DescriptionDeprecated in favor of Tag:util.random_gauss
Deprecateduse 'util.random_gauss' with a '_'
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L136

Name<util.random.int[<#>].to[<#>]>
ReturnsElementTag(Number)
DescriptionReturns a random integer number between the 2 specified integer numbers, inclusive.
Example
# Will narrate '1', '2', or '3'
- narrate <util.random.int[1].to[3]>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L58

Name<util.random.uuid>
ReturnsElementTag
DescriptionDeprecated in favor of Tag:util.random_uuid
Deprecateduse 'util.random_uuid' with a '_'
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L148

Name<util.real_time_since_start>
ReturnsDurationTag
DescriptionReturns the duration of real time since the server started.
Note that this is real time, not delta time, meaning that the it is accurate to the system clock, not the server's tick.
System clock changes may cause this value to become inaccurate.
In many cases Tag:util.delta_time_since_start is preferable.
Generated Example
- flag server myflag expire:<util.real_time_since_start>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L818

Name<util.redis_connections>
ReturnsListTag
DescriptionReturns a list of all Redis connections opened by Command:redis.
Generated Example
- foreach <util.redis_connections> as:entry:
    - narrate "found <[entry]>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L890

Name<util.reflect_class[<name>]>
ReturnsJavaReflectedObjectTag
DescriptionReturns a reflected reference to the class of the given full class name.
Note that the class-name input is case-sensitive.
This can be used like having an object of that class, but cannot read non-static fields.
Example
# Narrates the current NMS version known to Denizen, for example "v1_19"
- narrate <util.reflect_class[com.denizenscript.denizen.nms.NMSHandler].read_field[version]>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L934

Name<util.runlater_ids>
ReturnsListTag
DescriptionReturns a list of all scheduled task IDs for Command:runlater.
Note that usages of runlater that didn't specify an ID will not show up here.
Generated Example
- foreach <util.runlater_ids> as:entry:
    - narrate "found <[entry]>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L621

Name<util.scripts>
ReturnsListTag(ScriptTag)
DescriptionGets a list of all scripts currently loaded into Denizen.
Generated Example
- foreach <util.scripts> as:entry:
    - narrate "found <[entry]>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L914

Name<util.short_max>
ReturnsElementTag(Number)
DescriptionReturns the maximum value of a 16 bit signed integer (a java 'short'): 32767
Generated Example
- narrate "the number value is <util.short_max>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L330

Name<util.short_min>
ReturnsElementTag(Number)
DescriptionReturns the minimum value of a 16 bit signed integer (a java 'short'): -32768
Generated Example
- narrate "the number value is <util.short_min>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L340

Name<util.sql_connections>
ReturnsListTag
DescriptionReturns a list of all SQL connections opened by Command:sql.
Generated Example
- foreach <util.sql_connections> as:entry:
    - narrate "found <[entry]>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L866

Name<util.stack_trace>
ReturnsElementTag
DescriptionGenerates and shows a stack trace for the current context.
This tag is strictly for internal debugging reasons.
WARNING: Different Java versions generate different stack trace formats and details.
WARNING: Java internally limits stack trace generation in a variety of ways. This tag cannot be relied on to output anything.
For gathering stable context, prefer Tag:util.java_class_context
Generated Example
- narrate <util.stack_trace>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L967

Name<util.started_time>
ReturnsTimeTag
DescriptionReturns the time the server started.
Generated Example
- flag server myflag expire:<util.started_time>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L692

Name<util.tau>
ReturnsElementTag(Decimal)
DescriptionReturns Tau: 6.28318530717958647692
Generated Example
- narrate "the decimal value is <util.tau>"
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L400

Name<util.time_now>
ReturnsTimeTag
DescriptionReturns the current system date/time.
This value may be wrong if a server is currently heavily lagging, as it only updates once each tick.
Use Tag:util.current_time_millis if you need sub-tick precision.
Generated Example
- flag server myflag expire:<util.time_now>
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/UtilTagBase.java#L473