Advertisement
Guest User

Untitled

a guest
Jul 7th, 2018
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.42 KB | None | 0 0
  1. {
  2. "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
  3. "meta": {
  4. "version": "PTDL_v1"
  5. },
  6. "exported_at": "2018-07-07T15:24:40+02:00",
  7. "name": "Phantombot",
  8. "author": "info@edwindejong.net",
  9. "description": "PhantomBot is a Twitch chat bot powered by Java. PhantomBot has many modern features out of the box such as a built-in webpanel, enhanced moderation, games, a point system, raffles, custom commands, a music player, and more! PhantomBot can also be integrated with many services such as Discord, Twitter, GameWisp, TipeeeStream, StreamLabs and StreamElements!",
  10. "image": "quay.io\/pterodactyl\/core:java-glibc",
  11. "startup": "java -Dinteractive -Dfile.encoding=UTF-8 -jar PhantomBot.jar",
  12. "config": {
  13. "files": "{\r\n \"config\/botlogin.txt\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"apioauth=\": \"oauth\\\\:{{server.build.env.PHANTOMBOT_APIOAUTH}}\",\r\n \"oauth=\": \"oauth\\\\:{{server.build.env.PHANTOMBOT_OAUTH}}\",\r\n \"user=\": \"{{server.build.env.PHANTOMBOT_USER}}\",\r\n \"paneluser=\": \"{{server.build.env.PHANTOMBOT_PANELUSER}}\",\r\n \"panelpassword=\": \"{{server.build.env.PHANTOMBOT_PANELPASSWORD}}\",\r\n \"baseport=\": \"{{server.build.default.port}}\",\r\n \"owner=\": \"{{server.build.env.PHANTOMBOT_CHANNEL}}\",\r\n \"channel=\": \"{{server.build.env.PHANTOMBOT_CHANNEL}}\"\r\n }\r\n }\r\n}",
  14. "startup": "{\r\n \"done\": \"ready!\",\r\n \"userInteraction\": []\r\n}",
  15. "logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}",
  16. "stop": "^C"
  17. },
  18. "scripts": {
  19. "installation": {
  20. "script": "#!\/bin\/ash\r\n# Forge Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napk update\r\napk add unzip wget\r\n\r\ncd \/mnt\/server\r\necho -e \"\\n Downloading Phantombot version $PB_VERSION\"\r\nwget https:\/\/github.com\/PhantomBot\/PhantomBot\/releases\/download\/v$PB_VERSION\/PhantomBot-$PB_VERSION.zip\r\n\r\necho -e \"\\n Unzipping\"\r\nunzip PhantomBot-$PB_VERSION.zip\r\n\r\necho -e \"\\n copying into \/mnt\/server\"\r\ncp -r PhantomBot-$PB_VERSION\/* \/mnt\/server\r\n\r\necho -e \"\\n Setting up botlogin.txt\"\r\necho \"apioauth=oauth\\:$PHANTOMBOT_APIOAUTH\r\nbaseport=${SERVER_PORT}\r\nchannel=$PHANTOMBOT_CHANNEL\r\nmsglimit30=19.0\r\nmusicenable=true\r\noauth=oauth\\:$PHANTOMBOT_OAUTH\r\nowner=$PHANTOMBOT_CHANNEL\r\npanelpassword=$PHANTOMBOT_PANELPASSWORD\r\npaneluser=$PHANTOMBOT_PANELUSER\r\nusehttps=false\r\nuser=$PHANTOMBOT_USER\r\nwebauth=\r\nwebauthro=\r\nwebenable=true\r\nwhisperlimit60=60.0\r\nytauth=\r\nytauthro=\r\n\" > \/mnt\/server\/config\/botlogin.txt\r\n\r\necho -e \"\\ncleaning up.\\n\"\r\nrm -rf PhantomBot-$PB_VERSION.zip\r\nrm -rf PhantomBot-$PB_VERSION",
  21. "container": "frolvlad\/alpine-oraclejdk8:cleaned",
  22. "entrypoint": "ash"
  23. }
  24. },
  25. "variables": [
  26. {
  27. "name": "Phantombot Version",
  28. "description": "The version of Phantombot that you want to run. Example (1.10.2).",
  29. "env_variable": "PB_VERSION",
  30. "default_value": "2.4.1",
  31. "user_viewable": 1,
  32. "user_editable": 1,
  33. "rules": "required|string|max:20"
  34. },
  35. {
  36. "name": "Phantombot User",
  37. "description": "The username of the account phantombot will use",
  38. "env_variable": "PHANTOMBOT_USER",
  39. "default_value": "",
  40. "user_viewable": 1,
  41. "user_editable": 1,
  42. "rules": "required|string|max:20"
  43. },
  44. {
  45. "name": "Phantombot Oauth token",
  46. "description": "Twitch bot user OAuth token (https:\/\/twitchapps.com\/tmi\/)",
  47. "env_variable": "PHANTOMBOT_OAUTH",
  48. "default_value": "",
  49. "user_viewable": 1,
  50. "user_editable": 1,
  51. "rules": "required|string|max:35"
  52. },
  53. {
  54. "name": "Twitch Channel OAuth token",
  55. "description": "Twitch caster channel OAuth token (https:\/\/phantombot.tv\/oauth\/)",
  56. "env_variable": "PHANTOMBOT_APIOAUTH",
  57. "default_value": "",
  58. "user_viewable": 1,
  59. "user_editable": 1,
  60. "rules": "required|string|max:35"
  61. },
  62. {
  63. "name": "Twitch channel",
  64. "description": "Twitch channel the bot will monitor\/join.",
  65. "env_variable": "PHANTOMBOT_CHANNEL",
  66. "default_value": "",
  67. "user_viewable": 1,
  68. "user_editable": 1,
  69. "rules": "required|string|max:20"
  70. },
  71. {
  72. "name": "Phantombot Panel Username",
  73. "description": "Username to login to the Phantombot Panel",
  74. "env_variable": "PHANTOMBOT_PANELUSER",
  75. "default_value": "admin",
  76. "user_viewable": 1,
  77. "user_editable": 1,
  78. "rules": "required|string|max:20"
  79. },
  80. {
  81. "name": "Phantombot Panel Password",
  82. "description": "Password to login to phantombot Panel",
  83. "env_variable": "PHANTOMBOT_PANELPASSWORD",
  84. "default_value": "123456",
  85. "user_viewable": 1,
  86. "user_editable": 1,
  87. "rules": "required|string|max:20"
  88. }
  89. ]
  90. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement