Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    All strings are quoted.
    lukeeexd
    @lukeeexd
    So whats the error in the above screenshot?
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    Hmmm.. I have not seen this error before
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    OK, the error means it could not login your email account or something else wrong with the setup. Use mine as an example of how to properly fill this out:
      "Alerts": {
        "enabled": true,
        "password": "gAAAAABbdI5ZMMjVa5SWBfgxppMhFYM13d5Dibna9DR_9oQNeV_HcFwuExQySiscasdasdFfGRutaSjgaplKzPTMLYO90SBl8fQ==",
        "password-plaintext": false,
        "servers": [
          {
            "address": "smtp.live.com",
            "encrypted-password": "gAAAAABbdI5ZMMjVa5SWBfgxppMhFYM13d5Dibna9DR_9oQNeV_HcFwuExQySiscasdasdFfGRutaSjgaplKzPTMLYO90SBl8fQ==",
            "group": "wrapper",
            "login-name": "suresttexas@live.com",
            "port": 587,
            "recipients": [
              "suresttexas@live.com"
            ],
            "subject": "Wrapper.py Alert",
            "type": "email"
          }
        ]
      }
    You must specify a login name (yours did not). Also, if only one recipient, do not include a second "" recipient.
    The long encryted password gets there after you fill in 'plaintext-password' and start wrapper. You must copy and paste it over to 'encrypted-password'.
    Ghost
    @ghost~558754ae15522ed4b3e24f6e

    Also with gmail, you may need to "allow less secure apps" because gmail has additional authentication protocols beyond the simple smtp server stuff. I like to use live.com because it does not do this.

    This works by using your username (twswrapperalerts@gmail.com) and password (which you give to wrapper) to log into your email account and send (yourself) an email (or others you add to recipients).

    lukeeexd
    @lukeeexd
    Ok will give it a try tomorrow :) thanks
    lukeeexd
    @lukeeexd
    Works now. Although what is the numbers Wrapper.py started at 1534418746.635157 after "at"?
    Also, any plans to add more features to this?
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    That is the time in Epoch units (seconds). I won't have time to work on this for a while, so not at the moment.
    lukeeexd
    @lukeeexd
    whitelist add lukeeexd
    /whitelist add lukeeexd
    [10:19:38] [Wrapper.py/INFO]: *Console* executed: /whitelist add lukeeexd
    ..Working.  Server may lag.
    Exception in thread Thread-6:
    Traceback (most recent call last):
      File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
        self.run()
      File "/usr/lib/python3.6/threading.py", line 864, in run
        self._target(*self._args, **self._kwargs)
      File "Wrapper.py/core/wrapper.py", line 626, in parseconsoleinput
        self.process_command(consoleinput)
      File "Wrapper.py/core/wrapper.py", line 704, in process_command
        self.runwrapperconsolecommand("whitelist", allargs, player)
      File "Wrapper.py/core/wrapper.py", line 800, in runwrapperconsolecommand
        self.commands.playercommand(xpayload)
      File "Wrapper.py/core/commands.py", line 83, in playercommand
        return self.command_whitelist(player, payload)
      File "Wrapper.py/core/commands.py", line 767, in command_whitelist
        wl_commands[wl_comm](player, wl_arg)
      File "Wrapper.py/core/commands.py", line 784, in _command_whitelist_add
        player.message()
    TypeError: message() missing 1 required positional argument: 'message'
    This is on paperspigot 1.13
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    I am not sure how well 1.13 will work, even if not using proxy mode. However, this particular bug is easy to fix. I have the new version pushed to the development branch.
    lukeeexd
    @lukeeexd
    Seems to work ok with 1.13, dunno about the scheduled restart. I need to test that now. If the wrapper wont work with 1.13 I'm pretty boned lol
    lukeeexd
    @lukeeexd
    Yep scheduled restart works
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    did the whitelisting work properly?
    lukeeexd
    @lukeeexd
    Oh i'll test that now
    Dev branch says updated 1 month ago?
    Master branch is 5 hours ago
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    Thanks.. I forgot to push my fork's changes back to Ben's.
    lukeeexd
    @lukeeexd
    Exception in thread Thread-6:
    Traceback (most recent call last):
    File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
    File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
    File "Wrapper.py/core/wrapper.py", line 626, in parseconsoleinput
    self.process_command(consoleinput)
    File "Wrapper.py/core/wrapper.py", line 704, in process_command
    self.runwrapperconsolecommand("whitelist", allargs, player)
    File "Wrapper.py/core/wrapper.py", line 800, in runwrapperconsolecommand
    self.commands.playercommand(xpayload)
    File "Wrapper.py/core/commands.py", line 83, in playercommand
    return self.command_whitelist(player, payload)
    File "Wrapper.py/core/commands.py", line 767, in command_whitelist
    wl_commands[wl_comm](player, wl_arg)
    File "Wrapper.py/core/commands.py", line 784, in _command_whitelist_add
    player.message()
    TypeError: message() missing 1 required positional argument: 'message'
    Got this error when trying to whitelist from console
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    I fixed this. Did you update?
    lukeeexd
    @lukeeexd
    Any updates in the works?
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    Not at this time. I will not have time to work on this for a while :(
    SandwichChef
    @SteepingChef_twitter
    Random question, but does this program/script support Forge servers?
    I'm sleep deprived, so that might be a retarded question
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    Only in Non-proxy mode.
    Minecraft is changing so much. I am too busy to keep track and maintain the protocol changes.
    lukeeexd
    @lukeeexd
    Hey, when one of my servers restarts and i do /restart, if someone disconnects before it restarts the wrapper sends a cross server kick to my other server(s) how is this possible and how can i disable it?
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    What is a cross server kick? Are you using a hub setup? Otherwise, each wrapper and server ought to be independent. FYI, I'm not really working on this anymore.
    You'd really have to give complete information on your setup(s) before I could offer anything helpful.
    lukeeexd
    @lukeeexd
    https://i.imgur.com/lI4NMDs.png this shows up on my creative server. Its kicks from the Survival which is no way linked to the creative server. Survival says something like, user not online requesting cross server kick
    This is from survival console https://i.imgur.com/J8v27vZ.png
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    You will have to describe in detail your server setups. I need to know how many wrappers you are running, the wrapper.properties.json file from each wrapper and each server's server.properties. This includes your hub server (which I am assuming you must be running)... basically, everything I would need to create an identical setup. You may change private info only and put in [X REDACTED X] . Please don't redact folder names, etc, that may be useful for seeing folder structure, etc...
    lukeeexd
    @lukeeexd
    2 wrappers, no hub. I literally run two seperate servers connected in no shape or form. Different ports, settings, startup args etc. Wrapper and server settings for server A https://pastebin.com/NFSq68gB https://pastebin.com/hixQ7LmA. And server B https://pastebin.com/LdNf7Tar https://pastebin.com/Z3ed5AH1. Both servers run on the same machine with PaperMc
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    Then it is most likely not wrapper issue, but a networking issue. I note each wrapper starts paper.jar, but with different options.. What is your folder structure like? do you have two separate paper.jar's and two separate wrapper folders? Other than a networking issue, I only possibility I can see is that they share files or a common directory somewhere/somehow.
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    The other possibility is that the PaperMC system links the servers somehow.
    Try running mojang vanilla jars for a short while and see if it happens with the vanilla Jars. If it does, the problem is a PaperMC issue, not wrapper.
    Just one other question. In your screenshots for creative and survival, the same players are listed... Are they playing both servers at the same time?
    lukeeexd
    @lukeeexd
    Yes two different jars, different folders. Survival is /home/minecraft/backup/survival, creative is /home/minecraft/creative. Two different folders, different jars, wrapper, wrapper jar, server properties everything. I cant use mojang jar or my server would break
    They are not playing both players at the same time. Also when it kicks people it shows the kicks on the other server. if it kicks 10 people on survival for restart, it shows in creative chat the kick messages too and vise versa
    lukeeexd
    @lukeeexd
    When I kick someone from test server it doesnt show up. So its something to do with the survival and creative
    lukeeexd
    @lukeeexd
    Just reset creative wrapper properties and its happening
    Would it have to do with the creative server's IP being creative.tws-mc.com but for test server you connect to the ip+port?
    Ok figured it out
    it was litebans
    Ghost
    @ghost~558754ae15522ed4b3e24f6e
    ah, plugins.
    Suny
    @Sunney-X
    guys, the stdin pipe is broken for some reason
    anyone else is having this issue?