If you want to add your Username or UserId to give yourself permission to access the InGameExplorer here is how you would do it.
Inside of the [“InGameExplorer”] → [“Permissions”] the ModuleScript should look something like this.
--[[ Set up whether or not a player has access to the explorer
! WARNING !
SHOULD ONLY RETURN TRUE FOR DEVELOPERS OF AN EXPERIENCE
]]
return function(player)
if player.UserId == 517035320 then -- For allowing through the Players' UserId.
return true
end
if player.Name == "x_ruze" then -- For allowing through the Players' Username.
return true
end
return false
end
I recommend getting the UserId of the player for more consistency. But the freedom is yours!
Fixed an improbably but potential security concern with code execution on a client that is being observed by an admin, thanks to @Coasterteam for bringing this to my attention and helping out
Can you add a right click context menu functionality? Would like to easily add / destroy / rename / copypaste / group / folder / teleport to instances. I was considering using this over Adonis Admins’ :newdex command
Any chance we could visualize tables in the console like it works in studio in the future? Would be really helpful to print out tables without printing all induvial indexes.
We’ve been using this since about November, and it’s been working almost flawlessly ever since. However there’s been one issue since March, that is not being able to set attributes.
Apart from that, this is a great resource! It makes debugging (and playing around) A LOT easier!
This fixes the attribute issue. There’s probably a better way to implement this into the pre-existing RequestPropertyChange but it’s still the morning and my brain is not awake yet so this is the easiest solution.
return function(player)
if game.CreatorType == Enum.CreatorType.Group
and player:GetRankInGroup(game.CreatorId) >= 255
or game.CreatorType == Enum.CreatorType.User
and player.UserId == game.CreatorId
then return true
end
return false
end
I set this up and added user ID and place script in ServerScriptService but the Menu still will not open. No errors in console
--[[ Set up whether or not a player has access to the explorer
! WARNING !
SHOULD ONLY RETURN TRUE FOR DEVELOPERS OF AN EXPERIENCE
]]
return function(player)
if player.UserId == 13704 then -- For allowing through the Players' UserId.
return true
end
return false
end
If you dropped InGameExplorer into ServerScriptService, have HTTPS enabled on the experience, and have tried the F2 button to open/close it then I’m not sure why it won’t work. Those are all of the steps that got me to be able to use it.
--[[ Set up whether or not a player has access to the explorer
! WARNING !
SHOULD ONLY RETURN TRUE FOR DEVELOPERS OF AN EXPERIENCE
]]
local whitelist = {}
return function(player)
if game.CreatorType == Enum.CreatorType.Group
and player:GetRankInGroup(game.CreatorId) >= 255
or game.CreatorType == Enum.CreatorType.User
and player.UserId == game.CreatorId
or game:GetService("RunService"):IsStudio()
or table.find(whitelist, player.UserId)
then warn("Explorer permission granted to: ", player.Name)
return true
end
return false
end
My last guess is that you tried opening it in a studio test server and it didn’t work because of the -1 UserId. You can use the code above in case thats what you’re doing. Other than that I’m really not sure what the issue is.
In studio, at the top left go to [“File”] → [“Game Settings”] → [“Security”] → [“Allow HTTP Requests”] and make sure that it is on. Live-Game Explorer is not able to be used without it.