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. vertx
    Offline

    vertx Active Member

    Joined:
    Dec 4, 2014
    Posts:
    61
    Minecraft User:
    Vertx
    Same here, the config.yml is correct, but nope, I got several rages per day in my server because this :p
  2. Goerick
    Offline

    Goerick Active Member

    Joined:
    Jan 24, 2014
    Posts:
    250
    Minecraft User:
    goerick
    We really care less what you know... Beside I don't get how your good with CPU's...
    LDX likes this.
  3. dxm_hippie
    Offline

    dxm_hippie Active Member Plugin Developer

    Joined:
    Feb 1, 2015
    Posts:
    413
    Plugins:
    1
    Minecraft User:
    XxDXM_hippiexX
    So i cant get this to work on pm beta 938..i type /vote and it showes nothing /: no error on the console either i dont think
  4. MCPEPIG
    Offline

    MCPEPIG Notable Member

    Joined:
    Jun 22, 2014
    Posts:
    349
    Minecraft User:
    MCPEPIG
    I'm using Pocketmine-Soft build 139 and doesnt work either.
  5. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,397
    Plugins:
    14
    There have been lots of reports about this... It should still work fine, I don't think the API has changed...
  6. lucasvitegui
    Offline

    lucasvitegui Active Member

    Joined:
    Apr 18, 2015
    Posts:
    191
    Minecraft User:
    lucasviteguiBR
  7. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,397
    Plugins:
    14
  8. deot
    Offline

    deot Active Member Plugin Developer

    Joined:
    Apr 22, 2015
    Posts:
    219
    Plugins:
    1
    Minecraft User:
    deot
    I tired Vote Rewards 2.1 for Soft Build 239, but doesn't work, for build 240, Yes it work!

    But I need it to be work on build 239, can you made that?

    In build 239 situation,
    when player do /vote nothing happened, "You Haven't voted yet" message, "You already voted today" didnt show up...
  9. BobbyTowers
    Offline

    BobbyTowers Active Member

    Joined:
    Jun 4, 2015
    Posts:
    41
    Minecraft User:
    BobbyTowers
    Love the plugin but it there anyway you can add some kind of vote tracking? I just would like to keep track of how many times anyone player votes.
  10. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,397
    Plugins:
    14
    You can check that at MinecraftPocket-Servers.com
  11. BobbyTowers
    Offline

    BobbyTowers Active Member

    Joined:
    Jun 4, 2015
    Posts:
    41
    Minecraft User:
    BobbyTowers
    It only shows the top ten voters of the month. I want to be able to track everyone's votes.
    LDX likes this.
  12. MikkiMCPE
    Offline

    MikkiMCPE Active Member

    Joined:
    May 16, 2015
    Posts:
    125
    Minecraft User:
    MikkiMC
    i was tried to make 2 commands per vote

    Code:
    - "say {PLAYER} blahblahblah from /vote"
    - "givemoney {PLAYER} 15000"
    but givemoney not working?
  13. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,397
    Plugins:
    14
    That should be working. Can you please copy and paste that exact section from the config file? Do not include your API key.
  14. MikkiMCPE
    Offline

    MikkiMCPE Active Member

    Joined:
    May 16, 2015
    Posts:
    125
    Minecraft User:
    MikkiMC
    k

    Code:
    # 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: "BEEP"
    
    # The URL for players to go to so they can vote;
    Vote-URL: "http://votemyserverlink.com"
    
    Rewards:
    
    # List of items to give players when they vote; Format: ID:Damage:Amount
      Items:
      - "331:0:32"
    
    # List of commands to execute when a player votes; Use {PLAYER} to get the player's name.
      Commands:
      - "say §a{PLAYER}§3 Get item and money from Vote!§d/vote"
      - "givemoney {PLAYER} 250"
    
    command say is working if player /vote
  15. Martin77Epic
    Offline

    Martin77Epic Banned

    Joined:
    Mar 6, 2015
    Posts:
    164
    Minecraft User:
    CookieMonsterPE
    Code:
    /bank withdraw 1500
  16. MikkiMCPE
    Offline

    MikkiMCPE Active Member

    Joined:
    May 16, 2015
    Posts:
    125
    Minecraft User:
    MikkiMC
    lastest EconomyAPI version is disabled bank.
    LoL
    Legoboy0215 likes this.
  17. Martin77Epic
    Offline

    Martin77Epic Banned

    Joined:
    Mar 6, 2015
    Posts:
    164
    Minecraft User:
    CookieMonsterPE
    Oh Omg i'm so stupid
    Dowload old version
  18. Jazzwhistle
    Offline

    Jazzwhistle Notable Member

    Joined:
    Dec 27, 2014
    Posts:
    364
    Minecraft User:
    Awzaw
    I've got the same code, double triple checked the yaml, and I have the same problem on dev build 1244. I also tried only the - "givemoney {PLAYER} 500" line but that fails too with:

    Code:
    PocketMine-MP Crash Dump Sat Jul 4 00:05:58 UTC 2015
    
    Error: Invalid argument supplied for foreach()
    File: /VoteReward.phar/src/LDX/VoteReward/Main
    Line: 52
    Type: warning
    
    THIS CRASH WAS CAUSED BY A PLUGIN
    BAD PLUGIN: VoteReward v2.1
    
    Code:
    [43]     }
    [44]     return true;
    [45]   }
    [46]   public function give(Player $p,$s) {
    [47]     if($s == "0") {
    [48]       $p->sendMessage("You haven't voted yet!\n" . $this->url . "\nVote now for cool rewards!");
    [49]     } else if($s == "1") {
    [50]       $query = new QueryTask("http://minecraftpocket-servers.com/api/?action=post&object=votes&element=claim&key=" . $this->key . "&username=" . $p->getName(),$p->getName(),false);
    [51]       $this->getServer()->getScheduler()->scheduleAsyncTask($query);
    [52]       foreach($this->items as $i) {
    [53]         $p->getInventory()->addItem($i);
    [54]       }
    [55]       foreach($this->commands as $i) {
    [56]         $this->getServer()->dispatchCommand(new ConsoleCommandSender(),str_replace("{PLAYER}",$p->getName(),$i));
    [57]       }
    [58]     } else if($s == "2") {
    [59]       $p->sendMessage("You've already voted today! Come back tomorrow to vote again.");
    [60]     } else {
    [61]       $this->getLogger()->warning(TextFormat::RED . "Error fetching vote status! Are you hosting your server on a mobile device, or is your Internet out?");
    [62]       $p->sendMessage("[VoteReward] Error fetching vote status!");
    
    Backtrace:
    #0 /VoteReward.phar/src/LDX/VoteReward/QueryTask(19): LDX\VoteReward\Main->give(pocketmine\Player Player(64), string 1)
    #1 /src/pocketmine/scheduler/AsyncPool(149): LDX\VoteReward\QueryTask->onCompletion(pocketmine\Server object)
    #2 /src/pocketmine/scheduler/ServerScheduler(266): pocketmine\scheduler\AsyncPool->collectTasks()
    #3 /src/pocketmine/Server__64bit(2500): pocketmine\scheduler\ServerScheduler->mainThreadHeartbeat(integer 26665)
    #4 /src/pocketmine/Server__64bit(2306): pocketmine\Server->tick()
    #5 /src/pocketmine/Server__64bit(2184): pocketmine\Server->tickProcessor()
    #6 /src/pocketmine/Server__64bit(1784): pocketmine\Server->start()
    I'll send the full crash dump if that would help? Thanks!
  19. MikkiMCPE
    Offline

    MikkiMCPE Active Member

    Joined:
    May 16, 2015
    Posts:
    125
    Minecraft User:
    MikkiMC
    ok thanks , maybe @LDX will update this plugin soon
  20. QuangDo
    Offline

    QuangDo Active Member

    Joined:
    Jun 23, 2015
    Posts:
    66
    Minecraft User:
    QuangDo
    how to set Guest group to Member after they voted?
    MikkiMCPE likes this.

Share This Page

Advertisement