#Delux menus create

1 messages · Page 1 of 1 (latest)

gray canopy
#

Hello my friends, good evening. I would like to know how I can create a menu where the player only has permission and money to access the kit if they actually have enough funds to purchase it. The plugin I'm using is EssentialsX, named PvP Kit. I'll be honest, because my entire menu is created via GPT chat.

The problem that is happening is the following, even though I have no op and no balance, it shows the message saying that I bought the kit without having bought it and it is not showing in any way the message that the player has no balance.

'pvp':
material: IRON_SWORD
slot: 39
display_name: "&bKit PvP"
lore:

''
'&fClique esquerdo: &7Comprar Kit PvP'
'&fClique direito: &7Visualizar conteúdo'
''
'&7Valor: &eR$ 4.000 &7Coins'
left_click_requirement: saldo_pvp
left_click_commands:
'[console] money take %player_name% 4000'
'[console] lp user %player_name% permission set essentials.kit.pvp true'
'[delay] 5'
'[player] kit pvp'
'[delay] 5'
'[console] lp user %player_name% permission unset essentials.kit.pvp'
'[message] &aVocê comprou o Kit PvP por 4.000 coins!'
'[sound] ENTITY_PLAYER_LEVELUP'
'[close]'
left_click_requirement_failed_commands:
'[message] &cVocê não tem saldo suficiente para comprar esse kit.'
'[sound] BLOCK_NOTE_BLOCK_BASS'
right_click_commands:
'[openguimenu] pvp_visualizacao'

requirements:
saldo_pvp:
type: money
amount: 4000
comparison: '>='

delux menus

pvp:
delay: 0
cost: 4000
permission: essentials.kit.pvp
items:

iron_helmet 1
iron_chestplate 1
iron_leggings 1
iron_boots 1
iron_sword 1
shield 1 basecolor:16383998
golden_apple 10
essentialsx

blazing kindle
# gray canopy Hello my friends, good evening. I would like to know how I can create a menu whe...

Hello, you do not need to assign the player permission to give the kit.

Instead, you can use kit (kit) (player) from the console and it'll give the player the kit, even if they don't have permission.

eg:

[console] kit pvp %player_name%

Additionally, since I know you're using ShopGUI+, do you know that you can sell commands in ShopGUI+? Saves you having to configure this akward shop menu in DeluxeMenus.
https://docs.brcdev.net/#/shopgui/shops-items-setup?id=commands

gray canopy
# blazing kindle Hello, you do not need to assign the player permission to give the kit. Instea...

Good morning, my friend. Are you serious? My friend, I can't believe you created the Deluxe Menus plugin, and I'll have your support for it too?
Oh my God, what a blessing, man. If you can help me create the menus and everything goes well, I'll write a huge thank you message in both plugins, letting you know all about your wonderful education, simplicity, and attention. I'll check this out later, since everything I use is via GPT Premium chat. For now, thank you very much, and I'll chat with you again soon.

gray canopy
# blazing kindle Hello, you do not need to assign the player permission to give the kit. Instea...

Hello my friend, good afternoon. Can you help me? I would like to create a menu where clicking on the iron sword will deduct the value of 4k coins with the Vault plugin + MiyukiEconomy. I would like to create a rule where the player will only get the kit if they actually have the full 4k coins. In other words, they will only receive the PvP kit if they actually have the 4k to get it. However, the Deluxe menus are not able to perform the 100% verification. It is presenting problems when it goes to verify it, even without any value, it deducts the full 4k and sometimes gives the kit to the player. Not to mention the message that regardless of whether they purchased the kit or not, when clicking on the sword, it always says they purchased the kit instead of just saying they do not have enough funds.

Remembering that the menu is created by chatgpt premium, I have no idea how to create menus without it.
Here is the current menu configuration.

'pvp':
material: IRON_SWORD
slot: 39
display_name: "&bKit PvP"
lore:
- ''
- '&fClique esquerdo: &7Comprar Kit PvP'
- '&fClique direito: &7Visualizar conteúdo'
- ''
- '&7Valor: &eR$ 4.000 &7Coins'
left_click_requirement: saldo_pvp
left_click_commands:
- '[console] money take %player_name% 4000'
- '[console] lp user %player_name% permission set essentials.kit.pvp true'
- '[delay] 5'
- '[player] kit pvp'
- '[delay] 5'
- '[console] lp user %player_name% permission unset essentials.kit.pvp'
- '[message] &aVocê comprou o Kit PvP por 4.000 coins!'
- '[sound] ENTITY_PLAYER_LEVELUP'
- '[close]'
left_click_requirement_failed_commands:
- '[message] &cVocê não tem saldo suficiente para comprar esse kit.'
- '[sound] BLOCK_NOTE_BLOCK_BASS'
right_click_commands:
- '[openguimenu] pvp_visualizacao'

