xwjcool123 / BlockTunerMod

Minecraft Note Block User Interface
GNU Lesser General Public License v3.0
28 stars 6 forks source link

Client side mod? #5

Open WhyDidIHaveToDoThis opened 2 years ago

WhyDidIHaveToDoThis commented 2 years ago

Quick question: is this mod supposed to work when playing on a server? I got it to work on singleplayer but the gui didn't load when I joined a paper/spigot server.

(Probably not I guess, from the curseforge description that says "This mod also works on servers and require no client installation" but not the other way around...)

Anyways, thanks for the amazing mod!

xwjcool123 commented 2 years ago

If you want it to work on a server you should have it installed on the server side. You can join the server even without the mod and still be able to use part of its functions (e.g. blaze rod performance in creative mode). this is because the tuning logic is done on the server side (it involves changing the properties of a block and playing a sound to all nearby players. If these could be done on the client side and got synced on the server side, other things like cheating could also be done easily).

If you have the mod on your client, it will show a message when joining a BlockTuner server. 2021-12-18_20 51 53

Otherwise BlockTuner will be disabled and the GUI won't show up.

I hope this can answer your question, and thank you for liking this mod.

WhyDidIHaveToDoThis commented 2 years ago

it involves changing the properties of a block and playing a sound to all nearby players. If these could be done on the client side and got synced on the server side, other things like cheating could also be done easily

I understand now! I'm playing on a public server that I do not run. In that case, I cannot use the mod. (If I ever run a server, I will use this mod though.) Thanks!

So unfortunately, I had to replace the functionality of your mod just to tune noteblocks.I made a autohotkey macro to click the noteblock the correct number of times lol. (along with litematica+printer and 3d noteblock resource pack to see which note I need)

xwjcool123 commented 2 years ago

ye i'm sorry but that's the case now. maybe I will make a plugin version in the future so that servers can have BlockTuner even if they are not fabric.