{"id":20032708,"url":"https://github.com/lucko/gchat","last_synced_at":"2025-05-05T05:30:46.855Z","repository":{"id":56386048,"uuid":"94690218","full_name":"lucko/gChat","owner":"lucko","description":"A simple global chat plugin for BungeeCord.","archived":false,"fork":false,"pushed_at":"2020-11-10T22:43:56.000Z","size":36,"stargazers_count":11,"open_issues_count":8,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-01T12:44:49.536Z","etag":null,"topics":["bungee","bungeecord"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-18T13:51:28.000Z","updated_at":"2024-03-07T13:14:22.000Z","dependencies_parsed_at":"2022-08-15T17:50:14.942Z","dependency_job_id":null,"html_url":"https://github.com/lucko/gChat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko%2FgChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko%2FgChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko%2FgChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko%2FgChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucko","download_url":"https://codeload.github.com/lucko/gChat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224426496,"owners_count":17309343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bungee","bungeecord"],"created_at":"2024-11-13T09:38:58.009Z","updated_at":"2024-11-13T09:38:58.508Z","avatar_url":"https://github.com/lucko.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gChat [![Build Status](https://ci.lucko.me/job/gChat/badge/icon)](https://ci.lucko.me/job/gChat/)\nA simple global chat plugin for BungeeCord.\n\n* **Downloads** - \u003chttps://ci.lucko.me/job/gChat/\u003e\n\n### Features\n* Global chat channel throughout your network\n* Placeholders to customize chat formatting\n* Multiple formats selected using weight\n* API for adding additional placeholders, or listening to chat events\n\n### Placeholders\n#### Standard Placeholders\nThese placeholders are provided by gChat.\n\n* `{username}` or `{name}` - the players username\n* `{server_name}` - the name of the players current server\n* `{uuid}` - the players unique id\n* `{display_name}` - the players display name\n* `{message}` - the chat message being sent by the player.\n\n#### Plugin Hooks\ngChat also provides hooks for the following plugins.\n\n* [**LuckPerms**](https://github.com/lucko/LuckPerms) - gChat will hook with LuckPerms if it's installed on the proxy, and allows you to use any of the placeholders listed [here](https://github.com/lucko/LuckPerms/wiki/PlaceholderAPI).\n\n### Configuration\n```yaml\n# gChat Configuration\n\n# If a player doesn't have permission for any of the formats, should the chat message be passed through to the\n# backend server or just ignored.\npassthrough: true\n\n# if permissions are required to send/receive chat messages\nrequire-permission:\n  # if true, players will need to have the \"gchat.send\" permission to send messages\n  send: false\n\n  # the message to send if a player doesn't have permission to chat\n  # will only be sent if the 'passthrough' option below is false\n  send-fail: \"\u0026cYou do not have permission to use the chat!\"\n\n  # if true, players will need to have the \"gchat.receive\" permission to receive messages\n  receive: false\n\n  # if a player doesn't have permission to send a message, should it be passed through to the backend server?\n  passthrough: true\n\n# Defines the formats to be used.\nformats:\n\n  # a default format for everyone on the server\n  everyone:\n\n    # the priority of the format. higher number = higher priority.\n    # if a user has permission for multiple formats, the one with the highest priority will be used.\n    priority: 100\n\n    # if this format requires a permission.\n    # permissions are in the format: \"gchat.format.\u003cformat name\u003e\"\n    # for example: \"gchat.format.everyone\"\n    check-permission: true\n\n    # the actual format for the chat message\n    format: \"{luckperms_prefix}{name}{luckperms_suffix}{message}\"\n\n    format-extra:\n\n      # the format for the message tooltip\n      hover: \"\"\n\n      # what should happen when the message is clicked?\n      click:\n\n        # type: can be either \"none\", \"suggest_command\", \"run_command\" or \"open_url\"\n        type: \"none\"\n\n        # the value to suggest or run.\n        value: \"\"\n\n  # another format without all the comments!\n  staff:\n    priority: 150\n    check-permission: true\n    format: \"* {luckperms_prefix}{name}{luckperms_suffix}\u0026c: \u0026b\u0026l{message}\"\n    format-extra:\n      hover: |-\n        \u0026e{name} is a staff member!\n\n        \u00266Feel free to message them any time, by\n        \u00266clicking this message!\n      click:\n        type: suggest_command\n        value: \"/msg {name} \"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucko%2Fgchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucko%2Fgchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucko%2Fgchat/lists"}