Wondering if there is a way to hide the/kit command from all users Admin is probably fine.
But default players see nothing and all kits are hidden atm.
[ChatCommand("kit")] to something only you knew. If you update this mod after doing that, it'd be overwritten.RyanFromRust
Yea, he'll have an empty kits menu, but I thought he wanted regular players to not be able to access the Kit menu GUI at all, since he's only using the kits for NPCs.
Oh, I didn't know if all kits were marked as 'hidden' and 'npc only' that the chat command would stop responding.
yes , I realised that on reading his post for the second time, But if he is using it for npc's only why use the gui at all ? , it is after all more for the benefit of those choosing a kit, I dont use it at all , I have 6 normal kits (including rewards kits) and 12 for each of the monument bots as well as 4 for the biome ones, The only ones that show up when you type /kit are the normal ones in chat.
RyanFromRust
Yea, no option to disable gui, but I think my .cs edit should fix it for him. I figure he has a lightly-modded, or something specific case. I've almost given up tryna figure out 'why?' on some of these, lol.
Actually it works the other way around the GUI is an option for the kits menu, if you dont option it you will only get a "chat list' when you type /kit, I have never used the GUI especially as there was a GUI problem with most plugins a few years back (crosshair for instance) so i stuck with the chat menu
By default there are no chat gui.
But you may replace the default /kit chat command by a gui.
in the NPC - GUI Kits, instead of putting an NPC id, put: "0".
RyanFromRust
I looked for a disable option in the config. How do you go about 'not optioning' it?
When i Create the kit i do it through chat and there is no option there to use a gui , that option is only available when you edit the files,
"NPC - GUI Kits": {
"1235439": {
"description": "Welcome on this server, Here is a list of free kits that you can get <color=red>only once each</color>\n\n <color=green>Enjoy your stay</color>",
"kits": [
"kit1",
"kit2"
]
to make doubly sure no player gets the kit i make them authlevel 2. Hidden = true, NPConly = true
