NOOB needs whitelist help

Post Reply
gone2lake
New to forums
New to forums
Posts: 7
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri May 09, 2014 5:11 am
Location: KY, USA

NOOB needs whitelist help

Post by gone2lake »

Sorry if this is totally stupid....

Could someone give me an example of the whitelist file for a vanilla Minecraft server with these fake names, PLEASE?

jimdonut
MrYakzAlot
scoobydoobydoo
yomama
that1guy
blimpbutt

Or any combination of 2 or more names, please? Thanks :)
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: NOOB needs whitelist help

Post by kraze »

Once you have the "white-list" enabled in your server.properties you would just need to place the allowed usernames into your "whitelist.json" file.

This would be an example.

Code: Select all

[
  {
    "name": "kraze"
  },
  {
    "name": "acoolerkraze"
  }
]
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
gone2lake
New to forums
New to forums
Posts: 7
Joined: Fri May 09, 2014 5:11 am
Location: KY, USA

Re: NOOB needs whitelist help

Post by gone2lake »

Thanks! I knew it was more than just notepad'n a file called whitelist.txt and adding names. I've no experience with the json files at all. Thanks AGAIN, I no longer feel stupid :)

Is there a common link or something to help beginners with the .json files?
kraze wrote:Once you have the "white-list" enabled in your server.properties you would just need to place the allowed usernames into your "whitelist.json" file.

This would be an example.

Code: Select all

[
  {
    "name": "kraze"
  },
  {
    "name": "acoolerkraze"
  }
]
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: NOOB needs whitelist help

Post by kraze »

Originally it was just a .txt file. I guess they recently changed it. I'm sure there is more information on .json files somewhere, but in this case to add more users to your list just recreate whatever is above it.

Code: Select all

[
  {
    "name": "kraze"
  },
  {
    "name": "acoolerkraze"
  },
  {
    "name": "kraze21"
  },
  {
    "name": "notkraze"
  }
]
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
User avatar
Vanderburg
Former staff
Former staff
Posts: 1253
Joined: Sat Nov 13, 2010 7:27 am
Location: Dallas, TX

Re: NOOB needs whitelist help

Post by Vanderburg »

From your console in the Server Control tab, you can also send the command "whitelist add <playername>", or use it in game, if you're opped.

If you make a change to the whitelist file while the game is running, you can use "whitelist reload" to not have to restart the server after the change and have it take effect immediately.

(Commands sent in the in-game chat require a leading "/", such as "/whitelist reload")
gone2lake
New to forums
New to forums
Posts: 7
Joined: Fri May 09, 2014 5:11 am
Location: KY, USA

Re: NOOB needs whitelist help

Post by gone2lake »

thanks guys for the help ! much appreciated!
Post Reply