NorthstarMasterServer icon indicating copy to clipboard operation
NorthstarMasterServer copied to clipboard

Added basic functionalities for player bans from masterserver

Open wolf109909 opened this issue 4 years ago • 4 comments

changed database structure, do this to the player database to make it actually work: alter table accounts ADD isBanned INTEGER DEFAULT 0; running this with an unmodified database should have no conflict however, due to isBanned will only trigger auth error when it is exactly "1".

wolf109909 avatar Dec 28 '21 07:12 wolf109909

Currently, the only way to actually ban someone is to directly connect to the database and modify the ''isBanned' value for each player. but I have made some functions left in there for direct banning and unbanning from within the js. not called by anything atm

wolf109909 avatar Dec 28 '21 07:12 wolf109909

found some deadly dead bug, closing for now

wolf109909 avatar Dec 28 '21 08:12 wolf109909

fixed the deadly dead issue and its working on my side now

wolf109909 avatar Dec 28 '21 09:12 wolf109909

fixed the bugs that stop this from working. the reason is I'm too lazy to upload my code that's running fine up here and just made the changes by editing the code on github. made tons of typos and now this should work as intended.

wolf109909 avatar Dec 31 '21 06:12 wolf109909

We are not currently planning to implement master server bans, but we may revisit this in the future if necessary.

pg9182 avatar Oct 22 '22 04:10 pg9182