Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- echo '{ "session": { "sessionkey": "DhZUxAPjDFQqwCy65z2JQKB145750y", "lastlogintime": 1461290246, "ispremium": true, "premiumuntil": 1463788913, "status": "active" }, "playdata": { "worlds": [ { "id": 0, "name": "Amera", "externaladdress": "66.150.54.19", "externalport": 7171, "previewstate": 0 }, { "id": 1, "name": "Chrona", "externaladdress": "193.200.156.112", "externalport": 7171, "previewstate": 0 }, { "id": 2, "name": "Eldera", "externaladdress": "66.150.54.94", "externalport": 7171, "previewstate": 0 } ], "characters": [ { "worldid": 0, "name": "Paladin" }, { "worldid": 1, "name": "Sorcerer" }, { "worldid": 2, "name": "Druid" } ] }, "survey": { "id": 759822, "invitationtext": "Dear Tibian! A few days ago, you have received an email invitation to join the Beta phase of Tibia 11. We\'d love to hear about your experiences with client version 11.0 so please help us with your feedback by completing this survey.", "invitationtoken": "9ILillainoj7CsWxxoCRgOqSnGtt3L", "endtimestamp": 1461535200 } }';
- /*
- example json
- {
- "session": {
- "sessionkey": "DhZUxAPjDFQqwCy65z2JQKB145750y",
- "lastlogintime": 1461290246,
- "ispremium": true,
- "premiumuntil": 1463788913,
- "status": "active"
- },
- "playdata": {
- //an array/list of worlds and theirs data
- "worlds": [
- {
- "id": 0,
- "name": "Amera",
- "externaladdress": "66.150.54.19",
- "externalport": 7171,
- "previewstate": 0
- },
- {
- "id": 1,
- "name": "Chrona",
- "externaladdress": "193.200.156.112",
- "externalport": 7171,
- "previewstate": 0
- },
- {
- "id": 2,
- "name": "Eldera",
- "externaladdress": "66.150.54.94",
- "externalport": 7171,
- "previewstate": 0
- }
- ],
- "characters": [
- {
- "worldid": 0,
- "name": "Paladin"
- },
- {
- "worldid": 1,
- "name": "Sorcerer"
- },
- {
- "worldid": 2,
- "name": "Druid"
- }
- ]
- },
- //i believe this can just be removed, not needed
- "survey": {
- "id": 759822,
- "invitationtext": "Dear Tibian! A few days ago, you have received an email invitation to join the Beta phase of Tibia 11. We'd love to hear about your experiences with client version 11.0 so please help us with your feedback by completing this survey.",
- "invitationtoken": "9ILillainoj7CsWxxoCRgOqSnGtt3L",
- "endtimestamp": 1461535200
- }
- }
- */
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement