voterewards

last built 2 months ago
Build #22
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Community Plugin
This plugin is maintained by the RocketMod Community.
The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

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.2

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:

Teyhota@gmail.com

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<VoteRewardsConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <DisableAutoUpdate>true</DisableAutoUpdate>
  <VotePageURL>https://unturned-servers.net/my_server_vote_page</VotePageURL>
  <AlertOnJoin>true</AlertOnJoin>
  <GlobalAnnouncement>true</GlobalAnnouncement>
  <Rewards>
    <Reward Type="item" Value="235,236,237,238,253,1369,1371,1371,297,298,298,298,15,15,15,15,15" Chance="40" />
    <Reward Type="xp" Value="1400" Chance="50" />
    <Reward Type="group" Value="VIP" Chance="10" />
  </Rewards>
  <Services>
    <Service Name="unturned-servers" APIKey="" />
    <Service Name="unturnedsl" APIKey="" />
    <Service Name="obs.erve.me" APIKey="" />
  </Services>
</VoteRewardsConfig>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="vote_page_msg" Value="Vote for us 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


fc8248b1f6af302 2019-07-19 09:28:42

Changed license.

    fee615ce0865d2d 2019-05-23 11:27:53

    Fixed.

      cf1aca15b9e914c 2019-02-21 05:45:23

      Set theme jekyll-theme-merlot

        02b37522c03baa7 2019-02-21 05:38:57

        Update 3.0.2

        • Fixed some bugs

        df148f4d92a4914 2019-02-21 05:18:52

        Update 3.0.2

        • Fixed some bugs

        5c2b52a04d5167e 2019-02-04 20:35:16

        Update README.md

          d461234c886f68a 2018-04-07 11:13:19

          Update 3.0.1

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

          e89d71a371bf8ff 2018-04-07 10:08:50

          Update 3.0.1

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

          6a6163da3072d8d 2018-04-04 00:49:48

          Update README.md

            22d1357aaa04737 2018-03-09 03:20:39

            Update README.md

              366bbcbe1fc4b5d 2018-03-09 03:18:55

              Final public version

                9951cf72fe4f60e 2018-03-08 14:28:21

                Update README.md

                  3cceaa941f8960c 2018-03-08 14:26:46

                  Create README.md

                    f7ecb48c83162e7 2018-03-08 14:00:27

                    VoteRewards 3.0

                    • Receive rewards for voting on Unturned-Servers.net or UnturnedSL.com
                    • Rewards can include Kits, Items, XP, Permission groups, Uconomy currency*, or CustomKits slots*
                    • Easy to configure