Voter Rewards

Rewards players who vote for your server on rust-servers.net

Total Downloads: 3,456 - First Release: Jan 5, 2015 - Last Update: Jun 18, 2017

5/5, 18 likes
  1. It won't give the actual items to people when they do /rewards 1 etc, although it says it has given the items and it doesn't throw any errors to console either :S
     
  2. This plugin just need to be re-written in C# I think, but maybe not. It basically won't use any items names with spaces or the new short names. If you put "Supply Signal" in the config file and try to claim it in-game with /rewards # it will say "You have claimed your reward." but doesn't give you anything. If you put "supply.signal" in the config and try to claim with the command, it doesn't send you any message and sends an error to the console. It also screws up the formatting of the .json file.

    The error is this:

    If you use "supply.signal" it also displays it like this in-game

    [​IMG]

    It has to do with this

    Code:
    item = global.ItemManager.CreateByName(name, amount)
    
    I've decompiled Assembly-CSharp.dll and looked up the method but the arguments look normal to me? I tried to fix it with my limited LUA knowledge. Any ideas @LaserHydra? A lot of servers need this to encourage their players to vote. it would be nice for it to be updated.

    Thank you so much for your time! <3
     
  3. propably the dot srews the config up, as it thinks its a table. as you see on the screen it says: Table
    [DOUBLEPOST=1441145146][/DOUBLEPOST] yes you'd first to add something to the plugins code. I could to that.
     
  4. If you could do that, you would be sooo awesome! Players have been asking me for weeks when it would be fixed. And I've been telling them, it's out of our hands for now. :p
     
  5. Any news on the supply signal reward?
     
  6. I think LaserHydra is looking into it when he gets a chance (he has loads of plugins to maintain though so give him time)
     
  7. LaserHydra, I will happily throw 10$ your way if you can fix this plugin for people.
     
  8. Any way admins can assign points to players?
     
  9. I can't get some items to work. Please help!

    Config:

    Code:
    {
      "Messages": {
        "ChatFormat": "<color=#af5>{NAME}:</color> {MESSAGE}",
        "ChatName": "[Voter]",
        "ChatPlayerIcon": true,
        "Help": [
          "/vote -- show a list of available urls for voting and get points for voting",
          "/rewards -- show the rewards information and your points",
          "/rewards [ID] -- get the reward"
        ],
        "RewardGived": "You got your reward!",
        "RewardNotFound": "Reward with this ID cann't be found!",
        "RewardNotPoints": "You do not have enough points for this reward!",
        "RewardsBalance": "Your points: %s",
        "RewardsBegin": "-------- /rewards [id] (Get Reward) --------",
        "RewardsEnd": "-------------------------------------------------",
        "RewardsList": "Points: {PRICE}, Reward: {REWARD}",
        "StatusBadApiKey": "Invalid API key.",
        "StatusCanVote": "You can vote at '%s' (Points for voting: %i)",
        "StatusGetPoint": "Thanks for vote! (Points received: %s)",
        "StatusNotAvailable": "The tracker is not available now. Please try again later."
      },
      "Settings": {
        "DataFile": "VoterData",
        "Rewards": [
          {
            "price": 1,
            "reward": {
              "blueprint_fragment": 1200
            }
          },
          {
            "price": 2,
            "reward": {
              "black_raspberries": 10,
              "largemedkit": 5,
              "syringe_medical": 15
            }
          },
          {
            "price": 3,
            "reward": {
              "hq_metal_ore": 150,
              "stones": 35000,
              "wood": 35000
            }
          },
          {
            "price": 4,
            "reward": {
              "ammo_rifle_explosive": 100,
              "ammo_rifle_hv": 100,
              "rifle_ak": 2,
              "rifle_bolt": 100
            }
          }
        ],
        "RewardsCommand": "rewards",
        "Trackers": {
          "[Rust-ServerList]": {
            "ID": "",
            "Key": "",
            "PointsForVote": 1
          },
          "[Rust-Servers]": {
            "ID": "......",
            "Key": ".....",
            "PointsForVote": 1
          },
          "[TopRustServers]": {
            "ID": "....",
            "Key": "....",
            "PointsForVote": 1
          }
        },
        "VoteCommand": "vote"
      }
    }
    ],
     
  10. Wulf

    Wulf Community Admin

    Most of those are invalid items. See Oxide API for Rust.
     
  11. They still don't work
     
  12. never mind
     
    Last edited by a moderator: Oct 5, 2015
  13. Any news on this being fixed or...?
     
  14. Wulf

    Wulf Community Admin

    I know someone is working on their own, so that may come before a fix for this.
     
  15. Shortnames website "http://radmin.elasticbeanstalk.com/item/list/approved/consumable/" cannot be found, can someone link me to a site that works or find a fix for me? I'm trying to implement "High Quality Metal" into my voting pack, but cant seem to find it! I have tried "metal.refined" and "metal _ refined" neither of which work...
     
  16. Wulf

    Wulf Community Admin

  17. When I add them people arent getting the rewards in game
    [DOUBLEPOST=1445270691][/DOUBLEPOST]Could you have a look to see what I have done wrong please?
     

    Attached Files: