loginrestrictor

last built 2 days ago
Build #27
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Daemonn
Do you like this plugin? You can fund the maintenance of this plugin with a donation to Daemonn.
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.

Login Restrictor

Is there anything to explain? MinimumAccountOldDays is day, MinimumGameHours is hour based.

Don’t forget to put dae.loginrestrictor. beginning of your bypass permission. For example;
dae.loginrestrictor.CanJoin

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<LoginRestrictorConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <RestrictCreationDate>true</RestrictCreationDate>
  <MinimumAccountOldDays>60</MinimumAccountOldDays>
  <RestrictGameHours>false</RestrictGameHours>
  <MinimumGameHours>10</MinimumGameHours>
  <BypassPermission>CanJoin</BypassPermission>
</LoginRestrictorConfiguration>

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="ProfilePrivate" Value="You can't join this server while your profile is private." />
  <Translation Id="CreationDate" Value="Your account has to be {0} more day(s) older." />
  <Translation Id="GameHoursPrivate" Value="You can't join this server while your game hours are private." />
  <Translation Id="GameNotOnRecent" Value="Unturned is not on your recent played games." />
  <Translation Id="GameHours" Value="You have to spend {0} more hour(s) at Unturned." />
</Translations>

Commands and permissions


This plugin doesn't have any commands.

Git changelog


fddb76ac28c7d46 2019-07-20 08:18:45

Fixed 'GameHours' translation message.

    c0f7baa9565c4d2 2019-07-18 20:15:01

    Some cleanup.

      7aeb30450ebb524 2019-06-14 20:14:20

      Hmmm, upgrades.

        5eaed828eba67ef 2019-05-30 12:26:04

        Forgot to add 'Properties' folder.

          fefe242b58ee2f5 2019-05-30 12:23:47

          You won...

            fe641f5c0e5986e 2019-05-30 12:18:59

            Just testing to see if RocketMod finally builds.

              57737a21a421618 2019-05-30 12:13:25

              RocketMod, what do you want from me?

                b6c6d4b234f8155 2019-05-30 12:10:51

                Changed building in 'net461' folder.

                  16aaa64ee3b30ef 2019-05-30 12:01:20

                  Forgot to delete 'Properties' folder.

                    91db073f9c95ba4 2019-05-30 12:00:27

                    Renamed 'Libraries' folder to 'lib' and upgraded .csproj file.

                      5d9609af9807043 2019-05-15 17:04:44

                      Fixed 'Data at the root level is invalid.' error.

                        a71eff67cf0788a 2019-05-15 16:50:46

                        Changed MinimumGameHours to double, from int.

                          67872b5f845d066 2019-05-14 18:00:03

                          Deleted unnecessary line.

                            fde772a35436a65 2019-05-13 01:32:14

                            Fixed spacing.

                              835ebf606fab5f5 2019-05-13 01:25:38

                              Inital commit.