#(dotheflopboy) placeholder with offline player
47 messages · Page 1 of 1 (latest)
(dotheflopboy) placeholder with offline player
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
depends whether the placeholder support offline players or not afaik
but i tried with a placeholder which supports offline players
Content of Server Log Paste #134028: Denizen Debug Logs From Dein Minecraft Survival Server... pasted 2025/06/14 07:06:06 UTC-07:00, Paste length: 8172 characters across 84 lines, Content: `Java Version: 21.0.4 Up-time: 6h 33m Denizen Version: Core: 1.91.0-SNAPSHOT (Build 1402), Spigot: 1.3.1-SNAPSHOT (build 7172-DEV) Script Conta...
well they probably dont
I know that for luckperms_primary_group_name you would need to have offline lookup enabled
but overall
do you want exactly these placeholders?
most of them you can just do with denizen
dont found with denizen
I suppose <placeholder[cmi_user_playtime_seconds].player[<[player]>]> returns the players playtime, which you can just read from statistic
!t player.statistic
Returns the player's current value for the specified statistic.
Valid statistics: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Statistic.html
Works with offline players.
ElementTag(Number)
It's called PLAY_ONE_MINUTE and returns the play time in ticks.
You can make your own math, or use a DurationTag to get the time in days/hours/minutes.
!t durationtag.formatted
Returns the value of the duration in an easily readable format like 2h 30m,
where minutes are only shown if there is less than a day left and seconds are only shown if there are less than 10 minutes left.
Will show seconds, minutes, hours, days, and/or years.
ElementTag
I suppose <placeholder[luckperms_primary_group_name].player[<[player]>]> returns the players primary group, which should be just, this tag.
!t player.luckperms_primary_group
Returns a player's primary group.
Depenizen, LuckPerms
LuckPermsGroupTag
!t luckpermsgrouptag.group_name
Returns the group's name.
Depenizen, LuckPerms
ElementTag
For <placeholder[votingplugin_alltimetotal].player[<[player]>]>, you could listen to the votifier vote event and use a player flag. Would need to do some logic and migrate the current vote number into flags.
Would need to switch to a supported vote listener plugin too though
So this is not working: <player[<[player]>].luckperms_primary_group.group_name>
!debug
If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!
Content of Server Log Paste #134034: Denizen Debug Logs From Dein Minecraft Survival Server... pasted 2025/06/14 09:09:36 UTC-07:00, Paste length: 8890 characters across 86 lines, Content: `Java Version: 21.0.4 Up-time: 8h 36m Denizen Version: Core: 1.91.0-SNAPSHOT (Build 1402), Spigot: 1.3.1-SNAPSHOT (build 7172-DEV) Script Conta...
than i had to switch my vote listener plugin, reconfig all vote sites and than also transfer all current votes into denizen. Sounds not worth
Could you test the tag on an online player?
It's up to you
Content of Server Log Paste #134034: Denizen Debug Logs From Dein Minecraft Survival Server... pasted 2025/06/14 09:09:36 UTC-07:00, Paste length: 8890 characters across 86 lines, Content: `Java Version: 21.0.4 Up-time: 8h 36m Denizen Version: Core: 1.91.0-SNAPSHOT (Build 1402), Spigot: 1.3.1-SNAPSHOT (build 7172-DEV) Script Conta...
Paper version 1.21.5-113-ba7fb23 (MC: 1.21.5)
Citizens: 2.0.38-SNAPSHOT (build 3795) -- (:warning:Outdated build, behind by 25)
Denizen: 1.3.1-SNAPSHOT (build 7172-DEV) -- (Outdated build, behind by 1)
Depenizen: 2.1.1 (build 880) -- (Current build :white_check_mark:)
dDiscordBot: 0.7 (build 304) -- (Current build :white_check_mark:)
@fast breach
4 (:white_check_mark: Online)
21.0.4 :white_check_mark:
WorldGuard: 7.0.13+82fdc65, MythicMobs: 5.9.1-SNAPSHOT-f9364d9b, ProtocolLib: 5.4.0-SNAPSHOT-747
TAB: 5.2.0 - This plugin adds Below_Name scoreboards to NPCs.
CMI: 9.7.14.2 - CMI tends to mess with a large variety of server features and often gets in the way of issue debugging.
ModelEngine: R4.0.9 - ModelEngine has Citizens support, but that support is known to be buggy. Issues related to NPCs that use ModelEngine should be reported to ModelEngine support, not Citizens.
Multiverse-Core: 5.0.2-pre.2 - Multi-world configuration plugins may affect NPCs in unexpected ways.
Content of Server Log Paste #134035: Denizen Debug Logs From Dein Minecraft Survival Server... pasted 2025/06/14 09:17:38 UTC-07:00, Paste length: 30055 characters across 256 lines, Content: `Java Version: 21.0.4 Up-time: 8h 44m Denizen Version: Core: 1.91.0-SNAPSHOT (Build 1402), Spigot: 1.3.1-SNAPSHOT (build 7172-DEV) Script Con...
Oh so it seems to work only with online players
I assume you could either cache the primary group by flagging users on login with their primary group and return the flag, or ^
making denizen group system?
I did not say that
yes i think about it
but denizen placeholders doesn't really work on my Scorboard/Tab plugin
What placeholders do you use
i mean when i use denizen placerholder like %denizen_<player.formatted_money>% in Tablist oder Scoreboard plugin it shows this:
Yeah this happens when the plugin attempts to access the placeholder asynchroniously
