Code Monkey home page Code Monkey logo

telesto's Introduction

TELESTO (Telegram Service for Triggernometry Operations)

This plugin allows Triggernometry (and other programs, why not) some means to interact with the game directly.

How does it work

The plugin starts listening to JSON payloads on HTTP POST on a specific port, and from there it will just execute whatever commands are sent by the external application.

How to install

You will find the plugin in my Dalamud plugin repository at https://github.com/paissaheavyindustries/Dalamud-Repo! Follow the instructions there on how to use the repository.

In-game usage and configuration

  • Type /telesto to open the configuration UI
  • General settings
    • "Start endpoint on launch" controls whether the HTTP endpoint is available when the plugin loads or not
    • "HTTP POST endpoint" is the HTTP endpoint

Support / Discord

There's a publicly available Discord server for announcements, suggestions, and questions - feel free to join at:

https://discord.gg/6f9MY55

(X) JSON!

The general form is { "version": 1, "id": x, "type": y, "payload": z }, where:

  • x is a number identifier for the telegram (not currently in use, may be used later in replies)
  • y is the telegram type
  • z is the payload relevant to the telegram

Telegram types

PrintMessage: Prints a message in chat log. Example: { "version": 1, "id": 123456, "type": "PrintMessage", "payload": { "message": "hello world" } }

PrintError: Prints an error message in chat log. Example: { "version": 1, "id": 123456, "type": "PrintError", "payload": { "message": "hello world" } }

ExecuteCommand: Executes an ingame command. Example: { "version": 1, "id": 123456, "type": "ExecuteCommand", "payload": { "command": "/mk attack1 <1>" } }

OpenMap: Opens a map and sets a flag marker. coords can be either world for ingame coords or raw for raw map coordinates. Example: { "version": 1, "id": 123456, "type": "OpenMap", "payload": { "territory": 160, "map": 108, "coords": "world", "x": 12, "y": 12 } }

Bundle: A bundle of telegrams. Example: { "version": 1, "id": 123456, "type": "Bundle", "payload": [ { "id": 123456, "type": "PrintMessage", "payload": { "message": "hello world" } }, { "id": 123456, "type": "ExecuteCommand", "payload": { "command": "/mk attack1 <1>" } } ] }

telesto's People

Contributors

paissaheavyindustries 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.