1.1.0 • Published 2 years ago

material-dynmap v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Screenshots

The Red Keep in King's Landing on the WesterosCraft Minecraft server.

The Seven Towers in Isengard on the ArdaCraft Minecraft server.

The Dynmap login page on the EarthMC Minecraft server.

Installation

Server-side installation

To install the script server-side with automatic updates, there are two installaion methods:

  1. Drop the JAR plugin into your plugins folder:

  2. Use the following options in the Dynmap server location context in your Nginx configuration:

        sub_filter '</head>' '<script src="https://cdn.jsdelivr.net/npm/material-dynmap/src/index.js" type="text/javascript" id="material-dynmap-script" defer></script></head>';
        sub_filter_last_modified on;

Personal installation

To install the script for personal use on all Dynmap instances, you need to have a userscript manager installed. For a modern seamless UI with an open source extension, Violentmonkey is strongly recommended.

Then visit OpenUserJS and click the Install button. The userscript will update automatically. Alternatively, this button lets you install it directly:

Electron installation

To create a Electron app and save RAM while gaming, open the material-dynmap folder in your IDE and insert the following code in your terminal:

npm install nativefier -g && npx nativefier 'mc.westeroscraft.com' './.electron' --name 'WesterosCraft Map' --browserwindow-options '{ \"nodeIntegration\": false, \"contextIsolation\": false }' --inject './src/electron.js' --icon './assets/icon.ico'

See the Nativefier API for how to adjust the options. You can copy the .electron folder anywhere and rename it - the app will continue to work.

Contributing

Contributions, especially bug reports and feature requests, are all greatly appreciated.

Here are some of the things you can do to help:


Copyright © 2021 SNDST00M and other contributors.

1.1.0

2 years ago

1.0.0

3 years ago

0.9.3

3 years ago

0.9.2

3 years ago

0.9.0

3 years ago

0.9.1

3 years ago

0.8.1

3 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.3

3 years ago

0.4.0

3 years ago

0.4.2

3 years ago

0.3.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.2.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago