URLium is a Polymer lib server-side (with client resource pack only) custom block, tool, and command. The block detects redstone changes, the wand can be used on a block, and the command allows you to get block data over RCON. Block and wand actions transmit timestamp, user, position, redstone power, and block data to an HTTP(S) URL specified in the config file. Now, you can get data/events OUT of the game and send them to an IRL webserver (best using localhost) and respond to the server with custom RCON commands written/assembled in ANY web programming language. Uses include: Ultimate command block. Wireless redstone across servers. Trigger real-world events and update status boards on webpages. "Treasure Hunt" with the wand and report location+block data from a player when used real-time. Monitor container stock, pressure plates, or doors while offline. Turn Chests, Signs, and Lecterns into change-reporting objects with the URL Config Wand and read book or sign text and chest contents when they change. Write your response logic in PHP, Python, Java, JavaScript, C#... whatever you can talk back with RCON - and complete the input/output circle. Feedback welcome! ๐ This is my first mod. Now Available on Modrinth!! https://modrinth.com/mod/urlium
#URLium: Redstone over HTTPS
15 messages ยท Page 1 of 1 (latest)
oh wow, when I first heard about it I didn't think much of it but now that you wrote all that and it's a polymer server-side thing I think this is very interesting and could be used on a lot of servers like hermitcraft ๐ฎ
I'm trying to keep it as client-side friendly as possible (no client mod, just resource pack). The command is /ugetblock x y z which returns the F3+i block data debug string so your RCON/web script can detect block types without blockentities. Since you can't do /data get block x y z on like... grass - /ugetblock x y z will now tell you: "minecraft:grass_block[snowy=false]" so your script can replace the block if you modify it. That was a critical feature missing in RCON if you want to automate dynamic responses. Now your RCON script can scan for the surface level (air), or replace changes with the original blocks, or scan for nearby blocks of a certain type. GoodTimesWithScar commented on my post on his Patreon Discord - so hopefully it gets some attention. Just about ready to put it on GitHub later today, then Modrinth - I'm excited to see what people think!
Here's the latest docs so far
I've just finished adding the URL Config Wand! Use it on a Chest or Lectern to turn them into Reporting Blocks! Watch a chest inventory or lectern book contents HTTP Post when edited! Web-Accessible Chests and Books!!
Now Signs and Hanging Signs also can be made reportable using the config wand. Need to remove some junk from the code (trying different things) - but it works well. I'll include a sample PHP script with RCON response in the repo soon. Enjoy everyone!!! https://github.com/JacobMunoz/urlium_1_20_1_public
Submitted to Modrinth - awaiting review! ๐ Hope it's available to all soon!!
Hooray!!!! URLium is NOW Available on Modrinth!! https://modrinth.com/mod/urlium
It LIVES! ๐

Hey! I didn't recognize the name at first! Thanks so much for the Polymer Lib, it's delicious black magic ๐
Just updated to 1.0.2 ... fixed a redstone signal value bug and added a command for users to send messages to webserver
PHP script example now available: https://github.com/JacobMunoz/urlium_1_20_1_public/blob/master/doc/php/index.php