Skip to content

bildzeitung/washer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

washer

Java Websocket broker for SpigotMC

Overview

This project aims to provide a Websocket-based plugin for SpigotMC Event and Server API so that clients can respond to, and alter, the game dynamically.

Two components are being developed here:

  • a Java Plugin for SpigotMC
  • a Python library (and examples) for using the plugin

Requirements

This project uses:

Running

Java plugin:

  • TBD, but mostly: put the washer.jar into one directory, its dependencies in another, and adjust the spigot startup classpath

Python module:

  • TBD, but build and install the wheel into a Python 3.7 environment

Why?

This project came about after looking at how Learn to Program with Minecraft interacted with the game. The stack used in the book consists of:

These projects appear largely finished, and they work still. However, they provide the ability to poll game state, but not the ability to push game events. The application protocol is a custom socket-based invention, too, so building clients for, e.g. interaction with a website would take additional effort.

In using WebSocket as a line protocol, and JSON as the application protocol, clients can be written in a diverse array of platforms, including the web.

About

Java Websocket broker for Spigot MC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published