Git Product home page Git Product logo

newdiscordbridge's Introduction

NewDiscordBridge



Русский

NewDiscordBridge is a new plugin that will allow you not only to exchange messages with a chat on your server, but also moderate directly from discord!

Supports: Original TShock, Mobile TShock

Commands

  • ban <player/IP> <time> [reason] - ban user or ip. Requires the ban permission!
    • unban <player/IP>
  • kick <player> [reason] - kicks the player. Requires the kick permission!
  • mute <player> - mute/unmute player. Requires the mute permission!
  • off - shuts down the server while saving. Requires the administrator permission!
  • info <player/IP> - shows information about the player's account or IP.
  • who - displays a list of players.

Config (NewDiscordBridge.json)

Name Description Type
DiscordBotToken Insert the token for your bot from the Developer Portal here String
Prefix Prefix for your commands, e. g. "/", or "bot-" String
Chat Enable if you need chat between server and discord Boolean
Commands Enable if you need commands Boolean
ChatID ID of channel for chat UInt64
LogID ID of channel for logs UInt64
JoinLogID ID of channel for join/leave messages UInt64
DiscordToTerrariaFormat Format of messages from discord.
{0} - Username, {1} - Message
String
TerrariaToDiscordFormat Format of messages from server.
{0} - Prefix, {1} - Username, {2} - Suffix, {3} - Message
String
Messagecolor RGB color for messages from discord Int32[]

newdiscordbridge's People

Contributors

roseusfox avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cheesits456

newdiscordbridge's Issues

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.