Skip to content

0.6.0

Choose a tag to compare

@Placerr Placerr released this 04 Jun 14:01
· 6 commits to main since this release
1d1c32a

Plasocket Server v0.6 - Release Notes

This release marks an update from v0.5.0 to v0.6, bringing several new features and improvements.

🎉 New Features

  • Player Location Persistence: Players' last known locations are now saved and restored when they rejoin the server. This can be toggled via the save_player_locations setting in server.conf.
  • Join/Leave Notifications: The server now broadcasts in-game messages (TELLRAW) when players join or leave. This is configurable with the log_join_leave setting in server.conf.
  • Enhanced !plugins Command: The !plugins command can now be triggered by sending the raw string !plugins directly to the server (in addition to using it in chat). The response is now formatted as a TELLRAW message for better in-game display.

🚀 Improvements & Changes

  • Server Version Update: Incremented server version to 0.6.
  • Chat Message Handling: Chat messages (PLAYER_MESSAGE) are now logged to the server console. The system ensures the authenticated username is used for broadcasts, preventing potential spoofing.
  • Player Disconnect Logic: Improved client disconnect handling. The server now logs the disconnecting player's username and address more reliably and broadcasts a message to clear the player visually from other clients.
  • Reduced Console Spam: Significantly reduced verbose logging for routine operations (e.g., RLE decoding, world saving, non-critical API send/broadcast errors) to make the server console cleaner. Verbose message logging is still controllable via log_messages in server.conf.
  • Configuration: Added new options to server.conf for log_join_leave and save_player_locations, both defaulting to true.
  • API Logging: The ServerAPI's send_to_client and broadcast methods now have more refined logging, respecting the log_messages setting and filtering out common, high-frequency messages from verbose logs.

🐛 Bug Fixes

  • Chat Username: Ensured that the correct, authenticated username is used when broadcasting chat messages, rather than relying solely on the client-sent username in the message payload.

⚙️ Configuration Updates

The server.conf file will be automatically updated with the following new default settings if they are missing:

  • log_join_leave = true
  • save_player_locations = true

📝 Notes

  • This release focuses on improving player experience with location persistence and clearer server events, while also refining server-side logging and chat handling.
  • It is recommended to back up your existing worlds/ directory and server.conf before updating, although the server should handle configuration updates gracefully.

How to Update

  • Replace your old server script with the new Plasocket_0.6.py file.
  • The server.conf file will be automatically updated with new options if they don't exist.
  • If you had custom plugins, ensure they are still compatible or update them as needed.

Thank you for using Plasocket!