illusivesoulworks / veinmining

Minecraft Mod: A lightweight, highly configurable Vein Mining enchantment for tools.
Other
30 stars 16 forks source link

Activation Type Won't Change #22

Closed AquaLawng closed 3 years ago

AquaLawng commented 3 years ago

Fabric Minecraft 1.17

Holding the activation key, such as crouch, performs the opposite.

Mining without sneaking automatically veinmines Mining while sneaking disables veinmines.

veinmining.json5 as follows: // Whether to activate vein mining by standing, crouching, or holding down the keybind "activationState": "KEYBINDING",

Changing local settings using Mod Menu does nothing, not even sure it's compatible

TheIllusiveC4 commented 3 years ago

I cannot reproduce this, the activation key works correctly for me. Please provide your versions for Cloth Config and Mod Menu. In addition, make sure that you either leave and re-enter your world or execute the /reload command if making config changes while in a world/server.

AquaLawng commented 3 years ago

I should also clarify that this issue is happening on a server I am running for my friends and me. I have the mod on both client and server side, not sure if that's correct.

Cloth Config 5.0.34 (Client) Mod Menu 2.0.2 (Client)

TheIllusiveC4 commented 3 years ago

Are you changing the configs client or server-side?

AquaLawng commented 3 years ago

I have tried changing the config for just client side, just server side, and both.

I have even tried a new world, new client instance, and new server config file.

Same result.

Also, it functions correctly in a single player world.

On Wed., Jun. 23, 2021, 1:47 p.m. TheIllusiveC4, @.***> wrote:

Are you changing the configs client or server-side?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TheIllusiveC4/VeinMining/issues/22#issuecomment-867037841, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYGNXNXBHPIVVFIUZQ7YF3TUIM37ANCNFSM47EWW4NQ .

AquaLawng commented 3 years ago

I've done some more testing.

TheIllusiveC4 commented 3 years ago

Just making sure, if you do all of that and change the CLIENT config from "STANDING" to "KEYBINDING", does it still not work?

AquaLawng commented 3 years ago

Clientside was set to KEYBINDING through all of the above steps

TheIllusiveC4 commented 3 years ago

Okay I think I know what's wrong. The config isn't properly read client-side, which will cause the activation type to always stay the same because it's only checked client-side (so changing the configs server-side won't do anything either). It'll be fixed in the next update.

AquaLawng commented 3 years ago

That's great to hear, looking forward to test it out. How is it supposed to work when used on a server? Is the server side config the default?

TheIllusiveC4 commented 3 years ago

Well, essentially, every other value is read from the server so everything else should work server-side only. It's just the activation state that is read client-side that is affected.