Joke Collection Website - News headlines - How does my world server set the game mode of the person who comes in, which is the default game mode for the first time to enter the server? How to let pirated players enter?

How does my world server set the game mode of the person who comes in, which is the default game mode for the first time to enter the server? How to let pirated players enter?

find the server.properties file in the server root directory and open it with Notepad or Notepad++.

set the default mode as survival: gamemode=

allow pirated players to enter: online-mode=false

the following # is followed by explanation

generator-settings = # global setting

op-permission-level = 4 # Op permission level

allow-nether = true # Allow survival destination

level-name = world # main world archive name

enable-query = false # Whether to open the protocol server listener

allow-flight = true # Is it allowed to fly

announcement-player-achievements = true # to publicize player achievement information

server-port = 25566 # server port

level-type = default # main world type

enable-rcon = false # Turn on rcon monitoring

force-game mode = false # lock game mode

level-seed = # master archive seed

server-IP = 192.168.19.32 # server IP

max-build-height = 256 # Maximum allowable building height

spawn-NPCs = false # Is there a main city NPC

white-list = false # Is white list turned on

spawn-animals = true # Is animal generation allowed

p>hardcore=false # Turn on the limit mode

snooper-enabled = false # Send server data to snoop.minecraft.net website

Online-mode = false # Verify whether it is genuine

Resource-pack = # Server resource package download address

PVP = true # Whether PVP is allowed

Difficulty = 3 # Server difficulty and ~3 difficulty (self-adjustment)

Enable-command-block = true # Whether to open the command box

Server-name = server # Server name

gamemode = # default game mode

player-idle-timeout = # player's maximum on-hook time

max-players = 2 # maximum number of players

spawn-monsters = true # Is it allowed to generate monsters

generate-structures = true # Is it allowed to generate buildings

view-distance = 1 # visible distance

motd = server # server slogan?