kits

last built 3 weeks ago
Build #268
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.

Kits

This plugin adds a /kit command and allows players to spawn kits. You can also see available kits with /kits.

The permissions are either kit.* or kit.<name> and kits.

This plugin is the first to have an OPTIONAL dependency Uconomy.

If you have Uconomy installed you can now set the field “Money” with either a positive amount of money players receive, or a negative amount that is required & subtracted to get that kit.

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<KitsConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Kits>
    <Kit>
      <Name>Survival</Name>
      <XP>0</XP>
      <Money xsi:nil="true" />
      <Vehicle xsi:nil="true" />
      <Items>
        <Item id="245" amount="1" />
        <Item id="81" amount="2" />
        <Item id="16" amount="1" />
      </Items>
      <Cooldown>10</Cooldown>
    </Kit>
    <Kit>
      <Name>Brute Force</Name>
      <XP>0</XP>
      <Money>30</Money>
      <Vehicle>57</Vehicle>
      <Items>
        <Item id="112" amount="1" />
        <Item id="113" amount="3" />
        <Item id="254" amount="3" />
      </Items>
      <Cooldown>10</Cooldown>
    </Kit>
    <Kit>
      <Name>Watcher</Name>
      <XP>200</XP>
      <Money>-20</Money>
      <Vehicle xsi:nil="true" />
      <Items>
        <Item id="109" amount="1" />
        <Item id="111" amount="3" />
        <Item id="236" amount="1" />
      </Items>
      <Cooldown>10</Cooldown>
    </Kit>
  </Kits>
  <GlobalCooldown>10</GlobalCooldown>
</KitsConfiguration>

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="command_kit_invalid_parameter" Value="Invalid parameter, specify a kit with /kit &lt;name&gt;" />
  <Translation Id="command_kit_not_found" Value="Kit not found" />
  <Translation Id="command_kit_no_permissions" Value="You don't have permissions to use this kit" />
  <Translation Id="command_kit_cooldown_command" Value="You have to wait {0} seconds to use this command again" />
  <Translation Id="command_kit_cooldown_kit" Value="You have to wait {0} seconds to get this kit again" />
  <Translation Id="command_kit_failed_giving_item" Value="Failed giving a item to {0} ({1},{2})" />
  <Translation Id="command_kit_success" Value="You just received the kit {0}" />
  <Translation Id="command_kits" Value="You have access to the following kits: {0}" />
  <Translation Id="command_kit_no_money" Value="You can't afford the kit {2}. You need atleast {0} {1}." />
  <Translation Id="command_kit_money" Value="You have received {0} {1} from the kit {2}." />
  <Translation Id="command_kit_xp" Value="You have received {0} xp from the kit {1}." />
</Translations>

Commands and permissions


/kits

Permissions: kits

Shows you available kits


/kit <kit>

Permissions: kit

Gives you a kit


Git changelog


d54342d6f9fdcf9 2019-05-05 07:25:39

