Coder Social home page Coder Social logo

discord-mcpe's Introduction

Discord-MCPE

Discord-MCPE Logo

Connect your PocketMine server with Discord™!

Installing:

  1. Download phar from Poggit™
  2. Put it in /plugins folder
  3. Start server
  4. Edit config
  5. Reload server

Config:

webhook_url: Your discord webhook url.

chat_url: Webhook url for the /discord command and when somebody chats. Set to 0 to use default.

username: The username the plugin uses in discord.

chat_username: The username of the plugin for /discord and when someone chats. Set to 0 to use default.

chat_format: Format in discord that the plugin uses when sending a message. {player} and {message} can be used.

start_message: Message sent when server starts.

shutdown_message: Message sent when server stops.

join_message: Message sent when player joins. {player} can be used.

quit_message: Message sent when player leaves. {player} can be used.

death_message: Message sent when player get killed. {player} can be used.

command: Enable/disable "/discord"

chat_prefix: Prefix for chat. When "!" and someone says !Hello, Hello is send to Discord

chat: Send everything to Discord. Recommended to keep this disabled, but it can be used.

pureperms: Support for PurePerms rank names. PurePerms ranks use the prefix {rank}. If not enabled, {rank} tags will show as "{rank}".

debug: Show error messages.

Making a Discord™ webhook:

  1. Open Discord
  2. Go to your server
  3. Make a new chat channel / Open one
  4. Click on the settings icon beside your chat channel name
  5. Click Webhooks => New
  6. Click "Copy" under Webhook URL
  7. Paste it in the config
  8. No more!

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.