Comments (5)
The video, sorry.
from bluemap.
I actually made an addon like this a while ago!
It's not as polished as what you're asking for, but it does work!
Here's the link: https://gist.github.com/TechnicJelle/6ae16856e8060b3bd9142c6d6dcbe3d2
It's not a normal plugin or mod, so the installation process is a bit different:
First, you need to download the file (or copy the code into a new text file manually)
Then you need to put it inside BlueMap's web
folder. You will find that in your server's root, in the bluemap
folder.
It should be the same place as the index.html file.
Then you need to register the file with BlueMap, which you do by editing webapp.conf
.
Then find the scripts
section and add it:
scripts: [
"BlueMapDistanceMeasurer.js"
]
I hope this will be useful to you!
Feel free to edit this script further to polish it up more! This was mostly just a proof of concept.
from bluemap.
Nice, that tool is halfway there, judging by the video. Definitely wanna try it out.
But before I do, I need to know:
What are the controls, though? How do I activate or deactivate the feature on the front-end?
I wouldn't want to install a proof of concept feature that overwrites normal left-right click behavior for the other users.
If I did that, the other moderators might get mad at me :)
from bluemap.
It's always active, but it doesn't override anything. It just adds a small white line between the last two places you left-clicked.
Activating and deactivating the feature is indeed one of the things I didn't bother adding, back then. It shouldn't be that hard to do, though.
Well.. if you want an actual right-click menu, then it will be a bit harder.
But maybe you can change the controls from being "just left click any block" to a button in the (left-click) popup that appears when you click any block?
Or maybe when you press the space bar, it toggles on/off?
Oh and what did you mean with "judging by the ."? Is that sentence unfinished? :p
from bluemap.
Closing as Feature-Requests are meant to go into our Discord, not to GitHub. (See Contributing Guidelines) :)
from bluemap.
Related Issues (20)
- Forge 1.20.1 - Modules flow.math and bluemap export package com.flowpowered.math.vector to module - 3.20/4.0 tested
- Add support for dimension-data stored directly into the level.dat (probably forge being weird?) HOT 5
- Question: How to get rid of the black/pink-checkered blocks on my map? HOT 1
- Render just stops? HOT 5
- Render Errors with Older World HOT 3
- Entire screen flickering HOT 10
- Diagonal Fences/Walls/Windows and Eidolon Incompatibilities HOT 1
- BlueMap webserver immediately closes client connection when bound to 127.0.0.1 HOT 4
- [4.1] `BlueMap-Plugin-UpdateCommand failed main thread check: world save` exception after `bluemap update world` console command HOT 2
- Changes to the web files don't work HOT 1
- Firefox Flickering issue HOT 8
- Error reading world data with compactmachines mod on startup in 4.0+ HOT 2
- Framed blocks not showing up correctly on bluemap HOT 1
- Webserver: SQL port configuration is not used
- async update does not work HOT 2
- Lowres heightmaps not working below y0?
- Rails from the Create mod & addon that are not straight and flat don't show up on BlueMap HOT 3
- Bells arent displayed correctly HOT 2
- error when having a huge map HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluemap.