Advertisement
Guest User

PhantomBot+Panel

a guest
Nov 13th, 2015
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. Install PhantomBot
  2. ------------------
  3. 1. create a new twitch-account for the bot (if not already done)
  4. 2. download and extract "PhantomBot" to "C:\Program Files\Switch_Bot\PhantomBot"
  5. 3. execute "launch.bat"
  6.  
  7. 4. Enter the name of the bot-account
  8. 5. Login bot-account and visit "http://twitchapps.com/tmi/" - DONT revisit again unless u need a new token
  9. 6. copy the token and paste it here for later use: "oauth:"
  10. 7. paste the token in PhantomBot-Window and press Enter
  11.  
  12. 8. Login with your usual account and navigate into your channels chat, type "/mod <botname>" and hit Enter
  13. 9. Navigate to Dashboard and Editing and add the bot-account as Editor
  14. 10. visit "http://phantombot.net/pages/twitchapi/" and click "Connect with Twitch"
  15. 11. copy the token and paste it here for later use: "oauth:"
  16. 12. Enter the name of your account
  17. 13. Wait until you see "ready" anywhere :)
  18. 13. Type "apioauth" into the PhantomBot-Window and press Enter
  19. 13. paste the token and press Enter
  20. 14. close PhantomBot now and execute "launch.bat" again
  21.  
  22. Install PhantomPanel
  23. --------------------
  24. 1. download and install the "Visual C++ Redistributable für Visual Studio 2015 x86" at https://www.microsoft.com/en-us/download/details.aspx?id=48145
  25. 2. download and extract "Apache-Webserver x86" to "C:/Program Files/Switch_Bot/Apache/"
  26. 3. download and extract "php x86" to "C:/Program Files/Switch_Bot/Apache/php/"
  27. 4. download and extract PhantomPanel into "C:/Program Files/Switch_Bot/Apache/htdocs/"
  28. 5. add the following lines in "C:/Program Files/Switch_Bot/Apache/conf/httpd.conf"
  29. ---
  30. LoadModule php5_module "C:/Program Files/Switch_Bot/Apache/php/php5apache2_4.dll"
  31. AddHandler application/x-httpd-php .php
  32. PHPIniDir "C:/Program Files/Switch_Bot/Apache/php"
  33. ---
  34. 6. edit the following lines in "C:/Program Files/Switch_Bot/Apache/conf/httpd.conf"
  35. ---
  36. ServerRoot "c:/Apache24"
  37. DocumentRoot "c:/Apache24/htdocs"
  38. <Directory "c:/Apache24/htdocs">
  39. ---
  40. to
  41. ---
  42. ServerRoot "C:/Program Files/Switch_Bot/Apache/"
  43. DocumentRoot "C:/Program Files/Switch_Bot/Apache/htdocs/"
  44. <Directory "C:/Program Files/Switch_Bot/Apache/htdocs/">
  45. ---
  46. 7. rename "C:/Program Files/Switch_Bot/Apache/php/php.ini-production" to "C:/Program Files/Switch_Bot/Apache/php/php.ini"
  47. 8. delete "C:/Program Files/Switch_Bot/Apache/php/php.ini-development"
  48. 9. edit the following line in "C:/Program Files/Switch_Bot/Apache/php/php.ini"
  49. ---
  50. ;extension=php_curl.dll
  51. ---
  52. to
  53. ---
  54. extension=C:/Program Files/Switch_Bot/Apache/php/ext/php_curl.dll
  55. ---
  56. 10. copy "C:/Program Files/Switch_Bot/Apache/php/libssh2.dll" to "C:/Program Files/Switch_Bot/Apache/bin"
  57. 11. execute "C:\Program Files\Switch_Bot\Apache\bin\httpd.exe"
  58. 11. open "http://127.0.0.1/install.php" to configure PhantomPanel
  59. 12. everything should be green now
  60. 13. standard security-settings are good
  61. 14. You can create account for you PhantomPanel
  62. 15. Enter the name of your account into "Bot owner setting"
  63. 16. Enter "127.0.0.1" into "Bot IP address or hostname"
  64. 17. Copy & Paste the token youve created for your Bot-Account (the first one (above)) into "Bot chat oauth setting"
  65. 18. click "NEXT" and close the PhantomPanel-browsertab and httpd.exe
  66.  
  67.  
  68. YAY DONE
  69. --------
  70. to run PhantomPanel execute "C:\Program Files\Switch_Bot\start.bat"
  71. the scipt will start PhantomBot and Appache-Webserver and launches PhantomBot webinterface: http://127.0.0.1/index.php
  72. Login und youre there
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement