generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Roblox » Suggestions & Ideas
Home Search
 

Re: FilteringService: FilteringEnabled modernized

Previous Thread :: Next Thread 
Zeute is not online. Zeute
Joined: 01 Nov 2012
Total Posts: 49
19 Jul 2015 02:00 PM
It's basically customizable filtering.
You can set up events when the filters caught something, for example:

local FilteringService = game:GetService('FilteringService')

FilteringService.Triggered:connect(function(Type, Objects, Player) -- type is an enum containing the replication type. For example: CreateInstance (an instance asks to be replicated), Value (a value is changed). Objects is a table either containing the instances to be created on the server, or the objects that will be affected.

if Type == Enum.ReplicationType.CreateInstance then
FilteringService:Replicate(Player) -- Replicate the changes.
end

end)

That above snippet would allow the creation of Instances, but would block modification of values, deletion of instances or calling any functions. To allow the replication, you just need to call the Replicate(Player) method.

Possible Enums for ReplicationTypes:
- CreateInstance (Creating instances)
- RemoveInstance (Removing instances)
- MoveInstance (Moving instances to another location)
- Value (Changing values of objects)
- Function (Calling functions, such as workspace.Part:ClearAllChildren())

Possible Events for the service:
- Triggered([Enum] Type, [Table] Objects, [Player] Player) (When something got caught in the filter)
- OnReplication() (When something replicates when :Replicate() is called)

The FilteringService can be enabled similar like the HttpService.
It would greatly enhance the security of places, but also allow more flexibility: For example, you need the client to modify a certain color of a Part. You could set up a remotefunction or a remoteevent for it, of course, but you can also just enable FilteringService and write a quick script that allows the BrickColor property of that part to be changed, and block everything else.
Report Abuse
hotfeet09 is not online. hotfeet09
Joined: 03 Oct 2009
Total Posts: 12547
19 Jul 2015 02:03 PM
It would be a challenge to learn I bet, but as you said it probably will enhance security for top-of-the-line places. My opinion is yes, I do support this and do not force anyone else to follow this viewpoint.

~~~~Mr. Redsteel of ATR, hotfeet09
Report Abuse
Zeute is not online. Zeute
Joined: 01 Nov 2012
Total Posts: 49
19 Jul 2015 02:10 PM
Bumpi
Report Abuse
Astrastela is not online. Astrastela
Joined: 13 Sep 2010
Total Posts: 5132
19 Jul 2015 02:17 PM
I support.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » Suggestions & Ideas
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image