if search_button:GetValue() and not MSync.modules.MRSync.settings.nosync[allserver_textentry:GetValue()] and not MSync.modules.MRSync.settings.syncall[allserver_textentry:GetValue()] then
print("Message from "..pl:Nick().." received. Its length is "..len..".")
else
print("Message from server received. Its length is "..len..".")
--[[
So basically we run into a problem as data packages have a size limit of 64KB, so if the ban table is big enough we cant send it over net.WriteTable.
The solution? We send it in single chunks.
We first need to request the table, that should return how much entries we have and then send us each data and at the end a "finished"
So first we need a net sender to request the data, then we need a reciever to recieve the package count, then one to recieve the actuall packages and last but not least one to finish the process.
Should not be that hard, eh?
Notice:
For future usage we may should make that a MSync function and not a MBSync function
]]
--[[
Description: Function to unban a user using the banid
Arguments:
userid [number] - the ban id of the to be lifted ban