Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
- "meta": {
- "version": "PTDL_v1"
- },
- "exported_at": "2018-07-07T15:24:40+02:00",
- "name": "Phantombot",
- "author": "info@edwindejong.net",
- "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!",
- "image": "quay.io\/pterodactyl\/core:java-glibc",
- "startup": "java -Dinteractive -Dfile.encoding=UTF-8 -jar PhantomBot.jar",
- "config": {
- "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}",
- "startup": "{\r\n \"done\": \"ready!\",\r\n \"userInteraction\": []\r\n}",
- "logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}",
- "stop": "^C"
- },
- "scripts": {
- "installation": {
- "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",
- "container": "frolvlad\/alpine-oraclejdk8:cleaned",
- "entrypoint": "ash"
- }
- },
- "variables": [
- {
- "name": "Phantombot Version",
- "description": "The version of Phantombot that you want to run. Example (1.10.2).",
- "env_variable": "PB_VERSION",
- "default_value": "2.4.1",
- "user_viewable": 1,
- "user_editable": 1,
- "rules": "required|string|max:20"
- },
- {
- "name": "Phantombot User",
- "description": "The username of the account phantombot will use",
- "env_variable": "PHANTOMBOT_USER",
- "default_value": "",
- "user_viewable": 1,
- "user_editable": 1,
- "rules": "required|string|max:20"
- },
- {
- "name": "Phantombot Oauth token",
- "description": "Twitch bot user OAuth token (https:\/\/twitchapps.com\/tmi\/)",
- "env_variable": "PHANTOMBOT_OAUTH",
- "default_value": "",
- "user_viewable": 1,
- "user_editable": 1,
- "rules": "required|string|max:35"
- },
- {
- "name": "Twitch Channel OAuth token",
- "description": "Twitch caster channel OAuth token (https:\/\/phantombot.tv\/oauth\/)",
- "env_variable": "PHANTOMBOT_APIOAUTH",
- "default_value": "",
- "user_viewable": 1,
- "user_editable": 1,
- "rules": "required|string|max:35"
- },
- {
- "name": "Twitch channel",
- "description": "Twitch channel the bot will monitor\/join.",
- "env_variable": "PHANTOMBOT_CHANNEL",
- "default_value": "",
- "user_viewable": 1,
- "user_editable": 1,
- "rules": "required|string|max:20"
- },
- {
- "name": "Phantombot Panel Username",
- "description": "Username to login to the Phantombot Panel",
- "env_variable": "PHANTOMBOT_PANELUSER",
- "default_value": "admin",
- "user_viewable": 1,
- "user_editable": 1,
- "rules": "required|string|max:20"
- },
- {
- "name": "Phantombot Panel Password",
- "description": "Password to login to phantombot Panel",
- "env_variable": "PHANTOMBOT_PANELPASSWORD",
- "default_value": "123456",
- "user_viewable": 1,
- "user_editable": 1,
- "rules": "required|string|max:20"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement