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

Add a buttons to open the settings files #7

Open
fsmv opened this issue Feb 27, 2012 · 4 comments
Open

Add a buttons to open the settings files #7

fsmv opened this issue Feb 27, 2012 · 4 comments

Comments

@fsmv
Copy link
Collaborator

fsmv commented Feb 27, 2012

Like in (Inventory Tweaks)[http://www.minecraftforum.net/topic/323444-11spsmp-inventory-tweaks-138-feb-14/], a button that opens the config file in notepad for easy editing would make it so users don't have to find the config files anymore.

We would have to also include a reload button or periodically check the file for modifications. Inventory tweaks checks for modification periodically but I'm not sure I like the resource strain.

@fsmv
Copy link
Collaborator Author

fsmv commented Feb 27, 2012

This could also be done with commands fairly easily. The buttons would need to be done in a way that doesn't need GUIAPI because if it is installed, there would already be a nice GUI for configuration.

@plerer
Copy link

plerer commented Mar 22, 2012

I think I can make a GUI for that. Maybe with sliders or something.

@fsmv
Copy link
Collaborator Author

fsmv commented Mar 23, 2012

I did write some GUI API functionality in the GUIAPI branch and I wanted to make it optional. So if the user decides to install guiapi Minecraft Console can detect it and use the code for it and if they don't have it that code won't run and the rest will work as normal.

I did what I thought would make the optional part happen and it didn't work. It failed when modloader called getDeclaredFields on it for some reason. It would be awesome if you know how to make it happen. If you'd like to look the code is in the mod_Console class in the other branch.

@plerer
Copy link

plerer commented Mar 23, 2012

I don't normally write my buttons and sliders etc with Modloader, as I prefer using vanilla MC code for the little things.

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

2 participants