1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Pterodactyl - Panel

Discussion in 'Off-Topic' started by QuiverlyRivalry, Nov 4, 2017.

  1. QuiverlyRivalry

    QuiverlyRivalry Zombie Pigman

    Messages:
    491
    GitHub:
    quiverlyrivalry
    Hi,
    There is a panel named Pterodactyl, I want to register a new service there suppourt asks me to ask a developer here for the script. Heres some example scripts for Spoigot @dktapps
    'use strict';

    /**
    * Pterodactyl - Daemon
    * Copyright (c) 2015 - 2017 Dane Everitt <[email protected]>
    *
    * Permission is hereby granted, free of charge, to any person obtaining a copy
    * of this software and associated documentation files (the "Software"), to deal
    * in the Software without restriction, including without limitation the rights
    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    * copies of the Software, and to permit persons to whom the Software is
    * furnished to do so, subject to the following conditions:
    *
    * The above copyright notice and this permission notice shall be included in all
    * copies or substantial portions of the Software.
    *
    * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    * SOFTWARE.
    */
    const rfr = require('rfr');
    const _ = require('lodash');

    const Core = rfr('src/services/index.js');

    class Service extends Core {
    onConsole(data) {
    // Hide the output spam from Bungeecord getting pinged.
    if (_.endsWith(data, '<-> InitialHandler has connected')) return;
    return super.onConsole(data);
    }
    }

    module.exports = Service;
    {"vanilla":{"startup":{"done":")! For help, type ","userInteraction":["Go to eula.txt for more info."]},"stop":"stop","configs":{"server.properties":{"parser":"properties","find":{"server-ip":"0.0.0.0","enable-query":"true","server-port":"{{server.build.default.port}}","query.port":"{{server.build.default.port}}"}}},"log":{"custom":false,"location":"logs\/latest.log"},"query":"none"},"spigot":{"symlink":"vanilla","configs":{"spigot.yml":{"parser":"yaml","find":{"settings.restart-on-crash":false}}},"query":"none"},"sponge":{"symlink":"vanilla","startup":{"userInteraction":["You need to agree to the EULA"]},"query":"none"},"bungeecord":{"startup":{"done":"Listening on ","userInteraction":["Listening on \/0.0.0.0:25577"]},"stop":"end","configs":{"config.yml":{"parser":"yaml","find":{"listeners[0].query_enabled":true,"listeners[0].query_port":"{{server.build.default.port}}","listeners[0].host":"0.0.0.0:{{server.build.default.port}}","servers.*.address":{"127.0.0.1":"{{config.docker.interface}}","localhost":"{{config.docker.interface}}"}}}},"log":{"custom":false,"location":"proxy.log.0"},"query":"none"}}
     
  2. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    please do not ping dktapps for your own issues
    he is not your personal tech support
     
    EdwardHamHam and HimbeersaftLP like this.
  3. QuiverlyRivalry

    QuiverlyRivalry Zombie Pigman

    Messages:
    491
    GitHub:
    quiverlyrivalry
    I never said he was..
    I am just saying that he might be able to make it, because he made all the start scripts..
     
  4. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    yes but there's no point in tagging someone
    when you tag someone you are essentially like asking them for support
     
  5. QuiverlyRivalry

    QuiverlyRivalry Zombie Pigman

    Messages:
    491
    GitHub:
    quiverlyrivalry
    i just meant, it might be in his forte ;-;
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.