Closed SuperJogosDBZ closed 7 years ago
Currently FactionsTop supports MVdW placeholders API, so any plugin that uses this should work. Does that server use this FactionsTop plugin?
the splayset is giving error when picking the factions.
Could you please give a reproducible example for this?
Oh you're actually programming something, right. What error is it that you're getting?
Edit: I'm being dumb, you're getting that error because the SplaySet implements a Set, not a List. https://github.com/novucs/factions-top/blob/master/core/src/main/java/net/novucs/ftop/util/SplaySet.java#L13
May I see the entire TopManager.java file?
No, the entire file. I need accurate line numbers to debug.
You've given me two entirely different snippets, one telling me that }
was the cause of the null pointer exception. I'm going to suggest that you just use the API that I've provided.
An example usage: https://github.com/novucs/factions-top/blob/master/example/src/main/java/com/example/plugin/ExamplePlugin.java
(Copy this entire class and make no modifications) https://github.com/novucs/factions-top/blob/master/example/src/main/java/com/example/plugin/FactionsTopApi.java
Also use the latest version of FactionsTop -- some of the previous SplaySet builds are a little buggy. I've noticed you're using an old version. https://drive.google.com/open?id=0B8XNBcgBSdHyWFRITE90QU9WZEE
My encoder has tried everything but it does not work.
If you want me to help you, then at least supply me with new and relavent information.
Can it provide your bitbucket server? I want to give you permission to see the plugin.
My bitbucket username is novucs.
Ready, my nick there is vhtk the name of the project is worldtop.
Could see the WorldTop project bitbucket?
Your code still thinks its a list. Just use the API I linked you.
Check the code again, the code was out of date, it's now up to date.
I updated now!
It's still not using the API I've supplied. Take a look at this example plugin: https://github.com/novucs/factions-top/tree/master/example/src/main/java/com/example/plugin
How do I get the faction list for this class?
There is no class in this api to pick up the faction list, how do I?
How can I hook the plugin with another plugin?
Example of what I want to do: http://prntscr.com/ghd7gz