Coder Social home page Coder Social logo

neocky / pluget Goto Github PK

View Code? Open in Web Editor NEW
149.0 149.0 27.0 264 KB

πŸ“¦ Powerful Package manager which updates plugins & server software for minecraft servers

License: Apache License 2.0

Python 99.71% Shell 0.13% Batchfile 0.16%
bukkit ease minecraft minecraft-server paper papermc plugin-manager python sftp spigot

pluget's Introduction

Hi there I'm Neocky

I'm working on automating all the boring stuff.

πŸ“ About me

πŸ”­ I'm working on automation and various open-source projects
πŸ“š I'm currently learning PowerShell & Python
πŸ˜„ Pronouns: he/him
🍝 Fun fact: I LOVE PASTA

Github stats

Neocky's Github stats Top languages

*NOTE: Top Languages does not indicate my skill level or anything like that, it's a GitHub metric of which languages have the most code on GitHub.

pluget's People

Contributors

neocky avatar pazdikan avatar professorsniff avatar smcclennon avatar smile-minecraft avatar thedudefromci avatar treierxyz avatar zandercraftgames avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pluget's Issues

First Time Run - No module named 'ruamel'

Describe the bug
pluGET-v1.7.2
From Windows CLI when performing first time run to generate config yaml, it throws an error "No module named 'ruamel'"

Traceback (most recent call last):
File "C:\Minecraft\Sandbox\pluGET-v1.7.2\pluget.py", line 10, in
from src.handlers.handle_config import check_config, validate_config
File "C:\Minecraft\Sandbox\pluGET-v1.7.2\src\handlers\handle_config.py", line 7, in
import ruamel.yaml
ModuleNotFoundError: No module named 'ruamel'

To Reproduce

  • Install Windows python 3.10.4 x64
  • Run install_requirements_WINDOWS.bat
  • (Using Windows CLI) run py pluget.py

Expected behavior
Generation of pluGET_config.yaml

Desktop (please complete the following information):

  • OS: Windows 10

Update multiple servers at once

Is your feature request related to a problem? Please describe.
Servicing multiple servers with pluGET requires swapping out or editing of configuration files and then re-running pluGET.

Describe the solution you'd like

  1. Use the server address as the YAML key and indent all of its connection options under that key in the config file
  2. If more than one server is defined in the config file, upon entering a pluGET command such as update all, all server hosts should be printed and the user should be asked which servers to apply the command to. User input examples: 1 for server 1. 1, 3 for servers 1 and 3. 1-3 for servers 1, 2 and 3. 1,4-6 for servers 1, 4, 5 and 6.

Configuration example:

Remote:
  host.com:
    Port: 21
    Connection: ftp
    Username: foo
    Password: fh29d
    SeparateDownloadPath: true
    PathToSeperateDownloadPath: /plugins_pluGET
  play.differentserver.net:
    Port: 22
    Connection: sftp
    Username: bar
    Password: 29fna
    SeparateDownloadPath: false
    PathToSeperateDownloadPath:

I have not included Local in this configuration example as I haven't used and don't understand how it works.

Describe alternatives you've considered
Multiple config files, one for each server. pluGET detects them all on startup and asks which ones to use. User input is the same as the previous solution, except numbers correlate to configuration files instead of servers.

Doesn't detect over half of my plugins on spigot

Describe the bug
A clear and concise description of what the bug is.
check all only detects 2 of my 14 plugins on spigot

To Reproduce
Steps to reproduce the behavior:

  1. run pluGet
  2. run check all
  3. see only 2 detected

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
    Ubuntu 20.10
    Additional context
    Add any other context about the problem here.
    My plugin list here (from pluget)
   [1]  Harbor                           1.6.3          1.6.3          False
   [2]  Vault                            1.7.3-b131     N/A            N/A  
   [3]  PlayerParticles_v                7.18           N/A            N/A  
   [4]  LuckPerms-Bukkit                 5.3.39         N/A            N/A  
   [5]  BuycraftX                        12.0.6         N/A            N/A  
   [6]  worldedit-bukkit-2-dist.jar      "7.2.2+fc3c499"N/A            N/A  
   [7]  GriefPrevention                  '16.17.1-2b69191'N/A            N/A  
   [8]  SpigotAV (1)                     1.0            N/A            N/A  
   [9]  EssentialsX                      2.18.2.0       N/A            N/A  
  [10]  EssentialsXChat                  2.18.2.0       N/A            N/A  
  [11]  DiscordSRV-Build                 1.21.3         N/A            N/A  
  [12]  Whitelist                        2.1            3.0            True 
  [13]  CoreProtect                      19.4           19.5           True 
  [14]  TCPShield-bak                    '2.5'          N/A            N/A  

