Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kylepaulsen committed May 1, 2021
1 parent 2cad2ec commit df29201
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ This has only been tested on a Valheim dedicated server. I'm not sure this will
* A explorable map of your Valheim world in your browser that you can zoom with the mousewheel or pinch zoom on mobile.
* Players can place their own pins with chat commands (see below for more info)
* Map pings from in game players will show up on the web map as well.
* Connected players list.
* Auto follow player feature.

## Installation

Expand All @@ -20,6 +22,12 @@ Place the WebMap directory in:

Optionally, open `WebMap/config.json` with a text editor and change stuff in there.

## Updating

If you are updating, one additional thing you and anyone else using the web map might need to do is clear your browser cache.

You may also be able to hold down the `shift` key and click the reload button in your browser.

## Chat Commands

This mod supports placing pins with chat commands. Press `Enter` to start chatting in game. The commands are as follows:
Expand Down
2 changes: 1 addition & 1 deletion WebMap/WebMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace WebMap {
//This attribute is required, and lists metadata for your plugin.
//The GUID should be a unique ID for this plugin, which is human readable (as it is used in places like the config). I like to use the java package notation, which is "com.[your name here].[your plugin name here]"
//The name is the name of the plugin that's displayed on load, and the version number just specifies what version the plugin is.
[BepInPlugin("com.kylepaulsen.valheim.webmap", "WebMap", "1.1.1")]
[BepInPlugin("com.kylepaulsen.valheim.webmap", "WebMap", "1.2.0")]

//This is the main declaration of our plugin class. BepInEx searches for all classes inheriting from BaseUnityPlugin to initialize on startup.
//BaseUnityPlugin itself inherits from MonoBehaviour, so you can use this as a reference for what you can declare and use in your plugin class: https://docs.unity3d.com/ScriptReference/MonoBehaviour.html
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "WebMap",
"description": "A Valheim dedicated server mod to host a web accessible map.",
"website_url": "https://github.com/kylepaulsen/ValheimWebMap",
"version_number": "1.1.1",
"version_number": "1.2.0",
"dependencies": []
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webmap",
"version": "1.1.1",
"version": "1.2.0",
"description": "A Valheim map viewer for the browser",
"scripts": {
"build": "webpack ./WebMap/web-src/index.js -o ./WebMap/web --mode development",
Expand Down

0 comments on commit df29201

Please sign in to comment.