material-dynmap

1.1.0 • Public • Published

logo

material-dynmap

Material theming script for Webbukit's Dynmap plugin.

A modern, material and focused Webbukit Dynmap theme.

Designed for fluent and clear navigation with the Material Design language.

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.

Package Sidebar

Install

npm i material-dynmap

Weekly Downloads

6

Version

1.1.0

License

MIT

Unpacked Size

614 kB

Total Files

24

Last publish

Collaborators

  • zm-sdet