voterewards

#2 - published 7 months ago

VoteRewards

VoteRewards 3 allows players to receive rewards after they have voted for your server. 
Rewards can include different items, XP, money, permission groups, and more!

Version: 3.0.1

Features:

  • Configurable, random rewards based on probability
  • Configurable services (websites that are used to cast votes)
  • Global announcement (message everyone sees after a player receives their reward)
  • Support for Uconomy and CustomKits (see more info below)
  • Automatic updates

 

Commands:

  • /vote – Send player to your server’s vote page
  • /reward – Claim reward after voting
  • /reward <player> – Force-give player reward without voting

 

Permissions:

  • VoteRewards.vote
  • VoteRewards.reward
  • VoteRewards.givereward

 

Rewards:

Type Value
item (itemID seperated by commas)
xp (amount of xp)
uconomy* (amount of money)
group (name of permission group)
slot* (item limit)

…and more soon to come!

* Requires CustomKits / Uconomy plugins

 

Supported Services:

Unturned-Servers.net
UnturnedSL.com
Obs.erve.me

 

Installation:

Setup and installation for this plugin is very straightforward:

  1. Copy VoteRewards.dll to your server’s Rocket/Plugins directory
  2. Run your server and let it load up completely
  3. Navigate to your Rocket/Plugins/VoteRewards directory and open the configuration file
  4. Setup your services and supply with each API key accordingly.
  5. Now setup your rewards. You can setup as many rewards as you want.
  6. Next you’ll want to pick a probability (1-100) for each reward. You’ll want to use lower probabilities for more valuable rewards to make them less common.
  7. Finally, set your VotePageURL so players can easily access your web-page by using the command /vote

 

Support:

Plugins.4Unturned.tk

Teyhota@gmail.com

Default configuration


Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Translation Id="vote_page_msg" Value="Vote for {0} and receive a random reward!" />
  <Translation Id="already_voted" Value="You have already voted in the last 24 hours." />
  <Translation Id="not_yet_voted" Value="You have not yet voted for this server on {0}. Type /vote" />
  <Translation Id="pending_reward" Value="You have a pending reward for your vote! Type /reward" />
  <Translation Id="free_reward" Value="You gave {0} a free reward!" />
  <Translation Id="reward" Value="You've been rewarded {0}. Thanks for voting!" />
  <Translation Id="reward_announcement" Value="{0} voted on {1} and has received a reward! Vote now!" />
  <Translation Id="failed_to_connect" Value="Failed to connect, please try again later..." />
</Translations>

Commands and permissions


/reward

Permissions: reward

Redeem reward after successfully voting


/vote

Permissions: vote

Vote for the server to receive a reward


Git changelog


d461234c886f68a 2018-04-07 11:13:19

Update 3.0.1

  • Added Global Announcement toggle option to configuration
  • Bug fixes and improvements

Download

Build #2
By downloading this file, you agree to our license terms.

Repository

github.com

License

MIT

Author

Teyhota