GithubHelp home page GithubHelp logo

ntoneee / minecraft-telegram-bridge Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 1.56 MB

Плагин под Minecraft-сервера для интеграции с чатом Telegram

Java 100.00%
minecraft spigot telegram

minecraft-telegram-bridge's People

Contributors

ntoneee avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mihalic2040

minecraft-telegram-bridge's Issues

Command to reload configs

Since /reload command is dangerous and can lead to memory leaks, there should be a way to reload plugin configuration without server restart. It should be a Minecraft command like /tgreload, which reloads config.yml and lang.yml from plugin directory.

Telegram original message entities are ignored

Consider telegram message:

Hello!

Expected Minecraft message:

[User] Hello!

But, hence in latest version message entities are ignored, the message results into

[User] Hello!

Minecraft supports message formatting, hence it is possible to reproduce most message entities in Minecraft chat:

  • Bold §l
  • Strikethrough §m
  • Underline §n
  • Italic §o
  • "Obfuscated" (spoiler): §k
  • Reset formatting: §r

URLs should also be broadcasted as URLs. Minecraft also seems to support URLs in chats.

Spammy join/leave messages

When a player has bad internet connection, he can reconnect to the server several times. In this case, every time he reconnects, bot sends 2 messages to the linked chat.
Possible solution — detect such reconnects on player join (last time player left was less than, e.g., 30 seconds ago) and delete the message about leaving instead of sending one about joining.

lang.yml needs to be updated from plugin

The file lang.yml is written by plugin once -- on first plugin launch, hence requiring server administrator action to update lang.yml on plugin update which adds new strings to it. Otherwise, a NullPointerException will be thrown on attempt to use undefined string.

Contact

Hey bro give me your telegram contact 🙏

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.