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 10 out of 2465 tags...

Categories:

PlayerTag | server | DiscordRoleTag | DiscordUserTag | LuckPermsGroupTag | SkillAPIClassTag



Category: PlayerTag


Name<PlayerTag.has_permission[permission.node]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has the specified node.
(May work with offline players, depending on your permissions system.)
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1309

Name<PlayerTag.has_permission[permission.node].global>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has the specified node, regardless of world.
(Works with offline players)
(Note: this may or may not be functional with your permissions system.)
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1319

Name<PlayerTag.has_permission[permission.node].world[<world>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has the specified node in regards to the
specified world.
(Works with offline players)
(Note: This may or may not be functional with your permissions system.)
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1341

Name<PlayerTag.townychat.has_permission[<channel_name>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has permissions to join the specified channel.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyChatPlayerProperties.java#L98



Category: server


Name<server.has_permissions>
ReturnsElementTag(Boolean)
DescriptionReturns whether the server has a known permission plugin loaded.
Note: should not be considered incredibly reliable.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java#L1091

Name<server.permission_groups>
ReturnsListTag
DescriptionReturns a list of all permission groups on the server.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java#L1221



Category: DiscordRoleTag


Name<DiscordRoleTag.permissions>
ReturnsListTag
DescriptionReturns a list of permissions that the role provides for users. You can get a list of possible outputs here: 🔗https://ci.dv8tion.net/job/JDA5/javadoc/net/dv8tion/jda/api/Permission.html
RequiresdDiscordBot
Sourcehttps://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordRoleTag.java#L243



Category: DiscordUserTag


Name<DiscordUserTag.permissions[<group>]>
ReturnsListTag
DescriptionReturns a list of permissions that the user has in a certain group. You can get a list of possible outputs here: 🔗https://ci.dv8tion.net/job/JDA5/javadoc/net/dv8tion/jda/api/Permission.html
RequiresdDiscordBot
Sourcehttps://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L455



Category: LuckPermsGroupTag


Name<LuckPermsGroupTag.has_permission[<permission.node>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the group has the specified permission node.
RequiresDepenizen, LuckPerms
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/objects/luckperms/LuckPermsGroupTag.java#L146



Category: SkillAPIClassTag


Name<SkillAPIClassTag.needs_permission>
ReturnsElementTag(Boolean)
DescriptionReturns whether this SkillAPI class requires permission to profess as it.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/objects/skillapi/SkillAPIClassTag.java#L141