wulnry
Odunlara Vur Vur Vur!
- Katılım
- 19 Ağustos 2022
- Mesajlar
- 27
- Elmaslar
- 4
- Puan
- 3.805
- Konum
- istanbul
- Minecraft
- rivoles
Discord:
wulnry
Merhabalar, Minecraft sunucumda market için deluxemenus pluginini kullanıyorum. Şöyle menüdeyken mesela çimen satmak istediğimde envanterimde yok dolayısıyla satamıyorum. Ama bazı bloklarda envanterde olmasa bile satabiliyorum. Ve kodlardada hiç sorun yok, nasıl çözebilirim?
Örnek:
Örnek:
Kod:
Çimen:
'grass_block':
material: grass_block
slot: 19
display_name: '&eGrass Block'
lore:
- ''
- "&8• &fSell for: &c$1.4/ea"
- "&8• &fBuy for: &a$28/ea"
- ''
- '&e➥ &cLeft-Click to sell 1x'
- ' &cShift-Left-Click to sell 16x'
- '&e➦ &aRight-Click to buy 1x'
- ' &aShift-Right-Click to buy 16x'
left_click_requirement:
requirements:
has_item:
type: has item
material: 'grass_block'
amount: 1
strict: true
deny_commands:
- '[message] &8[&b&l!&8] &b&lShop &8→ &cYou don''t have the items to sell.'
shift_left_click_requirement:
requirements:
has_item:
type: has item
material: 'grass_block'
amount: 16
strict: true
deny_commands:
- '[message] &8[&b&l!&8] &b&lShop &8→ &cYou don''t have the items to sell.'
right_click_requirement:
requirements:
has_item:
type: has money
amount: 28
strict: true
deny_commands:
- '[message] &8[&b&l!&8] &b&lShop &8→ &cYou don''t have enough money to buy.'
shift_right_click_requirement:
requirements:
has_item:
type: has money
amount: 448
strict: true
deny_commands:
- '[message] &8[&b&l!&8] &b&lShop &8→ &cYou don''t have enough money to buy.'
left_click_commands:
- '[console] eco give %player_name% 1.4'
- '[console] minecraft:clear %player_name% grass_block 1'
- '[message] &8[&b&l!&8] &b&lShop &8→ &aYou have sold this item!'
- '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
- '[refresh]'
shift_left_click_commands:
- '[console] eco give %player_name% 22.4'
- '[console] minecraft:clear %player_name% grass_block 16'
- '[message] &8[&b&l!&8] &b&lShop &8→ &aYou have sold these items!'
- '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
- '[refresh]'
right_click_commands:
- '[console] eco take %player_name% 28'
- '[console] minecraft:give %player_name% grass_block 1'
- '[message] &8[&b&l!&8] &b&lShop &8→ &aYou have bought this item!'
- '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
- '[refresh]'
shift_right_click_commands:
- '[console] eco take %player_name% 448'
- '[console] minecraft:give %player_name% grass_block 16'
- '[message] &8[&b&l!&8] &b&lShop &8→ &aYou have bought this item!'
- '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
- '[refresh]'
Kod:
Toprak:
'dirt':
material: dirt
slot: 20
display_name: '&eDirt'
lore:
- ''
- "&8• &fSell for: &c$2.5/ea"
- "&8• &fBuy for: &a$50/ea"
- ''
- '&e➥ &cLeft-Click to sell 1x'
- ' &cShift-Left-Click to sell 16x'
- '&e➦ &aRight-Click to buy 1x'
- ' &aShift-Right-Click to buy 16x'
left_click_requirement:
requirements:
has_item:
type: has item
material: 'dirt'
amount: 1
strict: true
deny_commands:
- '[message] &8[&b&l!&8] &b&lShop &8→ &cYou don''t have the items to sell.'
shift_left_click_requirement:
requirements:
has_item:
type: has item
material: 'dirt'
amount: 16
strict: true
deny_commands:
- '[message] &8[&b&l!&8] &b&lShop &8→ &cYou don''t have the items to sell.'
right_click_requirement:
requirements:
has_item:
type: has money
amount: 50
strict: true
deny_commands:
- '[message] &8[&b&l!&8] &b&lShop &8→ &cYou don''t have enough money to buy.'
shift_right_click_requirement:
requirements:
has_item:
type: has money
amount: 800
strict: true
deny_commands:
- '[message] &8[&b&l!&8] &b&lShop &8→ &cYou don''t have enough money to buy.'
left_click_commands:
- '[console] eco give %player_name% 2.5'
- '[console] minecraft:clear %player_name% dirt 1'
- '[message] &8[&b&l!&8] &b&lShop &8→ &aYou have sold this item!'
- '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
- '[refresh]'
shift_left_click_commands:
- '[console] eco give %player_name% 40'
- '[console] minecraft:clear %player_name% dirt 16'
- '[message] &8[&b&l!&8] &b&lShop &8→ &aYou have sold these items!'
- '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
- '[refresh]'
right_click_commands:
- '[console] eco take %player_name% 50'
- '[console] minecraft:give %player_name% dirt 1'
- '[message] &8[&b&l!&8] &b&lShop &8→ &aYou have bought this item!'
- '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
- '[refresh]'
shift_right_click_commands:
- '[console] eco take %player_name% 800'
- '[console] minecraft:give %player_name% dirt 16'
- '[message] &8[&b&l!&8] &b&lShop &8→ &aYou have bought this item!'
- '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
- '[refresh]'
Moderatör tarafından düzenlendi:
