Comments (37)
@Ishannaik The line "Raw:" outputs what the serverlist returned, and it says "Error: no server key" which means there really wasn't a server key given.
Could you try putting your key inside " "? I'm really not sure why this issue occurs
from topvoter.
Worked THANKS BRO
from topvoter.
Could tell me what you get from visiting this url on your server machine? Oh, and don't forget to insert the API key at the end. :)
https://minecraftpocket-servers.com/api/?object=servers&element=voters&month=current&format=json&limit=5&key=[YOUR-API-KEY]
from topvoter.
@SalmonDE I have the same problem
I'm sure i enter the API KEY into config.yml :)))))))))))))))))))))))))
from topvoter.
Could you try the same as above? And if you wouldn't mind, I think an E-Mail conversation would be faster and more reliable. ;) Contact me at [email protected]
from topvoter.
@NycuRO for me working this plugin:)
from topvoter.
same issue not working for me
when i did the link of the api key
this one https://minecraftpocket-servers.com/api/?object=servers&element=voters&month=current&format=json&limit=500&key=[YOUR-API-KEY]
{ "name":"InPocket", "address":"inpocketpe.ddns.net", "port":"19132", "month":"201703", "voters": [ { "nickname":"Ishannaik", "votes":"17" }, { "nickname":"lavaboy1216", "votes":"9" }, { "nickname":"Khasikage", "votes":"6" }, { "nickname":"IRANKING224477", "votes":"3" }, { "nickname":"BjornNL14", "votes":"2" }, { "nickname":"PlayerMan2015", "votes":"2" }, { "nickname":"antonyFTPake ", "votes":"1" }, { "nickname":"ThatDonutCookie", "votes":"1" }, { "nickname":"VigorousCow70", "votes":"1" }, { "nickname":"Duckiedaderpy ", "votes":"1" }, { "nickname":"Wolfalpha ", "votes":"1" }, { "nickname":"NewSepticPro", "votes":"1" }, { "nickname":"Spring4Life", "votes":"1" }, { "nickname":"IamDabbingStone", "votes":"1" }, { "nickname":"KingPheonixXYZ", "votes":"1" }, { "nickname":"BIOHUNTER", "votes":"1" }, { "nickname":"DUh_ITS_PATHER", "votes":"1" }, { "nickname":"Swag_Lord", "votes":"1" }, { "nickname":"Genetix", "votes":"1" }, { "nickname":"YoutubeJLT_YT", "votes":"1" }, { "nickname":"girl8876", "votes":"1" }, { "nickname":"TWSmiles", "votes":"1" }, { "nickname":"WAJEEH203_YT", "votes":"1" }, { "nickname":"jonjon", "votes":"1" }, { "nickname":"Foxyxx376", "votes":"1" }, { "nickname":"Musical_Rachel", "votes":"1" }, { "nickname":"ShawnOboy", "votes":"1" }, { "nickname":"Abdumalik15", "votes":"1" }, { "nickname":"Anonymouse10638", "votes":"1" }, { "nickname":"Mcwad56", "votes":"1" }, { "nickname":"AlexKnight", "votes":"1" }, { "nickname":"XFactorLive", "votes":"1" }, { "nickname":"LukeDoezMC", "votes":"1" }, { "nickname":"DrepTheDino", "votes":"1" }, { "nickname":"NINJA_235", "votes":"1" }, { "nickname":"mike000041", "votes":"1" }, { "nickname":"PartsPirate", "votes":"1" }, { "nickname":"ThoughtSauce877 ", "votes":"1" }, { "nickname":"Yair2099 ", "votes":"1" }, { "nickname":"Shqdow7o7", "votes":"1" }, { "nickname":"Natasha_Chan", "votes":"1" }, { "nickname":"Supersaiyam", "votes":"1" }, { "nickname":"SakurakoSaki", "votes":"1" }, { "nickname":"cute_tom", "votes":"1" }, { "nickname":"Eibil_GameYT", "votes":"1" }, { "nickname":"JamesXGhoul", "votes":"1" }, { "nickname":"KCKawaiiKid_Saki", "votes":"1" }, { "nickname":"Thunder4359", "votes":"1" }, { "nickname":"ISkyTryk", "votes":"1" }, { "nickname":"EnderDragonXfire", "votes":"1" }, { "nickname":"Jorti1boombox", "votes":"1" }, { "nickname":"WaterPlanet323", "votes":"1" }, { "nickname":"Ishan", "votes":"1" }, { "nickname":"GoldenXPlayz", "votes":"1" }, { "nickname":"DeathReaper655", "votes":"1" }, { "nickname":"BluBeryyy", "votes":"1" }, { "nickname":"Xxopmike778Xx", "votes":"1" }, { "nickname":"XXMak_Is_BackXx", "votes":"1" }, { "nickname":"NewYorkFan123", "votes":"1" }, { "nickname":"ALPHAERDE45", "votes":"1" }, { "nickname":"MQueenM", "votes":"1" }, { "nickname":"NiceTheaKing", "votes":"1" }, { "nickname":"XxRaphaxX", "votes":"1" }, { "nickname":"ArthurTheMightyP", "votes":"1" }, { "nickname":"happyman55552", "votes":"1" }, { "nickname":"Viper2232", "votes":"1" }, { "nickname":"_Robert03_", "votes":"1" } ] }
but the console shows
[Tesseract] [05:31:01] WARNING> [TopVoter] Error while processing data from the serverlist!
[Tesseract] [05:31:01] ERROR> [TopVoter] Couldn't process data! No array was returned!
[Tesseract] [05:31:01] ERROR> [TopVoter] Raw: Error: no server key
[Tesseract] [05:31:02] NOTICE> [TopVoter] No update available! :)
from topvoter.
Are you sure your API key is in ' '?
ex: API-Key: '3921uej19x1hdi'
from topvoter.
yep
from topvoter.
API-Key: '*****'
its in the ' '
from topvoter.
Nice to hear it worked @Ishannaik ! Could you try this, @NycuRO and @DKQoo2 ? I'll close this issue for now.
from topvoter.
btw when i try to change colour of the players Text: "{player} ยง4{votes}" it says same error and with Header too i cant seem to change it
from topvoter.
btw no thats not the issue when ever u try to add a colour in the header or the text
it causes the error i think its because of the default green and orange colour?
from topvoter.
@Ishannaik No I think that means the config file gets corrupted when you save it with these characters.
from topvoter.
yea pls fix that
from topvoter.
@Ishannaik I think this is not possible (or not nice). A corrupted config should be deleted and replaced by a new one generated by the plugin.
from topvoter.
but i cannot change the colours of the text because of this bug
from topvoter.
@Ishannaik Could you check in what character encoding your config file is saved? Is it UTF-8?
from topvoter.
what is that?
from topvoter.
how do i see what code is that?
from topvoter.
@Ishannaik With programs like NotePad++
from topvoter.
i did encode in UTF-8 And its same
from topvoter.
Error Sigh
Notice: Undefined variable: apis in phar:///root/Tests/plugins/TopVoter.phar/src/SalmonDE/Updater/UpdateManager.php on line 63 [Tesseract] [15:08:30] WARNING> [TopVoter] An update is available but the API version of your server isn't supported by it. [Tesseract] [15:08:30] WARNING> [TopVoter] API version of the server: 3.0.1 [Tesseract] [15:08:30] WARNING> [TopVoter]
from topvoter.
@Ishannaik This actually isn't an error but a warning that an update is available, but the API version of your server software is unsupported. I added this because I @only code with pmmp. I cannot test my plugins on every software and adjust it.
But the undefined apis variable is a bug made by me, thanks! :D
from topvoter.
@Ishannaik Also, could you tell me what operating system you run your server on? Windows, Linux, Android ...
from topvoter.
#Position of the floating text particle
Pos:
X: 121
"Y": 9
Z: 212
#Worlds which will show the particle
Worlds: [Spawn]
#API-Key of your server provided by minecraftpocket-servers.com
API-Key: "(API code removed by @Aericio)"
#Amount of voters who shall be shown (Max: 500)
Amount: 5
#Update interval of the query to the server in seconds
#SHOULD BE ATLEAST 180! OUTPUT IS CACHED FOR 3 MINUTES!
Update-Interval: 180
#Header of the floating text particle
Header: "Top voters of the month <3"
#Text for every row after the header
Text: "{player} §9{votes}"
#Enable automatically updating to new versions
Auto-Update: true
im having trouble setting this up..this the config i edited,did i miss something?
from topvoter.
Linux
from topvoter.
@Ishannaik Can you give me the output of file -bi config.yml
?
from topvoter.
@RyanClarke2 What exactly isn't working for you?
from topvoter.
im not sure..it looks all good for the most part,i dont see any errors or anything.it just isnt showing the floating text when i enter the server.
from topvoter.
@RyanClarke2 Is your world named Spawn and did you type in the correct coordinates? And I'd like you to create an own issue with your problem to keep the overview, because this issue already is full of comments.
from topvoter.
sorry i wasnt on these days but how do i get the outupt
from topvoter.
@Ishannaik I believe you do file -bi config.yml
where TopVoter's config files are.
from topvoter.
uh in the console?
from topvoter.
You're using Linux right? Open terminal (not pocketmines), cd
into where TopVoter's configuration files are, and run that command in terminal.
from topvoter.
kk
from topvoter.
text/plain; charset=utf-8
from topvoter.
Related Issues (20)
- Error message > Plugin isnt Green ! It is Red! HOT 2
- Doesnt load HOT 2
- Error while processing data from the serverlist! HOT 32
- Bugggggggg HOT 8
- Suport Please HOT 5
- Error reading ca cert file HOT 6
- help HOT 2
- Error reading ca cert file HOT 3
- hi salami HOT 2
- Error HOT 2
- not work HOT 1
- how to configure HOT 1
- "Cannot send empty batch" (EXCEPTION) in "src/pocketmine/Server" at line 1851 HOT 3
- Wont display voters
- error HOT 1
- Does not work at all. HOT 7
- Error
- server randomly crash HOT 2
- Error HOT 2
- Question 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 topvoter.