Can I read the document directly from the server?
baka-gourd opened this issue · 8 comments
Can I read the document directly from the server?I want to save my personal documents on my own server.
Not sure what you're asking for... The actual documents are in another repository here on GitHub called "PI-Docs", if that's what you're looking for.
Interesting concept. However, that would open up the possibility of including malware and other atrocities potentially being able to be downloaded from an unverified source.
I see that one of the things you have listed is CraftTweaker syncing recipes from the Game Server to the client; in this version (1.12.2), this no longer happens. Forge freezes the dictionary so you can't edit ZenScripts on the fly anymore. That also means that clients must have the scripts loaded before they join the server. In this instance, wouldn't it be better to write documentation and include it in a custom modpack, if that's what you're doing?
Perhaps reading directly from the server without downloading can solve this problem?
Can this method be done?
How else does content display on someone's screen? It must be downloaded somewhere. Whether it's streamed, preloaded, saved to the hard drive, or only exists in memory, whatever you view (even server worlds in Minecraft) must be downloaded from a server.
Perhaps there's a safe way to implement this, but I will leave that for brandon3055 to figure out.
No you can not download documentation from any other server. You do have the ability to add pack documentation that is shipped with the mod pack but i dont think thats what you're looking for. It sounds like what you want is something like pack documentation but server specific so when a player connects to your server a new page/pages pop up in pi with info about your specific server. That does sound like potentially useful feature.
No you can not download documentation from any other server. You do have the ability to add pack documentation that is shipped with the mod pack but i dont think thats what you're looking for. It sounds like what you want is something like pack documentation but server specific so when a player connects to your server a new page/pages pop up in pi with info about your specific server. That does sound like potentially useful feature.
Loading documents from the server is for automatic updates, so far I don't know how to do this. I only found the path of the mod document on the PI server.
So we're asking the user to trust some random site they probably don't understand to get documentation... and then expect them to not understand the server or the security properties thereof so they can't get documentation from there?
I would advise a configuration setting. If you really want to wash your hands clean, warn players that if they add sources that aren't the official repository there may be risks that you can not and will not do anything about.
Other than the development overhead time... There's nothing done by refusing other hosts for the end user that's meaningful. There's no reason to assume we're any better than a random server operator; from the user's perspective, we are just some random joe schmoe who's done this potentially nice thing (just like most server operators).
Addenda: Or even just another github address would work "well enough". Not every document written necessarily will fit into a static release or make sense as something to include in the main repository; there needs to be flexibility in allowing user generated documentation to be made use of if you want to have a robust system in your hands. (I mean, let's be honest - since when have developers ever been good about writing documentation on time? I mean, really though. It's pretty understandable that maybe a modpack would ship with docs incomplete, or with things assumed to be given that users later would complain about and want help for. And not all modpacks are public, for various reasons; and a million other problems here besides.)