[Resource] Foppa's Vote Rewards [Deleted]

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
This prefix applies to all resources.
Status
Not open for further replies.
Foppa updated Vote Rewards with a new update entry:

2.5

  • Added Support for serverranks.com
  • Added Discord Integration for VoteReward Logging (Public = Less Info, Admin = More Info)
  • Added RewardName (Used for Logging to discord)
  • Added MaxItemsToReward (To Stop Give Items if player managed to get lucky and hit a jackpot of getting all items in your config)
  • Added MaxDinosToReward (Same as above but for dinos)
  • Changed Dino/Item Reward Chance Logic (Should be more random than before)
  • General Code Clean-Up (Removed...

Read the rest of this update entry...
 
Nice! I would appreciate the ability to reward with console commands!
Great Plugin! Keep it up! :)
 
Foppa updated Vote Rewards with a new update entry:

2.6

  • Reworked: Whole code, structured up, and even cleaner code structure
  • Reworked: RewardChance values to be percentage-based instead of old logic (100 = 100%, 44 = 44%, and so on (Important: UPDATE THIS!)
  • Added: Command rewards!
  • Added: Global Max Item/Dino/Command rewards
  • Added: Message when the player didn't win any extra rewards
  • Added: Command to send a manual reward through RCON/Console: vr.givereward <vote-site> <steamid> (for example: vr.givereward...

Read the rest of this update entry...
 
I don't understand how it works, can someone explain to me? :) how plugin know that player vote for server?
 
Very nice update, especially to the now not-so-confusing system for reward chances.
However since the update (and Ive spent the last 4 hours pouring over the code to find the problem and just cant see one) the reward chance percentage doesnt seem to be accurate with anything less than 100.
We have several items at between 90-98% reward chance, however they only get awarded maybe 50-60% of the time. Sometimes none at all (around 20% of the time not a single item is awarded - theres around 8-10 items so I would expect to always get at least 1 item..)
 
Very nice update, especially to the now not-so-confusing system for reward chances.
However since the update (and Ive spent the last 4 hours pouring over the code to find the problem and just cant see one) the reward chance percentage doesnt seem to be accurate with anything less than 100.
We have several items at between 90-98% reward chance, however they only get awarded maybe 50-60% of the time. Sometimes none at all (around 20% of the time not a single item is awarded - theres around 8-10 items so I would expect to always get at least 1 item..)
Yes, I'm aware it's not super easy to find the sweet spot. But I'll have in plans of improving that logic even more :)
 
Hi, i dont know if its possible to do but i want to ask if i can share points in a cluster server. For example obtaining the vote rewards in ragnarok and keep the same amount of points in extinction?
@Foppa
 
Hi, i dont know if its possible to do but i want to ask if i can share points in a cluster server. For example obtaining the vote rewards in ragnarok and keep the same amount of points in extinction?
@Foppa
Yeah, you do that with the ArkShop by connecting the arkshop to a shared MySQL database
 
I'm getting reports from players that when they try to claim their rewards from voting using the "/claim" command the only thing that happens is the message
"Checking for votes please wait.."
Then absolutely nothing happens after that. It's like the plugin completely falls asleep and forgets it was checking anything. D:
 
I'm getting reports from players that when they try to claim their rewards from voting using the "/claim" command the only thing that happens is the message
"Checking for votes please wait.."
Then absolutely nothing happens after that. It's like the plugin completely falls asleep and forgets it was checking anything. D:
Could you join my discord and create a ticket about this so we can troubleshoot that?
 
hello, I have a problem, I can't get the plugin to work even with the api key, could I have missed a step?

{
"VoteRewards": {
"Discord": {
"Enable": false,
"SenderName": "Vote Reward",
"Admin-URL": "WEBHOOK",
"Public-URL": "WEBHOOK"
},
"ServerName": "BaD MonKeY",
"VoteSitesCommand": "/vote",
"CheckCommand": "/claim",
"GlobalRewardSettings": {
"MaxCommandsReward": 10,
"MaxItemsReward": 10,
"MaxDinosReward": 10
},
"Messages": [
"Checking for votes please wait...",
"There are no rewards to claim.",
"Below are a list of sites you can vote at",
"Simply vote at a site listed above and type /claim to receive a reward",
"You must wait {} Hours & {} Minutes before making your next claim.",
"You must wait {} Seconds before making your next claim.",
"Sadly, you didn't win any extra reward this time!"
]
},
"ark-servers.net": {
"VoteKeys": [
"l6ZIvUB2Z2NsRlUQ8x6zNVYc2LtYYNRon¤¤"
],
"VoteUrls": [
"https://ark-servers.net/server/28780¤/#.YVNKqTaIomg.link"
],
"VoteDelayHours": 12,
"MinPointsReward": 250,
"MaxPointsReward": 250,
"MaxItemsToReward": 2,
"MaxDinosToReward": 2,
"MaxCommandsToReward": 2,
"ChanceofPointsOrItems": false,
"EnableXtraReward": false,
"Commands": [
{
"RewardName": "XP 1000",
"Command": "AddExperience 1000 0 0",
"RewardChance": 50,
"Message": "Here you also get 1000 XP For voting!"
},
{
"RewardName": "XP 2000",
"Command": "AddExperience 2000 0 0",
"RewardChance": 25,
"RequirePermission": "Donator",
"Message": "Here you also get 2000 XP For voting!"
},
{
"RewardName": "Evil Emote",
"Command": "GFI UnlockEmote_Evil 1 0 0",
"RewardChance": 10,
"Message": "Here you also get a Evil Emote For voting!"
}
],
"Items": [
{
"RewardName": "Sword",
"Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponSword.PrimalItem_WeaponSword'",
"RewardChance": 100,
"RequirePermission": "Donator",
"MinQuantity": 1,
"MaxQuantity": 5,
"MinQuality": 0,
"MaxQuality": 0,
"MinIsBP": 0,
"MaxIsBP": 0
}
],
"Dinos": [
{
"RewardName": "Dilo",
"RequirePermission": "Donator",
"Blueprint": "Blueprint'/Game/PrimalEarth/Dinos/Dilo/Dilo_Character_BP.Dilo_Character_BP'",
"RewardChance": 100,
"MinLevel": 2,
"MaxLevel": 40,
"Tamed": true,
"Neutered": false
}
],
"Messages": [
"Something is wrong with the request please try later.",
"Congratulations enjoy your reward"
]
},
"trackyserver.com": {
"VoteKeys": [
"APIKey"
],
"VoteUrls": [
"trackyserver.com voteURLHere"
],
"VoteDelayHours": 24,
"MinPointsReward": 50,
"MaxPointsReward": 400,
"MaxItemsToReward": 2,
"MaxDinosToReward": 2,
"MaxCommandsToReward": 2,
"ChanceofPointsOrItems": false,
"EnableXtraReward": true,
"Commands": [
{
"RewardName": "XP 1000",
"Command": "AddExperience 1000 0 0",
"RewardChance": 50,
"Message": "Here you also get 1000 XP For voting!"
},
{
"RewardName": "XP 2000",
"Command": "AddExperience 2000 0 0",
"RewardChance": 25,
"Message": "Here you also get 2000 XP For voting!"
},
{
"RewardName": "Evil Emote",
"Command": "GFI UnlockEmote_Evil 1 0 0",
"RewardChance": 10,
"Message": "Here you also get a Evil Emote For voting!"
}
],
"Items": [
{
"Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponSword.PrimalItem_WeaponSword'",
"RewardChance": 100,
"MinQuantity": 1,
"MaxQuantity": 5,
"MinQuality": 0,
"MaxQuality": 0,
"MinIsBP": 0,
"MaxIsBP": 0
}
],
"Dinos": [
{
"Blueprint": "Blueprint'/Game/PrimalEarth/Dinos/Dilo/Dilo_Character_BP.Dilo_Character_BP'",
"RewardChance": 50,
"MinLevel": 2,
"MaxLevel": 40,
"Tamed": true,
"Neutered": false
}
],
"Messages": [
"Something is wrong with the request please try later.",
"Congratulations enjoy your reward"
]
},
"toparkservers.com": {
"VoteKeys": [
"Server Key"
],
"VoteUrls": [
"toparkservers.com voteURLHere"
],
"VoteDelayHours": 24,
"MinPointsReward": 50,
"MaxPointsReward": 400,
"MaxItemsToReward": 2,
"MaxDinosToReward": 2,
"MaxCommandsToReward": 2,
"ChanceofPointsOrItems": false,
"EnableXtraReward": true,
"Commands": [
{
"RewardName": "XP 1000",
"Command": "AddExperience 1000 0 0",
"RewardChance": 50,
"Message": "Here you also get 1000 XP For voting!"
},
{
"RewardName": "XP 2000",
"Command": "AddExperience 2000 0 0",
"RewardChance": 25,
"Message": "Here you also get 2000 XP For voting!"
},
{
"RewardName": "Evil Emote",
"Command": "GFI UnlockEmote_Evil 1 0 0",
"RewardChance": 10,
"Message": "Here you also get a Evil Emote For voting!"
}
],
"Items": [
{
"Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponSword.PrimalItem_WeaponSword'",
"RewardChance": 100,
"MinQuantity": 1,
"MaxQuantity": 5,
"MinQuality": 0,
"MaxQuality": 0,
"MinIsBP": 0,
"MaxIsBP": 0
}
],
"Dinos": [
{
"Blueprint": "Blueprint'/Game/PrimalEarth/Dinos/Dilo/Dilo_Character_BP.Dilo_Character_BP'",
"RewardChance": 50,
"MinLevel": 2,
"MaxLevel": 40,
"Tamed": true,
"Neutered": false
}
],
"Messages": [
"Something is wrong with the request please try later.",
"Congratulations enjoy your reward"
]
},
"serverranks.com": {
"VoteKeys": [
"Server Key"
],
"VoteUrls": [
"serverranks.com voteURLHere"
],
"VoteDelayHours": 24,
"MinPointsReward": 50,
"MaxPointsReward": 400,
"MaxItemsToReward": 2,
"MaxDinosToReward": 2,
"MaxCommandsToReward": 2,
"ChanceofPointsOrItems": false,
"EnableXtraReward": true,
"Commands": [
{
"RewardName": "XP 1000",
"Command": "AddExperience 1000 0 0",
"RewardChance": 50,
"Message": "Here you also get 1000 XP For voting!"
},
{
"RewardName": "XP 2000",
"Command": "AddExperience 2000 0 0",
"RewardChance": 25,
"Message": "Here you also get 2000 XP For voting!"
},
{
"RewardName": "Evil Emote",
"Command": "GFI UnlockEmote_Evil 1 0 0",
"RewardChance": 10,
"Message": "Here you also get a Evil Emote For voting!"
}
],
"Items": [
{
"Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponSword.PrimalItem_WeaponSword'",
"RewardChance": 100,
"MinQuantity": 1,
"MaxQuantity": 5,
"MinQuality": 0,
"MaxQuality": 0,
"MinIsBP": 0,
"MaxIsBP": 0
}
],
"Dinos": [
{
"Blueprint": "Blueprint'/Game/PrimalEarth/Dinos/Dilo/Dilo_Character_BP.Dilo_Character_BP'",
"RewardChance": 50,
"MinLevel": 2,
"MaxLevel": 40,
"Tamed": true,
"Neutered": false
}
],
"Messages": [
"Something is wrong with the request please try later.",
"Congratulations enjoy your reward"
]
}
}
}
 
Last edited:
Hello! I am trying to get the code working for the latest ARK API; however, I cannot seem to get it to work. I've tried with both my config and the default config, and neither are loading properly. Here is my code: (censored API keys and webhooks)

Code:
{
  "LicenseKey": "",
  "VoteRewards": {
    "Discord": {
      "Enable": true,
      "SenderName": "Vote Reward",
      "Admin-URL": "private",
      "Public-URL": "private"
    },
    "ServerName": "Nitewolf2xCluster",
    "VoteSitesCommand": "/vote",
    "CheckCommand": "/claim",
    "GlobalRewardSettings": {
      "MaxCommandsReward": 10,
      "MaxItemsReward": 10,
      "MaxDinosReward": 1
    },
    "Messages": [
      "Checking for votes. Please wait! UwU",
      "There are no rewards to claim. Did you already claim them today?",
      "Below are a list of sites you can vote at!",
      "Simply vote at a site listed above and type /claim to receive a reward.",
      "You must wait {} Hours & {} Minutes before making your next claim.",
      "You must wait {} Seconds before making your next claim.",
      "Sadly, you didn't win any extra reward this time!"
    ]
  },
  "ark-servers.net": {
    "VoteKeys": [
         "private"
    ],
    "VoteUrls": [
    "Aberration: https://ark-servers.net/server/117782/vote/",
    "Crystal Isles: https://ark-servers.net/server/233059/",
       "Extinction: https://ark-servers.net/server/101815/vote/",
    "Genesis I: https://ark-servers.net/server/233058/",
    "Genesis 2: https://ark-servers.net/server/101817/vote/",
    "The Island: https://ark-servers.net/server/101816/vote/",
    "Lost Island: https://ark-servers.net/server/300550/vote/",
    "Ragnarok: https://ark-servers.net/server/101813/vote/",
    "Scorched Earth: https://ark-servers.net/server/101814/vote/",
    "Valguero: https://ark-servers.net/server/194014/vote/"
    ],
    "VoteDelayHours": 0,
    "MinPointsReward": 0,
    "MaxPointsReward": 0,
    "MaxItemsToReward": 6,
    "MaxDinosToReward": 1,
    "MaxCommandsToReward": 10,
    "ChanceofPointsOrItems": false,
    "EnableXtraReward": false,
    "Commands": [
      {
        "RewardName": "XP 1000",
        "Command": "AddExperience 1000 0 0",
        "RewardChance": 50,
        "Message": "Thank you for voting! Have 1000 XP!"
      },
      {
        "RewardName": "XP 2000",
        "Command": "AddExperience 2000 0 0",
        "RewardChance": 25,
        "Message": "Thank you for voting! Have 2000 XP!"
      },
      {
        "RewardName": "Evil Emote",
        "Command": "GFI UnlockEmote_Evil 1 0 0",
        "RewardChance": 10,
        "Message": "Thank you for voting! Be evil!"
      }
    ],
    "Items": [
      {
        "RewardName": "10 ARc Points",
        "Blueprint": "Blueprint'/Game/Mods/TCsAutoRewards/Main/Currency/PrimalItemConsumable_TCsAR_CurrencyARcTitanium.PrimalItemConsumable_TCsAR_CurrencyARcTitanium'",
        "RewardChance": 100,
        "MinQuantity": 1,
        "MaxQuantity": 1,
        "MinQuality": 0,
        "MaxQuality": 0,
        "MinIsBP": 0,
        "MaxIsBP": 0
      }
    ],
    "Dinos": [
      {
        "RewardName": "Bulbdog",
        "Blueprint": "Blueprint'/Game/Aberration/Dinos/LanternPug/LanternPug_Character_BP.LanternPug_Character_BP'",
        "RewardChance": 0.375,
        "MinLevel": 150,
        "MaxLevel": 150,
        "Tamed": true,
        "Neutered": false
      },
      {
        "RewardName": "Featherlight",
        "Blueprint": "Blueprint'/Game/Aberration/Dinos/LanternBird/LanternBird_Character_BP.LanternBird_Character_BP'",
        "RewardChance": 0.375,
        "MinLevel": 150,
        "MaxLevel": 150,
        "Tamed": true,
        "Neutered": false
      },
      {
        "RewardName": "Glowtail",
        "Blueprint": "Blueprint'/Game/Aberration/Dinos/LanternLizard/LanternLizard_Character_BP.LanternLizard_Character_BP'",
        "RewardChance": 0.375,
        "MinLevel": 150,
        "MaxLevel": 150,
        "Tamed": true,
        "Neutered": false
      },
      {
        "RewardName": "Jerboa",
        "Blueprint": "Blueprint'/Game/ScorchedEarth/Dinos/Jerboa/Jerboa_Character_BP.Jerboa_Character_BP'",
        "RewardChance": 0.375,
        "MinLevel": 150,
        "MaxLevel": 150,
        "Tamed": true,
        "Neutered": false
      },
      {
        "RewardName": "Shinehorn",
        "Blueprint": "Blueprint'/Game/Aberration/Dinos/LanternGoat/LanternGoat_Character_BP.LanternGoat_Character_BP'",
        "RewardChance": 0.375,
        "MinLevel": 150,
        "MaxLevel": 150,
        "Tamed": true,
        "Neutered": false
      },
      {
        "RewardName": "Sinomacrops",
        "Blueprint": "Blueprint'/Game/LostIsland/Dinos/Sinomacrops/Sinomacrops_Character_BP.Sinomacrops_Character_BP'",
        "RewardChance": 0.375,
        "MinLevel": 150,
        "MaxLevel": 150,
        "Tamed": true,
        "Neutered": false
      },
      {
        "RewardName": "Vulture",
        "Blueprint": "Blueprint'/Game/ScorchedEarth/Dinos/Vulture/Vulture_Character_BP.Vulture_Character_BP'",
        "RewardChance": 0.375,
        "MinLevel": 150,
        "MaxLevel": 150,
        "Tamed": true,
        "Neutered": false
      },
      {
        "RewardName": "Noglin",
        "Blueprint": "Blueprint'/Game/Genesis2/Dinos/BrainSlug/BrainSlug_Character_BP.BrainSlug_Character_BP'",
        "RewardChance": 0.1875,
        "MinLevel": 150,
        "MaxLevel": 150,
        "Tamed": true,
        "Neutered": false
      },
      {
        "RewardName": "Ferox",
        "Blueprint": "Blueprint'/Game/Genesis/Dinos/Shapeshifter/Shapeshifter_Small/Shapeshifter_Small_Character_BP.Shapeshifter_Small_Character_BP'",
        "RewardChance": 0.09375,
        "MinLevel": 150,
        "MaxLevel": 150,
        "Tamed": true,
        "Neutered": false
      }
    ],
    "Messages": [
      "Something is wrong with the request. Please try later.",
      "Congratulations! Enjoy your reward from ark-servers.net!~"
    ]
  }
}
 
hello
Please can you add this site to the plugin top-serveurs.net
Thank you
 
Foppa updated Foppas Vote Rewards with a new update entry:

3.0

  • Complete Plugin-Overhaul
  • Added support for TopGameServers.net
  • Added New config layout
  • Added New license system
  • Added New RewardKit Concept
  • Added New Permission Concept
  • Added Colour option for dinos
  • Added Cryo option for dinos
  • Added Saddle option for dinos
  • Added New Command /Check to check your rewards before claiming
  • Added Stack Voting support *
  • Added Configurable cooldown between use of commands **
  • Added /info with better information...

Read the rest of this update entry...
 
Status
Not open for further replies.
Back
Top