votifier

last built 2 months ago
Build #222
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Sven
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.

Votifier

This plugin gives server owners the possibility to reward voters on http://unturned-servers.net/, http://unturnedsl.com or a custom server list.
To use it you must insert the API key of your server from unturned-servers.net or/and your unturnedsl.com ID into your configuration.

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<VotifierConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Services>
    <Service name="unturned-servers.net" apikey="" />
    <Service name="unturnedsl.com" apikey="" />
    <Service name="obs.erve.me" apikey="" />
  </Services>
  <EnableRewardBundles>true</EnableRewardBundles>
  <RewardBundles>
    <RewardBundle>
      <Probability>33</Probability>
      <Name>Survival</Name>
      <Rewards>
        <Reward itemid="245" amount="1" />
        <Reward itemid="81" amount="2" />
        <Reward itemid="16" amount="1" />
      </Rewards>
    </RewardBundle>
    <RewardBundle>
      <Probability>33</Probability>
      <Name>Brute Force</Name>
      <Rewards>
        <Reward itemid="112" amount="1" />
        <Reward itemid="113" amount="3" />
        <Reward itemid="254" amount="3" />
      </Rewards>
    </RewardBundle>
    <RewardBundle>
      <Probability>33</Probability>
      <Name>Watcher</Name>
      <Rewards>
        <Reward itemid="109" amount="1" />
        <Reward itemid="111" amount="3" />
        <Reward itemid="236" amount="1" />
      </Rewards>
    </RewardBundle>
  </RewardBundles>
  <ServiceDefinitions>
    <ServiceDefinition name="unturned-servers.net">
      <CheckHasVoted>https://unturned-servers.net/api/?object=votes&amp;element=claim&amp;key={0}&amp;steamid={1}</CheckHasVoted>
      <ReportSuccess>https://unturned-servers.net/api/?action=post&amp;object=votes&amp;element=claim&amp;key={0}&amp;steamid={1}</ReportSuccess>
    </ServiceDefinition>
    <ServiceDefinition name="unturnedsl.com">
      <CheckHasVoted>http://unturnedsl.com/api/dedicated/{0}/{1}</CheckHasVoted>
      <ReportSuccess>http://unturnedsl.com/api/dedicated/post/{0}/{1}</ReportSuccess>
    </ServiceDefinition>
    <ServiceDefinition name="obs.erve.me">
      <CheckHasVoted>http://api.observatory.rocketmod.net/?server={0}&amp;steamid={1}</CheckHasVoted>
      <ReportSuccess>http://api.observatory.rocketmod.net/?server={0}&amp;steamid={1}&amp;claim</ReportSuccess>
    </ServiceDefinition>
  </ServiceDefinitions>
</VotifierConfiguration>

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="no_apikeys_message" Value="No apikeys supplied." />
  <Translation Id="api_unknown_message" Value="The API for {0} is unknown" />
  <Translation Id="api_down_message" Value="Can't reach {0}, is it down?!" />
  <Translation Id="not_yet_voted" Value="You have not yet voted for this server on: {0}" />
  <Translation Id="no_rewards_found" Value="Failed finding any rewardbundles" />
  <Translation Id="vote_give_error_message" Value="Failed giving a item to {0} ({1},{2})" />
  <Translation Id="vote_success_message" Value="{0} voted on {1} and received the &quot;{2}&quot; bundle" />
  <Translation Id="vote_pending_message" Value="You have an outstanding reward for your vote on {0}" />
  <Translation Id="vote_due_message" Value="You have already voted for this server on {0}, Thanks!" />
</Translations>

Commands and permissions


/reward

Permissions: reward

Get rewards for voting


Git changelog


0d7f8227f6b091b 2019-07-16 21:00:47

