Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restricting players from modifying chunk loaders #44

Open
SageofTurtles opened this issue Mar 11, 2025 · 0 comments
Open

Restricting players from modifying chunk loaders #44

SageofTurtles opened this issue Mar 11, 2025 · 0 comments

Comments

@SageofTurtles
Copy link

I'm using this mod in my modpack for a server. To avoid overloading the server with too many loaded chunks, I'm wanting to restrict which players can craft, place, break, or change the radius of the chunk loaders. Most of these I can accomplish with KubeJS, but I can't figure out how to prevent players from being able to change the radius on a brass chunk loader by holding right-click on the square icon to open the radius GUI.

Is there an event I could cancel to prevent players from being able to change that setting? I used event.rightClick to prevent players from being able to pick the chunk loader up with a wrench, but apparently the radius setting GUI uses something else because that is still working.

As an additional suggestion, it would be nice to have options like this built into the config so that server owners can limit access to or use of chunk loaders to avoid performance issues from widespread use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant