#PlayerPoints Shop
1 messages · Page 1 of 1 (latest)
is that with deluxemenus or no?
To confirm you want to make a shop with multiple menus for different shoppable items/perks
Yes
material: GRANITE
slot: 0
display_name: '&fGranite'
lore:
- ''
- "&8• &7Buy for: &f100 &cPoints"
- "&8• &7Sell for: &f25 &aPoints"
- ''
- '&8Left click to buy'
- '&8Right click to sell'
- ''
left_click_requirement:
requirements:
anything_here:
type: '>='
input: '%playerpoints_points%'
output: '100'
deny_commands:
- '[message] &6Shop &8> &7You need &c100 Points &fto buy &c1 x Granite&f.'
right_click_requirement:
requirements:
anything_here:
type: has item # https://wiki.helpch.at/clips-plugins/deluxemenus/options-and-configurations/requirements#has-item
material: 'GRANITE'
strict: true
deny_commands:
- '[message] &6Shop &8> &7You don''t have &c1 x Granite &fto sell.'
left_click_commands:
- '[console] points take %player_name% 100'
- '[console] minecraft:give %player_name% granite 1' # By adding "minecraft:" we avoid accidentally using a command from a plugin like Essentials
- '[message] &6Shop &8> &fYou bought &a1 x Granite &ffor &a100 Points&f.'
right_click_commands:
- '[console] points give %player_name% 25'
- '[console] minecraft:clear %player_name% granite 1' # By adding "minecraft:" we avoid accidentally using a command from a plugin like Essentials
- '[message] &6Shop &8> &fYou sold &a1 x Granite &ffor &a25 Points&f.'```
Example of the item itself
i just start from empty file?
its an item just replace the item
You can see it being used in https://github.com/HelpChat/DeluxeMenus-Wiki/blob/master/gui_menus/store.yml
i just replace this with
this
?
you could just start with this example menu
i delete all of this
'example':
material: LIME_DYE
slot: 11
priority: 1
update: true
hide_attributes: true
display_name: '&bExample Kit'
lore:
- ''
- '&7Cooldown : &f3 Days'
- '&7Left Click to Redeem'
view_requirement:
requirements:
kit_requirement:
type: string equals
input: '%essentials_kit_is_available_example%'
output: 'yes'
kit_perm:
type: has permission
permission: essentials.kits.example
left_click_commands:
- '[player] kit example'
- '[close]'
'examplecd':
material: GRAY_DYE
slot: 11
priority: 2
update: true
hide_attributes: true
display_name: '&cExample Kit Unavailable'
lore:
- '&7This kit is on cooldown!'
- '&7You must wait : &f%essentials_kit_time_until_available_example%'
- '&7Before using this kit again.'
view_requirement:
requirements:
kit_perm:
type: has permission
permission: essentials.kits.example
'examplenoperm':
material: GRAY_DYE
slot: 11
priority: 3
update: true
hide_attributes: true
display_name: '&7Example Kit'
lore:
- '&7You do not have permission for this kit!'
'shopexample':
material: head-extended_clip
slot: 12
display_name: '&r'
lore:
- '&7Shop example using'
- '&7view requirements!'
- '&fLeft click to purchase.'
priority: 1
view_requirement:
requirements:
shop_perm:
type: has permission
permission: deluxemenus.shopexample
left_click_commands:
- '[sound] ENTITY_FIREWORK_ROCKET_BLAST'
- '[console] give %player_name% skull 1 player:extended_clip name:&bExtended_Clip lore:&8<lore>|&7Example_Shop_Item|&8<lore>'
- '[message] &8[&6&lDeluxeShop&8] &fYou have succesfully purchased &7extended_clips &fhead!'
- '[console] eco take %player_name% 666'
- '[close]'
left_click_requirement:
requirements:
balance_check:
type: has money
amount: 666
'shopnoperm':
material: head-extended_clip
slot: 12
display_name: '&7No permission'
lore:
- '&8You are missing the &bdeluxemenus.shopexample'
- '&8permission which is required to view the item!'
- '&fLeft click to close the menu.'
left_click_commands:
- '[sound] ENTITY_SNOW_GOLEM_DEATH'
- '[close]'
- '[message] &8[&6&lDeluxeShop&8] &fYou have closed the menu! &7(1 Second message delay!) <delay=20>'
'filler_item':
material: GRAY_STAINED_GLASS_PANE
slots:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
display_name: ' '
?
use this menu as an example it has many useful examples you could use.
Okay i understood how to make an item.But i need to make Different Sections
for Example i click on this and it opens a different Section with Items in there
Very easy make another file with new menu stuff then you could use
-"[openguimenu] anothermenu"
anothermenu being the menus file to make it open the second menu
Can you create me Example for this i tried and it didnt work i think we are placing this in wrong place
ill link you the exmaple
nvm just send me your menu
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
in your config.yml create your different menus
please use
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
This is the config
k wait ill make it
Thanks i promise ill give the best review ever about the plugin !
im half asleep its 4 am
https://paste.helpch.at/mejajuduxa.yaml = Config.yml
https://paste.helpch.at/dusaxatano.yaml = Original (Update it)
https://paste.helpch.at/yecaviquba.yaml = Another Menu
I replace the original in here
and the config here
but what about another menu i need to create a new file for it ?
yes
in the gui menus
yes
call it EnchantedShopExampleSecondary.yml
or change it but edit it in the config.yml
I replaced all of this and reloaded and got this
and it doesnt open anything
when i click it it doesnt do anything
Help me when u can.
oh
its not here
the second one
i didnt safe the config when i pasted it
its mb
it works now
it opens the menu
I want to make 3 Sections
how do i add more?
Can you just make it for me ill tell you what i want?
check the EnchantShop File
their is a second item
called Othermenu
yes
it doesnt work
did you reload?
https://paste.helpch.at/hefecelupi.yaml - EnchantedShopSecondary3
https://paste.helpch.at/acirejuxix.yaml EnchantedShop
https://paste.helpch.at/ujuvofozad.yaml - Config
?
k imma just explain how to do it
prob will be better
so each menu needs to be in the config
the name of it without the .yml is the file "name"
when creating an item to move the user to another menu
youd use the name of the menu
issue with the menu you tried ig the item https://ss.adamh.tech/2024/07/lva9WJ2fpo.png
is the spacing
fixed it
Okay i think im getting used to this plugin
Can you help me make the items ?
This is the last thing im gonna beg u
I want to make an OP ITEMS shop like. I want there to be an Items like sword with sharpness 7 and unbreaking 5. Im using UberEnchant Plugin. The command is /uadd enchant sharpness 7
im trying to do something like that but it doesnt apply the enchant
so how i fix this?
not sure
okay that will be a problem XD
ill check later i have more questions :D:D:D:D
how can i make it look like it has enchants on it
like this
Could just do it with the lore?
Just add it in manually to the lore like you added the buy for and sell for text
Np
I did the Item shop and customized the menus ill finish tomorrow if i have any questions ill ask.Thanks for the help for now.I really appreciate it
Hello it's me again.How can I do the command for the shop menu to be seen in the commandlist for example when I type / I want players to be able to see the command
Add register-command: true
Where I put this
menu_title: '<>'
open_command:
- example
size: 27
register_command: true```
restart server
make sure its just register_command: true
ya blame avast they wont respond to my emails
they do this to everyones site
that isnt a billion dollar corp company
np
Its for social notifications like tiktok live / upload, twitch, kick and rumble
and other cool stuff
Hello I created a new Menu For vote and it works but its bugged with the normal vote menu i need to type /dm reload every time when i restart my server for my menu to work
how does it bug exactly?
so the menu is supposed to be like that
but when the server restarts it goes back to the normal menu
which is this
okay so I am assuming whats happening is you have 2 menus with the same command
change the open_command 👀
oh wait
im guessing you're using votingplugin
and it has its own /vote plugin
and the 2nd gui comes from votingplugin's /vote command
so you'd probably want to find some way to either disable votingplugin's /vote command or delay deluxemenu's /vote command registration
mhm
you dont know how to fix this issue sad:(
register the command under commands.yml I think it was
i didnt understand
go to your commands.yml and register the command
google if you cant find the file can't help atm little busy
are you using votingplugin btw @red sand
yes
wait
send your votingplugin config snippet
send snippet from Format Options to Top voters
basically the format options section
yes.
oh wait nvm
i found a better way
well basically what Adam said before
in your commands.yml file, we will register deluxemenus' command
add this in your commands.yml file
command-block-overrides: []
ignore-vanilla-permissions: false
aliases:
icanhasbukkit:
- version $1-
vote:
- deluxemenus:vote $1-
but where is this command.yml???
in your server's root directory
can you paste it for me bc ill probably fuck it up the lines https://paste.helpch.at/pexetonuqe.yaml
please
make sure to restart