#How to make /duel <player> synthax as command to open my gui?
1 messages · Page 1 of 1 (latest)
You can find a wiki for all or most HelpChat plugins at:
https://wiki.helpch.at
bro
i write something on the report
not to be redirected on DeluxeMenu wiki
what is wrong with you @elfin trellis ?
the wiki explains best how the args work
also no need to react toxic i was just trying to help alr
bro you didn't help me
you just redirected me to the wiki i read 10 times
i already know how the args work
but it actually not work
if it doesnt work then share your config
also i told you what you need as open command
and the args explain themself on the wiki
because instead of a player_name placeholder you need to use {first} to get the name typed in the command
and exactly that is the wiki
and how its written ?
like i said {first}
to replace my args right ?
replace %player_name% with {first}
{first} is the synthax to have the player name ?
read the wiki
Bro wtf
its on the wiki
what is your problem then
okay what exactly is the problem with the open commnad
please be more specific then the open command is the problem
bro
i want to start the command on /duel <player>
nothing other
it not work
open my gui with /duel notSweyz as exemple
what does not work? the opening of the menu or the using of the arg
do you have any errors
share your current script please
?paste
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
Let's continue it here to keep all the information contained in one place @karmic wing
cj89898 - Today at 09:52 AM
I really don't know if this will be possible for you, because you are trying to override a command that already exists from another plugin, but only IF the 1st argument is a player's name
sweyz — Today at 10:03 AM
its just like open a gui with a command + player. If deluxemenu is not able to do it. I think its a problem for DM
I also can remove the commands from the sourcecode of the plugin who already use it
cj89898 — Today at 10:03 AM
but you need them
sweyz — Today at 10:03 AM
For create the command only on dm with plugin features to work
cj89898 — Today at 10:04 AM
you still need them for running /duel player Castle or something, right?
sweyz — Today at 10:04 AM
Nope
I need it for open my duel gui, choose a kit inside this one
and it will run as playercommand ./duel player <kit>
I looked if all worked with like my name to replace the player arg
It worked
but not with the player arg 😢
cj89898 — Today at 10:05 AM
You will have to remove the other duel command
make sure to register the command in deluxemenus, add the args (probably have already), then restart
but again you're using 1.8.8 which is outdated and unsupported so I can't make guarantees of arguments working in the slightest
but I think I've seen it before
still having issues, send menu
dooesn't help when you have 3 forum posts for 1 issue, makes people nto want to help you as they just keep seeing the same thing
I purposefully haven't opened any of your forum posts because I remember having one with you in the past and we made it nowhere on the issue.
Bruh, atleast he tried, ur mega toxic
When you open a brand new forum post, you don't bring any information that people have given to you to the new post
There is vital information in what I said, because it's now been repeated
All we tried CJ is on the pastebin actually
Here is the same synthax you let me tried
And here is what we actually all tried 🥲
I want to me to say what we do, this and send me the wiki 2-3 times more bru
Let me put it this way
99% chance: this is impossible from what I remember about the issue
I'll change the duel gui into the practice's source code also
better issue
You can report it to the DM developpers?
Like i know someones who have my problems with others 2 words commands
and its a problem of DM also
menu_title: 'Test'
open_command: keyboard
register_command: true
args:
- variable
size: 54
items:
'space':
material: paper
slot: 1
display_name: '{variable}'
click_commands:
- '[message] {variable}'
This 100% works for arguments on the latest versions of mc/dm. if you type /keyboard toothpaste the variable will come through
If it's an actual issue, yes. 1.8.8 support has been dropped so if it only happens in older versions, it will not be fixed
They can come here with their own issues and seek help as well.
you tried to help me
cj
How work the gui ?
like /keyboard test do message test right ?
in the menu the item name will be the argument you put, and the message you get when clicking it, will be the argument you put
how
What?
I actually write the synthax
i'll try it but i don't have friend at this time to try it
well you don't need a friend, just put the argument in an item name or soemthing like I did
or a message
It don't run the menu on /duel notSweyz
And you don't have any other /duel commands registered ATM?
I have the strikepractice /duel command in the same time
It covert /duel and /duel <player>
And you're going to remove that, right?
Okay, do that and test again
Also, which version of deluxemenus are you using again?
hmk
deluxemenus or strike?
you coul;d change the dm command to testing just to test it, yes
the developper is a friend
ok
It work with /testing <player>
like it work how i want it litterally
The problem is know how to bypass the stikepractice command
or i must remove it
Ok
It work with /duel
it replace the command i tried to replace
It work perfectly
@distant charm ty brotha