Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How i can count votes?

Comments in 'Plugin Development' started by Mac_MC, Mar 9, 2014.

  1. Mac_MC
    Offline

    Mac_MC Banned

    Joined:
    Mar 9, 2014
    Posts:
    10
    Minecraft User:
    Mac_DRK
    Hey coder,
    im making a freebuild server where i want count the votes of players (in a array)
    How can i make it?

    /vote pvpworld
    output: you have voted!
    /seevotes

    output: 2 Votes pvpworld, 1 vote: freebuild world....

    and if the time is over (i know about the schedule...)

    ChatAPI::The vote time is over!
    ChatAPI::The map pvpworld has won
    ConsoleAPI::tp @all pvpworld


    Thank you
    Mac_MC
  2. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,707
    Plugins:
    22
    Minecraft User:
    Falkirknh
  3. Mac_MC
    Offline

    Mac_MC Banned

    Joined:
    Mar 9, 2014
    Posts:
    10
    Minecraft User:
    Mac_DRK

Share This Page

Advertisement