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'