SGChat | No Dependencies | PlaceholderAPI Support icon

SGChat | No Dependencies | PlaceholderAPI Support -----

A plugin focused on enhancing your server’s chat to improve player’s gameplay experience.




[1.0.5] 2025-11-18
Added
  • Multi-language support.
    • Language files moved to src/main/resources/lang/<code>.yml
    • Added placeholder language files: en, es, fr, de, pt, it
    • Commands and system notifications are now fully translatable via lang/*.yml
  • New /sgchat subcommands:
    • /sgchat langs — Lists all available languages from plugins/SGChat/lang/
    • /sgchat validate-langs — Validates missing keys across all language files
Changed
  • Messages now automatically apply the language prefix when retrieved by the message manager
  • Update checker notifications (console and player) are now translatable and support color formatting
Fixed
  • Translation files now correctly load from plugins/SGChat/lang/
  • Added warnings for missing language files (no longer silently falling back to messages.yml)
Removed / Notes
  • The plugin no longer uses messages.yml as a fallback
  • Custom translations must now be placed inside lang/<code>.yml

Changelog
[1.0.4] – 2025-11-15
Added
  • Discord Webhook Integration
    • Optional webhook support for sending server events to a Discord channel.
    • Configurable webhook username and avatar.
  • Chat Relay to Discord
    • Optional feature: send player chat messages to the configured webhook (discord.send-chat).
    • Customizable message template via discord.chat-message-template
      (supports {player}, {displayname}, {message}, {server})
Changed
  • Improved embed generation for Discord join/quit notifications.
    • Embeds are now automatically used when discord.use-embeds is enabled.
Fixed
  • Avatar fetch issues in Discord embeds resolved:
    • Crafatar UUIDs are now processed without hyphens and fetched directly as PNG.
    • Added validation and fallback logic to prevent broken avatar images.
Removed
  • Player avatar is no longer included by default in join/quit embeds.
    (Prevents broken or placeholder images with certain UUID formats.)
Config Changes
Added to config.yml under the discord: section:

# Chat relay: send player chat messages to the Discord webhook
send-chat: false

# Template for chat messages sent to Discord
# Placeholders: {player}, {displayname}, {message}, {server}
chat-message-template: "{displayname}: {message}"
Notes / Upgrade Instructions
  • After updating, set your discord.webhook-url and enable integration with:
    discord:
    enable: true
  • A server restart is recommended after modifying Discord-related settings.
Technical
  • All webhook calls are executed asynchronously to avoid blocking the main server thread.
  • Embed JSON is built using safe escaping and optional fields such as author and thumbnail.
----------, Nov 15, 2025

Changelog — Version 1.0.3
Released on 2025-10-24

Added
  • Custom placeholders system
    • Add your own variables in custom-placeholders section of config.yml
    • Use placeholders anywhere in plugin messages with {placeholder}
    • Full color code support in placeholder values
    • Dynamic reloading with /sgchat reload
    • Examples included in default configuration
Changed
  • Improved configuration reload system
    • More reliable configuration reloading
    • Better handling of custom placeholders updates
    • Enhanced error handling during reload
Fixed
  • Fixed custom placeholders not updating on reload
  • Fixed placeholder values not being saved correctly
  • Fixed color codes not processing in placeholder values
⚙️ Config Changes
Added to config.yml:
# Custom placeholders configuration
custom-placeholders:
server: "&6My Server"
website: "&bwww.example.com"
discord: "&9discord.gg/example"
Technical
  • Reworked configuration management system
  • Improved config reload mechanism
  • Enhanced placeholder processing efficiency
  • Added better error handling for config operations
----------, Oct 30, 2025

️ SGChat v1.0.2 — Changelog
Release Date: 2025-10-18

A small but important update improving reliability, update tracking, and placeholder support.

✨ Added
  • Update Checker System
    • Automatically checks for new versions on Modrinth
    • Sends update notifications to operators and players with the sgchat.admin permission when they join
    • Option to disable update checks in configuration via check-update: false
️ Fixed
  • {level} Placeholder Issue
    • Fixed {level} not displaying correctly in chat formats
    • Now properly shows the player’s experience level in both default and group-based chat formats
⚙️ Changed
  • Simplified Configuration Structure
    • Removed redundant options for better readability
    • Made the update checker configuration more straightforward and clear
Configuration Update
A new option has been added to your config.yml:

# Whether to check for updates (true/false)
check-update: true

Permissions

Permission
Description Default
sgchat.admin Allows players to receive update notifications op
Technical Notes
  • Integrated Modrinth API for version tracking
  • Added efficient version comparison logic
  • Implemented automatic update checking when a player joins
  • Optimized permission checks for update notifications
Summary
This update improves update management, fixes the {level} placeholder, and keeps SGChat’s configuration clean and easy to use.
Stay updated and report issues or suggestions on our Discord!
----------, Oct 19, 2025

Resource Information
Author:
----------
Total Downloads: 66
First Release: Oct 5, 2025
Last Update: Yesterday at 5:04 AM
Category: ---------------
All-Time Rating:
2 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings