Jump to content

Recommended Posts

Posted

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 😃

  • Thanks 1
Posted

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.

  • Like 1
  • Thanks 2
  • 3 years later...
  • 2 weeks later...
Posted

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?

  • 2 weeks later...
Posted

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?

  • Like 1
  • 2 weeks later...
Posted
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

  • 2 weeks later...
Posted
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

  • 3 weeks later...
Posted

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.

  • Like 1
Posted

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"
  },

  • 3 weeks later...
Posted

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.

 

  • Like 1
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.