Remove older versions of updated plugins

When a plugin is updated, the old version of the plugin remains in the folder.
I don't see a problem with loading the plugin, but it leaves a large number of jar files in the plugin folder.(Translated by DeepL)

No results when using SFTP

Describe the bug
When using check all no plugins are shown same for specific checks.

To Reproduce
Steps to reproduce the behavior:

  1. Go to install and setup SFTP
  2. Check in filezilla if the SFTP is working and check the path.
  3. enter them all in Pluget.
  4. start pluget and check all
  5. Nothing pops up just a 0 of 0 result

Expected behavior
i expect a list of plugins i have together with their version and if a update is there.

Screenshots
https://prnt.sc/13l73x7

Desktop (please complete the following information):

  • OS Windows 10

Additional context
the only error is the hosts file error Like u already know off

No config for better scripting

Is your feature request related to a problem? Please describe.
No a problem per say but it is not possible to use pluGET without a config file.

Describe the solution you'd like
I would like the ability to specify config parameters as command line arguments.
This way it would be way easier to use the program for scripting purposes.

Describe alternatives you've considered
I have considered using spud and grif however none are as stable as pluGET.

Additional context
I believe this would make pluGET the best tool for managing mc plugins.

Error when running update all

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Luanch using SFTP
  2. type "check all"
  3. type "update all"
  4. See error

Expected behavior
It to update plugins

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: Windows 10

Additional context
Add any other context about the problem here.
Traceback (most recent call last): File "C:\Users\greys\Downloads\pluGET\src\__main__.py", line 16, in <module> mainFunction() File "C:\Users\greys\Downloads\pluGET\src\__main__.py", line 14, in mainFunction getInput() File "C:\Users\greys\Downloads\pluGET\src\handlers\handle_input.py", line 105, in getInput handleInput(inputCommand, inputSelectedObject, inputParams) File "C:\Users\greys\Downloads\pluGET\src\handlers\handle_input.py", line 87, in handleInput getInput() File "C:\Users\greys\Downloads\pluGET\src\handlers\handle_input.py", line 105, in getInput handleInput(inputCommand, inputSelectedObject, inputParams) File "C:\Users\greys\Downloads\pluGET\src\handlers\handle_input.py", line 58, in handleInput updateInstalledPackage(inputSelectedObject) File "C:\Users\greys\Downloads\pluGET\src\plugin\plugin_updatechecker.py", line 266, in updateInstalledPackage if INSTALLEDPLUGINLIST[i][3] == True: IndexError: list index out of range

Update not working

Describe the bug
Tried to update the plugins automatically and it just crashes

To Reproduce

  1. Have the plugins installed (check image below)
  2. Do check all to see what plugins need to be updated
  3. Do update all to update all the plugins

Expected behavior
The app should update each plugin automatically

Screenshots
image

Desktop (please complete the following information):

  • OS: Ubuntu 20.04 (5.4.0-77-generic)

Additional context
This was done on a normal paper server, which should in theory work

Update all failed

Describe the bug
Tried updating everything in the hub that was just upgraded from 1.13 to 1.15 and it threw an error

To Reproduce
Steps to reproduce the behavior:
0) (Not sure if it matters but) Update from 1.13 to 1.15

  1. Check all for updates
  2. Run update all command

Expected behavior
Plugins should be downloaded or at least ignore the bad plugin and update the rest

Screenshots
image

Desktop (please complete the following information):

  • OS: Ubuntu 20.04 (5.4.0-77-generic)

Additional context
N/A

setup.py compatible

Hi, I am trying to create a working setup.py (see my fork)
The only thing I find challenging is the missing utils, which python package is that precisely?

"check" command fails when "separate download path" is set

Describe the bug

The "check all" command paired with a modified "[SFTP] pathtoseperatedownloadpath" config option causes pluGET to (judging by the traceback) attempt to access a path which doesn't exist (which would have been created during a plugin "update").

An example of this non-existent path is:
/plugins/pluGET/Essentials

To Reproduce

Steps to reproduce the behaviour:

  1. Edit config.ini
    1a. [SFTP] separatedownloadpath = True
    1b. [SFTP] pathtoseperatedownloadpath = /plugins/pluGET
  2. Run ./launcher.sh
  3. Enter the command "check all"
  4. See error

Expected behavior

"[SFTP] separatedownloadpath" should be ignored/assumed as False, as you are "checking" for updates. No new plugin updates are being downloaded (as they would be with the update command).

