Guest User

Untitled

a guest
Jan 17th, 2019
65
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var mc = require('minecraft-protocol');
  2. var forgeHandshake = require('minecraft-protocol-forge').forgeHandshake;
  3. var client = mc.createClient({
  4. version: false,
  5. host: '164.132.233.161',
  6. verbose: true,
  7. port: '11111',
  8. username: 'Artarious'
  9. });
  10.  
  11. forgeHandshake(client, {forgeMods: [
  12. { modid: 'mcp', version: '9.05' },
  13. { modid: 'FML', version: '7.10.99.99' },
  14. { modid: 'Forge', version: '10.13.4.1614' },
  15. { modid: 'kimagine', version: '0.2' },
  16. { modid: 'CodeChickenCore', version: '1.0.7.47' },
  17. { modid: 'NotEnoughItems', version: '1.0.5.120' },
  18. { modid: 'OpenComputers|Core', version: '1.6.2.12' },
  19. { modid: 'ThaumicTinkerer-preloader', version: '0.1' },
  20. { modid: 'WitchingGadgetsCore', version: '1.1.10' },
  21. { modid: 'OpenModsCore', version: '0.10' },
  22. { modid: 'PacketUnlimiter', version: '1.1' },
  23. { modid: 'bspkrsCore', version: '6.15' },
  24. { modid: 'Treecapitator', version: '1.7.10' },
  25. { modid: 'Aquaculture', version: '1.2.6' },
  26. { modid: 'asielib', version: '0.4.8' },
  27. { modid: 'Baubles', version: '1.0.1.10' },
  28. { modid: 'Thaumcraft', version: '4.2.3.5' },
  29. { modid: 'Waila', version: '1.5.10' },
  30. { modid: 'Automagy', version: '0.28.2' },
  31. { modid: 'BiblioCraft', version: '1.11.7' },
  32. { modid: 'Botania', version: 'r1.8-249' },
  33. { modid: 'BrandonsCore', version: '1.0.0.11' },
  34. { modid: 'CarpentersBlocks', version: '3.3.8.1' },
  35. { modid: 'Forestry', version: '4.2.16.64' },
  36. { modid: 'OpenComputers', version: '1.6.2.12' },
  37. { modid: 'computronics', version: '1.6.5' },
  38. { modid: 'cosmeticWings', version: '1.7.10-0.4.2.17' },
  39. { modid: 'cosmeticarmorreworked', version: '1.7.10-v6b' },
  40. { modid: 'MineTweaker3', version: '3.0.13' },
  41. { modid: 'creativecore', version: '1.3.14' },
  42. { modid: 'customnpcs', version: '1.7.10d' },
  43. { modid: 'deathtrade', version: '6.6.6' },
  44. { modid: 'DraconicEvolution', version: '1.0.2h' },
  45. { modid: 'DragonsRadioMod', version: '1.7.1' },
  46. { modid: 'dwcity', version: '1.41' },
  47. { modid: 'Enotcraft', version: '1.1' },
  48. { modid: 'EventHelper', version: '1.8' },
  49. { modid: 'ThaumicTinkerer', version: 'unspecified' },
  50. { modid: 'ForbiddenMagic', version: '1.7.10-0.575' },
  51. { modid: 'FTBL', version: '1.0.18.2' },
  52. { modid: 'gvc', version: '0.6.1' },
  53. { modid: 'GrimoireOfGaia', version: '1.0.0' },
  54. { modid: 'iChunUtil', version: '4.2.3' },
  55. { modid: 'Hats', version: '4.0.1' },
  56. { modid: 'InfernalMobs', version: '1.6.6' },
  57. { modid: 'IronChest', version: '6.0.62.742' },
  58. { modid: 'MagicBees', version: '2.4.4' },
  59. { modid: 'mcskillshop', version: '1.0' },
  60. { modid: 'MTRM', version: '1.0' },
  61. { modid: 'modtweaker2', version: '0.9.6' },
  62. { modid: 'NodalMechanics', version: '1.7.10R1.0' },
  63. { modid: 'opencb', version: '1.0' },
  64. { modid: 'OpenMods', version: '0.10' },
  65. { modid: 'OpenPeripheralCore', version: '1.4' },
  66. { modid: 'OpenPeripheral', version: '0.6' },
  67. { modid: 'OpenPeripheralIntegration', version: '0.6' },
  68. { modid: 'opensecurity', version: '1.0.97' },
  69. { modid: 'Screener', version: '1.0' },
  70. { modid: 'tabbychatstikersaddon', version: '1.0.0' },
  71. { modid: 'TaintedMagic', version: 'r7.82' },
  72. { modid: 'tcinventoryscan', version: '1.0.11' },
  73. { modid: 'TravellersGear', version: '1.16.6' },
  74. { modid: 'TwilightForest', version: '2.3.7' },
  75. { modid: 'Wintercraft', version: '1.1.3' },
  76. { modid: 'witchery', version: '0.24.1' },
  77. { modid: 'WitchingGadgets', version: '1.1.10' },
  78. { modid: 'XPT', version: '1.2.9' },
  79. { modid: 'Ztones', version: '1.7.10' }
  80. ]});
  81.  
  82. client.on('kick_disconnect', function (packet) {
  83. console.log(packet.reason)
  84. })
  85.  
  86. client.on('connect', function () {
  87. console.log('connected')
  88. })
  89.  
  90. client.on('disconnect', function (packet) {
  91. console.log('disconnected: ' + packet.reason)
  92. })
  93.  
  94. client.on('end', function () {
  95. console.log('Connection lost')
  96. })
  97.  
  98. client.on('error', function (err) {
  99. console.log('Error occured')
  100. console.log(err)
  101. })
RAW Paste Data