#Trying to make a /duel %player% Gui

1 messages · Page 1 of 1 (latest)

north pawn
#

Hello guys, i'm trying to make a deluxemenu gui who work like you run the gui on /duel %player% as exemple and also run /duel %player% builduhc as exemple on click command.

There is how my is actually build :
menu_title: '&4&lDuel &f&lMenu'
open_command:
- duel {player}
- 1v1 {player}
- fight {player}
args:

  • player
    register_command: true
    size: 45
    items:
    'NoDebuff':
    material: POTION
    data: 16421
    enchantments:
    - FIRE_ASPECT;1
    update: true
    hide_enchantments: true
    hide_effects: true
    slot: 9
    display_name: '&dNoDebuff'
    lore:
    - '&8&m-------------&8&m-------------'
    - ''
    - ' &cDuel &f%player% &dNoDebuff &fMatches! '
    - ''
    - ''
    - '&8↠ Left-Click to &cDuel &8| Right-Click to &4BO3 &8↞'
    - ''
    - '&8&m-------------&8&m-------------'
    left_click_commands:
    - '[sound] ENTITY_EXPERIENCE_ORB_PICKUP 2 1'
    - '[player] duel nodebuff'
    - '[close]'
    right_click_commands:
    - '[sound] ENTITY_HORSE_ARMOR 2 1'
    - '[player]duel nodebuff'
    - '[close]'
#

Can someone help me, i'm stuck and can't resolve it by myself 🥲

left jasper
#

same xD

fair anchor
#
# wrong config
lore:
  - 'some line'
  left_click_commands:
    - '[cosole] some command1'
  right_click_commands: 
    - '[cosole] some command2'

# right config
lore:
  - 'some line'
left_click_commands:
  - '[cosole] some command1'
right_click_commands: 
  - '[cosole] some command2'
north pawn
#

its like for the open gui

north pawn
fair anchor
#

why the commands is "somethings + player name" ?

#

ah, i see

#

you want to run 2 commands at the same time ?

north pawn
#

and on right click you execute /duel player builduhc for exemple

#

and left for duel player builduhcbo3

fair anchor
#

cosole command ?

#

sorry, but my english is limited

north pawn
#

player command at this time

#

it run for me /duel player builduhc

#

but i only can open the gui if i duel a player u see ?

fair anchor
#

yes

#

that's right

north pawn
#

how make it ? 😢

fair anchor
#

remove args

north pawn
#

it will just run /duel command

#

not /duel player

#

i tried

fair anchor
#

/duel .

north pawn
#

i must open a gui with /duel %player% not with just /duel

#

how i duel you

#

if /duel run a gui to duel no one

fair anchor
#

guide player to do /duel no

#

and make a item with requirement

north pawn
#

bro that make no sense

#

you want me to do a /duel who open a gui and later they open the gui they have to choose his enemie ??

#

i must make the /duel %player% work, have no other issues dude

fair anchor
#
/duel {player} # {player} is args you set
north pawn
#

as open command ?

#

and i remove the args: section ?

fair anchor
#

no, dont remove it

north pawn
#

i keep arg:

  • player
#

and i run duel {player} as open_command: ?

fair anchor
#

like you do /duel TTA_gaf

#

the args player will change to TTA_gaf

north pawn
#

okkk

fair anchor
#

and you use {player} as a placeholder

north pawn
#

click_commands is work for when you click on a kit right ?

north pawn
#

ok

#

but how i do an arg to make the gui open by /duel player

#

the click commands run /duel player kit

#

the open command bro

#

you don't upsain what is my problem bro

fair anchor
#

player duel kit ?

north pawn
#

menu_title: '&4&lDuel &f&lMenu'
open_command:
- duel
- 1v1
- fight
args:

  • player
#

you see this thing ?

#

how to make my fucking gui working with /duel %player% omg

#

i just want to make openning my gui with /duel %player% to choose the kits

#

this is my problem

#

clicks_commands is not my problem bcause they already work too white %player_name%

fair anchor
#

/duel TTA_gaf = you duel TTA_gaf ?

#

and menu will open to make you confirm ?

north pawn
#

/duel TTA_gaf open me the gui

#

and when you click on item it run the command duel player kit who send the request to the other

#

you see or???

#

/duel TTA_gaf just open the gui it not run any duels !

fair anchor
#

wait for me to make a exemple gui

#
open_command:
  - duel # <- not '- duel {player}'
register_command: true
size: 9
args:
  - player