The command should behave identically to as if "[SFTP] separatedownloadpath" were set to False.

Desktop

  • OS: Linux (RedHat family)

Additional context

I have made sure that the /plugins/pluGET path does already exist, and the same error persists.

When setting "[SFTP] separatedownloadpath = False" and following all of the other reproduction steps, the command "check all" works flawlessly.

Other config options I have set which may be relevant:

  • [General] uselocalpluginfolder = False
  • [SFTP] use_sftp = True

Full traceback:

Exception has occurred: FileNotFoundError
[Errno 2] No Such File
  File "~/pluGET/src/handlers/handle_sftp.py", line 97, in sftp_validateFileAttributes
    pluginSFTPAttribute = sftp.lstat(pluginPath)
  File "~/pluGET/src/plugin/plugin_updatechecker.py", line 164, in checkInstalledPackage
    pluginAttributes = sftp_validateFileAttributes(connection, pluginFile)
  File "~/pluGET/src/handlers/handle_input.py", line 64, in handleInput
    checkInstalledPackage(inputSelectedObject, inputParams)
  File "~/pluGET/src/handlers/handle_input.py", line 105, in getInput
    handleInput(inputCommand, inputSelectedObject, inputParams)
  File "~/pluGET/src/__main__.py", line 14, in mainFunction
    getInput()
  File "~/pluGET/src/__main__.py", line 16, in <module>
    mainFunction()

Shows N/A on some plugins for latest V and Update

Describe the bug
The pluGET program shows N/A for some plugins like Citizens, Essentials, HolographicDisplays, Luckperms and many more in my collection of plugins. It would show the N/A only In the latest V. and Update available

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'launcher.bat'
  2. Open on 'launcher.bat'
  3. Type in 'Check all'
  4. Have X, Y and Z plugins installed
  5. See Error

Expected behavior
Show me all current, available, and possible versions I can be using

Screenshots
If applicable, add screenshots to help explain your problem.
image_2021-05-28_172416

Desktop (please complete the following information):

  • OS: Windows 10 Pro 64 bit

Additional context
Add any other context about the problem here.

FileNotFoundError

Describe the bug
When using a separate location for the updated files it will try to delete the old ones and give a FileNotFoundError.
See gist: https://gist.github.com/falceso/96a597f0725e65a90f60fbcf5885e4f0

To Reproduce
Steps to reproduce the behavior:

  1. Configure separate update location
  2. Update any plugin
  3. Get file not found error

Expected behavior
Removing of file should be stopped.

installation error

Describe the bug
installation error

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Desktop (please complete the following information):

  • OS: WINDOW 10

Additional context
I installed pluGET. But the installation process returns an error like the screenshot and turns off. How to solve this?

Error - SyntaxError: invalid syntax

Describe the bug
A clear and concise description of what the bug is.

Traceback (most recent call last):
File "pluget.py", line 12, in
from src.utils.utilities import check_requirements, api_test_spiget, check_for_pluGET_update
File "/home/ubuntu/pluget/src/utils/utilities.py", line 35
match command:
^
SyntaxError: invalid syntax

To Reproduce
Steps to reproduce the behavior:
1.install newest pluget from releases
2.install newest python3
3.run install_requirements_linux.sh
4.run pluget.py
5. See error

Expected behavior
Program should open, and work normally

Desktop (please complete the following information):

  • OS: ubuntu server 20.04 (x64)

ftp object has no attribute lstat

Screenshot_36
I believe this may have something to do with the fact that there is an @ sign in my ftp username but i cant be sure. Thought i would add it here in case its a bug.

New logo proposal

I think the logo for this project could have a bit more character, so I quickly made a design with four versions based on the current one. The base design has a plug added to symbolize the projects core feature, package management for plugins. It's in the name, so it does seem pretty important. Additional variants have either an arrow on the side or a visible seam on the top or both.

Mock-up 1

\ Mock-up 2 \ Mock-up 3 \ Mock-up 4

These designs were made in Inkscape and the font used is Comfortaa by Johan Aakerlund, which is licensed under the Open Font License. All designs are subject to change. I haven't adjusted kerning and some other tweaks could be done like more rounded corners akin to the original. Maybe there could be something added to symbolize Minecraft more.
The plug graphic may also need to be made bigger to have a more usable small icon (judge for yourself:

Icon

).

This is of course just a proposal and I understand if this seems unnecessary. Regardless, I had fun making these. However, if this does seem like something worth pursuing then I can finalize the design(s) and supply the vector files.

Sidenote: You can change which image is displayed depending on the chosen GitHub theme which I have used here to show either full white or black versions of the designs.

