Rust-Kits

Moved

Total Downloads: 70,144 - First Release: Oct 21, 2014 - Last Update: Jun 7, 2018

4.96216/5, 185 likes
  1. i fixxed it.. somehow i just kept removing the spaces between the words.. i also check for capital letters

    thanks voor you help, and for the great plugin.
    i know you guys are busy with recent updates, so i can apreciate the fast reply.
    thanks
     
  2. Go here: http://radmin.elasticbeanstalk.com/item/list/approved/consumable/

    Click on the item, it will show you the proper names to use. I generally use the name in the "Short Name' field.

    *Disclaimer - You'll see some objects on the "All Items" list not in the game, like Tampons, which I would happily "/give" any user that whines. Stick to "Included Items".
     
  3. Code:
    [Oxide] 11:16 AM [Error] kits: LuaScriptException while calling cmdKit: [string "kits.lua"] tempt to index global 'KitData' (a nil value) at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] ret) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,objectm.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, Systetion.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [ in <filename unknown>:0
    with kit twice

    daily kit (doesnt exist)
    admin kit (dont have permission)

    can you help with this?
     
  4. Shutdown server
    Remove data/kits.json
    Restart the server
     
  5. CHR

    CHR

    what does this plugin do? I cant follow
     
  6. hi

    I am Novice

    I just installed oxide

    I don`t know how to apply plugins...

    Can you help me?
     
  7. Code:
    [Oxide] 8:31 PM [Error] kits: LuaScriptException while calling OnPlayerSpawn: [s
    tring "kits.lua"]:217: attempt to index field 'AutoKits' (a nil value)
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unkn
    own>:0  ents, 1 slprs                                         0b/s in, 0b/s out
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System
    .Type[] returnTypes) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (ob
    ject,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invoke
    Attr, System.Reflection.Binder binder, System.Object[] parameters, System.Global
    ization.CultureInfo culture) [0x00000] in <filename unknown>:0
    I'm stupid, but how i can disable autokits ?
    Full kits.json:

    Code:
    {
      "Messages": {
            "ErrorKit": "Этот набор не существует",
            "HelpMessage": "Используйте /kit - чтобы увидеть доступные наборы",
            "InvalidItem": "Неправельный предмет в наборе",
            "KitList": "Доступные наборы",
            "CoolDown": "Этот набор находится на перезарядке",
            "NoPermissionKit": "У вас нету доступа для использования данного набора",
            "NoKitLeft": "У вас кончились использования данного набора",
            "NoKitAvaible": "У вас нету доступных наборов",
      },
      "AuthLevel": 1,
      "Kits": {
        "starter": {
          "description": "- Стартовый набор.",
          "main": [
            {
              "name": "Large Wood Box BP",
              "amount": 1
            }
          ],
          "wear": [
            {
              "name": "Burlap Shirt",
              "amount": 1
            },
            {
              "name": "Burlap Trousers",
              "amount": 1
            },
            {
              "name": "Leather Gloves",
              "amount": 1
            },
            {
              "name": "Burlap Shoes",
              "amount": 1
            }
          ],     
          "belt": [
            {
              "name": "Stone Hatchet",
              "amount": 1
            },
            {
              "name": "Hammer",
              "amount": 1
            },
            {
              "name": "Large Medkit",
              "amount": 1
            }     
          ]
        },
        "hunter": {
          "description": "- Охотничий набор.",
          "main": [
            {
              "name": "Wooden Arrow",
              "amount": 25
            }
          ],
          "wear": [
            {
              "name": "Burlap Shirt",
              "amount": 1
            },
            {
              "name": "Burlap Trousers",
              "amount": 1
            },
            {
              "name": "Leather Gloves",
              "amount": 1
            },
            {
              "name": "Burlap Shoes",
              "amount": 1
            }
          ],
         
          "belt": [
            {
              "name": "Hunting Bow",
              "amount": 1
            },
            {
              "name": "Stone Spear",
              "amount": 1
            },
            {
              "name": "Bone Knife",
              "amount": 1
            },
            {
              "name": "Large Medkit",
              "amount": 3
            }     
          ]
        },
        "admin": {
          "admin": true,
          "description": "- Администраторский набор.",
          "belt": [
            {
              "name": "Revolver",
              "amount": 1
            },
            {
              "name": "Large Medkit",
              "amount": 5
            }
          ],
        
          "wear": [
            {
              "name": "Red Jacket",
              "amount": 1
            },
            {
              "name": "Urban Pants",
              "amount": 1
            },
            {
              "name": "Urban Boots",
              "amount": 1
            }
          ],
          "main": [
            {
              "name": "Stone Hatchet",
              "amount": 1
            },
            {
              "name": "Pistol Bullet",
              "amount": 250
            }
          ]
        },
        "moderator": {
          "moderator": true,
          "description": "- Модераторский набор.",
          "belt": [
            {
              "name": "Revolver",
              "amount": 1
            },
            {
              "name": "Large Medkit",
              "amount": 5
            }
          ],
          "main": [
            {
              "name": "Pistol Bullet",
              "amount": 250
            }
          ],
          "wear": [
            {
              "name": "Red Jacket",
              "amount": 1
            },
            {
              "name": "Urban Pants",
              "amount": 1
            },
            {
              "name": "Urban Boots",
              "amount": 1
            }
          ]
        }
      }
    }
     
  8. you removed auto kits ... when in the autokits there is an options: activate.
    so if you remove that, the plugin crashs.
     
  9. Can kits be renamed? For example calling /kit daily something else like I dunno, /kit build?
     
  10. yes, what ever you want.
     
  11. Code:
    [Error] kits: LuaScriptException while calling OnPlayerSpawn: invalid arguments to method: PlayerInventory.GiveItem
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    Rensantos has left (closing)
    [DOUBLEPOST=1423068714,1423005806][/DOUBLEPOST]Tehere is any way to have a kit vip ?
     
    Last edited by a moderator: Feb 4, 2015
  12. as i said i don't want to make a kit vip,
    cause after we will need teleportation vip, chat vip, etc
    until someone makes a VIP plugin that can be contacted my other plugins (to check if a player is a VIP or what ever) i'm not adding this :p
     
  13. ok thanks :) the auto kit is awesome :) very helpfull!
     
  14. For the autokit, instead of `overrideDefaultKit` needing the rust default, why not just do `player.inventory.Strip()`
     
  15. Because then if à player respawns with his stuff on (arena, or just reconnecting he Will loose everything)
     
  16. How do I put autokit back into the plugin?
     
  17. reset the config file by deleting it and reloading the plugin
     
  18. Im pretty sure reconnecting doesn't count as a respawn, as for arena, isn't that something you could check for?
     
  19. i'm currently testing the arena on my server no one reported not having there kits ;)
     
  20. Hello,

    I have been trying to add blueprints to the kits addon but each time I make a change, the addon itself stops working. For example, I will add "Gun Powder_bp" to the addon but that effectively breaks it. Is there a different addon that would allow a blueprint kit or am I simply doing it wrong?