Flux Network x CC: Tweaked

Flux Network x CC: Tweaked

362 Downloads

Feature request: Add access to network name, privacy setting and owner name

Marcel1853 opened this issue · 8 comments

commented

Hello,

thank you for your great mod! I'm currently developing a small project using your FNCCT mod together with CC:Tweaked:

🖥️ Project: https://github.com/Marcel1853/FluxNet-Monitor-for-CC-Tweaked

To improve the display of network information in my script, I would like to kindly request whether the following data could be made available via the peripheral:

  • The name of the network
  • Whether the network is private or public
  • The owner name or UUID of the network

This would allow me to show a much clearer and more user-friendly interface.

Please note: I do not speak English very well — this message was translated using GPT. I hope it is understandable. 😊

Thank you again for your time and for sharing this awesome mod!

Best regards,
Marcel1853

commented

Ah, yes, I should have thought of that a long time ago.

I will get that update out this week. What version are you using?

commented

Thank you for the quick response!

I'm currently using Minecraft 1.21.1 with NeoForge 21.1.190.

If there's anything I can help test or if you need any more info, just let me know. I'm happy to support in any way I can.

Thanks again for your work on the mod – it really helps with my CC:Tweaked project!

commented

Alright, thanks for telling me that. I will update the NeoForge 1.21.1 first for you, and close this issue once it has been released (Then I will update other ones)

commented
Image

How do these functions look?

commented

It would look like

local network = peripheral.wrap("left") -- example
network.getNetworkName() -- Returns the network name. "My Network" (example)
network.getSecurityLevel() -- Returns "Private", "Encrypted" or "Public"
network.getOwnerUuid() -- Returns the UUID of the owner
commented

The functions look really good – thank you very much for that!
If possible, could we maybe also add the name of the owner?

commented

No problem! About the name of the network owner, I am currently finding a way to do just that

commented

Hi, I just wanted to ask if there’s an estimated date for when the update will be available on CurseForge? Thanks!