"update" command fails when "separate download path" is set

Describe the bug

The "update all" command paired with a modified "[SFTP] pathtoseperatedownloadpath" config option causes pluGET to fail the first time, and when entering update all again, causes pluGET to crash (traceback below).

This bug seems very similar to #31. ("check" now works with pathtoseparateddownloadpath, but "update" does not).

To Reproduce

Steps to reproduce the behaviour:

  1. Edit config.ini
    1a. [SFTP] separatedownloadpath = True
    1b. [SFTP] pathtoseperatedownloadpath = /plugins/pluGET
  2. Run ./launcher.sh
  3. Enter the command "update all"
  4. Wait for plugin updates to be checked (successfully)
  5. Agree to plugin updates (enter y)
  6. See error

Expected behavior

Plugin updates should be downloaded into the /plugins/pluGET folder.

Desktop

  • OS: Linux (RedHat family)

Additional context

I have made sure that the /plugins/pluGET path does already exist, and the same error persists.

I have not tested setting "[SFTP] separatedownloadpath = False".

Other config options I have set which may be relevant:

  • [General] uselocalpluginfolder = False
  • [SFTP] use_sftp = True

PluGET error-free console output
(... = console output that was trimmed out)

pluGET >> update all
Selected plugins with available Updates:
Check for updates before updating plugins with: 'check all'
Started checking for updates...
Checking: all
Use 'check all changelog' to get the latest changelog from plugins
β”‚ No. β”‚ Name                           β”‚ Installed V. β”‚ Latest V.    β”‚
...
  [16]  DiscordSRV-Build                 1.22.0         1.23.0
  [24]  Hibernate                        1.02           2.0.0 
  [30]  MyCommand                        5.7.0          v5.7.1
  [35]  Plan                             5.3 build 1284 5.4 build 1330
...
Outdated plugins: [13/51]
Please input 'update all' again!
pluGET >> update all
Selected plugins with available Updates:
... DiscordSRV-Build Hibernate MyCommand Plan-3-build-1284.jar ShulkerRespawner ...
Update these plugins [y/n] ? y
Updating: all
β”‚ No. β”‚ Name                           β”‚ Old V.     β”‚ New V.   β”‚
# ===[CRASHES HERE]===

Full traceback:

Traceback (most recent call last):
  File "~/pluGET/src/./__main__.py", line 16, in <module>
    mainFunction()
  File "~/pluGET/src/./__main__.py", line 14, in mainFunction
    getInput()
  File "~/pluGET/src/handlers/handle_input.py", line 105, in getInput
    handleInput(inputCommand, inputSelectedObject, inputParams)
  File "~/pluGET/src/handlers/handle_input.py", line 87, in handleInput
    getInput()
  File "~/pluGET/src/handlers/handle_input.py", line 105, in getInput
    handleInput(inputCommand, inputSelectedObject, inputParams)
  File "~/pluGET/src/handlers/handle_input.py", line 58, in handleInput
    updateInstalledPackage(inputSelectedObject)
  File "~/pluGET/src/plugin/plugin_updatechecker.py", line 295, in updateInstalledPackage
    pluginAttributes = sftp_validateFileAttributes(connection, pluginFile)
  File "~/pluGET/src/handlers/handle_sftp.py", line 97, in sftp_validateFileAttributes
    pluginSFTPAttribute = sftp.lstat(pluginPath)
  File "/home/username/.local/lib/python3.9/site-packages/pysftp/__init__.py", line 779, in lstat
    return self._sftp.lstat(remotepath)
  File "/home/username/.local/lib/python3.9/site-packages/paramiko/sftp_client.py", line 511, in lstat
    t, msg = self._request(CMD_LSTAT, path)
  File "/home/username/.local/lib/python3.9/site-packages/paramiko/sftp_client.py", line 813, in _request
    return self._read_response(num)
  File "/home/username/.local/lib/python3.9/site-packages/paramiko/sftp_client.py", line 865, in _read_response
    self._convert_status(msg)
  File "/home/username/.local/lib/python3.9/site-packages/paramiko/sftp_client.py", line 894, in _convert_status
    raise IOError(errno.ENOENT, text)
FileNotFoundError: [Errno 2] No Such File

CurseForge support

Is your feature request related to a problem? Please describe.
In addition to being able to download from Spigot, it would be useful to be able to download plugins from CurseForge as well.

Describe the solution you'd like
Curseforge support

Plugins are not updated / Debug in output

PluGET states that there is a newer version, but no available update. See screenshot:

grafik

(LevelledMobs)

Also, what is that debug output get_plugin_file_version endswith . supposed to mean?

