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

Create mc.setting("world_immutable") #14

Open
martinohanlon opened this issue Sep 3, 2014 · 0 comments
Open

Create mc.setting("world_immutable") #14

martinohanlon opened this issue Sep 3, 2014 · 0 comments

Comments

@martinohanlon
Copy link
Collaborator

A request to add mc.setting() function to raspberry juice (details below). It would also be good to make the function more generic so it can alter any world setting that is exposed by the bukkit api on the world object.


Hi Craig,

Its certainly possible to add the function, but it might not be so easy to use the same settings of "world_immutable" and "nametags_visible". I had a quick skim through the bukkit api and I couldn't see a method to allow you to do either (easily). world_immutable would be possible by capturing and cancelling all block change events, but I dont think nametags_visible is possible as this is a client side setting (rather than a server).

Mart

On 2 September 2014 14:35, Craig Richardson wrote:
Hi Martin,
Is it possible to add the mc.setting() function to the Raspberry Juice Bukkit mod?

I'm trying to make it work with on the PC and the setting() function is the only function that takes booleans so it would be useful to have.

Craig

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

No branches or pull requests

1 participant