Comments (3)
I've done a similar architecture in my Offline Player Markers addon, which loops through the playerdata NBT files on server startup to add the markers to the map, and from then on, it uses the server events to add/remove markers.
But even that plugin does not cache them...
Properly adding caching to something like this is very very difficult....
One of the challenges is having to take changes into account properly.
from bluemapsignextractor.
Is there a way to bind something like "PlayerPlacedSign" and "PlayerEditedSign" events to plugin code for instant updates?
from bluemapsignextractor.
There is a SignChangeEvent, but no dedicated SignPlacedEvent or SignRemovedEvent.
There is a BlockPlaceEvent that can be used to detect sign placements.
However, detecting sign removals is more difficult, as there are many different ways for a block to be removed. It can be mined by a player, or exploded.
And in the case of signs, the block it's attached to could be removed as well, causing it to pop off. And can signs burn? I'm not sure, but they are made of wood...
from bluemapsignextractor.
Related Issues (16)
- `chunkBlockEntities` is null HOT 11
- Check if Hanging Signs work HOT 1
- Create automated tests HOT 1
- Make pretty HOT 1
- Allow custom filtering rules to be configured HOT 13
- Display double-sided signs better
- Create config file HOT 6
- Fabric version
- Support all the different sign materials
- Not fully fixed: chunkBlockEntities was null HOT 5
- Log better info message when DataVersion is too low
- Get world folder in a different way than from the BlueMap API
- Out of memory for 100+ GB map HOT 6
- Exception while collecting markers HOT 13
- Ignore blank signs 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 bluemapsignextractor.