Update LICENSE

    8e0b3d99d35d931 2019-04-25 18:24:49

    ...

      e9f507bf4f7de7e 2016-07-19 21:27:58

      Update VotifierConfiguration.cs

        b87c8af19ccc18b 2016-07-12 07:24:44

        unturned-servers.net changed to https

          a59fe92a47016f4 2016-07-09 21:42:00

          Update VotifierConfiguration.cs

            4e6da8a859dc461 2016-06-18 06:29:08

            Updated to Rocket Version: 4.9.7.0

              28cb9aa91017980 2015-12-23 18:21:57

              fix

                b2b8c5f9d248350 2015-10-17 13:47:54

                Update Votifier.cs

                  2d0d458064d2773 2015-10-10 11:03:19

                  Refactoring namespace

                    0d370ef43589f2b 2015-10-10 10:50:49

                    Update assemblies

                      29732d08efab24a 2015-07-31 01:21:15

                      .

                        c4de0a00441f78f 2015-07-27 15:00:04

                        Fixed config

                          c80a5bd3d5b878e 2015-07-26 14:29:29

                          Update to Rocket 4.6

                            7da75dc7b3dd999 2015-06-30 14:00:04

                            ..

                              ebcbf4094f958ea 2015-06-28 21:33:18

                              .

                                b1f33d61459ad62 2015-06-23 11:32:48

                                .

                                  56efee18af58f65 2015-06-02 21:27:40

                                  Fixing command

                                    dc57c384202eb1a 2015-06-01 18:59:33

                                    Update to 4.4

                                      111f3f83dbff240 2015-05-26 12:27:37

                                      Update to 4.2

                                        98c5e80af96e199 2015-05-17 02:51:00

                                        Fixed Chat

                                          faabce07d7dcd71 2015-05-17 02:50:28

                                          Fixed Chat

                                            fa42e977671da92 2015-05-17 02:38:47

                                            Update to Rocket 4

                                              752eb72f797d3f0 2015-05-08 22:25:15

                                              Update to Rocket 3.9

                                                dbd8284c5579d93 2015-05-05 21:25:54

                                                Update to Rocket 3.8.0.0

                                                  c295a7392d0ea50 2015-05-04 20:00:21

                                                  Update to latest Rocket

                                                    9ecc08a2be7047e 2015-04-18 18:01:44

                                                    Rewardbundles now optional, other plugins can hook into the OnPlayerVoted event now to give individual rewards.

                                                      9bda6f73688173e 2015-04-06 16:02:27

                                                      Updated to Rocket 3.2

                                                        faadad1f27c9dfa 2015-03-28 22:47:54

                                                        Update to Rocket 3.1

                                                          984594dd331c82e 2015-03-13 22:51:49

                                                          Update to Rocket 3

                                                            2fe148e04b2e66f 2015-03-13 00:38:28

                                                            Added translations

                                                              4135a920213ba13 2015-02-04 20:01:24

                                                              Updated to 2.3.2.0

                                                                92ee2cd3bedb92e 2015-01-27 22:41:37

                                                                1.3.0.0

                                                                  84a94a5300e275e 2015-01-27 21:45:25

                                                                  Updated to 2.3.0.0

                                                                    5f3d136ce224921 2015-01-24 20:27:19

                                                                    Update to 2.2.0.0

                                                                      68200a50601b61f 2015-01-18 23:24:34

                                                                      Proper multithreading / updated to Rocket 2.0.6.0

                                                                        4ee3d5a826395cb 2015-01-18 22:32:58

                                                                        Timing issues

                                                                          dd17341bb088a10 2015-01-18 21:20:23

                                                                          Try&Catch

                                                                            3161ee13d438a30 2015-01-18 15:57:27

                                                                            version jump

                                                                              470f181f4ca7112 2015-01-18 15:56:54

                                                                              Async Webrequests,.. unturned-servers.net is timing out quite often and that lags out servers..

                                                                                44151939537f066 2015-01-11 01:27:43

                                                                                Fixed Watcher set

                                                                                  20fb49c598d1a4b 2015-01-09 22:20:45

                                                                                  Removed debug messages..

                                                                                    c93e262cfcce842 2015-01-09 22:19:32

                                                                                    Bundles!

                                                                                      cf099a61b7649fc 2015-01-09 10:12:29

                                                                                      Create LICENSE

                                                                                        97d3abc9d00de50 2015-01-07 11:57:51

                                                                                        lalala not happened :D

                                                                                          11d7062b318b3fd 2015-01-07 11:54:59

                                                                                          Updated config to 2.0.2.0, everything works fine now

                                                                                            79aa0c0f37b822d 2015-01-07 00:05:59

                                                                                            item giving ..

                                                                                              fee413402bec2db 2015-01-06 23:48:24

                                                                                              fixing

                                                                                                2d619a0ba2e2436 2015-01-06 23:08:29

                                                                                                updatin libs

                                                                                                  2f85dca78d4d6b5 2015-01-06 22:59:40

                                                                                                  updated libs

                                                                                                    dc275c0f5f6a93b 2015-01-06 22:10:59

                                                                                                    Updated to 2.0.1.0

                                                                                                      e48fb27cac819db 2015-01-04 13:52:07

                                                                                                      Fixed Load

                                                                                                        3e2be1833b594f4 2015-01-04 13:32:23

                                                                                                        Fixed command

                                                                                                          cb32d9d1fd7b27d 2015-01-04 12:16:25

                                                                                                          ~fixed command

                                                                                                            75687a7d51fd21e 2015-01-04 12:15:39

                                                                                                            Default init for CommandReward

                                                                                                              cefd8f146c41026 2015-01-04 09:21:45

                                                                                                              Update to Rocket 3.4.9.1

                                                                                                                4a02e77a2849704 2015-01-01 15:32:45

                                                                                                                Update to 3.4.9.0 / Fix Webclient Timeout

                                                                                                                  a1785cf22948221 2015-12-31 03:10:13

                                                                                                                  Added UnturnedSL

                                                                                                                    5ee2b00b4b8e4b1 2015-12-30 20:14:09

                                                                                                                    Votifier update

                                                                                                                      d1bdd2e6054ec25 2015-12-29 00:54:31

                                                                                                                      syntax error meh.

                                                                                                                        81c7c87f084be2c 2015-12-28 01:47:03

                                                                                                                        .

                                                                                                                          ab710405012bc72 2015-12-28 00:42:07

                                                                                                                          Fix version

                                                                                                                            2917b37e9428f7b 2015-12-28 00:28:17

                                                                                                                            Enabled flag not neccesary

                                                                                                                              b934f21e9bf39f6 2015-12-28 00:09:29

                                                                                                                              Fix double event

                                                                                                                                dee7f4b9b6f05bf 2014-12-27 19:50:04

                                                                                                                                d

                                                                                                                                  f58f46202c6b12c 2014-12-27 19:39:10

                                                                                                                                  fix vote message

                                                                                                                                    e6a398fc1530c19 2014-12-27 19:32:55

                                                                                                                                    Config update

                                                                                                                                      ae1df1e128799fd 2014-12-27 18:32:02

                                                                                                                                      New dlls

                                                                                                                                        59873241b826643 2014-12-27 18:24:20

                                                                                                                                        Static LoadConfiguration

                                                                                                                                          c5386123c0e99b1 2014-12-27 17:52:35

                                                                                                                                          Message on connect

                                                                                                                                            1d6f5a8c2097aeb 2014-12-27 14:26:53

                                                                                                                                            Login notification

                                                                                                                                              88111e4c8c64e97 2014-12-26 04:17:31

                                                                                                                                              .

                                                                                                                                                4eb259a5a730eda 2014-12-26 00:21:09

                                                                                                                                                et Voila!

                                                                                                                                                  93c3b7402b89d86 2014-12-26 00:06:47

                                                                                                                                                  fixed command

                                                                                                                                                    b815640adce0167 2014-12-26 00:05:09

                                                                                                                                                    update

                                                                                                                                                      40a71b8a52eabc4 2014-12-25 23:56:57

                                                                                                                                                      updated gitignore

                                                                                                                                                        67beb6fdac2e4c3 2014-12-25 23:49:01

                                                                                                                                                        .

                                                                                                                                                          1511c0736c6ac81 2014-12-25 23:45:01

                                                                                                                                                          Added lib

                                                                                                                                                            ca97e61a8c17c2b 2014-12-25 23:40:15

                                                                                                                                                            Removed obj

                                                                                                                                                              846a55aa7c03343 2014-12-25 23:37:23

                                                                                                                                                              Initial commit