CCBlueX / Old-LiquidBounce-Issues

Issue tracker for LiquidBounce.
https://liquidbounce.net
20 stars 8 forks source link

[FEATURE] Integrate Scripts into modules #3688

Open Tcm9 opened 4 years ago

Tcm9 commented 4 years ago

Describe your feature request. A script should not only be able to create own modules. Scripts should also add own modules and settings in existing modules. e.g. Velocity -Simple -AAC -AACPush -AACZero -Reverse -SmoothReverse -Jump -Glitch -NewAAC (added with Script)

It should be an icon next to the new mode or setting that you know this setting has been added by scripts. (The puzzle symbol should be able to be turned on/off in the ClickGUI module.) e.g. a puzzle piece.

I think it is important for the ScriptAPI.

Additional context Velocity here the puzzle icon: icon

chocopie69 commented 4 years ago

that's nice but you can change lb's source

Tcm9 commented 4 years ago

and what's the problem? If you would remove velocity from the source, the velocity script would not be displayed. Only in Velocity. All other features like creating another module still work.

chocopie69 commented 4 years ago

wtf remove velocity? i mean change it, not delete it

Tcm9 commented 4 years ago

I mean something else. If you write a script that changes the velocity, but you have deleted velocity from the source in Intelij, this is what happens.

That was an answer to your question with that the souce is changed.

Unless you change the existing modules by adding features.

chocopie69 commented 4 years ago

"Unless you change the existing modules by adding features" i mean that lmao

superblaubeere27 commented 4 years ago

One of the more useful features, but the structure of LiquidBounce and it's modules would make those changes hard. It is better to just make a new module instead of patching an old one. If you want to change LiquidBounce's modules you can fork it btw.

1zun4 commented 4 years ago

Of course it's hard to change because of the structure of LiquidBounce but not impossible.

superblaubeere27 commented 4 years ago

@kawaiinekololis Would be a nice feature, but I wouldn't work it xD

CzechHek commented 4 years ago

You can add value via reflections easily. How would you inject your code into the module?