#Delux menus args

1 messages · Page 1 of 1 (latest)

gusty lava
#

like i have used this

- target```
- if i want to see target name then what will be the placeholder for that 
- and if i want to use this placeholder work as target then how to do that %statistic_hours_played%
we can perse a placeholder with using args ?
eager shell
gusty lava
eager shell
#

?

gusty lava
#

Like I used /test yourname

eager shell
#

Oh sorry you meant like an answer to ur first bullet point

#

Just putting {target} in the lore of an item would show the username

#

i can show u an example

gusty lava
#

Oo

#

Thanks

eager shell
#

anywhere my name is shown on here:

I just have {target} so it auto changes depending on who im looking at

#

the config behind it

gusty lava
#

Oo got it

#

Thanks

eager shell
#

np!

gusty lava
#

This is correct ?

eager shell
#

no remove the {target} from the open_command: section

#

like that

gusty lava
eager shell
#

statistics is your main command, try that first. Have you restarted the server, or just /dm reload?

eager shell
gusty lava
#

yes i have done that

eager shell
#

does /statistics ZxZephyrr work?

gusty lava
#

no

eager shell
#

can u send the config?

gusty lava
#
args_usage_message: "Usage, /statistics <player>"
register_commands: true
open_command:
- statistics
- stats
args:
- target
size: 36

items:
  player_stats:
    material: head-{target}
    slot: 1
    update: true
    display_name: "§ePlayer Statistics"
    lore:
      - '§f'
      - '§8● §fName: &b%cp-player-name%'
      - '§8● §fRank: %changeoutput_equals_input:default_matcher:{vault_rank}_ifmatch:§cGet it!_else:{vault_prefix}%'
      - ''
      - '§8● &fClan: %changeoutput_equals_input:_matcher:{clans_clan_tag}_ifmatch:&cNo Clan!_else:{clans_clan_tag}%'
      - '§8● &fVotes:'
      - ''
      - '&d⌚ &fFirst Join: &7&n%player_first_join_date%'
      - '&b⌛ &fHours Played: &b%statistic_hours_played%h'
      - ''
eager shell
#

oh try register_command: true the extra "s" might be messing this up

#

restart your server after and try again

gusty lava
eager shell
#

lmk! :D

gusty lava
#

yes

#

it is working

eager shell
#

Awesome!

gusty lava
#

bro

#

everything was working fine but why these are not working

#

@eager shell

eager shell
#

If you parse the placeholder do they return information?

gusty lava
eager shell
#

Are you using /stats? or /statistics

gusty lava
#

both not working

#

means it works but valus are 0

eager shell
#

Hmm strange okay

#

It’s a bit hard because im on my phone rn. Just got into bed, I can definitely look at it better when I wake up though!

#

My first guess was that you updated the placeholder and then reloaded DM and use /stats rather than the full command. Only saying that because when you have multiple options for open commands, it’ll only ever update the first option when you /dm reload. Server restart is needed for the rest to update but if that’s not the case then I’ll have to look tomorrow

gusty lava
#

ok but ping me if you got any fix

eager shell
#

Im sure thats breaking ur menu, havent even tried putting it on a test server yet. Just opened it and noticed that

gusty lava
#

Because of too much emoji

eager shell
#

Oh interesting okay, you should be able to upload files/or upload to something like mclo.gs

#

Is there anything else to the config or is that it? I have it on my server now to test it out and it appears its all working for me

#

whoops wrong one

#

it was 100% working before?

#

have you /papi ecloud download Statistic and /papi reload

gusty lava
#

Idk what is the issue with my server

#

Ok I will see

#

If works

gusty lava
eager shell
#

Not quite sure why you're not seeing the statistic values still. You're still experiencing this yeah?

#

what version of DM are you using?

gusty lava
#

And server version 1.21.8

eager shell
#

Can you try DM version 1.14.0

#

ive had some issue with the latest

gusty lava
eager shell
#

All version history is listed on the spigot page. You can download any of the posted versions

#

That version i linked is what i use on my server

gusty lava
eager shell
#

Yay! Glad to hear! I’d recommend just using that for now. I have a forum open talking about it

bright flume
#

Can someone help?

- stats
register_command: true
args:
- target
args_usage_message: "/stats <player>"
menu_title: '&b&l{target} Stat'
size: 27
items:
  'border':
    material: black_stained_glass_pane
    data: 0
    slots: [0, 1, 7, 8, 9, 17, 18, 19, 25, 26]
    display_name: '&7 '
    lore: []
  'player_head':
    material: head-{target}
    slot: 4
    skull_owner: '%parseother_unsafe_{target}_{player_name}%'
    display_name: '&6&l%parseother_unsafe_{target}_{player_name}%'
  'economy':
    material: emerald
    slot: 14
    display_name: '&a&lMoney'
    lore:
      - "&f%parseother_{{target}}_{vault_eco_balance}%"
      - '{target}'
      - '{{target}}'

I've tried about 3hr, still can't figure it out why it only find {target}

#

[02:36:32 WARN]: Couldn't find profile with name: {target}
com.mojang.authlib.exceptions.MinecraftClientHttpException: Couldn't find any profile with name {target}
at com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:103) ~[authlib-6.0.58.jar:?]
at com.mojang.authlib.minecraft.client.MinecraftClient.get(MinecraftClient.java:56) ~[authlib-6.0.58.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilGameProfileRepository.findProfileByName(YggdrasilGameProfileRepository.java:116) ~[paper-1.21.5.jar:?]
at net.minecraft.server.players.GameProfileCache.lookupGameProfile(GameProfileCache.java:83) ~[paper-1.21.5.jar:1.21.5-114-a1b3058]
at net.minecraft.server.players.GameProfileCache.get(GameProfileCache.java:147) ~[paper-1.21.5.jar:1.21.5-114-a1b3058]
at org.bukkit.craftbukkit.CraftServer.getOfflinePlayer(CraftServer.java:2094) ~[paper-1.21.5.jar:1.21.5-114-a1b3058]
at org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:1530) ~[paper-api-1.21.5-R0.1-SNAPSHOT.jar:?]
at ParseOtherExpansion.onRequest(ParseOtherExpansion.java:71) ~[?:?]

eager shell
#

Are you on DM version 1.14.1?

bright flume
#

yes

eager shell
#

If so use the version prior to that

bright flume
eager shell
#

No problem! Ive been wanting to update my dm version but holding off because of that

ivory epoch
#

Hello @eager shell sorry for disturbing but you seem to understand DeluxeMenus very well haha

ivory epoch
ivory epoch