Coder Social home page Coder Social logo

Comments (7)

Mydayyy avatar Mydayyy commented on August 29, 2024 1

That's certainly possible, I created an issue for it: #17

from valheim-serversidemap.

Mydayyy avatar Mydayyy commented on August 29, 2024

Greetings,

it will behave as follows:

Map:

  • All connecting clients will upload their current exploration progress to the server. The server merges it into his map. Once explored, an area is never set to unexplored again. E.g if client1 has the entire left side explored and client2 has the entire right side explored, the server would hold a fully explored map.
  • All connecting clients will download the explored map when connecting and apply it to their local map. Again, in a non destructive manner meaning areas are never set to unexplored
  • As usual, while playing all clients will receive live updates from other players who are out exploring

Pins:

  • Already existing pins of the client are not touched, the share only applies to newly created pins on this server.
  • When connecting, the server sends all current existing pins to the client and the client shows them on the map.
  • Every newly created pin only exists on the server, the client receives them when connecting
  • Everyone can delete/check/uncheck a pin (that was created after installing the mod) and it is synchronized in realtime. Meaning when you look at your map and someone checks a pin, you'll immediately see it too.

This also means the following:

  • If you disable the mod, you wont see all pins you created while you had this mod - since they are existing on the server now and are saved along with the map

Please note that the server definitely needs the mod too, since he is the main authority.

I hope I could clear it up a bit, feel free to ask if something is still unclear and I will try to do my best to rephrase it

Cheers
Mydayyy

from valheim-serversidemap.

WillowMist avatar WillowMist commented on August 29, 2024

Perfect, thanks. And I believe I read that you could share maps without sharing pins, is that correct?

from valheim-serversidemap.

Mydayyy avatar Mydayyy commented on August 29, 2024

Yes it is.

After your first start with the plugin enabled, a config file will be created, you can adjust map share and pin share separately there.

Map share defaults to true
Pin share defaults to false

from valheim-serversidemap.

JTF195 avatar JTF195 commented on August 29, 2024

Is there any way to manually "upload" pins to the server side pins?

If not, could you add a slash command to do so?

from valheim-serversidemap.

Mydayyy avatar Mydayyy commented on August 29, 2024

By that you mean to convert existing local pins to serverside pins?

from valheim-serversidemap.

JTF195 avatar JTF195 commented on August 29, 2024

Yes

from valheim-serversidemap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.