[Mod] World Specific Settings [0.1] [wwsettings]

User avatar
bigfoot
Member
 
Posts: 203
Joined: Fri Sep 02, 2016 23:31
Location: Somewhere between polar bears and penguins.
GitHub: bigfoot547
IRC: bigfoot547 or bigfoot
In-game: bigfoot547 or bigfoot

[Mod] World Specific Settings [0.1] [wwsettings]

by bigfoot » Sun Oct 16, 2016 18:31

Hello! This mod adds an API for world-specific settings so that your worlds folder is not filled with 10 or so configuration files that contain only one setting!

This mod is for 0.4.14 because I made it in that version.

Bugs
If any bugs are found, github is preferable but the forums are acceptable.

Suggestions
Suggestions are welcomed. If you post them where I can find them, it is okay!

+ Features

+ Planned Features


License
Code: LGPL v2.1+

Downloads
Download
or
Browse the code on Github

+ Changelog


Image Image Image
Last edited by bigfoot on Sun Jan 08, 2017 23:05, edited 1 time in total.
God's not dead, He's surely alive!
My Stuff | My User Page | Check out my website!
<bigfoot547> I major in existing. | <RedPanda246> Not every day is good, but there is good in every day.
Stay elusive ⓐⓝⓓ ⓣⓐⓛⓚ ⓘⓝ ⓒⓘⓡⓒⓛⓔⓢ!
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
Wuzzy
Member
 
Posts: 3243
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] World Specific Settings [0.1] [wwsettings]

by Wuzzy » Tue Oct 18, 2016 13:33

Ummm, this is something which belongs to core Minetest or builtin.

This is a typical “no-brainer” feature which users/server operators would always want. There is no good reason to not have this feature. Therefore: core feature.
My creations. I gladly take any bitcoins you have lying around: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH
 

User avatar
bigfoot
Member
 
Posts: 203
Joined: Fri Sep 02, 2016 23:31
Location: Somewhere between polar bears and penguins.
GitHub: bigfoot547
IRC: bigfoot547 or bigfoot
In-game: bigfoot547 or bigfoot

Re: [Mod] World Specific Settings [0.1] [wwsettings]

by bigfoot » Thu Oct 20, 2016 01:56

Well, one of the reasons for this mod is because I have a private whitelisted server and I heavily mod it. I found about 10 .conf files that only had 1 or 2 settings. As a bonus, I found it in Nore's personal to-do list and I wanted to test the feature before it was added.

EDIT: Could this be added? and how?
God's not dead, He's surely alive!
My Stuff | My User Page | Check out my website!
<bigfoot547> I major in existing. | <RedPanda246> Not every day is good, but there is good in every day.
Stay elusive ⓐⓝⓓ ⓣⓐⓛⓚ ⓘⓝ ⓒⓘⓡⓒⓛⓔⓢ!
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] World Specific Settings [0.1] [wwsettings]

by azekill_DIABLO » Thu Oct 20, 2016 09:25

It could be added by changing the core to make it write the settngs in world.mt or world.conf in the worlds folder instead of a general minetest.conf file. also the engine of the game should have a basic minetest.conf only used if no conf is present in the world folder. The subgame should also be able to have his own minetest conf. Like that, a game which gives privs to player at start could override the basic settings of the world.conf.
 

User avatar
ManElevation
Member
 
Posts: 895
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] World Specific Settings [0.1] [wwsettings]

by azekill_DIABLO » Thu Oct 20, 2016 12:54

What does it do?

example: you want to have a special player property or a particular mapgen for a world, with the actual minetest.conf, this will be modified for every world you create, and if you delete the setting, you will have to reselect it for the special world. With the WWsettings you can add a special feature for every world, every time you play them.
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 4 guests