Crash on buggy version check

Describe the bug
Tried to do a check for updates for some plugins on my bungeecord server, and it just crashed

To Reproduce

  1. Have the plugins I have installed
  2. Run check all

Expected behavior
The app should either manage to check, or at least if there is a file that does not have a plugin.yml, should skip it rather than crash the application

Screenshots
image

image

Desktop (please complete the following information):

  • OS: Ubuntu 20.04 (5.4.0-77-generic)

Additional context
I am aware that this app is not designed to work on BungeCoord but this is more of a matter of validation rather than compatibility. App should not crash like this when something is wrong with one of the jar files.

Doesn't work with some file names.

Describe the bug

If in file name contain "-symbol(s).symbol(s)-", it causes the program to crash.

To Reproduce
1 Create a file with name contain "-symbol(s).symbol(s)-", for example: "InvisibleItemFrame_-1.0-_SNAPSHOT".
2 Launch "pluGET"
3 Use "check all"
4 See error: Traceback (most recent call last): File "C:\Users\egorg\Desktop\Новая папка\tet\src\__main__.py", line 16, in <module> mainFunction() File "C:\Users\egorg\Desktop\Новая папка\tet\src\__main__.py", line 14, in mainFunction getInput() File "C:\Users\egorg\Desktop\Новая папка\tet\src\handlers\handle_input.py", line 105, in getInput handleInput(inputCommand, inputSelectedObject, inputParams) File "C:\Users\egorg\Desktop\Новая папка\tet\src\handlers\handle_input.py", line 86, in handleInput getInput() File "C:\Users\egorg\Desktop\Новая папка\tet\src\handlers\handle_input.py", line 105, in getInput handleInput(inputCommand, inputSelectedObject, inputParams) File "C:\Users\egorg\Desktop\Новая папка\tet\src\handlers\handle_input.py", line 64, in handleInput checkInstalledPackage(inputSelectedObject) File "C:\Users\egorg\Desktop\Новая папка\tet\src\plugin\plugin_updatechecker.py", line 138, in checkInstalledPackage pluginId = getInstalledPlugin(fileName, fileVersion, plugin) File "C:\Users\egorg\Desktop\Новая папка\tet\src\plugin\plugin_updatechecker.py", line 362, in getInstalledPlugin packageName = doAPIRequest(url) File "C:\Users\egorg\Desktop\Новая папка\tet\src\utils\web_request.py", line 8, in doAPIRequest packageDetails = response.json() File "C:\Users\egorg\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\models.py", line 900, in json return complexjson.loads(self.text, **kwargs) File "C:\Users\egorg\AppData\Local\Programs\Python\Python39\lib\json\__init__.py", line 346, in loads return _default_decoder.decode(s) File "C:\Users\egorg\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\egorg\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Screenshots:
bandicam 2021-05-27 20-32-26-204

OS: windows 10 home build 19041

Bash commandline commands, outside of UI

Is your feature request related to a problem? Please describe.
As I interpret the documentation, pluGET can only run commands from its own command line UI. This might make it problematic to manage from other scripts, such as bash, where the UI might get in the way of the functionality.

If this functionality is already present, close this ticket and mention it in the documentation.

Describe the solution you'd like
I'd like to be able to run commands directly from bash command line, such as being able to run ./launcher.sh update all to update all plugins, or ./launcher.sh update serverjar 'PaperMCVersion' to update the server. A argument flag could be useful to declare when it is being used this way.

An example of software being used this way is SteamCMD.

Describe alternatives you've considered
N/A

Additional context
I've not yet installed pluGET, though it interests me. My concern is being able to use it for automating server maintenance, which I try to do as much as possible so I can focus on management.

Outdated plugin not registered as requiring update

Describe the bug
PlaceholderApi plugin was updated yesterday (as of this report) and it is showing as not requiring an update even though locally I have 2.10.9 and there is version 2.10.10 available (as of this bug report). Might affect other plugins

To Reproduce

  1. Download version 2.10.9
  2. Run script (check all)

Expected behavior
The color will show as green and adds it to the items to update

Screenshots
image

Desktop (please complete the following information):

  • Ubuntu 20.04 (5.4.0-77-generic)

Additional context
N/A

Doesn't work on RHEL 9

I cannot use this script because it needs python 3.10 but I can only have Python 3.9. I have tried compiling Python 3.10 from source and command python3.10 work but pip3.10 doesn't at this point I don't know what to do

crash when get 8080 or get essentialsX

Describe the bug
crash when get 8080 or get essentialsX is run
To Reproduce
Steps to reproduce the behavior:

  1. run launcher.bat
  2. run get 8080 or get essentialsX
  3. it crashes I am not able to find a crash report

