Is it possible to see what FFlags a user has enabled?

I know that some people use applications like BloxStrap that use Fast Flags and give them an unfair advantage. I was wondering if there was any way to detect certain FFlags so I could kick/ban them from my own game?

2 Likes

Alternative solution, crash or kick the client if ctrl + F8 is pressed, no other manipulations are required.

1 Like

An alternative consideration: What systems in your game are being harmed by someone messing with their FFlags? What is stopping you from hardening your game such that even if someone decides to mess with their rendering settings, they gain no real advantage?

Before you start going on the offensive, think about things you can do defensively. There’s things you may have overlooked that wouldn’t just make your game more resilient and/or robust across the board, not just against someone messing with FFlags.

OP is probably speaking about FFlags such as network debug one, that lets you see players and most NPCs through walls

1 Like

This was what I was talking about.

I just want to know if there is a way to detect flags being used.

You can most definitely check if a user has a specific fast flag enabled! However, this comes with limitations as you can only check fast flags that have “User” in the name.

For example, you can use FFlagUserCameraToggle but not FFlagEnableWinGetNetworkType because it has “User” in the name.

The function for getting the Fast Flags is :IsUserFeatureEnabled() under UserSettings().

Code Example:

local function getUserFlag(flagName : string) : boolean
	
	local success, result = pcall(UserSettings().IsUserFeatureEnabled, UserSettings(), flagName)
	
	return success and result
end

local FFlagUserCameraToggle = getUserFlag("UserCameraToggle")
print(FFlagUserCameraToggle) -- Will return "true" as the time of writing this

Code example of using the IsUserFeatureEnabled function in a Local Script or Script with the RunContext of Client.

Remember that it can only call Fast Flags that have “User” in the name and will always return a bool value indicating if that FFlag is enabled or not. If it doesn’t exist, it’ll return an error.

You can check all the available FFlags of the PC Client here

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.