Skip to content

Commit

Permalink
Updated Discord link, fixed class header
Browse files Browse the repository at this point in the history
The old one redirected users to the wrong channel.
  • Loading branch information
Remigio07 committed Apr 19, 2024
1 parent fe26d99 commit dbd0208
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ representative at an online or offline event.

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[our Discord server](https://discord.gg/CPtysXTfQg).
[our Discord server](https://discord.gg/eSnAPhvMTG).
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# ChatPlugin
[![Version](https://img.shields.io/github/v/release/ChatPlugin/ChatPlugin?style=plastic&label=version)](https://github.com/ChatPlugin/ChatPlugin/releases)
[![License](https://img.shields.io/github/license/ChatPlugin/ChatPlugin?style=plastic)](https://www.gnu.org/licenses/agpl-3.0.en.html)
[![Discord](https://img.shields.io/discord/847934628014587924?logo=discord&logoColor=5662F6&label=Discord&color=5662F6&style=plastic)](https://discord.gg/CPtysXTfQg)
[![Discord](https://img.shields.io/discord/847934628014587924?logo=discord&logoColor=5662F6&label=Discord&color=5662F6&style=plastic)](https://discord.gg/eSnAPhvMTG)
[![Lines of code](https://tokei.rs/b1/github/ChatPlugin/ChatPlugin?category=code&color=magenta)](https://github.com/ChatPlugin/ChatPlugin)
[![Downloads](https://img.shields.io/github/downloads/ChatPlugin/ChatPlugin/total?style=plastic&color=green)](https://github.com/ChatPlugin/ChatPlugin/releases)

Expand All @@ -16,7 +16,7 @@ It also offers several modules to make server administration easier. Here are so
A complete list of features is available [here](https://remigio07.me/chatplugin/wiki/getting-started/Features).

Please note that the plugin is **not** production-ready yet; fixing bugs is a priority, but use it at your own risk.
Join our [Discord server](https://discord.gg/CPtysXTfQg) to report bugs, request features or receive support.
Join our [Discord server](https://discord.gg/eSnAPhvMTG) to report bugs, request features or receive support.

You can find the wiki and more information about the plugin on [my website](https://remigio07.me/chatplugin).
A premium version (an addon of the free version) will be released soon.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ChatPlugin - A complete yet lightweight plugin which handles just too many features!
* Copyright 2023 Remigio07
* Copyright 2024 Remigio07
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
Expand All @@ -10,7 +10,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* <https://github.com/ChatPlugin/ChatPlugin>
* <https://remigio07.me/chatplugin>
*/

package me.remigio07.chatplugin.server.chat.antispam;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ else if (!forceAdd)
messages.addDefault("commands.help.premium.vanish", "{pfx} &aHelp for &c&lChat&f&lPlugin &fv{0} &aby &9Remigio07&a:\n&f&l/vanish &8- &eBecome invisible to non Staff members.\n&f&l/fakejoin &8- &eSend fake join message and disable vanish.\n&f&l/fakequit &8- &eSend fake quit message and enable vanish.\n&f&l/silentteleport &8- &eSilently teleport somewhere else.");
messages.addDefault("commands.help.premium.misc", "{pfx} &aHelp for &c&lChat&f&lPlugin &fv{0} &aby &9Remigio07&a:\n&f&l/tps &8- &eDisplay the server's current ticks per second.\n&f&l/ad &8- &eSend a loaded ad to one or more online players.\n&f&l/broadcast &8- &eSend a message to every online player.\n&f&l/broadcastraw &8- &eLike /broadcast, but without the prefix.\n&f&l/globalbroadcast &8- &eLike /broadcast, but cross-server.\n&f&l/discordmessage &8- &eSend a message to the server.\n&f&l/telegrammessage &8- &eSend a message to the group.");

messages.addDefault("commands.info", "{pfx} &aInfo about &c&lChat&f&lPlugin &fv{0} &aby &9Remigio07&a:\n&eWebsite: &fhttps://remigio07.me/chatplugin\n&eGitHub: &fhttps://github.com/ChatPlugin/ChatPlugin\n&eDiscord: &fhttps://discord.gg/CPtysXTfQg");
messages.addDefault("commands.info", "{pfx} &aInfo about &c&lChat&f&lPlugin &fv{0} &aby &9Remigio07&a:\n&eWebsite: &fhttps://remigio07.me/chatplugin\n&eGitHub: &fhttps://github.com/ChatPlugin/ChatPlugin\n&eDiscord: &fhttps://discord.gg/eSnAPhvMTG");
messages.addDefault("commands.version", "{pfx} &aRunning &c&lChat&f&lPlugin {0} &fv{1} &aby &9Remigio07 &aon &f{2} {3}&a.");
messages.addDefault("commands.status", "{pfx} &aCurrent server status:\n&eServer version: &f{server_version} (protocol: {server_version_protocol})\n&eChatPlugin version: &f{plugin_version}\n&eUptime: &f{uptime}\n&eTPS (1m, 5m, 15m): &f{tps_1_min_format}&f, {tps_5_min_format}&f, {tps_15_min_format}\n&eUsed memory: &f{used_memory}/{max_memory} MB\n&eAllocated memory: &f{total_memory} MB\n&eFree memory: &f{free_memory} MB\n&eStorage used: &f{used_storage}/{total_storage} GB\n&eFree storage: &f{free_storage} GB\n&eEnabled worlds: &f{enabled_worlds}x\n&eEnabled players: &f{enabled_players}x\n&eEnabled managers: &f{enabled_managers}x\n&eStartup time: &f{startup_time} ms\n&eLast reload time: &f{last_reload_time} ms");
messages.addDefault("commands.scoreboard.enabled", "{pfx} &aThe scoreboard has been enabled.");
Expand Down Expand Up @@ -604,7 +604,7 @@ else if (!forceAdd)
messages.addDefault("proxy-messages.reload.start", "{pfx} &aChatPlugin is reloading...");
messages.addDefault("proxy-messages.reload.end", "{pfx} &aChatPlugin has been reloaded. Took &f{0} ms &ato complete.");
messages.addDefault("proxy-messages.version", "{pfx} &aRunning &c&lChat&f&lPlugin &6Premium &fv{0} &aby &9Remigio07 &aon &f{1} {2}&a.");
messages.addDefault("proxy-messages.info", "{pfx} &aInfo about &c&lChat&f&lPlugin &fv{0} &aby &9Remigio07&a:\n&eWebsite: &fhttps://remigio07.me/chatplugin\n&eGitHub: &fhttps://github.com/ChatPlugin/ChatPlugin\n&eDiscord: &fhttps://discord.gg/CPtysXTfQg");
messages.addDefault("proxy-messages.info", "{pfx} &aInfo about &c&lChat&f&lPlugin &fv{0} &aby &9Remigio07&a:\n&eWebsite: &fhttps://remigio07.me/chatplugin\n&eGitHub: &fhttps://github.com/ChatPlugin/ChatPlugin\n&eDiscord: &fhttps://discord.gg/eSnAPhvMTG");

messages.save();
}
Expand Down Expand Up @@ -977,8 +977,8 @@ else if (!forceAdd)
ads.addDefault("ads.discord.hovers.english", "&9[Click here to open the link]");
ads.addDefault("ads.discord.hovers.italian", "&9[Clicca qui per aprire il link]");
ads.addDefault("ads.discord.click.action", "OPEN_URL");
ads.addDefault("ads.discord.click.values.english", "https://discord.gg/psEw7gW");
ads.addDefault("ads.discord.click.values.italian", "https://discord.gg/psEw7gW");
ads.addDefault("ads.discord.click.values.english", "https://discord.gg/eSnAPhvMTG");
ads.addDefault("ads.discord.click.values.italian", "https://discord.gg/eSnAPhvMTG");

ads.addDefault("ads.store.texts.english", "&e&lVisit our Store:\n&b&nbuy perks and cosmetics and support the server!\n\n&7&oClick this message to get the link.");
ads.addDefault("ads.store.texts.italian", "&e&lVisita il nostro Store:\n&b&ncompra benefici e cosmetici e supporta il server!\n\n&7&oClicca questo messaggio per ricevere il link.");
Expand Down Expand Up @@ -2226,7 +2226,7 @@ else if (!forceAdd)
discordIntegration.addDefault(path + "help.thumbnail", "https://live.staticflickr.com/65535/53596116157_d426b5c1c8_o_d.png");
discordIntegration.addDefault(path + "help.color", "55FF55");
discordIntegration.addDefault(path + "info.title.text", "Info and contacts for ChatPlugin");
discordIntegration.addDefault(path + "info.description", "**Website:** https://remigio07.me/chatplugin\n**GitHub:** https://github.com/ChatPlugin/ChatPlugin\n**Discord:** https://discord.gg/CPtysXTfQg");
discordIntegration.addDefault(path + "info.description", "**Website:** https://remigio07.me/chatplugin\n**GitHub:** https://github.com/ChatPlugin/ChatPlugin\n**Discord:** https://discord.gg/eSnAPhvMTG");
discordIntegration.addDefault(path + "info.thumbnail", "https://live.staticflickr.com/65535/53597447830_f9933947a8_o_d.png");
discordIntegration.addDefault(path + "info.color", "55FF55");
discordIntegration.addDefault(path + "reload-start.title.text", "Reload started");
Expand Down Expand Up @@ -2494,7 +2494,7 @@ else if (!forceAdd)
telegramIntegration.addDefault("settings.status.update-timeout-ms", 30000L);

telegramIntegration.addDefault("messages.main.help", "\u2754 Help for ChatPlugin\n\nClick <a href=\"https://remigio07.me/chatplugin/wiki/modules/Telegram-integration#commands\">here</a> to visit the wiki with the commands list.");
telegramIntegration.addDefault("messages.main.info", "\u2139\uFE0F Info and contacts for ChatPlugin\n\n<strong>Website:</strong> https://remigio07.me/chatplugin\n<strong>GitHub:</strong> https://github.com/ChatPlugin/ChatPlugin\n<strong>Discord:</strong> https://discord.gg/CPtysXTfQg");
telegramIntegration.addDefault("messages.main.info", "\u2139\uFE0F Info and contacts for ChatPlugin\n\n<strong>Website:</strong> https://remigio07.me/chatplugin\n<strong>GitHub:</strong> https://github.com/ChatPlugin/ChatPlugin\n<strong>Discord:</strong> https://discord.gg/eSnAPhvMTG");
telegramIntegration.addDefault("messages.main.status", "\u2139\uFE0F Current server status\n\n<strong>OS:</strong> {os_name} {os_version}, <strong>Java:</strong> {java_version}\n<strong>Environment:</strong> {environment} {environment_version}\n<strong>ChatPlugin:</strong> {chatplugin_version}, <strong>Java Telegram Bot API version:</strong> {java_telegram_bot_api_version}\n<strong>Uptime:</strong> {uptime}\n<strong>Used memory:</strong> {used_memory}/{max_memory} MB\n<strong>Allocated:</strong> {total_memory} MB, <strong>free:</strong> {free_memory} MB\n<strong>Current threads count:</strong> {active_threads}x\n<strong>Used storage:</strong> {used_storage}/{total_storage} GB\n<strong>Free storage:</strong> {free_storage} GB\n<strong>Enabled players:</strong> {enabled_players}x\n<strong>Startup:</strong> {startup_time} ms, <strong>last reload:</strong> {last_reload_time} ms");
telegramIntegration.addDefault("messages.main.version", "\u2699\uFE0F Current plugin version\n\n<strong>ChatPlugin version:</strong> {chatplugin_version}\n<strong>Java Telegram Bot API version:</strong> {java_telegram_bot_api_version}");

Expand Down
4 changes: 2 additions & 2 deletions free/src/main/resources/messages-italian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ commands:
{pfx} &aInformazioni su &c&lChat&f&lPlugin &fv{0} &adi &9Remigio07&a:
&eSito web: &fhttps://remigio07.me/chatplugin
&eGitHub: &fhttps://github.com/ChatPlugin/ChatPlugin
&eDiscord: &fhttps://discord.gg/CPtysXTfQg
&eDiscord: &fhttps://discord.gg/eSnAPhvMTG
version: '{pfx} &aIn esecuzione &c&lChat&f&lPlugin {0} &fv{1} &adi &9Remigio07 &asu &f{2} {3}&a.'
status: |-
{pfx} &aStato attuale del server:
Expand Down Expand Up @@ -692,4 +692,4 @@ proxy-messages:
{pfx} &aInformazioni su &c&lChat&f&lPlugin &fv{0} &adi &9Remigio07&a:
&eSito web: &fhttps://remigio07.me/chatplugin
&eGitHub: &fhttps://github.com/ChatPlugin/ChatPlugin
&eDiscord: &fhttps://discord.gg/CPtysXTfQg
&eDiscord: &fhttps://discord.gg/eSnAPhvMTG

0 comments on commit dbd0208

Please sign in to comment.