Jump to content

Recommended Posts

Posted

I honestly have no idea how hard this would be as i fail hard at programing. Hell i cant even program a turtle... but i digress.

 

If possible could you make it so server side configs override the client configs so that users do not have to be mailed the config folder in order to enjoy the settings the server recognises. For example i am running a Feed-The-Beast server but gregtech is considered annoying by my users, so i of course disable its functions in the config, however without a clientside config update they cant properly find the correct crafting recipes. As i say i have no knowledge of programing so if its not possible i don't mind, but it would certainly save the hassle of having to send 27+ emails every time i update configs.

 

Thank you for taking time to read this, I do hope it made sense as i have a tendency to ramble and am normally quite bad with grammar and sentence structure.

Posted

I highly doubt that it's possible. Most things which are written in the config files require a restart of the client to apply (especially block / item IDs).

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Posted

I assume then from what your saying that is a vanilla function of minecraft?

 

Blocks are assigned a specific ID apon creation when the game starts, and many mappings rely on the first mapping being currect and never changing for the game to function.

 

You would have to unassign all mod blocks, and reassign them with new configs, but these actions happen upon loading of the mod, at startup.

 

What one could do is design a system to stream the configs from the server upon connection if it fails a blockID check, and then force a restart when synced, but this would require quite the deep mod.

 

I would support a function like this to be added to forge, but it might not happen because such a feature may cause undesired consequences, like breaking players single player maps without really realizing it(since the process was made so easy).

Posted

Hmm but what if - and humor me for a second here - you were able to create a hook to separate the configs for singleplayer and smp, that is to say completely disassociate the multiplayer configs from minecraft and instead change the serverside forge to broadcast the server config first upon connection. The config folder being only a couple kilobites would slow down your fist connection slightly but after that it would be a simple check function from the server. this i just realised would allow for map specific configs on the same instance if done correctly but would require a change to the naming logic for the config folder requiring it to be tied into the world saves instead of the rest of minecraft being tied into it. Besides i guess I'm wrong about this but i thought the config folder was created by forge and wasn't a function of minecraft vanilla.

 

i apologise for the incredibly badly arranged thoughts in this post i am quite bad at writing.

Posted

I wanna re-write 1/2 of minecraft to do this one thing. Oh i'll just edit the config.

 

No thats not how things work, configs are configs it's up to the mods what to do with them.

And how minecraft is designed, you can't do swaping of things properly.

So essentially, this won't happen. It'd require minecraft to rebot every time you connected to a server, and possibly every time you load a new world.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Please, before talking about modding, read a Java Tutorial, read a Java book, learn with your friend, learn with your pet... Or someone else. Them join the modding community

Posted

I appologise for asking the imposible in that case, I do not pretend to understand java which is why I deffered to the infinately more talented people here to discover how possible it would be. As it now turns out that my suggested rout would require significant code I will seek out a different solution many thanks

 

Dandycarrot

 

P.S. If it ever turns out to be possible do let me know ok =D

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hi, i'm really having problems trying to set the texture to my custom item. I thought i'm doing everything correctly, but all i see is the missing texture block for my item. I am trying this for over a week now and getting really frustrated. The only time i could make the texture work, was when i used an older Forge version (52.0.1) for Minecraft (1.21.4). Was there a fundamental change for textures and models somewhere between versions that i'm missing? I started with Forge 54.1.0 and had this problem, so in my frustration i tried many things: Upgrading to Forge 54.1.1, created multiple new projects, workspaces, redownloaded everything and setting things up multiple times, as it was suggested in an older thread. Therea are no errors in the console logs, but maybe i'm blind, so i pasted the console logs to pastebin anyway: https://pastebin.com/zAM8RiUN The only time i see an error is when i change the models JSON file to an incorrect JSON which makes sense and that suggests to me it is actually reading the JSON file.   I set the github repository to public, i would be so thankful if anyone could take a look and tell me what i did wrong: https://github.com/xLorkin/teleport_pug_forge   As a note: i'm pretty new to modding, this is my first mod ever. But i'm used to programming. I had some up and downs, but through reading the documentation, using google and experimenting, i could solve all other problems. I only started modding for Minecraft because my son is such a big fan and wanted this mod.
    • Please read the FAQ (link in orange bar at top of page), and post logs as described there.
    • Hello fellow Minecrafters! I recently returned to Minecraft and realized I needed a wiki that displays basic information easily and had great user navigation. That’s why I decided to build: MinecraftSearch — a site by a Minecraft fan, for Minecraft fans. Key Features So Far Straight-to-the-Point Info: No extra fluff; just the essentials on items, mobs, recipes, loot and more. Clean & Intuitive Layout: Easy navigation so you spend less time scrolling and more time playing. Optimized Search: Search for anything—items, mobs, blocks—and get results instantly. What I’m Thinking of Adding More data/information: Catch chances for fishing rod, traveling villager trades, biomes info and a lot more. The website is still under development and need a lot more data added. Community Contributions: Potential for user-uploaded tips for items/mobs/blocks in the future. Feature Requests Welcome: Your ideas could shape how the wiki evolves! You can see my roadmap at the About page https://minecraftsearch.com/about I’d love for you to check out MinecraftSearch and see if it helps you find the info you need faster. Feedback is crucial—I want to develop this further based on what the community needs most, so please let me know what you think. Thanks, and happy crafting!
    • Instructions on how to install newer Java can be found in the FAQ
    • That's just plain wrong... newer versions are much better optimised and start a lot faster than 1.8.9, both Forge and Minecraft itself. Comparing Fabric 1.21 with Forge 1.8 is like comparing apples and oranges... one's brand new and the other's over a decade old.
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.