- Disables Saves/Postprocessing/NPCs tabs in the Q menu
- Removes NPCs from the Q menu search results
- Limits Dupes to only be spawnable by the player that created them (no public dupes)
This is great for Sandbox servers that don't want players seeing or using these tabs.
This is a fully clientside addon, and its behavior is configurable through hooks.
By default, this only applies its limits for non-admins. If this is fine for you, you don't have to do anything extra.
If you need more control, read the Config section.
Clone or download into your server's addons/
directory
You can use the available hooks to modify this addon's behavior.
- Sends
LocalPlayer()
- Return
false
to not block NPCs (allowing them access to the NPC tabs and get search results for them) - Return
true
to block NPCs (hiding the tabs, preventing them from accessing the tab or getting NPCs in search results) - Default behavior is to block NPCs for non-admins
local allowed = {
moderator = true,
admin = true,
superadmin = true
}
-- Allow `moderator`, `admin`, and `superadmin` access to the NPCs tab
hook.Add( "CFC_RemoveTabs_ShouldBlockNPCs", "MyRankAllower", function( ply )
if allowed[ply:GetUserGroup()] then return false end
end )
- Sends
LocalPlayer()
- Return
false
to not block dupes (allowing players to spawn any Dupes from the Dupes tab) - Return
true
to block dupes (allowing players to only spawn dupes they created) - Default behavior is to limit non-admins to only spawning dupes they created
local allowed = {
moderator = true,
admin = true,
superadmin = true
}
-- Allow `moderator`, `admin`, and `superadmin` unrestricted access to the Dupes tab
hook.Add( "CFC_RemoveTabs_ShouldBlockDupes", "MyRankAllower", function( ply )
if allowed[ply:GetUserGroup()] then return false end
end )