Giter Site home page Giter Site logo

minecraft-bedrock-server-bridge's Issues

Sorry, you are not an admin!

Is this project still active?

i created the bot, got the token, entered the docker settings in the compose file and run the docker

the only response i get from my bot is "Sorry, you are not an admin!"

i tried to change the environment TELEGRAM_BOT_ADMINS to my currently used Telegram Name, still the same output
i created a username for my telegram account and added that to the environment, still the same output
i tried to undocument the line in the compose file thinking that in the README it says it is optional and uses nul, still the same output

what am i missing here

HTTP Token Issue

Hi, it seems like the HTTP API-TOKEN functionality is broken. I've tried testing through curl using a few different methods and it does not seem to work. Methods:

curl -L -X POST 'http://server:port/execute' -H 'Content-Type: application/json' -H 'Authorization: Bearer <TOKEN>' --data-raw '{ "command": "say Hello World!" }'

curl -L -X POST 'http://server:port/execute' -H 'Content-Type: application/json' --data-raw '{ "token": "<TOKEN>" , "command": "say Hello World!" }'
Both of these hang as though the command was incorrect. If I leave out the token parts as below I do get a forbidden response from the server

curl -L -X POST 'http://server:port/execute' -H 'Content-Type: application/json' --data-raw '{ "token": "<TOKEN>" , "command": "say Hello World!" }'

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.