ntoneee / minecraft-telegram-bridge Goto Github PK
View Code? Open in Web Editor NEWПлагин под Minecraft-сервера для интеграции с чатом Telegram
Плагин под Minecraft-сервера для интеграции с чатом Telegram
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.
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:
§l
§m
§n
§o
§k
§r
URLs should also be broadcasted as URLs. Minecraft also seems to support URLs in chats.
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.
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.
Hey bro give me your telegram contact 🙏
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.