Expected behavior
essentialsX in plugin folder I set at config.ini
C:\Users\sharvesh\Documents\stuff\pluGET-v1.6.8\plugins

Desktop (please complete the following information):

  • Windows 10

Additional context
this is my first GitHub issue so please excuse me
and this worked for get luckperms or get vault
and it is v1.6.8

TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

pluGET >> get essentialsx
Searching: essentialsx
β”Œβ”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ No. β”‚ Name β”‚ Downloads β”‚ Description β”‚
β””β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
[1] EssentialsX 4352274 The essential plugin suite for Minecraft servers, now updated for Paper and Spigot 1.18.1
[2] EssentialsXGUIBanner 12275 A Nice GUI Temp-banning Plugin Alike The One Used On The Performium Server!
[3] BkTeleport 3632 Teleport countdown on screen, Chat clickable TPA and TPHERE, GUI for homes and warps and more!
[4] KitPreviewEssentialsxaddon 3128 Essentialsx addon
[5] iWarp 760 Player warps expire unless expressly renewed
[6] [U] - uSleep >> EssentialsX & SuperVanish Support [1.14 - 1.16] 581 A simple plugin that will change the way you sleep, custom percentage, AFK and Vanish support.
[7] EssentialsXExtras 198 Add cool features to your server.
[8] EssentialsXYZ 178 A plugin for ease of use and admin.
[9] EssentialsXLite 173 An alternative(not really) to Essentials, with performance in mind!
[10] EssentialsXAntiMSGSpam 164 Blocks /msg spam!
Select your wanted resource (No.)(0 to exit): 1
File is None
Traceback (most recent call last):
File "main.py", line 16, in
mainFunction()
File "main.py", line 14, in mainFunction
getInput()
File "/root/source/pluGET/pluGET/src/handlers/handle_input.py", line 105, in getInput
handleInput(inputCommand, inputSelectedObject, inputParams)
File "/root/source/pluGET/pluGET/src/handlers/handle_input.py", line 52, in handleInput
searchPackage(inputSelectedObject)
File "/root/source/pluGET/pluGET/src/plugin/plugin_downloader.py", line 94, in searchPackage
getSpecificPackage(resourceId, pluginDownloadPath)
File "/root/source/pluGET/pluGET/src/plugin/plugin_downloader.py", line 151, in getSpecificPackage
downloadSpecificVersion(resourceId=resourceId, downloadPath=downloadPackagePath)
File "/root/source/pluGET/pluGET/src/plugin/plugin_downloader.py", line 117, in downloadSpecificVersion
filesize = int(filesize)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

SFTP: You will need to explicitly load HostKeys

Describe the bug
When using SFTP there always comes the no "HostKeys loaded" issue.
SFTP works nontheless.

Error:

UserWarning: Failed to load HostKeys from C:\Users\USER\.ssh\known_hosts.  You will need to explicitly load HostKeys (cnopts.hostkeys.load(filename)) or disableHostKey checking (cnopts.hostkeys = None).
  warnings.warn(wmsg, UserWarning)

Setting HostKeys = None won't work.

SFTP pubkey authentication

We mainly use pubkey authentication with our servers, most of these keys are usually available to access via .ssh directory in our user directories, a way to use them to authenticate ourselves could be good.

ModuleNotFoundError: No module named 'ruamel'

Traceback (most recent call last):
File "pluget.py", line 10, in
from src.handlers.handle_config import check_config, validate_config
File "/home//Dokumenty/1.18.1-PAPER/pluGET/src/handlers/handle_config.py", line 7, in
import ruamel.yaml
ModuleNotFoundError: No module named 'ruamel'

I am Running RHEL 8

Pterodactyl support?

Is your feature request related to a problem? Please describe.
Is this supporting pterodactyl? As in, can I auto-update plugins inside of pterodactyl servers?

Describe the solution you'd like
Looking at how this is CLI-based. I would love to have a guide, or a way to use this on pterodactyl, they're basically docker containers (accessible on the host machine, or with SFTP though). So customer's plugins auto-update?

Describe alternatives you've considered
I have tried running this on the host machine, seems like i haven't found a way yet to do this for pterodactyl.

Additional context
If needed, please reply with anything i need to provide.

pluGET Downgrades Skript

Describe the bug
I have a newer version of a plugin (called Skript), but pluGET wants to downgrade it

To Reproduce
Steps to reproduce the behavior:

  1. Download the newest Version of Skript from GitHub
  2. install it in the plugin folder
  3. Check for upgrade
  4. Upgrade Plugins
  5. Check Again for version
  6. See error.

Expected behavior
pluGET should not downgrade if a newer version is available. (check if local version is newer than in Plugin repo)

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10, 21H1

FTP Support

Lots of Minecraft hosting companies only provide FTP support, so it is not possible to use pluGET with them. Adding FTP support would increase the number of supported services massively.

Inaccurate Update Notifiers

Describe the bug
A clear and concise description of what the bug is.
Tells you there is an update if the current version number is higher then latest

To Reproduce
Steps to reproduce the behavior:

  1. Run Pluget
  2. Run check all
  3. Get False Updates

Expected behavior
A clear and concise description of what you expected to happen.
It to report false

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • OS: Ubuntu 20.10

Additional context
Add any other context about the problem here.

The thing in question is this
[16] DriveBackupV 2 1.3.4 True
full output

Checking: all
β”Œβ”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ No. β”‚ Name                           β”‚ Installed V. β”‚ Latest V.    β”‚ Update available  β”‚
β””β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
   [1]  VoidGenerator                    1.7.0          1.7.0          False
   [2]  Spleef                           2.1.1          2.1.1          False
   [3]  InfoBook                         3.0            InfoBook 3.0   False
   [4]  Vault                            1.7.3-b131     1.7.3          False
   [5]  FastAsyncWorldEdit-Bukkit-16-688.jar1.16-688;71f7103N/A            N/A  
   [6]  worldguard-bukkit                7.0.4          N/A            N/A  
   [7]  DiscordSRV-Build                 1.22.0         1.22.0         False
   [8]  ProtocolLib                      4.6.1-SNAPSHOT-b501N/A            N/A  
   [9]  PexTabCompleter                  1.3.0          N/A            N/A  
  [10]  PermissionsEx                    1.23.5         N/A            N/A  
  [11]  ImageOnMap                       4.1.2          4.1.2          False
  [12]  thebridge                        1.1.1          N/A            N/A  
  [13]  CoreProtect                      19.5           19.5           False
  [14]  SkinsRestorer                    14.0.2         14.0.2         False
  [15]  GriefPrevention                  16.17.1-2b6919116.17.1        False
  [16]  DriveBackupV                     2              1.3.4          True 
  [17]  LibsDisguises-24-Free.jar        10.0.24        N/A            N/A  
  [18]  EssentialsX                      2.18.2.0       N/A            N/A  
  [19]  PlaceholderAPI                   2.10.9         2.10.9         False
  [20]  EssentialsXChat                  2.18.2.0       N/A            N/A  
  [21]  AuthMe                           5.4.0          5.6.0-beta2    True 
  [22]  WorldGuardExtraFlags             4.1.5-SNAPSHOT N/A            N/A  
  [23]  Citizens-27-b2300.jar            2.0.27-SNAPSHOT (build 2300)N/A            N/A  
  [24]  Multiverse-Inventories           4.2.2          N/A            N/A  
  [25]  HolographicDisplays              2.4.6          N/A            N/A  
  [26]  Multiverse-Core                  4.2.2          4.2.2          False
