Open eyvallahabi opened 1 month ago
Thanks for adjusting that.
I thought a bit more about this design though and I'm not sure I like the way placeholders are registered. Wouldn't it make more sense to directly register into and query from the providing plugin itself (if it allows for that) and only fall back to a manual map if the plugin does not allow such a thing?
Also as it's designed now one could not register placeholders that take dynamic input via the parameter name. Did you consider that and have a good idea to solve that? Maybe the whole concept of having a Placeholder
class doesn't really fit with that seeing as PlaceholderAPI itself doesn't even seem to use that :S
I'll try to make it better thanks
I see your point so i removed the hook method and empty placeholder object this should be better now