Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2016-09-01 01:25:00, last edited by Koya (2016-10-16 12:53:52)

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

World Badges

Default:
worlds?id=PW07HVWAdLcEI

[img]http://live.koya.io/worlds?id=<world ID>[/img]

Maybe you want to show how many people are online:
worlds?id=PWNJ0tPWFPbEI&var=online

[img]http://live.koya.io/worlds?id=<world ID>&var=online[/img]

Or flaunt your likes and favourites
worlds?id=PW0r0PYPkscEI&var=likes

[img]http://live.koya.io/worlds?id=<world ID>&var=likes[/img]

worlds?id=PW1h4XYKHibkI&var=favourites

[img]http://live.koya.io/worlds?id=<world ID>&var=favourites[/img]

You can also show the concise description:
worlds?id=PW1lvDdIhEcEI&var=description

[img]http://live.koya.io/worlds?id=<world ID>&var=description[/img]

Option so that if there are people in the room then the badge will be green, but if not it'll be red
worlds?id=PW7daUKhdSbEI&var=plays&online=true
worlds?id=PW7daUKhdSbEI&var=online&online=true

[img]http://live.koya.io/worlds?id=<world ID>&var=<variable>&online=true[/img]

Add colour:
worlds?id=PW9DXlu5eCb0I&var=favourites&color=blue

[img]http://live.koya.io/worlds?id=<worldID>&var=<variable>&color=<shield.io color>[/img]

Badge builder:
http://s.codepen.io/OfficialAntarctica/debug/KgPjAW

Your world must be visible in the lobby for a minute, if the bot hasn't seen your world yet you will see
worlds?id=_
_____

Minimap:
PW07HVWAdLcEI

[img]http://w.koya.io/<world ID>[/img]

Many thanks to Jesse/EEJesse for supplying minimap colours! @
____

The bot's name is "blackdawn", it does have beta so you can use this with beta worlds.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#2 2016-09-01 15:03:37

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,852

Re: World Badges

Pretty sure you don't need an account with beta to get minimap and trivial data, but it's good to support the game I suppose

Pretty cool setup you've got. Do you have a bot periodically updating a web server? I would like to see a working PHP-playerio setup sometime, but they don't seem to make those anymore... then this would be seamless IMO

very neat

Offline

#3 2016-09-01 15:25:53

Gosha
Member
From: Russia
Joined: 2015-03-15
Posts: 6,206

Re: World Badges

i think i'll use minimap a lot of times. Can you make link shorter, so it's easier to remember?
Like

w.koya.com/<worldID>

Offline

#4 2016-09-01 15:29:36, last edited by Koya (2016-09-01 15:30:12)

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: World Badges

hummerz5 wrote:

Pretty sure you don't need an account with beta to get minimap and trivial data, but it's good to support the game I suppose

Pretty cool setup you've got. Do you have a bot periodically updating a web server? I would like to see a working PHP-playerio setup sometime, but they don't seem to make those anymore... then this would be seamless IMO

very neat

My alt has beta anyway and I think people would prefer to have a named account dropping in and leaving than a guest, I would love for a full PHP playerio.

I have a bot which updates the lobby 2 or 3 times a minute, any new worlds are scanned to get the minimap and is added as a new object, if a world object isn't found in the lobby it is set to offline/0 players (this means that likes/favourites/plays may be missed in the last 20-30 seconds of the world length, but negligible).

Gosha wrote:

i think i'll use minimap a lot of times. Can you make link shorter, so it's easier to remember?
Like

w.koya.com/<worldID>

Sure, I'll add a 30 minute server cache TTL too so the image should load way faster.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#5 2016-09-01 16:01:39, last edited by Koya (2016-10-16 12:39:31)

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: World Badges

Gosha wrote:

i think i'll use minimap a lot of times. Can you make link shorter, so it's easier to remember?
Like

w.koya.com/<worldID>

PW9DXlu5eCb0I

[img]http://w.koya.io/PW9DXlu5eCb0I[/img]

I know it's a tiny bit temperamental :/


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

Wooted by: (2)

#6 2016-10-16 12:41:11

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: World Badges

I have updated this service to be more stable. My previous database was cleared so starting from scratch.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

Wooted by:

#7 2016-10-22 20:58:39

Gosha
Member
From: Russia
Joined: 2015-03-15
Posts: 6,206

Re: World Badges

Minimap doesnt work for me

Offline

#8 2016-10-23 13:16:15

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: World Badges

Gosha wrote:

Minimap doesnt work for me

My VPS decided to turn off :/
Working again but it's running off my computer (24/7) while I find someone new.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#9 2016-10-23 15:00:42

Anatoly
Guest

Re: World Badges

Can  the bot receive the data from a world where the minimap is hidden?

#10 2016-10-23 15:02:37

Gosha
Member
From: Russia
Joined: 2015-03-15
Posts: 6,206

Re: World Badges

AnatolyEE wrote:

Can  the bot receive the data from a world where the minimap is hidden?

yes.

Offline

Gosha1477231357631144

Board footer

Powered by FluxBB

[ Started around 1713407538.6138 - Generated in 0.050 seconds, 12 queries executed - Memory usage: 1.52 MiB (Peak: 1.68 MiB) ]