Rust-Kits

Moved

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

4.96216/5, 185 likes
  1. Can some one tell me how to add the VIP kits in. I need to know how to set it to only one person and they can get it every two hrs. please and thank you for reading and helping me out
     
  2. Create a group; oxide.group add <groupname>
    Give group permission; oxide.grant group <groupname> <permission>
    Add players to the group; oxide.usergroup add <username> <groupname>
    Create the kit as you would normally, but include -<permission>

    Example: In console, use the following;
    oxide.group add donator
    oxide.grant group donator donator
    oxide.usergroup add Centurion donator

    Then ingame, use the following;
    /kit add "vip" "This is the VIP kit" -donator
    Then those users in the donator group will be able to type /kit vip ingame and receive their kit.
     
  3. I put the amount each player can take a kit yet it lets them have as many as they want am I doing something wrong?
     
  4. I can't create a kit for vips or donators when I try in everyone can see it
    Could u pls help me?
     
  5. thank you we got it working
     
  6. Just a couple posts above yours I left a quick guide. If that doesn't work, you aren't doing it as instructed.
     
  7. can you show me a guide to make a kit admin only and one for how to do only a set amount because I think I'm doing it right and it says only 2 but they can spawn it endlessly...
     
  8. Well, I was just copying and paste that (changing the player name) but everyone could see it. How can I remove permission? To try removing me that permission
     
  9. Is there a way to make it so its "/kits" to find out which kits are available? and then /kit (name) to redeem one?
     
  10. Okay here is my issue broken down.

    Added group;
    Code:
    > oxide.group add "VIP+"
    Group 'VIP+' created
    Then added permissions to that group;
    Code:
    > oxide.grant group "VIP+" bettervip
    Group 'VIP+' granted permission: bettervip
    Then added a user to that group;
    Code:
    > oxide.usergroup add 76561197960975674 "VIP+"
    User '[God] [WD-40] Swinder' assigned group: VIP+
    We can see chathandler picked up the permission and assigned me the VIP+ tag;
    Code:
    [CHAT] [Admin] [VIP+] [God] [WD-40] Swinder: test
    However when I do the following command I get the following error;
    Code:
    /kit add "vip+" "VIP+ Kit" -bettervip -max1
    Wrong Options: bettervip
     
  11. so is there an update to this, i have players reporting that kits are broke, im at work so i can not check them
     
  12. Wulf

    Wulf Community Admin

    Are you getting any errors in your oxide/logs?
     
  13. No i am not getting any errors in rcon log, they worked before the update. I have had two players report they are not working. I am at work so I dont have access to the game till after 5 pm so i can check myself
     
  14. also having this problem, even when i get it to load with out failing the chat command still wont work.

    > oxide.reload kits
    [Oxide] 6:30 AM [Error] Failed to load plugin 'kits' (no source found)
    [DOUBLEPOST=1437683692][/DOUBLEPOST]I also got this error, but only 1 time whilst trying to get it to work
    Code:
    6:30 AM [Error] Failed to call hook 'Loaded' on plugin 'Kits' (JsonReaderException: Additional text encountered after finished reading JSON content: }. Path '', line 610, position 3.)
    6:30 AM [Debug]   at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Jul 23, 2015
  15. Its "Kits" not "kits"
     
  16. Lol what a nub, it's early and I was late for work haha. Either way it's not working for me, I deleted everything related to kits and dropped the plugin back on the server (that's prob where the second message come from) it recreates all the .json files but the plugin doesn't work, nothing happens when I write /kit in game

    EDIT Brain mustve not been on this morning, it was a error on my behalf haha
     
    Last edited by a moderator: Jul 24, 2015
  17. I've noticed a newly surfaced bug that has been going on my server lately. If you get killed while offline and login the auto-kit doesn't work and players have a empty belt.
     
  18. Wulf

    Wulf Community Admin

    Pretty sure the auto-kit is only once per user unless otherwise set. The plugin also has the ability to remove the default starter items.
     
  19. Yeah it replaces default rock and torch starting items and they should get it every spawn. It's been that way since I set it up months ago, just started happening two updates back. Everything else works like a charm and if they die under any other circumstance and then respawn they get the autokit as normal. Just not if they respawn from being dead while offline.
     
  20. Can you add so autokits are dependant on their permissions.