items:
  'confirm':
    material: paper
    slot: 0
    lore:
      - 'you will duel with {player}'
      - 'click to confirm'
    click_comamnds:
      - '[player] duel {player}'
#

nodebuff is player name ?

#

@north pawn

north pawn
#

you did not understood bro

#

like you did the same thing

#

what

fair anchor
#

a kit ?

#

duel is not pvp ?

north pawn
#

open_command:

  • duel %player%
#

you see ?

#

i want a fucking /duel USERNAME for open my GUI

#

not just duel

#

and as click on the selected items into the gui it run like /duel USERNAME BuildUHC if he clicked on the buhc item

#

you upsain

#

i don't even know why you trying to make me synthax for something i don't care

#

you every time build the click commands

#

i don't fucking care about click commands

#

my problem is on the fucking open_command what is wrong with you omg

fair anchor
#

@north pawn check this again

north pawn
#

this is my actual problem

#

i don't care about /duel without {player}

#

so how am doing it if you just write it like i write it too

#

i must have the /duel player to run my gui

#

so why you try to make the /duel workable to replace /duel PLAYER

#

You know what

#

i give up, you can't even understand my problem you help me anymore

#

You really did the same thing 3 time

#

you just try do make me give up about the /duel player command ton run my mother fucking gui

#

ty

#

you were usefull like a rock

fair anchor
north pawn
#

so if i want to make it workable i just have to put - duel {player} in open_commands ?

fair anchor
#

remove {player} behind duel and try the command again

#

REMOVE {player}, Ok ?

north pawn
#

i let it into the args right ?

fair anchor
#

yes

#

i dont know how to explain, but try this

north pawn
#

have no one to try if it work

#

but i'll try it in 1 hour with my mate

#

/duel don't work anymore, it should work

fair anchor
#

should i show you my deluxemenus shop configuration ?

north pawn
#

yeah, why not

fair anchor
#

do you know how register_command: true work ?

north pawn
#

Not really bro

#

I started to learn DeluxeMenu since a little week

fair anchor
#

you need to restart server to make command work

north pawn
#

so i'm not that strong but i maked pretty sick GUI and action

#

oh yeah, already did it

fair anchor
#

do the same if change the value

north pawn
#

I'm trying to create perfect CUSTOM Gui for all a practice like Warps,Stats,Shops,Settings,PartySettings,Gadgets,Tags,Ranks

#

i restart every time i make a change on my project x)

fair anchor
#

this is sell part

north pawn
#

how update: work ?

#

this is for the update time of all the gui ?

#

like if i have placeholders in a lore of a gui, should have it everytime ?

fair anchor
#

like this

#

copy this, i'll remove

north pawn
#

Its ok

#

ty

#

Can you learn me all the advanced possibilites of deluxemenu ?

fair anchor
#

which one ?

north pawn
fair anchor
#

what's this ?

#

warp menu ?

north pawn
#

There is my warp menu

#

Who share every intresting position of my practice spawn

#

and you are teleported with custom message as action bar and custom message in the chat if you are in 1.7 and don' t see the actionbars

#

My project with deluxemenu and my own project called FightLABS is to make very very strong guis with a major part of deluxemenu possibilites

fair anchor
#

what you want from me ?

north pawn
#

Like see what we can build with deluxemenu and my need to make it strong like have no better things to do

#

If you are strong on deluxemenu

fair anchor
#

just ask everyone at this server

#

they are good to

north pawn
#

can you help me or we work together to find pretty sick things to do

#

yeah i know

fair anchor
#

you can use [console] or [message] like that : this is what you want ?

#

this is shop, but with my mother language

north pawn
#

this is more for a survival's shop right ?

fair anchor
#

this is just a survival's shop

#

each shop have each requirement

north pawn
#

its pretty sick and i see what i can do

#

My goal is first to do all my players gui and secondly make like kitmaker, arenamaker and server managers guis

fair anchor
#

what will server managers do ?

north pawn
#

kit maker and arena maker tho

fair anchor
north pawn
#

Holographic Display too????

#

LPC Toooo wtfff ?

#

yoooo

fair anchor
#

yes

north pawn
#

have only a buyable edition ???

fair anchor
#

yeah

#

i'm not using that

north pawn
fair anchor
#

just deluxemenus

north pawn
#

i need essential for warps and customs messages also

#

It could replace Essentials,StrikeTab and Holographic display for me

#

It can be worse ??

#

Ok i need CMI rn

left jasper
#

@north pawn can help me too on this?

north pawn
#

But if i found thé good one be sure i’ll send u