Skip to content

Commit 6852978

Browse files
authored
V4 tweaks (#42)
1 parent 247320f commit 6852978

24 files changed

Lines changed: 86 additions & 124 deletions

docs/discord.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Discord Endpoint
2-
Accessed at https://api.earthmc.net/v3/aurora/discord?query=
2+
Accessed at https://api.earthmc.net/v4/discord
33

44
Determine a player's Discord ID from their Minecraft UUID and vice versa using DiscordSRV's link feature.
55
The player needs to have linked their account beforehand (`/discord link` in game).

docs/global-player-stats.md

Lines changed: 0 additions & 88 deletions
This file was deleted.

docs/location.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Location Endpoint
2-
Accessed at https://api.earthmc.net/v3/aurora/location
2+
Accessed at https://api.earthmc.net/v4/location
33

44
Get Towny-related information on a specific location, for instance if it belongs to a town.
55

docs/mysterymaster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Mystery Master Endpoint
2-
Accessed at https://api.earthmc.net/v3/aurora/mm
2+
Accessed at https://api.earthmc.net/v4/mm
33

44
The following is an example of the response to a **GET** request to the above URL.
55
```json5

docs/nations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Nations Endpoint
2-
Accessed at https://api.earthmc.net/v3/aurora/nations
2+
Accessed at https://api.earthmc.net/v4/nations
33

44
The following is an abridged version of the response to a **GET** request to the above URL which contains every currently registered Towny nation within a JSON array.
55
```json5

docs/nearby.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Nearby Endpoint
2-
Accessed at https://api.earthmc.net/v3/aurora/nearby
2+
Accessed at https://api.earthmc.net/v4/nearby
33

44
Returns an array of all the elements of type `search_type` (`TOWN`) in a given `radius` of a target location of type `target_type` (`TOWN`|`COORDINATE`).
55

docs/online.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Online Players Endpoint
2-
Accessed at https://api.earthmc.net/v3/aurora/online
2+
Accessed at https://api.earthmc.net/v4/online
33

44
Returns a JSON object with a count of how many players are online and their names and uuid. Players that have opted themselves out of appearing in the API will not
55
appear in the players array, but are included in the count.

docs/players.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Players Endpoint
2-
Accessed at https://api.earthmc.net/v3/aurora/players
2+
Accessed at https://api.earthmc.net/v4/players
33

44
The following is an abridged version of the response to a **GET** request to the above URL which contains every currently registered Towny resident within a JSON array.
55
```json5

docs/quarters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Quarters Endpoint
2-
Accessed at https://api.earthmc.net/v3/aurora/quarters
2+
Accessed at https://api.earthmc.net/v4/quarters
33

44
The following is an abridged version of the response to a **GET** request to the above URL which contains every currently registered quarter within a JSON array.
55
```json5

docs/server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Server Endpoint
2-
Accessed at https://api.earthmc.net/v3/aurora/
2+
Accessed at https://api.earthmc.net/v4/
33

44
The following is an example of the response to a **GET** request to the above URL.
55
```json5

0 commit comments

Comments
 (0)