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 » Game Creation and Development » Scripters
Home Search
 

Re: How to make a banning system

Previous Thread :: Next Thread 
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
04 Dec 2016 07:15 PM
would I just save their names? or would I give everyone a bool value that is only controllable by the server if it detects bad behavior
Report Abuse
Captain_PeachFuzz is not online. Captain_PeachFuzz
Joined: 08 Apr 2009
Total Posts: 223
04 Dec 2016 07:18 PM
Save the names, that way you don't have to save a false bool value for 99% of players.
Report Abuse
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
04 Dec 2016 07:28 PM
How can I go about that?
Report Abuse
Mister_Manakin is not online. Mister_Manakin
Joined: 16 Sep 2009
Total Posts: 1935
04 Dec 2016 07:31 PM
You can save tables with datastore, I think. To add a name to the ban list you would have to retrieve the saved list, add the recently banned player, then re-save the new list.
Report Abuse
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
04 Dec 2016 07:33 PM
Yes you can save tables


Roblox.Forum.Scripters:1: bad argument #1 to 'intellect' (number expected, got nil)
Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
04 Dec 2016 07:37 PM
"Save the names, that way you don't have to save a false bool value for 99% of players."

Why would you be required to save a "false" bool value for 99% of players?
Report Abuse
PhoenixSigns is not online. PhoenixSigns
Joined: 17 Sep 2011
Total Posts: 1137
04 Dec 2016 07:45 PM
A banning system is useless. Hackers typically use alts or guest accounts when exploiting games. The only sure way to prevent hackers is by FE
Report Abuse
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
04 Dec 2016 08:13 PM
Even thought they make alts, I'm pretty sure they will get annoyed each time they attempt something tricky
Report Abuse
Vezious is not online. Vezious
Joined: 09 Nov 2013
Total Posts: 606
04 Dec 2016 08:29 PM
Lol. What if they're not exploiting but spamming or bullying. It's better to have a banning system and be able to do something instead of standing there defenseless.
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
04 Dec 2016 08:31 PM
Use datastores.

Simply do this:
DS:SetAsync("banned"..player.userId,true)
(use userIds for name changes)

And on added:

local ban = DS:GetAsync("banned"..player.userId)
if ban then
player:Kick("You are banned.")
end


Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
04 Dec 2016 08:32 PM
Save their ID instead of their names. If they change their name then they wont be banned


Report Abuse
PhoenixSigns is not online. PhoenixSigns
Joined: 17 Sep 2011
Total Posts: 1137
04 Dec 2016 08:36 PM
@Soapy, who is gonna ban them?
Are you gonna hire moderators? -_-
They could literally ban anyone who makes them mad
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
04 Dec 2016 08:38 PM
@phoenix
That's why you don't hire 12 year olds


Report Abuse
HlCOM is not online. HlCOM
Joined: 29 Mar 2009
Total Posts: 3332
04 Dec 2016 08:44 PM
"@Soapy, who is gonna ban them?
Are you gonna hire moderators? -_-"

um ya thats kinda the point of moderators lmfao

Report Abuse
PhoenixSigns is not online. PhoenixSigns
Joined: 17 Sep 2011
Total Posts: 1137
04 Dec 2016 10:02 PM
I give up. You guys aren't even listening. A banning system is extremely flawed.
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
04 Dec 2016 10:15 PM
###############################################################################################################################################################################################################################
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
04 Dec 2016 10:15 PM
@OP

local ds = game:GetService('Data StoreService'):GetDataStore('BanData')

--player enters server

local Banned = ds:GetAsync(UserId)
if Banned then player:Kick() end

--person chats to ban the player
ds:SetAsync(UserId,true)


Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
04 Dec 2016 10:20 PM
^

I would use an ordered data store, as it allows you to get a list of all banned players. That, or a table.
Report Abuse
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
04 Dec 2016 11:19 PM
I like it thanks! And I don't need mods to ban people. I know how to detect hackers.
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
05 Dec 2016 06:18 AM
Phoenix is like twelve anyway.


Report Abuse
Rerumu is not online. Rerumu
Joined: 11 Oct 2014
Total Posts: 950
05 Dec 2016 06:24 AM
I'd probably shove the banned data along with their data store if they have a stats one just to reduce the requests being made.
Report Abuse
local_Noob is not online. local_Noob
Joined: 21 Jul 2016
Total Posts: 299
05 Dec 2016 09:22 AM
Banning system is extremely flawed unless you have a willing person who's going to spend his life guarding a ROBLOX game for a few R$ (or none?). Even then we can't be sure if what he had done was rightly judged or just a favor to someone.
Report Abuse
PhoenixSigns is not online. PhoenixSigns
Joined: 17 Sep 2011
Total Posts: 1137
05 Dec 2016 09:12 PM
^
EXACTLY. Finally someone who agrees with me
Report Abuse
SirTipsAlot is not online. SirTipsAlot
Joined: 08 Feb 2012
Total Posts: 2431
05 Dec 2016 09:18 PM
roblox needs to make it so you can save someone's IP address, or a computer specific key to prevent tracking

but then the owner could track everyone who joins

hm

make it expire every week


Report Abuse
PhoenixSigns is not online. PhoenixSigns
Joined: 17 Sep 2011
Total Posts: 1137
05 Dec 2016 09:33 PM
ORRRRR you can just script your game with FilteringEnabled. That makes the game almost impossible to hack.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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