Giter Club home page Giter Club logo

kosuzu's Introduction

Kosuzu

A plugin to provide in-game translation services with Minecraft.

Features

This plugin provides the following features:

  • Translation of chat messages
  • Per-user language settings
  • Translation on demand
    • Simply click on a message to translate it
  • Automatic translation
    • Note that for DeepL, token usage will rapidly increase with this feature enabled

For storing user settings, SQLite or MySQL/MariaDB can be used. For the latter, credentials must be provided in the config.yml file.

For translation, two systems are currently used: DeepLX and the normal DeepL API. DeepLX allows for translation without the need for an API key, but has very strict rate limits and may not work for some IP addresses. Future versions of this plugin will allow for the use of other translation services.

Configuration (as of 1.1.0)

deepl-api-url: # The API link for DeepL: free edition is https://api-free.deepl.com/v2/translate, but Pro users can use https://api.deepl.com/v2/translate
deepl-api-key: # Your API key for DeepL - most likely ends with ":fx" for free users
default-language: # The default language to translate to, e.g. en-US
ratelimit:
  token_bucket_capacity: # The max number of characters that can be translated at one time
  token_refill_rate: # The number of characters that can be translated per second
storage:
  type: # Either "sqlite" or "mysql"
  sqlite:
    file: # Path to your SQLite database file, e.g. kosuzu.db. The plugin will create the tables automatically
  mysql:
    host: # Hostname of your MySQL server, e.g. localhost
    port: # Port of your MySQL server, e.g. 3306
    database: # Name of your MySQL database, e.g. kosuzu; the plugin will create the tables automatically
    username: # Username to your MySQL database
    password: # Password to your MySQL database

kosuzu's People

Contributors

doggysazhi avatar yoshiweegee avatar taiyou06 avatar

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.