Minecraft server için vote sistemi nasıl yapılır?

mutlalk

Decapat
Katılım
2 Şubat 2023
Mesajlar
265
Ben şimdi vote sistemi sunucuma bağladım ama vote verince elmas veriyor. Onu excellentcrates de ayarladığım vote ana hatarı vermesini istiyorum ama nasıl?
 
Son düzenleyen: Moderatör:
Ben şimdi vote sistemi sunucuma bağladım ama vote verince elmas veriyor. Onu excellentcrates de ayarladığım vote ana hatarı vermesini istiyorum ama nasıl?

Kodu siz yazdiysaniz kodlardan diamond kısmını anahtar ile değiştirin.
 
Kod ben yazmadım videodan bakarak yaptım bir de kasa plugin ile anahtar eşyasını misal olarak kapı olarak yaptım item kısmına ne yazacağım door yazarsam normal kapı verecek.

O kadar bilmiyorum eskiden pluginleri kodlari kendim yazardim jackpot sistemi gibi kodlardim.
 
Item verme aksiyonunu gerçekleştiren kod bloğunu paylaşabilir misiniz?
 
Item verme aksiyonunu gerçekleştiren kod bloğunu paylaşabilir misiniz?
Nasıl yani /vote yapıyorum kendisinin sundukları default elmas item sunuyor lar oda yml dosyasına değişiyor glba bende bilmiyorum tam bide bir yerde gördüm ben anlamadım siz anlarsınız belki Rewards bursan bakın dedi birisi
 
Hangi plugini kullanıyorsunuz?
 
VotingPlugin içerisinde reward olarak komut çalıştırabiliyorsunuz, oyuncunuz vote verdikten sonra item vermek yerine komut çalıştırın bu komut console üzerinde çalışmalı.

Örnek Komut: /crate key give %player% anahtar_adi 1
 

Onu nasıl yapacağım biliyormusunuz

# This is a reward file
# Define rewards in here (Items, commands, etc)
# File name is the reward name, without file extention
# This reward is named "ExampleBasic"
# That is what you put as a reward for other plugins, like VotingPlugin
# DO NOT HAVE DUPLICATE NAMES!!
#
# Wiki Page:
# Reward files
#
# This is basic reward file
# You can have multiple reward files that contain all kinds of rewards
# Below are some basic things you can have, see the advanced example for more
#
# You can just remove values you don't want (just delete it)
# If you just want money just have a reward file containg only "Money: 100", for example
# You can simply copy and paste from here what you want
# in other reward files, that is the way they are designed
#
# If true:
# Only allow one item with chance to go through (from items below)
# If no chance specificied it will only give the first item
OnlyOneItemChance: false
Items: {}
Money: 0
EXPLevels: 3
Commands:
-'/crate give {username} vote 1'
Messages:
Player: '&aMessage on reward'
Broadcast: '&aThis is a broadcast'
 
Bu siteyi kullanmak için çerezler gereklidir. Siteyi kullanmaya devam etmek için çerezleri kabul etmelisiniz. Daha Fazlasını Öğren.…