Comments (5)
This currently not possible due to there not being a reliable way of detecting whether or not a world is us east or west. Until Jagex adds something like this, I don't believe I can do it
from clanchatcountryflags.
Would it be possible to have a config file with each server manually assigned location to override location provided by Jagex? And then a checkbox option inside of the plugins settings to enable or disable that list (in case it gets out of date).
I'd be happy to make the config file for you if you and try to keep it updated. I'd offer to help write the code to implement the feature, but I've not messed with programming plugins for RuneLite.
from clanchatcountryflags.
I wouldn't ever want to go that route and that seems like a terrible solution, also you have to account for Jagex to change the world locations, like they do with bounty hunter/pvp worlds every week. Also config options in Runelite are static not dynamic so if a new world gets added/removed that would be a mess to clean up.
If you are wanting to help I would suggest you maybe take the approach of looking up the ip of the world and try to find the us east/west based. Unfortunately I can't do it myself because of school but if you make a PR, I'll be happy to look at it.
from clanchatcountryflags.
Now that jagex added different flags for east and west coast would you reconsider this?
from clanchatcountryflags.
This currently not possible due to there not being a reliable way of detecting whether or not a world is us east or west. Until Jagex adds something like this, I don't believe I can do it
Can be done using client.getEnum(4992)
now probably.
from clanchatcountryflags.
Related Issues (8)
- Could you add Friends list country flags too? That would be awesome. HOT 2
- Flags broken and displaying Hellpuppy and Cerb Crystals HOT 1
- something is prob not loading icons on client thread HOT 1
- Suggestion: Support for Clans HOT 3
- Suggestion: add f2p/p2p indication
- Plugin stopped displaying country flags for clans HOT 4
- No flag HOT 2
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 clanchatcountryflags.