placeholder out of 3939 meta-documentation entries...| Name | <placeholder[<name>]> |
| Returns | ElementTag |
| Description | Returns the value of the placeholder.
For example, <placeholder[server_name]> Note that you do not need to include the "%" marks on the placeholder. The queue's linked player, if any, will be linked to the placeholder as well for any player-specific placeholder usage. Note: this should generally only be used for reading values from other plugins not already supported by Depenizen. This should not be used for cases where a Denizen tag already exists, or should exist. |
| Requires | Depenizen, PlaceholderAPI |
| Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/PlaceholderAPIBridge.java#L53 |
| Name | PlaceholderAPI Bridge |
| Description | Using Depenizen with PlaceholderAPI allows you to use placeholder and placeholder.player,
and also allows you to read Denizen tags from any PAPI placeholder location, written in the format: %denizen_<tag-here>% For example: %denizen_<player.flag[MyFlag]>% |
| Group | Depenizen Bridges |
| Requires | Depenizen, PlaceholderAPI |
| Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/PlaceholderAPIBridge.java#L25 |
| Name | <placeholder[<name>].player[<player>]> |
| Returns | ElementTag |
| Description | Returns the value of the placeholder for the specified player. |
| Generated Example | |
| Requires | Depenizen, PlaceholderAPI |
| Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/PlaceholderAPIBridge.java#L73 |
| Name | npcbossbar |
| Syntax | npcbossbar (remove) (color:<color>) (options:<option>|...) (range:<#>) (style:<style>) (title:<title>) (progress:<progress>) (view_permission:<permission>) (visible:<true/false>) |
| Short Description | Controls or removes the linked NPC's bossbar. |
| Full Description | Controls or removes the linked NPC's bossbar.
Progress can be a number between 1 and 100 or 'health' to make it track the NPC's health. Placeholder API/Citizens placeholders are supported. Optionally specify a range around the NPC where the bossbar is visible, and/or a permission required to view it. Input an empty view permission to remove it ('view_permission:'). Valid colors: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarColor.html. Valid styles: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarStyle.html. Valid options: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarFlag.html. |
| Usage Example | |
| Usage Example | |
| Usage Example | |
| Group | npc |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/npc/NPCBossBarCommand.java#L29 |
| Name | MythicMobs Bridge |
| Description | In addition to the tags, commands, and events found by searching for "mythicmobs" throughout the meta documentation,
Depenizen adds 4 new Denizen matchers, and additional features to Mythic Mobs: 2 Targeters, and a Condition. Depenizen provides additional EntityTag and ItemTag matchers to match MythicMobs mobs/items: - "mythic_mob" plaintext EntityTag matcher, matches if the entity is a mythic mob. - "mythic_mob:<MythicMobID>" EntityTag matcher, matches if the entity is a mythic mob, and its ID matches the advanced matcher specified. - "mythic_item" plaintext ItemTag matcher, matches if the item is a mythic item. - "mythic_item:<MythicItemID>" ItemTag matcher, matches if the item is a mythic item, and its ID matches the advanced matcher specified. Depenizen provides two additional targeters via the MythicMobs API: @DenizenEntity is an entity-based targeter, @DenizenLocation is a location-based targeter. Both targeters can parse tags; they accept input of either an EntityTag or LocationTag respectively. Both targeters also support returning ListTags containing their respective tag types. Both targeters provide <context.entity> as an EntityTag of the caster. Conditions provide different contexts depending on their usage. The syntax for calling a Denizen tag as a condition is DenizenCondition. The tag should return an ElementTag of a boolean value (true or false). <context.location> is available for location-based checks, <context.entity> is available for entity-based and caster-based checks, and <context.target> is available for target-based checks. NOTE: TriggerConditions are NOT currently supported. Note as well that many parts of MythicMobs configurations allow usage of PlaceholderAPI, which means you can use the "denizen_" placeholder to read tags in any such parts, refer to PlaceholderAPI Bridge for more information. Usage Examples Example 1: @DenizenEntity{tag=<context.entity.location.find_players_within[30].filter[has_flag[marked]]>} Example 2: @DenizenLocation{tag=<context.entity.location.find.surface_blocks.within[30].random[5]>} Example 3: @DenizenEntity{tag=<proc[SomeProcScript]>} Conditions: - denizencondition{tag=<context.entity.location.find_players_within[30].is_empty.not>} |
| Group | Depenizen Bridges |
| Requires | Depenizen, MythicMobs |
| Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/utilities/mythicmobs/MythicMobsLoaders.java#L20 |
| Name | <DiscordSelectionTag.with[<key>].as[<value>]> |
| Returns | DiscordSelectionTag |
| Description | Returns a copy of this Selection tag, with the specified data key set to the specified value.
The following keys are accepted, with values of the listed type: id: ElementTag placeholder: ElementTag options: MapTag where the values are also a MapTag consisting of: - label: ElementTag - value: ElementTag - description: ElementTag - emoji: ElementTag |
| Requires | dDiscordBot |
| Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordSelectionTag.java#L181 |
| Name | <DiscordTextInputTag.with[<key>].as[<value>]> |
| Returns | DiscordTextInputTag |
| Description | Returns a copy of this TextInput tag, with the specified data key set to the specified value.
The following keys are accepted, with values of the listed type: style: short or paragraph id: ElementTag label: ElementTag min_length: ElementTag(Number) max_length: ElementTag(Number) is_required: ElementTag(Boolean) value: ElementTag placeholder: ElementTag |
| Requires | dDiscordBot |
| Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordTextInputTag.java#L151 |