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

VoteReward 3.0.2

The essential voting plugin for your server.

  1. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    LDX submitted a new plugin:

    VoteReward - Reward all the voters!

    Read more about this plugin...
    PocketKiller, 64FF00 and mightysun99 like this.
  2. tnpxxsheepdog
    Offline

    tnpxxsheepdog Notable Member

    Joined:
    Dec 31, 2013
    Posts:
    356
    Minecraft User:
    TNPXXSHEEPDOG
    Finally got approved! At first it wasn't allowed because it didn't use Async right?
    LDX and 64FF00 like this.
  3. TonyDroidd
    Offline

    TonyDroidd Active Member

    Joined:
    Sep 6, 2014
    Posts:
    180
    Minecraft User:
    TonyDroidd
    emm...
    LDX likes this.
  4. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,710
    Plugins:
    22
    Minecraft User:
    Falkirknh
    Yeah, it uses AsyncTask now.
    LDX likes this.
  5. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    Yup. But I finally got it to actually be async thanks to @Falk!
    Falk likes this.
  6. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    Hmm?
  7. tnpxxsheepdog
    Offline

    tnpxxsheepdog Notable Member

    Joined:
    Dec 31, 2013
    Posts:
    356
    Minecraft User:
    TNPXXSHEEPDOG
    Can someone explain Async and the benefits of it? All I can find is android stuff about Async
  8. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,710
    Plugins:
    22
    Minecraft User:
    Falkirknh
    It runs outside of the main thread so the server doesn't have to wait for the task to complete.
  9. tnpxxsheepdog
    Offline

    tnpxxsheepdog Notable Member

    Joined:
    Dec 31, 2013
    Posts:
    356
    Minecraft User:
    TNPXXSHEEPDOG
    Oh I remember it used to lag so the plugin could check the API to see if the user voted. Thanks!
    LDX likes this.
  10. Xenturio
    Offline

    Xenturio Active Member

    Joined:
    Sep 19, 2014
    Posts:
    333
    Minecraft User:
    Xenturio
    can u make a language support so i can translate it into german? or can i have the souce?
  11. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    The source is on Github, here. :)
    Xenturio likes this.
  12. goodholy
    Offline

    goodholy New Member

    Joined:
    Sep 8, 2014
    Posts:
    18
    Minecraft User:
    kennethgomad
    this is not working
  13. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    It should be... Any errors?
  14. Xenturio
    Offline

    Xenturio Active Member

    Joined:
    Sep 19, 2014
    Posts:
    333
    Minecraft User:
    Xenturio
  15. Manticor
    Offline

    Manticor New Member

    Joined:
    Oct 22, 2013
    Posts:
    5
    Minecraft User:
    ManticorMC
    I keep on getting an error in my console:
    [WARNING] RuntimeException: "yaml_parse(): parsing error encountered during parsing: did not find expected key (line 18, column 6), context while parsing a block mapping (line 13, column 3)" (E_WARNING) in "/VoteReward.phar/src/LDX/VoteReward/Main" at line 17
    ----------------------------

    Here is what my config is:
    # Config file for VoteReward by LDX;
    # VoteReward works with MinecraftPocket-Servers.com

    # Your server's API key; Can be found on your server's settings page.
    API-Key: "i456vt4ysepxq1g4216zh56mdqn6z8mn1eu"

    # The URL for players to go to so they can vote;
    Vote-URL: "http://minecraftpocket-servers.com/server/5520/vote/"

    Rewards:

    # List of items to give players when they vote; Format: I:eek:Damage:Amount
    Items:
    - "276:0:1”

    # List of commands to execute when a player votes; Use {PLAYER} to get the player's name.
    Commands:
    - "say {PLAYER} voted with /vote and got the Elite kit”
    ----------------------------
    I'm currently using developer build 879. I already reset my API key if you are wondering about that. Is there something I need to do first before I edit anything in the config.yml file? Thanks
  16. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    Try deleting your entire config file. Somewhere, you made a mistake in your syntax.
  17. Kiril
    Offline

    Kiril New Member

    Joined:
    Dec 14, 2014
    Posts:
    16
    Minecraft User:
    Tidehunter
    i fix it its a great man and if i can give you 5 more stars i would :) what will be the comand for giving cmode someone in config i try a cople like "gamemode 1 {PLAYER}" but it cant respone with that im doing it worng i gues sorry im new :)
  18. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    That should work... Make sure the file is formatted correctly.
  19. TonyDroidd
    Offline

    TonyDroidd Active Member

    Joined:
    Sep 6, 2014
    Posts:
    180
    Minecraft User:
    TonyDroidd
    [WARNING] RuntimeException: "yaml_parse(): parsing error encountered during parsing: did not find expected key (line 18, column 91), context while parsing a block mapping (line 13, column 3)" (E_WARNING) in "/VoteReward (2).phar/src/LDX/VoteReward/Main" at line 17

    I have te lastest version of PM-Soft
    64FF00 likes this.
  20. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    Please delete your configuration file, restart your server, and try again. Be careful while editing the configuration. ;)
    TonyDroidd and iJoshuaHD like this.

Share This Page

Advertisement