Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Install PhantomBot
- ------------------
- 1. create a new twitch-account for the bot (if not already done)
- 2. download and extract "PhantomBot" to "C:\Program Files\Switch_Bot\PhantomBot"
- 3. execute "launch.bat"
- 4. Enter the name of the bot-account
- 5. Login bot-account and visit "http://twitchapps.com/tmi/" - DONT revisit again unless u need a new token
- 6. copy the token and paste it here for later use: "oauth:"
- 7. paste the token in PhantomBot-Window and press Enter
- 8. Login with your usual account and navigate into your channels chat, type "/mod <botname>" and hit Enter
- 9. Navigate to Dashboard and Editing and add the bot-account as Editor
- 10. visit "http://phantombot.net/pages/twitchapi/" and click "Connect with Twitch"
- 11. copy the token and paste it here for later use: "oauth:"
- 12. Enter the name of your account
- 13. Wait until you see "ready" anywhere :)
- 13. Type "apioauth" into the PhantomBot-Window and press Enter
- 13. paste the token and press Enter
- 14. close PhantomBot now and execute "launch.bat" again
- Install PhantomPanel
- --------------------
- 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
- 2. download and extract "Apache-Webserver x86" to "C:/Program Files/Switch_Bot/Apache/"
- 3. download and extract "php x86" to "C:/Program Files/Switch_Bot/Apache/php/"
- 4. download and extract PhantomPanel into "C:/Program Files/Switch_Bot/Apache/htdocs/"
- 5. add the following lines in "C:/Program Files/Switch_Bot/Apache/conf/httpd.conf"
- ---
- LoadModule php5_module "C:/Program Files/Switch_Bot/Apache/php/php5apache2_4.dll"
- AddHandler application/x-httpd-php .php
- PHPIniDir "C:/Program Files/Switch_Bot/Apache/php"
- ---
- 6. edit the following lines in "C:/Program Files/Switch_Bot/Apache/conf/httpd.conf"
- ---
- ServerRoot "c:/Apache24"
- DocumentRoot "c:/Apache24/htdocs"
- <Directory "c:/Apache24/htdocs">
- ---
- to
- ---
- ServerRoot "C:/Program Files/Switch_Bot/Apache/"
- DocumentRoot "C:/Program Files/Switch_Bot/Apache/htdocs/"
- <Directory "C:/Program Files/Switch_Bot/Apache/htdocs/">
- ---
- 7. rename "C:/Program Files/Switch_Bot/Apache/php/php.ini-production" to "C:/Program Files/Switch_Bot/Apache/php/php.ini"
- 8. delete "C:/Program Files/Switch_Bot/Apache/php/php.ini-development"
- 9. edit the following line in "C:/Program Files/Switch_Bot/Apache/php/php.ini"
- ---
- ;extension=php_curl.dll
- ---
- to
- ---
- extension=C:/Program Files/Switch_Bot/Apache/php/ext/php_curl.dll
- ---
- 10. copy "C:/Program Files/Switch_Bot/Apache/php/libssh2.dll" to "C:/Program Files/Switch_Bot/Apache/bin"
- 11. execute "C:\Program Files\Switch_Bot\Apache\bin\httpd.exe"
- 11. open "http://127.0.0.1/install.php" to configure PhantomPanel
- 12. everything should be green now
- 13. standard security-settings are good
- 14. You can create account for you PhantomPanel
- 15. Enter the name of your account into "Bot owner setting"
- 16. Enter "127.0.0.1" into "Bot IP address or hostname"
- 17. Copy & Paste the token youve created for your Bot-Account (the first one (above)) into "Bot chat oauth setting"
- 18. click "NEXT" and close the PhantomPanel-browsertab and httpd.exe
- YAY DONE
- --------
- to run PhantomPanel execute "C:\Program Files\Switch_Bot\start.bat"
- the scipt will start PhantomBot and Appache-Webserver and launches PhantomBot webinterface: http://127.0.0.1/index.php
- Login und youre there
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement