Commit Graph

35 Commits

Author SHA1 Message Date
Neocky
afbc3e8029
Merge pull request #18 from ZandercraftGames/main
Error Handling To Address Paper Check Crashes
2021-05-19 21:08:45 +02:00
Zander
a08aab7ae4
Made paperVersionBehind display "N/A" instead of "False" for more clarity. 2021-05-15 19:05:29 -04:00
Zander
b31cca5e31
Fix findLatestBuild check returning false on a successful API response. 2021-05-15 19:02:09 -04:00
Neocky
edc300a33d Eggcracking for better name finding & added better version digging
Added:
- eggcracking to get plugin name
- better version find mechanism
2021-05-15 00:46:29 +02:00
Zander
11b4fdcbeb
Add error handling to "check serverjar" command on paper servers. Fixes use assignment issues when detection doesn't work. 2021-05-09 01:33:05 -04:00
Neocky
cb0282e676 Fixed array index out of range
Changes:
- fixed array index out of range error when checking/updating
2021-04-07 20:38:29 +02:00
Neocky
706b8049c3 Added custom header to download & better ftp error messages
Changes:
- added custom header to plugin download
- added better sftp/ftp error messages
- removed unnecessary sftp/ftp functions
2021-03-31 18:11:41 +02:00
Neocky
927767b0aa Added FTP support
Changes:
- added ftp support
- added ftp to every function which had already sftp interaction
- edited config
- added handle_ftp.py
fixed old configcheck() bugs
- added sftp/ftp to eggcrackingjar mechanism
- added new line input with enter
2021-03-30 23:55:04 +02:00
Neocky
31a2a4aa89 Added full linux support & better output when searching
Changes:
- added launcher.sh file to launch pluGET on linux
- beautified output when searching for a ressource
- deleted .vscode folder & added it to the .gitignore list
2021-03-28 16:15:03 +02:00
Neocky
205a13ee94 Optimized config handling & beautified output
Changes:
- optimized config handling
- added spinner to paper download
- changed progress bar colors
- better output for updating paper version
- misc code cleanup
2021-03-27 18:58:16 +01:00
Neocky
fddc0c252c Better config handling & better output for serverjar
Changes:
- better config handling
- better output for serverjar checking
2021-03-27 12:07:19 +01:00
Neocky
17611c741e Better output & first part of new config handling
Changes:
- better output when downloading files
- optimization when getting values from the config
2021-03-26 20:24:15 +01:00
Neocky
2a481acbef Fixed formating issues
Changes:
- fixed some formating issues
2021-03-23 18:32:20 +01:00
Neocky
e66985054c Removed debug print & text formating
Changes:
- removed debug prints
- changed some text formating
2021-03-21 16:37:25 +01:00
Neocky
e1efcc4fc7 Added help for all commands & general better output
Changes:
- added help fo all/specific commands
- unified the output of check/update
- beautified the output of check/update
- a little code cleanup
2021-03-21 14:30:27 +01:00
Neocky
01465eb769 Added new progress bar and some formating
Changes:
- added simple progress bar when checking/updating plugins
- misc code cleanup
- changed logo
2021-03-18 23:42:02 +01:00
Neocky
d7fc68195b Added eggcracking method and first progress bar tests
Changes:
- added eggcracking method for plugins
- plugins will be unzipped when they don't have a version in their name and the version will be searched inside the `plugin.yml` file
- added progress bar tests
- changed default paths in config
2021-03-18 00:03:07 +01:00
Neocky
76e1d7f5fd Fixed array was not created
Changes:
- fixed array would not be created for a plugin when plugin would throw a type- or valueerror
- deleted testing prints
- minor code cleanup
2021-03-16 21:10:09 +01:00
Neocky
430dbcd8d2 Finished paper support; Created independent paths
Changes:
- Created OS independent paths
- finished paper support
- created many catches for paper handling errors
2021-03-16 01:04:13 +01:00
Neocky
5e296e858f Added papermc support & fixing some issues
Changes:
- adding papermc support
- paper can be checked for an update
- can be updated to latest or specific version
- download specific paper version for different minecraft versions
2021-03-15 16:26:00 +01:00
Neocky
20261d110e Added catch for HTTPError and added papermc ground work
Changes:
- Added HTTPError catch when searching for a plugin
- Created first ground work for papermc server jar support
2021-03-15 01:20:18 +01:00
Neocky
1e7de3ac5a FileNotFoundError will catch when using SFTP 2021-03-14 21:07:06 +01:00
Neocky
662f303935 Catched FileNotfoundError & Plugins updated will now display correctly
Changes:
- Catched file not found error
- Plugins updated
- Updated wrong index numbers when updating
2021-03-14 20:21:26 +01:00
Neocky
7e9b5850be Fixed big duplicate array issue for a plugin; Added seperate download path
Changes:
- Fixed big issue where two arrays would be created for a plugin and then everything else would fail
- added seperate location for downloaded files
2021-03-14 13:25:13 +01:00
Neocky
8e41af6ec7 Searching for a plugin will now show them in an descending order 2021-03-13 23:44:01 +01:00
Neocky
0c06db576e Plugins are now searched after their downloads 2021-03-13 23:32:52 +01:00
Neocky
f359f1e241 Added waiting for input before exiting 2021-03-13 23:12:56 +01:00
Neocky
ddb5f1172e Made config path correct; Deleted unnecessary stuff; Beautified outpout; Plugin version now correct;
Changes:
- config path will always be correct
- deleted unnexessary stuff
- plugin version will display now correct
- changed some formating
- created SFTP check before launching
2021-03-13 22:09:32 +01:00
Neocky
3fed1580f8 Every plugin has now an array entry; Beautified the output
Changes:
- added latest version of plugin to installedplugin array
- fixed issue when array couldn't be created; Now the array will always be created
- added bright Green to console Output
- deleted debug output for the  innput
2021-03-13 19:21:03 +01:00
Neocky
ac561d92ce Split everything in sub packages; Created main function; Added many exception handlers for SFTP
Added:
- Split everything into sub packages
- created a main file: __main__.py
- added many exception handlings with SFTP

Edited:
- launcher.bat calls now the __main__.py file
2021-03-12 01:39:39 +01:00
Neocky
1aae4bf9d3 Removed error when yaml file is in plugin folder & created file in which the remove plugin function comes 2021-03-10 23:49:57 +01:00
Neocky
6915b213dc Added SFTP Support & Requirements check 2021-03-10 02:05:56 +01:00
Neocky
53ae3b5a64 Config support added; Added utilities.py; Clean up of code
Added:
- .ini config support
- lancher.bat to launch program
- added utilities.py for help function

Removed:
- old ununsed input handlers functions
- old ununsed download handler functions
- removed many print()s
2021-03-08 22:13:57 +01:00
Neocky
8212f66e90 New input system; Only one download function now; Specific plugin updater added and check for all installed plugins;
Removed:
- cloudscraper
- unnecessary functions

Added:
- new input system;
-> Now it is like a console
- general download function
- specific version updater
- check for updates on all installed version
2021-03-08 02:56:00 +01:00
Neocky
e698803c87 Renamed folder to src\; Added new input system and added a specific plugin downloader for testing 2021-03-07 01:49:57 +01:00