Update .gitignore

    dc8d6ae79f8686f 2019-05-05 07:18:28

    Update Kits.cs

      7aa53ec9fbe571a 2019-05-01 13:01:05

      Update LICENSE

        2304cab67c92c1a 2019-04-25 16:47:30

        ..

          90f2ede1e493260 2019-04-25 16:43:24

          ..

            80d9ebf7a6137b0 2019-04-25 16:42:12

            Fixing build issues

              b8e6e156cdc969f 2017-10-13 16:40:22

              Update CommandKits.cs

                e471e0a641699d2 2016-10-08 17:34:08

                ..

                  35654554627d93f 2016-06-16 21:01:03

                  Update AssemblyInfo.cs

                    37b02dfbc13e5b8 2016-06-16 16:52:22

                    Readding cooldown until fixed

                      4701148179c0425 2016-06-16 16:50:33

                      Revert "Removing kit cooldown"

                      • This reverts commit 5e9ed8240f8802588d9c93f8e35bc3f9b21f09b0.

                      14ab45de119ea9f 2016-06-12 11:40:36

                      Fixing xp message, Not showing xp message if xp is 0

                        5e9ed8240f88025 2016-06-12 11:35:12

                        Removing kit cooldown

                          5e45e7090c7a2a0 2016-06-11 21:40:30

                          Update CommandKit.cs

                            eb151b9941ae387 2016-05-22 17:38:46

                            Fixing permissions

                              412e9ccf686bf91 2016-03-12 00:49:49

                              Adding messages for money & xp

                                be0b395bde009a9 2016-03-11 21:20:51

                                Ooops :D

                                  ead0a40475ca369 2016-03-11 18:43:12

                                  Forgot commiting Uconomy.dll

                                    4a3aff1431ec2d4 2016-03-11 13:39:25

                                    Adding optional Dependency to Uconomy, making prices & giving money possible. To set a price, simply set the Money amount to a negative value.

                                      f3d6051ad2cac41 2016-03-04 14:03:29

                                      Adding vehicles to kit

                                        920807d54b23f44 2016-02-09 16:26:57

                                        Adding Experience to kits

                                          6a0885adce5f19e 2015-12-23 18:16:58

                                          Fix

                                            02149b2ab03e641 2015-10-16 07:48:48

                                            Added /kits command

                                              94ea4e371a13fc2 2015-10-10 11:00:27

                                              Refactored namespace

                                                d62781d19cff699 2015-10-10 10:52:28

                                                Update assemblies

                                                  10d2422a3dd5fc3 2015-07-31 01:24:04

                                                  Default config

                                                    0b289cbb8506700 2015-07-27 12:14:22

                                                    Fixed /kit command

                                                      fc835b5d44e64e1 2015-07-27 00:38:42

                                                      Fixing config

                                                        e05e360d892aee2 2015-07-26 14:52:20

                                                        Adding missing Rocket.Core.dll

                                                          fdfd7e9c9461ef2 2015-07-26 14:29:17

                                                          Update to Rocket 4.6

                                                            877645fcaf7ff0e 2015-06-23 11:26:52

                                                            .

                                                              22e8ff2a0f816cf 2015-06-01 19:06:00

                                                              Update to 4.4

                                                                c97edc7064d00b1 2015-05-26 12:26:23

                                                                Update to 4.2

                                                                  1258e768e558dfa 2015-05-17 16:51:05

                                                                  Removed Rocket

                                                                    dd268b93c347d2e 2015-05-17 02:51:39

                                                                    Fixed Chat

                                                                      c5277f24c594f37 2015-05-17 02:39:30

                                                                      Update to Rocket 4

                                                                        a419e693e07f3ad 2015-05-08 22:29:49

                                                                        Update to Rocket 3.9, Permissions fix

                                                                          c5e8f788213021a 2015-05-05 21:28:37

                                                                          Update to Rocket 3.8.0.0

                                                                            14f017991d10ded 2015-05-05 16:03:34

                                                                            Update

                                                                              f05c4ddccddf515 2015-04-19 21:13:51

                                                                              removed HasPermissions

                                                                                dc9425365aa46b4 2015-04-06 21:34:38

                                                                                Fixed getting more then one kit / Cooldown

                                                                                  d99cd75a7d6fb71 2015-04-06 20:50:09

                                                                                  Update to Rocket 3.2

                                                                                    81a1ad9ac17fc53 2015-04-06 16:00:12

                                                                                    Updated to Rocket 3.2

                                                                                      9efb3fdac9114f8 2015-03-28 22:32:58

                                                                                      Update to Rocket 3.1

                                                                                        7729f14ec0081d5 2015-03-24 01:02:01

                                                                                        Changed the cooldown to be independent from player objects (Rejoin won't reset)

                                                                                          ad6def1dd56c8c2 2015-03-13 22:40:47

                                                                                          Update to 3.0

                                                                                            b2c0712525acfbe 2015-03-09 00:14:37

                                                                                            Fixin :D

                                                                                              f862b1b4301644d 2015-03-08 23:56:17

                                                                                              Initial commit