KitSystem 1.0.5

System kits along with cooldown and max kits

  1. N0Va_DR0N3
    Fougerite Compatibility:
    All Versions
    Plugin's Engine:
    • C# (Modules)
    Plugin Dependencies:
    PermissionsManager(required)
    Fully functional kits system along with PermissionsManager, you can now provide a permission for the player to have access to the kit.

    Use /kit add <kitName> <'description'> <-options> - to create a kit.
    Options
    -c<time in seconds> - to set how long you can take the kit.
    -m<maximum of times> - to set how many times you can pick up the kit.
    -<permission> - remembering that it is necessary for you to add the permission in config / config.json.

    Use /kit - to see the list of kits.
    Use /kit <kitName> - to get a kit.
    Use /kit rem <kitName> - to delete a kit.

    Developer references
    Code (C#):
    var kitdata = KitSystem.KitModule.getKit("test");
    var getItem = KitSystem.KitModule.pegarItem("idSlot", "kitname");

    kitdata.cooldown = 1000f;
    kitdata.maxKits = 20;
    Note: be careful when using this void, it creates the kit if it does not exist so it is good to check if the kit exists before pulling the directory, otherwise it will create the kit that you put in the void.

    Code (C#):
    if(KitSystem.KitModule.kitLista.ContainsKey("test"))
    {
      var kitdata = KitSystem.KitModule.getKit("test");
      kitdata.cooldown = 0f;
    }

Recent Updates

  1. Stable version
  2. Correct version
  3. Specific Slots