Project Intelligence

Project Intelligence

14M Downloads

Can I read the document directly from the server?

baka-gourd opened this issue · 8 comments

commented

Can I read the document directly from the server?I want to save my personal documents on my own server.

commented

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.

commented

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?

commented

Perhaps reading directly from the server without downloading can solve this problem?
Can this method be done?

commented

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.

commented

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.

commented

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.

commented

批注 2019-09-11 180903
Like this, I want to use PI to send Doc to the player, but I can't send the Doc directly to all players.
So I want to download directly from the game server.

commented

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.)