You can do that with Player Rankings plugin just take your time setting it up the way you want just make sure you add the kit to the correct group
Rust-Kits
Moved
Total Downloads: 70,148 - First Release: Oct 21, 2014 - Last Update: Jun 7, 2018
- 4.96216/5, 185 likes
-
i have 4 ranks in player rankings, lets call them rank 1,2,3,4
rank 1 is 0 hour playtime
rank 2 is 5 hour playtime
rank 3 is 25 hour playtime
rank 4 is 50 hour playtime
and i have 4 kits, lets call them kit 1,2,3,4
kit 1 can be redeem by anyone
kit 2 can only be redeemed if you attain rank 2
kit 3 can only be redeemed if you attain rank 3
kit 4 can only be redeemed if you attain rank 4
i asked a rank 1 player to redeem kit 2 and he could, i have already set the permissions for kit 2,3,4 but i don't get why a rank 1 player can redeem kit 2... -
-
perms group 2 is rank 2
perms group 3 is rank 3
perms group 4 is rank 4
i have granted perms:
kits.kit2 to perms group 2
kits.kit3 to perms group 3
kits.kit3 to perms group 4
via console and reloaded Kits plugin but player with rank 1(under default perms group) is still able to redeem kit 2... -
-
which files do you need? i'll upload them for you -
kits.json from data folder
all json files from player rankings plugin -
I'm the owner and moderator of the server but when I use /kit add <kitname> it says I don't have access to the command
-
-
All good guys ! The solution turned out to be fairly simple , was all my fault lol You can not be owner and a moderator of the server at the same time to edit this plugin. Went into config and removed myself from the moderators and it all works fine now
-
When players on my server try to redeem it does but they dont receive the items, can someone please help me?
-
-
I figured it out, thanks!
-
i create a kit with the items i want in it but it doesnt give me the or the npc items but it shows the kit exists
-
-
@Kappasaurus
Code:(22:02:41) | Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.9' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.Kits+UI.LoadImage (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panel, System.String img, System.String aMin, System.String aMax) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.CreateKitEntry (.BasePlayer player, Oxide.Game.Rust.Cui.CuiElementContainer& element, System.String panel, System.Single[] pos, System.String entry) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.RefreshKitPanel (.BasePlayer player, UInt64 guiId, Int32 page) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.NewKitPanel (.BasePlayer player, UInt64 guiId) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.cmdChatKit (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
Last edited by a moderator: Mar 29, 2018 -
@Corrosive unload plugin delete kits_data.json file reload plugin see if that fixes it
-
We already did. It didnt. We fixed a broken kit image and it fixed it. Which is funny as its always ignored broken ones
-
-
I keep getting this eror :
Failed to call hook 'cmdUI_AddKit' on plugin 'Kits v3.2.9' (NullReferenceExcepti
on: Object reference not set to an instance of an object)
at Oxide.Plugins.Kits+UI.LoadImage (Oxide.Game.Rust.Cui.CuiElementContainer& c
ontainer, System.String panel, System.String img, System.String aMin, System.Str
ing aMax) [0x00000] in <filename unknown>:0
at Oxide.Plugins.Kits.CreateKitEntry (.BasePlayer player, Oxide.Game.Rust.Cui.
CuiElementContainer& element, System.String panel, System.Single[] pos, System.S
tring entry) [0x00000] in <filename unknown>:0
at Oxide.Plugins.Kits.RefreshKitPanel (.BasePlayer player, UInt64 guiId, Int32
page) [0x00000] in <filename unknown>:0
at Oxide.Plugins.Kits.cmdUI_AddKit (.Arg arg) [0x00000] in <filename unknown>:
0
at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret,
System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod meth
od, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[]
args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] arg
s) [0x00000] in <filename unknown>:0