Lazy8244 Posted January 21, 2021 Report Posted January 21, 2021 So, I am trying to figure out how to whitelist a server. I'm running into a problem where I can not find a reference to formatting, and because I've got an issue with server initialization on top, I'm trying to wing this part until i get the server sorted properly. Does anyone have a basic "form" of whitelist? Is it Minecraft-ish (json file)? 7Days-ish (serveradmin file)? Ark-ish (unholy mess)? ProjectZomboid-ish(text file)? Thankyou, from the worst server admin ever 1
EconBrony Posted January 27, 2021 Report Posted January 27, 2021 the easiest way to whitelist players is using the command in game as an admin or from your server console: /player EconBrony whitelist on is the command. If you add it from the backend you will need to stop the server, edit the player file, then start the server. Much more effort involved there. 1 2
Threeman Posted January 12, 2025 Report Posted January 12, 2025 For the next person searching google for this answer "WhitelistMode": 1, in the serverconfig.json is off "WhitelistMode": 2, in the serverconfig.json is on 2 3
Hulkmaster Posted January 17, 2025 Report Posted January 17, 2025 for next person searching google after updating to 1.20 do in server console: /serverconfig whitelistmode off 9 3
AcidNight Posted January 27, 2025 Report Posted January 27, 2025 hello, I am also looking for a layout of the whitelist in json because my server has been whitelisted but I cannot connect to make the orders, so I need the layout of the file, can you share it with a fake name?
Leech Posted February 5, 2025 Report Posted February 5, 2025 On 1/17/2025 at 7:15 PM, Hulkmaster said: /serverconfig whitelistmode off How do I open the console ingame?
Thorfinn Posted February 5, 2025 Report Posted February 5, 2025 When you type the "/" it opens the console.
Clabbey Posted February 8, 2025 Report Posted February 8, 2025 I have my server online, WhitelistMode is 0, onlywhitelisted is false, typed /serverconfig whitelistmode off/0 into the console. I still cant connect to my server due to not being on the whitelist. What am I missing? 1
Alex Kroeze Posted February 18, 2025 Report Posted February 18, 2025 On 2/7/2025 at 8:28 PM, Clabbey said: I have my server online, WhitelistMode is 0, onlywhitelisted is false, typed /serverconfig whitelistmode off/0 into the console. I still cant connect to my server due to not being on the whitelist. What am I missing? Did you ever get it figured out? Same issue
Slagar Posted February 22, 2025 Report Posted February 22, 2025 I set WhitelistMode to 1 when I had the same problem and it let me join after that.
river_eclipse Posted March 4, 2025 Report Posted March 4, 2025 On 2/7/2025 at 7:28 PM, Clabbey said: I have my server online, WhitelistMode is 0, onlywhitelisted is false, typed /serverconfig whitelistmode off/0 into the console. I still cant connect to my server due to not being on the whitelist. What am I missing? did u ever find a solution for this? im having the same issue
niky Posted March 22, 2025 Report Posted March 22, 2025 after seeing this I sorta gave up on trying to deactivate the whitelist and just started adding people to it with: /player [playername] whitelist on so far it seems to work for our small private server. but I guess that won't really do for public servers. 1
Zane Mordien Posted March 22, 2025 Report Posted March 22, 2025 I had to add myself manually to the "playerswhitelisted.json" file or turn off the white list and add myself by the console command then turn it back on. It was really stupid that I was blocked from joining my own personal server. { "PlayerUID": "ENTERIDHERE", "PlayerName": "ZaneMordien", "UntilDate": "2075-01-19T23:59:18.4396958+00:00", "Reason": null, "IssuedByPlayerName": "Console" },
Impyre Posted April 12, 2025 Report Posted April 12, 2025 Are guys sure you restarted the server after making the change to the whitelist? I've had no problems. Run /serverconfig whitelistmode off, then restart the server and you shouldn't have any problems. I always use /stop to shutdown the server so that it writes any changes made to configs... then start it back up as usual. As an aside, I too would like to know how to add players to the file directly. I'd hope the server was smart enough to parse the list with just player names, but the way the entries in the whitelist appear, it seems a jumbled mess of random info. If you'd like the safety of a whitelist, without the hassle of constantly turning it off and on... another option is to change default player role to suvisitor, or define your own default role. This would allow you to control what permissions players have when connecting. Somewhere around line 326 of the serverconfig.json you can see something like this: "DefaultRoleCode": "suplayer", "ModPaths": [ "Mods", "path to mods folder" ], If you change it to "suvisitor" then by default, players will have the following role: "Code": "suvisitor", "PrivilegeLevel": -1, "Name": "Survival Visitor", "Description": "Can only visit this world and chat but not use/place/break anything", "DefaultSpawn": null, "ForcedSpawn": null, "Privileges": [ "chat" ], "RuntimePrivileges": [], "DefaultGameMode": 1, "Color": "Green", "LandClaimAllowance": 0, "LandClaimMinSize": { "X": 5, "Y": 5, "Z": 5 }, "LandClaimMaxAreas": 3, "AutoGrant": false The above role can be customized however you like... but by default they can't do anything except use chat. You can even turn that off if you like. I personally like this option because if you want to invite new friends, it's much easier since you don't have to do anything for them to be able to join. Any server mod can change their role to "suplayer" once they arrive and then they can play as normal. 1
StagSkull Posted April 19, 2025 Report Posted April 19, 2025 On 1/27/2021 at 7:28 PM, EconBrony said: player EconBr
Josh Cooper Posted April 23, 2025 Report Posted April 23, 2025 sudo ./server.sh command "/whitelist off" so the quotations are where you put the "console commands" .took me a while to get this far. Hope this helps somebody else.
Josh Cooper Posted April 23, 2025 Report Posted April 23, 2025 Definately not wolfbait but a Pincushion for arrows in the night for sure
Recommended Posts