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

    TonyDroidd Active Member

    Joined:
    Sep 6, 2014
    Posts:
    180
    Minecraft User:
    TonyDroidd
    I made already, but the problem continues
  2. Lucario
    Offline

    Lucario Banned

    Joined:
    Jan 28, 2015
    Posts:
    15
    Minecraft User:
    Lucario
    what do i have to to type in the config file to give people creative mode for voting

    here are some things i want to reward people for voting but i cant seem to figure out:

    1. Get creative mode
    2. get tp permssions (possibly with the help of pureperms)
  3. Lucario
    Offline

    Lucario Banned

    Joined:
    Jan 28, 2015
    Posts:
    15
    Minecraft User:
    Lucario
    its not working for me i get this:
    [WARNING] RuntimeException: "yaml_parse(): scanning error encountered during parsing: block sequence entries are not allowed in this context (line 20, column 24)" (E_WARNING) in "/VoteReward.phar/src/LDX/VoteReward/Main" at line 17
  4. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,397
    Plugins:
    14
    You messed it up.
    iJoshuaHD likes this.
  5. Lucario
    Offline

    Lucario Banned

    Joined:
    Jan 28, 2015
    Posts:
    15
    Minecraft User:
    Lucario
    PROBLEM: [WARNING] RuntimeException: "yaml_parse(): scanning error encountered during pa rsing: block sequence entries are not allowed in this context (line 20, column 24)" (E_W ARNING) in "/VoteReward.phar/src/LDX/VoteReward/Main" at line 17
    AND I CANT GET IT TO WORK AFTER IT SAYS WARNING IT DISABLES THE PLUGIN

    What did I do wrong? Also please help me I am in desperate need of this plugin. I will tell you in detail what I did.
    1. First i set my config file to this:
    # 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: "3f9ym89l4j3iw2f0n8miudr6ac1mxa4a"

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

    Rewards:

    # List of items to give players when they vote; Format: I:eek: (I dont know why it shows a smily face its a bug whatevs) Damage:Amount
    Items:
    - "264:0:5"
    - "265:0:3"
    - "364:0:5"

    # List of commands to execute when a player votes; Use {PLAYER} to get the player's name.
    Commands: "gamemode 1 {PLAYER}" - "say {PLAYER} voted with /vote and got cool rewards!"
    Also i didnt touch the block entries at all period.
  6. Lucario
    Offline

    Lucario Banned

    Joined:
    Jan 28, 2015
    Posts:
    15
    Minecraft User:
    Lucario
    PLEASE TELL ME HOW TO GET VOTE REWARD TO WORK I DID BY COMMANDS "gamemode 1 {PLAYER}" I DID IT EXACLTY 100 PERCENT LIKE THAT AND ITS GIVING ME AN ERROR DO I HAVE TO DO IT WITH A SLASH PLEASE TELL ME I NEED HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  7. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
    yaml_parse() errors -> http://www.yamllint.com
    LDX likes this.
  8. Lucario
    Offline

    Lucario Banned

    Joined:
    Jan 28, 2015
    Posts:
    15
    Minecraft User:
    Lucario
    hi thue error scanning did not help at all
    THERE IS SIMTHING WRONG WITHE THE BLOCK ENTRIES WHAT DID I DO WRONG TAKE A LOOK!!!!!!!!!!!!!!
    # 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: "3f9ym89l4j3iw2f0n8miudr6ac1mxa4a"

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

    Rewards:

    # List of items to give players when they vote; Format: I:eek:Damage:Amount
    Items:
    - "264:0:5"
    - "265:0:3"
    - "364:0:5"

    # List of commands to execute when a player votes; Use {PLAYER} to get the player's name.
    Commands:
    "gamemode 1 {PLAYER}" - "say {PLAYER} voted with /vote and got cool rewards!"

    PLEASE IT WOULD BE SO HELPFUL JUST TO SHOW ME HOW TO SET IT UP WITHE THE GAMEMODE CHANGE TOO
    i reset my api if anyone is wondering why cant i hack it
    Last edited: Feb 6, 2015
  9. Lucario
    Offline

    Lucario Banned

    Joined:
    Jan 28, 2015
    Posts:
    15
    Minecraft User:
    Lucario
    OK, so i want to give creative mode to all players for voting.
    pardon my japanese
    BUT THIS PLUGIN ISNT WORKING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  10. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,397
    Plugins:
    14
    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: "3f9ym89l4j3iw2f0n8miudr6ac1mxa4a"
    
    # The URL for players to go to so they can vote;
    Vote-URL: "http://minecraftpocket-servers.com/server/6188/vote/"
    
    Rewards:
    
    # List of items to give players when they vote; Format: I:eek:Damage:Amount
    Items:
    - "264:0:5"
    - "265:0:3"
    - "364:0:5"
    
    # List of commands to execute when a player votes; Use {PLAYER} to get the player's name.
    Commands:
    - "gamemode 1 {PLAYER}"
    - "say {PLAYER} voted with /vote and got cool rewards!"
  11. iJoshuaHD
    Offline

    iJoshuaHD Notable Member Plugin Developer

    Joined:
    Nov 7, 2013
    Posts:
    1,167
    Plugins:
    4
    Minecraft User:
    iJoshuaHD
    PRO TIP: DO NOT USE notepad in editing yaml files to avoid these issues.
  12. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
    Advanced notepad programs like Notepad++ is highly recommended.
  13. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
    + Make sure not to use tabs when editing YAML files!
    iJoshuaHD likes this.
  14. Lucario
    Offline

    Lucario Banned

    Joined:
    Jan 28, 2015
    Posts:
    15
    Minecraft User:
    Lucario
    GUYS, GUYS!!! Thank you, I appreacite the help. I AM EXTREMELY, AND I MEAN EXTREMELY good with cpu's. I know the coding. and I know a little bit of these types of coding a little bit of: batch, (I know batch the most) basic, php, html, and cpp. (c++).

    OK, OK!!! I dont know the point of telling you all this. But what i am trying to say is that I know cpu's VERY WELL and there is a lot of other things i didnt tell you. trust me.
    but...
    I STILL DONT GET HOW THIS DA** THING WORKS IM SORRY I WILL PROBABLY PROGRAM THIS MYSELF WHEN I LEARN phar FILES THAT HOE TICKED OFF I AM I CANT GET GET THIS TO WORK AND MAYBE I MADE A VERY STUPID MISTAKE, BUT I DO NOT KNOW WHAT I AM DOING WRONG!!! HERE IS WHAT MY POCKETMINE IS SAYING:

    18:54:46 [INFO] ----- PocketMine-MP Auto Updater -----
    18:54:46 [INFO] It appears you're running a Beta build, when you've specified that you p refer to run Stable builds.
    18:54:46 [INFO] If you would like to be kept informed about new Beta or Development buil ds, it is recommended that you change 'preferred-channel' in your pocketmine.yml to 'bet a' or 'development'.
    18:54:46 [INFO] ----- -------------------------- -----
    18:54:46 [INFO] Enabling PurePerms v1.0.4
    18:54:46 [INFO] [PurePerms] Set data provider to YAML.
    18:54:46 [INFO] Enabling SimpleAuth v1.6.0
    18:54:46 [INFO] [SimpleAuth] Everything loaded!
    18:54:47 [INFO] Preparing level "survival"
    18:54:47 [INFO] Enabling Alias v1.1.1
    18:54:47 [INFO] Enabling BanItem v2.1
    18:54:47 [INFO] Enabling EconomyGamble v2.0-alpha
    18:54:47 [CRITICAL] ClassNotFoundException: "Class onebone\economyapi\EconomyAPI not found" (EXCEPTION) in "/src/spl/BaseClassLoader" at line 122
    18:54:47 [INFO] Disabling EconomyGamble v2.0-alpha
    18:54:47 [INFO] Enabling EssentialsPE v1.0.2
    18:54:47 [INFO] [EssentialsPE] Loading...
    18:54:47 [INFO] Enabling iControlU v1.3
    18:54:47 [INFO] Enabling QRcraft v1.0.4
    18:54:47 [INFO] [QRcraft] QRcraft - Enabled
    18:54:47 [INFO] Enabling SignPortal v1.1.2
    18:54:47 [INFO] Enabling Specter v0.1
    18:54:47 [INFO] Enabling TapToDo v2.0.0
    18:54:47 [INFO] Enabling TouchHome v2
    18:54:47 [INFO] [TouchHome] Enabling TouchHome...
    18:54:47 [INFO] Enabling Universe v1.0.0
    18:54:47 [INFO] Enabling VoteReward v2.1
    18:54:47 [WARNING] RuntimeException: "yaml_parse(): scanning error encountered during parsing: block sequence entries are not allowed in this context (line 19, column 39)" (E_WARNING) in "/VoteReward.phar/src/LDX/VoteReward/Main" at line 17
    18:54:47 [INFO] Disabling VoteReward v2.1
    18:54:47 [INFO] Enabling WorldEditArt v1.0.0_beta_dev_#045
    18:54:50 [INFO] Starting GS4 status listener
    18:54:50 [INFO] Setting query port to 19134
    18:54:50 [INFO] Query running on 0.0.0.0:19134
    18:54:50 [INFO] Default game type: CREATIVE
    18:54:50 [INFO] Done (6.478s)! For help, type "help" or "?"

    I dont know how to use production. every time i use it and i put it in my pocketmine file i dlete the beta build and all thats left is production.
    then a weird error comes and pocketmine doesnt even run so I dont use production.
  15. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
    http://www.yamllint.com/

    Just copy + paste your config.yml and then check for your errors.
  16. 64FF00
    Offline

    64FF00 Active Member Plugin Developer

    Joined:
    May 11, 2014
    Posts:
    297
    Plugins:
    2
    Minecraft User:
    64FF00
    What program did you use to edit config.yml?
  17. peepzandmeepz
    Offline

    peepzandmeepz New Member

    Joined:
    Oct 27, 2014
    Posts:
    6
    Minecraft User:
    peepzandmeepz
    For some reason, my server doesn't want to register {PLAYER} in the config file. It gives all the items to the player that voted but when I run a /say command that says "{PLAYER} voted for items!", it actually shows up as {PLAYER} , not the player's name. Any idea how to resolve this?
  18. SempakBolong
    Offline

    SempakBolong New Member

    Joined:
    Mar 8, 2015
    Posts:
    6
    Minecraft User:
    SempakBolong
    Where I can see my API key?
  19. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,397
    Plugins:
    14
    On minecraftpocket-servers.com. :)
  20. HOST
    Offline

    HOST Active Member

    Joined:
    Mar 15, 2015
    Posts:
    52
    Minecraft User:
    HOST
    i got it instaled but i have a problem when using /vote in game it says you have not voted yet. but voting was done..the setup was correct what a i doing wrong?
    MCPEPIG likes this.

Share This Page

Advertisement