Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nodoka4318/savatp
a simple teleport plugin for spigot servers
https://github.com/nodoka4318/savatp
Last synced: about 1 month ago
JSON representation
a simple teleport plugin for spigot servers
- Host: GitHub
- URL: https://github.com/nodoka4318/savatp
- Owner: Nodoka4318
- License: mit
- Created: 2024-01-08T12:21:48.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-18T08:39:29.000Z (11 months ago)
- Last Synced: 2024-01-18T12:23:43.483Z (11 months ago)
- Language: Kotlin
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SavaTP
a simple teleport command plugin for spigot servers## Commands
| Command | Description |
|---------------------|--------------------------------------------------|
| /savatp \ | Teleport to the point specified in arg-1 |
| /savatp set \ | Add current location to teleport points as arg-1 |
| /savatp list | List all teleport points |
| /savatp delete | Delete the point specified in arg-1 |
| /savaregister | Create player's api key |## REST-API
Each contexts can be customized by `plugins/SavaTP/config.json`.
### `GET /savapoints`- **Description:** Retrieve information about saved points.
- **Request:**
- Method: `GET`
- URL: `/savapoints`- **Response:**
- Body:
```json
{
"Locations": [
{
"X": ,
"Y": ,
"Z": ,
"Yaw": ,
"Pitch": ,
"World": "",
"Name": "",
"CreatorUUID": ""
},
// Additional points if available
]
}
```### `GET /deletepoint`
- **Description:** Delete a saved point.
- **Request:**
- Method: `GET`
- URL: `/deletepoint?key=&point=`- **Response:**
- Body:
```json
{
"status": "ok"
}
```
or
```json
{
"status": "ng"
}
```
- Status "ok" indicates successful deletion, and "ng" indicates failure.