Advertisement
Azelphur

Untitled

Apr 18th, 2012
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. var config = {
  2. // For internal server or proxying webserver.
  3. //url : {
  4. // configuration: 'up/configuration',
  5. // update: 'up/world/{world}/{timestamp}',
  6. // sendmessage: 'up/sendmessage',
  7. // login: 'up/login',
  8. // register: 'up/register'
  9. //},
  10.  
  11. // For proxying webserver through php.
  12. url: {
  13. configuration: 'up.php?path=configuration',
  14. update: 'up.php?path=world/{world}/{timestamp}',
  15. sendmessage: 'up.php?path=sendmessage',
  16. login: 'up.php?path=login',
  17. register: 'up.php?path=register'
  18. },
  19.  
  20. // // For proxying webserver through aspx.
  21. // url: {
  22. // configuration: 'up.aspx?path=configuration',
  23. // update: 'up.aspx?path=world/{world}/{timestamp}',
  24. // sendmessage: 'up.aspx?path=sendmessage',
  25. // login: 'up.aspx?path=login',
  26. // register: 'up.aspx?path=register'
  27. // },
  28.  
  29. // // For standalone (jsonfile) webserver (no login security)
  30. // url: {
  31. // configuration: 'standalone/dynmap_config.json?_={timestamp}',
  32. // update: 'standalone/dynmap_{world}.json?_={timestamp}',
  33. // sendmessage: 'standalone/sendmessage.php',
  34. // login: 'standalone/login.php',
  35. // register: 'standalone/register.php'
  36. // },
  37.  
  38. // // For standalone (jsonfile) webserver (login security)
  39. // url: {
  40. // configuration: 'standalone/configuration.php',
  41. // update: 'standalone/dynmap_{world}.json?_={timestamp}',
  42. // sendmessage: 'standalone/sendmessage.php',
  43. // login: 'standalone/login.php',
  44. // register: 'standalone/register.php'
  45. // },
  46.  
  47. tileUrl : 'tiles/',
  48. // Alternative to tiles/ - prevents 404 errors on undefined tiles
  49. //tileUrl : 'gettiles.php/',
  50.  
  51. tileWidth : 128,
  52. tileHeight : 128
  53. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement