Coder Social home page Coder Social logo

palog's Introduction

palog

Broadcast messages that someone joined/left the game.

game screen that shows log of joined:Tsuzu

Usage

Enable RCON of PalWorld server

Docker

docker run --name palog -e RCON_ENDPOINT={PalWorldServerIP}:25575 -e RCON_PASSWORD={AdminPassword you set above} ghcr.io/miscord-dev/palog:v0.0.5

Binary installation

Install palog

  • Install binary from releases
  • (optional) Install uconv
    • Non-ascii characters are converted via uconv -x latin
    • On Debian/Ubuntu; apt-get install -y icu-devtools

Set environment variables

  • RCON_ENDPOINT
    • If you run palog on the same server as the PalWorld server, the value is 127.0.0.1:25575
  • RCON_PASSWORD
    • The password you set in the earlier step
  • For other options, please check the Environemnt Variables section

Launch palog

$ ./palog

Installation

Docker(Recommended)

docker pull ghcr.io/miscord-dev/palog:v0.0.5 # or main

Download binary

Environment Variables

  • RCON_ENDPOINT: Endpoint of RCON (IP:Port)
  • RCON_PASSWORD: Password of RCON
  • INTERVAL: Interval to check current players (default: 5s)
  • TIMEOUT: Timeout of RCON calls (default: 1s)
  • UCONV_LATIN: Set false to disable escape string with uconv -x latin

Known issues

  • If the message is split via whitespaces, Broadcast sends only the first segment
  • Non-ascii are corrupted

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.