Skip to content

Commit 0609fe2

Browse files
committed
Fixed broken links, new API URL
1 parent be74049 commit 0609fe2

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 2.2.3
4+
5+
Bug Fixes:
6+
7+
- Now uses correct API URL
8+
39
## 2.2.2
410

511
Bug Fixes:

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ You may run the script like so:
8888

8989
> python server_update.py [PATH]
9090
91-
Where [PATH] is the path to your paperclip.jar file. More info on the paperclip.jar format can be found
92-
[here](https://paper.readthedocs.io/en/latest/about/structure.html#id2).
91+
Where [PATH] is the path to your paperclip.jar file.
9392
By default, when a new file is downloaded,
9493
it will be installed to this path under the same name.
9594

@@ -100,7 +99,7 @@ This script only supports official builds of the paper server, meaning that we m
10099
information for un-official builds). If no configuration data is found, and version info is not supplied via the
101100
command line, then the version and build for the currently installed server will default to 0.
102101
2. Check for a new version/build using the
103-
[PaperMC download API](https://paper.readthedocs.io/en/latest/site/api.html#downloads-api).
102+
[PaperMC download API](https://docs.papermc.io/misc/downloads-api).
104103
3. If a new version/build is available, the default version and build(usually the latest) will be installed.
105104
If you wish to select a version/build to install, then you can use '--version' and '--build' arguments to specify this.
106105
Alternatively, the user can be prompted to manually select which version/build they want to be installed. You can use

server_update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
A Set of tools to automate the server update process.
3434
"""
3535

36-
__version__ = '2.2.2'
36+
__version__ = '2.2.3'
3737

3838
# These variables contain links for the script updating process.
3939

@@ -326,7 +326,7 @@ class Update:
326326

327327
def __init__(self):
328328

329-
self._base = 'https://papermc.io/api/v2/projects/paper' # Base URL to build of off
329+
self._base = 'https://api.papermc.io/v2/projects/paper' # Base URL to build of off
330330
self._headers = {
331331
'Content-Type': 'application/json;charset=UTF-8',
332332
'Accept': 'application/json, text/plain, */*',

0 commit comments

Comments
 (0)