(Kind of a request?) Umm anyways Im making a datastored nil logger. So when a player goes nil in a SB I can log them to remember them or kick them time they try to go nil. Basically what Im asking is..
Where would I start?
local NilTable={} GetAsync()? IncrementAsync()? SetAsync()? UpdateAsync()? local CData=DS:GetOrderedDataStore('TestGravityNilLogs'):GetSortedAsync(false, 10) local COutput=CData:GetCurrentPage() for _,a in pairs(COutput) do table.insert(NilTable,{Player = '?'}) end
I can easily get the player from the nil stage, but how would I insert the data into a table next time I enter the server?
I'm assuming that if you can find somebody going nil you can just pass their userid or name to a script that adds them to a ban list of sorts that just gets updated to datastore. That'd be my best guess, however I've no idea how to find if they go nil. I think the method you're looking for here is GetAsync() to get the contents of the datastore and plop them into a table, although I'm not sure how to do that.