Votifier

Discussion in 'Archived: Plugin Requests' started by FaniX, Aug 2, 2013.

  1. Offline

    FaniX

    Hello plugin developers! I am asking for a votifier listener or a plugin.

    What I want?
    I want a addon for votifier, something similar to play.diamcraft.com voting plugin, that will give a random price and random ammount of money and xp, for people that have voted for the server.
    I also want the plugin to broadcast a message of what did the player get. For example:
    I set in the config:

    - random-prices: diamond: 5, diamondsword:sharpness5:knockback2: 1, diamond pickaxe: 1

    - money-ammount: none or 200 to 1000

    - xp-ammount: none or 100 to 500

    - message: {player} has voted and recieved {random-prize}, {money-ammount} and {xp-ammount}

    - additional-command: msg {player} thank you!

    The above example will broadcasted after a player voted saying: {player} has voted and recieved {amount} {random-price from the list}, {money-ammount} and {xp-ammount}!
    {additional-command:}


    Thanks for any responses!

    Anyone know a similar plugin to this?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 3, 2016
  2. Offline

    imaboy321

    I will try it out! It is late where I am so I will start tomorrow morning!
     
  3. Offline

    FaniX

    imaboy321 Thank You!

    Anyone else might want to fill my request?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 3, 2016
  4. Offline

    LHammonds

    Isn't this already handled in a plugin called GAListener?
     
  5. Offline

    FaniX

    LHammonds Nope, it doesnt have random-prizes feature and other features i requested!

    Anyone else willing to develop this listener im requesting?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 3, 2016
  6. Online

    timtower Administrator Administrator Moderator

  7. Offline

    FaniX

  8. Online

    timtower Administrator Administrator Moderator

    Download is in that post, feature list at the first post of the topic
     
  9. Offline

    FaniX

    Votelikeme? If so it does not support enchanted items I think.

    timtower just so you read the above post :D

    I edited my topic abit so you might want to read it again! :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 3, 2016
  10. Online

    timtower Administrator Administrator Moderator

    Nope, only non-enchanted items
     
  11. Offline

    FaniX

    Where it says:
    '1':
    id: 276,52,130,278
    min: 1
    max: 1
    '2':
    id: 265,384,45,47
    min: 32
    max: 64

    Would the plugin pick one random item from both of them? Or one random item from one of them? I only need one random item per vote, but dont want to put 64 diamonds :p
     
  12. Online

    timtower Administrator Administrator Moderator

    The config of the plugin is different:
    Code:
    reward:
      items:
        '1':
          id: 1
          min: 1
          max: 10
        '2':
          id: 2
          min: 1
          max: 32
      moneymin: 10
      moneymax: 30
      xpmin: 10
      xpmax: 50
      commands:
      - say hi PLAYER
      - kick PLAYER
    offlinevotes: []
    It will choose 1 item with an amount, the rest is kinda self explaining :p
     
  13. Offline

    FaniX

    Ooooh, so where the 'numbers' are its the items, and where the id is only one item can be picked? So I can write all of them up to '1000'? And please if your planning to continue with this plugin, add enchantment support and broadcast support which will show what has the player recieved, money amount, xp-amount!

    Thanks for all your help! :)

    Can I write all of tthe numbers up to '1000'? And where the money and xp is, does it support essentials?

    timtower votelikeme does not work, it gives error report!

    [SEVERE] Could not pass event VotifierEvent to VoteLikeMe v0.0.2
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    at com.vexsoftware.votifier.net.VoteReceiver$1.run(VoteReceiver.java:181)
    at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53)
    at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
    at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:522)
    at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
    at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
    at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
    at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
    Caused by: java.lang.NullPointerException
    at nl.timdebrouwer.votelikeme.VoteLikeMe.reward(VoteLikeMe.java:79)
    at nl.timdebrouwer.votelikeme.VoteLikeMe.onVote(VoteLikeMe.java:57)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    ... 11 more

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 3, 2016
  14. Online

    timtower Administrator Administrator Moderator

    How am I not surprised, and try editing your posts ;)
     
  15. Offline

    FaniX

  16. Online

    timtower Administrator Administrator Moderator

    Will work on a quick fix, no promises, and shall we take this conversation to the PM section?
     

Share This Page