Outdated plugins: [2/26]```

Potential Fix: You could check the plugins current version against the latest

Plugins won't load after updateing them

Describe the bug
When i update these plugins:Tablist. Vulcan Anti cheat, Perworlplugins, Saberfactions, and start the server, these plugins don't start corrcetly.

To Reproduce
Steps to reproduce the behavior:

  1. Update plugins
  2. Start the server
  3. The updated plugins wont' load

Expected behavior
The plugins would load correctly.

Desktop (please complete the following information):

  • OS: Linux
  • Server version: Paper 1.19.4 build #471

Additional context
It seems like there are 2 types of errors:
1.
[09:40:34 ERROR]: [DirectoryProviderSource] Error loading plugin: File 'plugins/TabList-v5.6.9.jar' failed to load!
java.lang.RuntimeException: File 'plugins/TabList-v5.6.9.jar' failed to load!
at io.papermc.paper.plugin.provider.source.FileProviderSource.registerProviders(FileProviderSource.java:59) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paper.plugin.provider.source.DirectoryProviderSource.lambda$registerProviders$2(DirectoryProviderSource.java:32) ~[paper-1.19.4.jar:git-Paper-471]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
at java.util.Iterator.forEachRemaining(Iterator.java:133) ~[?:?]
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at io.papermc.paper.plugin.provider.source.DirectoryProviderSource.registerProviders(DirectoryProviderSource.java:30) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paper.plugin.provider.source.DirectoryProviderSource.registerProviders(DirectoryProviderSource.java:14) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paper.plugin.util.EntrypointUtil.registerProvidersFromSource(EntrypointUtil.java:14) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paper.plugin.PluginInitializerManager.load(PluginInitializerManager.java:100) ~[paper-1.19.4.jar:git-Paper-471]
at net.minecraft.server.Main.main(Main.java:126) ~[paper-1.19.4.jar:git-Paper-471]
at org.bukkit.craftbukkit.Main.main(Main.java:309) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:42) ~[app:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: org.bukkit.plugin.InvalidPluginException: java.lang.IllegalArgumentException: plugins/TabList-v5.6.9.jar is not a valid plugin file, cannot load a plugin from it!
at io.papermc.paper.plugin.provider.source.FileProviderSource.checkUpdate(FileProviderSource.java:95) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paper.plugin.provider.source.FileProviderSource.registerProviders(FileProviderSource.java:49) ~[paper-1.19.4.jar:git-Paper-471]
... 20 more
Caused by: java.lang.IllegalArgumentException: plugins/TabList-v5.6.9.jar is not a valid plugin file, cannot load a plugin from it!
at io.papermc.paper.plugin.provider.source.FileProviderSource.getPluginName(FileProviderSource.java:104) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paper.plugin.provider.source.FileProviderSource.checkUpdate(FileProviderSource.java:76) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paper.plugin.provider.source.FileProviderSource.registerProviders(FileProviderSource.java:49) ~[paper-1.19.4.jar:git-Paper-471]
... 20 more
2.
[09:40:35 ERROR]: [DirectoryProviderSource] Error loading plugin: File 'plugins/PerWorldPlugins-1.3.3.jar' failed to load!
java.lang.RuntimeException: File 'plugins/PerWorldPlugins-1.3.3.jar' failed to load!
at io.papermc.paper.plugin.provider.source.FileProviderSource.registerProviders(FileProviderSource.java:59) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paper.plugin.provider.source.DirectoryProviderSource.lambda$registerProviders$2(DirectoryProviderSource.java:32) ~[paper-1.19.4.jar:git-Paper-471]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
at java.util.Iterator.forEachRemaining(Iterator.java:133) ~[?:?]
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at io.papermc.paper.plugin.provider.source.DirectoryProviderSource.registerProviders(DirectoryProviderSource.java:30) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paper.plugin.provider.source.DirectoryProviderSource.registerProviders(DirectoryProviderSource.java:14) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paper.plugin.util.EntrypointUtil.registerProvidersFromSource(EntrypointUtil.java:14) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paper.plugin.PluginInitializerManager.load(PluginInitializerManager.java:100) ~[paper-1.19.4.jar:git-Paper-471]
at net.minecraft.server.Main.main(Main.java:126) ~[paper-1.19.4.jar:git-Paper-471]
at org.bukkit.craftbukkit.Main.main(Main.java:309) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:42) ~[app:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: org.bukkit.plugin.InvalidPluginException: java.util.zip.ZipException: zip END header not found
at io.papermc.paper.plugin.provider.source.FileProviderSource.checkUpdate(FileProviderSource.java:95) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paper.plugin.provider.source.FileProviderSource.registerProviders(FileProviderSource.java:49) ~[paper-1.19.4.jar:git-Paper-471]
... 20 more
Caused by: java.util.zip.ZipException: zip END header not found
at java.util.zip.ZipFile$Source.findEND(ZipFile.java:1474) ~[?:?]
at java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1482) ~[?:?]
at java.util.zip.ZipFile$Source.(ZipFile.java:1320) ~[?:?]
at java.util.zip.ZipFile$Source.get(ZipFile.java:1282) ~[?:?]
at java.util.zip.ZipFile$CleanableResource.(ZipFile.java:709) ~[?:?]
at java.util.zip.ZipFile.(ZipFile.java:243) ~[?:?]
at java.util.zip.ZipFile.(ZipFile.java:172) ~[?:?]
at java.util.jar.JarFile.(JarFile.java:347) ~[?:?]
at java.util.jar.JarFile.(JarFile.java:318) ~[?:?]
at java.util.jar.JarFile.(JarFile.java:284) ~[?:?]
at io.papermc.paper.plugin.provider.source.FileProviderSource.getPluginName(FileProviderSource.java:101) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paper.plugin.provider.source.FileProviderSource.checkUpdate(FileProviderSource.java:76) ~[paper-1.19.4.jar:git-Paper-471]
at io.papermc.paper.plugin.provider.source.FileProviderSource.registerProviders(FileProviderSource.java:49) ~[paper-1.19.4.jar:git-Paper-471]
... 20 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.