Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lapismyt committed Jan 11, 2024
1 parent 1af340f commit 30f23fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions piemc/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@

# ONLY FOR DEVELOPERS
# Set the desired log level in uppercase (e.g., "INFO", "DEBUG", "WARNING", "ERROR", "CRITICAL")
LOG_LEVEL = "INFO"
DEV_MODE = False
LOG_LEVEL = "DEBUG"
DEV_MODE = True
4 changes: 3 additions & 1 deletion piemc/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def __init__(self, hostname="0.0.0.0", port=19132, motd1="PieMC Server", motd2="
self.bedrock_server.raknet_version = raknet_version
self.bedrock_server.pieraknet_init()
self.raknet_server = self.bedrock_server.pieraknet
self.raknet_server.logger = create_logger("PieRakNet")

self.network_thread = threading.Thread(target=self.start_bedrock_server)
self.network_thread.daemon = True
Expand Down Expand Up @@ -121,7 +122,8 @@ def stop(self):
self.logger.info(self.lang['STOPPING_WAIT'])
self.running = False
self.bedrock_server.stop()
self.network_thread.join()
for thread in threads:
thread.join()
self.logger.info(self.lang['STOP'])


Expand Down
1 change: 1 addition & 0 deletions pieuid.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
96719125104888857884

0 comments on commit 30f23fc

Please sign in to comment.