COWMODSКаталог модов

URLium

Transmit redstone and block state data over HTTP(S) to a webserver with this Polymer Library server-side mod. Get data from the Post Wand on any block, or Config Wand to turn Containers, Lecterns, Detectors, Signs, and more - into HTTP-reporting blocks!

Автор: JacobMunoz99516обновлён 10 нояб. 2023 г.
Механики игрыОбщениеУтилиты

Описание

https://www.youtube.com/watch?v=CDO_zV6LyeI

URLium is a Polymer Library server-side mod that transmits redstone, entity, command, and blockstate data over HTTP(S) to a configurable URL.

URLium only transmits outbound requests and logs the HTTP response data to the server log. URLium does not allow incoming commands or controls. Any in-bound control of the server is performed by existing native RCON connections, not any feature of URLium.

  • URLium Block

    • reports redstone power level changes
    • can also be right-clicked by user
    • transmits 'place', 'break', 'use', and 'sense' events
  • URL Post Wand

    • use as tool to report target block or entity data
  • URL Config Wand

    • use on Signs, Chests, Barrels, Comparators, Light Sensors, Sculk Sensors, Hoppers, Droppers, Dispensers, Lecterns, and Mobs will enable/disable change reporting
    • chest contents sent when changed or block update occurs (not always real-time)
    • sign front and back text content sent when changed
    • comparator power level sent when changed
    • sculk sensor power, phase, and frequency sent when changed
    • light sensor power level sent when changed
    • when a writable book or written book is placed on lectern, contents will be sent
    • mobs and entities with change reporting send an "interact" event when right-clicked by any user
  • Ugetblock Command

  • Usetblock Command

    • RCON-accessible command to query and set block data for remote webserver RCON response
    • allows external server to perform lightweight query and get raw ('F3+i' debug query) block data
    • forces block loading / generation if unloaded
    • specify dimension (unlike regualr /setblock)
    • silent execution
    • webserver application/game logic can be written in ANY web language that can respond via RCON
      • PHP, Python, Java, JS, Go, C#... anything!
  • "/webcom" Commands

    • Users may send message to webserver with "/webcom ...message text..."
    • Set command name ("webcom") in config file to any unused command name
    • Up to 3 custom commands!

Respond to the Minecraft server via RCON to complete the circuit of input/output.

Possible uses:

  • server-to-server redstone circuitry
  • compare written book text for a quiz show competition
  • get interactive I/O from the web:
    • audience voting survival competition
    • public HTML browser-viewable scoreboards
    • update your player's status on a website from text on a hanging sign
  • treasure-hunt
    • with a reporting-enabled chest to see who collects items first
    • with a Post Wand to see who can click the blocks first
  • water real-life plants from in-game events triggering a RaspberryPi plant-watering system
  • Anything That Can Be Done Via HTTP

Dependencies:

  • Polymer 0.5.18 for Fabric 1.20.1
  • Polymer 0.6.2 for Fabric 1.20.2
    • Be sure to run '/polymer generate-pack' to produce the client-side resource pack and update the SHA1 key in server settings or URLium items will not be visible.

Config:

  • set URL in /config/urlium.properties:
    • target=https://my.web.server/full/path/
    • agent=optional_user_agent_name
    • messageCommand=webcom
    • securityToken=secret_token (token is included in Authentication: Bearer header)

Sample PHP Webserver Response Script: https://github.com/JacobMunoz/urlium_1_20_1_public/blob/master/doc/php/index.php

Sample Golang Script: https://github.com/JacobMunoz/urlium_1_20_1_public/blob/master/doc/golang/urlium.go

Sample Python Script: https://github.com/JacobMunoz/urlium_1_20_1_public/blob/master/doc/python/urlium.py

See the docs for more:











Последние версии

Все версии →
release

URLium 1.3.0 for 1.20.2

1.3.0
10 нояб. 2023 г.205Minecraft: 1.20.2fabric
Скачать
Что нового
* Use Polymer 0.6.2 * Fixed Lectern "bookContents" output from written books ** Added "isWritten", "bookAuthor", and "bookTitle" data * Fixed 'wall sign' crash bug - change reporting on standing-signs, hanging-signs, and wall-signs all work correctly * Added change reporting to Droppers and Dispensers * Added "place" and "break" signals to URL Post Block
release

URLium 1.3.0 for 1.20.1

1.3.0
10 нояб. 2023 г.228Minecraft: 1.20.1fabric
Скачать
Что нового
* Use Polymer 0.5.18 * Fixed Lectern "bookContents" output from written books ** Added "isWritten", "bookAuthor", and "bookTitle" data * Fixed 'wall sign' crash bug - change reporting on standing-signs, hanging-signs, and wall-signs all work correctly * Added change reporting to Droppers and Dispensers * Added "place" and "break" signals to URL Post Block
release

URLium 1.2.0 for 1.20.2

1.2.0-1.20.2
31 окт. 2023 г.96Minecraft: 1.20.2fabric
Скачать
Что нового
Updated for 1.20.2, use appropriate Polymer Library 0.6.2
release

URLium 1.2.0 for 1.20.1

1.2.0-1.20.1
31 окт. 2023 г.112Minecraft: 1.20.1fabric
Скачать
Что нового
Updated for 1.2.0, use appropriate Polymer Library 0.5.18 * added reporting on hoppers * added reporting on entities and mobs * cleaned postblock bug and new texture * added 2 new message commands * added permission levels to all user commands * updated to latest Polymer version for 1.20.1
release

URLium 1.1.0

1.1.0
28 сент. 2023 г.105Minecraft: 1.20.1fabric
Скачать
Что нового
* Cleaned JSON inventory output * Added comparators, trapped chests, sculk sensors, light sensors to entity list * Using buffer table to reduce repeated transmissions of duplicate data using hash value * Added optional authentication token to POST header
release

URLium 1.0.3

1.0.3
27 авг. 2023 г.144Minecraft: 1.20.1fabric
Скачать
Что нового
- Updated to Polymer Library 0.5.14 - Added [world] parameter to end of /ugetblock command - Fixed /ugetblock command to pull from any block (even if unloaded, forces generation) - Added barrels to URLium Config Wand container reporting BlockEntites - Fixed text label for "URLium Config Wand"
beta

URLium 1.0.2

1.0.2
20 авг. 2023 г.99Minecraft: 1.20.1fabric
Скачать
Что нового
- Fixed redstone power reporting on the post_block (was only reporting 0) - Fixed wand "device=wand" not included in response - added '/webcom' message command to send messages to webserver. - message command name can be set in config file - please re-download the latest (previous upload was missing some fixes)