requirements:
saldo_pvp:
type: money
amount: 4000
comparison: '>='

blazing kindle
gray canopy
#

I don't know how to implement this system, is it possible to make it look like the photo I'm going to send?

gray canopy
gray canopy
#

Hello friends, how do I create a system where the plugin that will give the player the kit is essentialsx?

I'd like to create the following: if the player clicks on the iron sword, if they have enough coins to buy the kit, they receive it without delay. As long as they have money, they can get the kit indefinitely until they run out of money.

However, I can't perform this action because the requirements sometimes fail, and the GPT chat can't resolve this issue.

I'd just like it to be that if the player actually has the money, they receive the kit. If they don't have enough money, a message will display saying they don't have enough funds to perform this action.

I'm using Deluxe Menus + Essentialsx + Vault + MiyukiEconomy-1.0.2-BETA.

Can someone please help me?

gray canopy
#

Good morning, can anyone tell me if the file above is configured correctly please?

zealous jasper
#
requirements:
  money:
    type: has money
    ammount: 4000
    deny_commands:
      - "[message] &cVocê precisa de &e4.000 coins &cpara comprar este kit."
gray canopy
zealous jasper
#

don't use AI for this type of thing, the wiki is not made to be read from AI functionally

gray canopy
zealous jasper
#

yes, if they have money they will get the kit when click

#

no matter if eseentials or playerkits2 is the plugin you use for kits

gray canopy
#

ok thanks, I'll try to do it later with this system you gave

gray canopy
#

Good morning my friends, can someone help me please? Just 1 file is already the same as the others. I appreciate any help if possible.

gray canopy
#

Good afternoon my friends, can anyone help?

gray canopy
#

Good evening my friends, can someone tell me if these menus are correct please? One is a copy of the other, you don't need to look at everything, thank you.

knotty pecan
#

For me theres a bit of a language barrier unfortunately so I don't fully understand all of the configs but my advice would be to just throw all of these onto a test server and just try out everything in each GUI and find your bugs that way.. One thing I noticed but wanted to ask for clarification on was-

      - '[player] msg Temporadas ainda em desenvolvimento'```

Its in the second to last menu labled "**temporadas_menu.yml**". Are you trying to message the player here? If so- use `[message]` action not `[player]`. What you have will make the player run the command `/msg Temporadas ainda em desenvolvimento` which I dont think is what you intended.
gray canopy
#

Good evening, Major. Please forgive me for writing in English, as I'm Brazilian and use a translator to communicate.
I'm currently using all of the above on the local host, but I wanted to know if the information within it is correct so that I won't have any problems when I move the server to the host. I've spent several months reading the entire wiki and can't get anything to work manually. All of these menus were created via GPT chat.

knotty pecan
#

Are you unable to test these in-game on your local host?

gray canopy
#

Regarding the system above that you are mentioning, I will still check with a dev to create this hall of fame system where the top players of each season of the server would be.

#

Yes, I'm trying, but I wanted to know if there's any wrong way or command where I might have made a mistake, so I asked for help from someone who knows how to configure it to guide me better.

#

As it turns out that in the future I upload the server to host, there will be a menu where I will have purchases with cash, that is, real money, so my concern currently is knowing if the system is good from the point of view of someone who really knows how to configure it.

knotty pecan
#

Yeah that is fair, I would not want to open/release a half finished product that likely has many bugs. I will say reading through what I'm able to understand, GPT has not followed the standard layouts for deluxemenu configurations. There's quite a few potential bugs that I can see just by glancing at it.

For starters: Anywhere you want a player to run a command after clicking an item in a GUI like you have here

      - '[player] /bonusclaim'

Don't include the "/" in it. Only [player] bonusclaim

gray canopy
#

In any case, I already thank you for your attention and patience, because as I mentioned, I've been using this system for 2 months trying to make and update it in the best possible way so that when I go up to host there are no problems.

knotty pecan
#
  'helmet':
    material: DIAMOND_HELMET
    slot: 10
    display_name: '§bCapacete de diamante'
    lore: ['&7Proteção III', '&7Inquebrável III']

I also have no idea if the "lore:" here will work... I have never seen it done this way ever. I suggest adjusting it so it looks more like

    lore:
      - "&7Proteção III, Inquebrável III"
gray canopy
#

Okay, I'll fix it right now.

knotty pecan
#

👍

#

I recommend doing that for any item that has a lore: similar to that