-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update the api, added "dev" version for development
- Loading branch information
1 parent
367abeb
commit 40064d9
Showing
6 changed files
with
40 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<p align="center"><img height="96px" width="224px" src="logo.png"> | ||
<h1 align="center">BastionCMD Server</h1> | ||
<p align="center"><strong>The server for BastionCMD</strong></p> | ||
This is the API for BastionCMD, containing all the information that is being pulled from the internet by the client. It contains files about the version, and also data for the actions. You can actually host this server yourself! Here's how you can do that: | ||
|
||
## Setting up the Server, so you can run it yourself. | ||
|
||
1. Paste the files from the server on any web server, so that you can view them in a browser. | ||
|
||
2. Go to the client, and edit `server.py`. You need to change the `server_url` string to the URL of your server. | ||
|
||
3. Everything should work correctly. Ask for help in our Discord server. | ||
|
||
> [!IMPORTANT] | ||
> These instructions are temporary, and will get changed sooner or later. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
Oh hey. This is the directory used for hosting <a href="https://www.github.com/BastionMC/BastionCMD">BastionCMD</a> static files. | ||
<br> | ||
<br> | ||
<strong>Files:</strong><br> | ||
• <a href="./version.json">version.json</a><br> | ||
• <a href="./update.json">update.json</a><br> | ||
• <a href="./action_data.json">action_data.json</a><br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<sub>BastionCMD v1.0 • BastionCMD is licensed under the MIT License. • Copyright (c) BastionMC 2024 • PRERELEASE - THIS IS NOT THE FINISHED VERSION OF THE SERVER</sub> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>BastionCMD API</title> | ||
<style>img {position:relative; top: 18px;height:48px}</style> | ||
</head> | ||
<body> | ||
Oh hey. This is the directory used for hosting <a href="https://www.github.com/BastionMC/BastionCMD">BastionCMD</a> data. | ||
<br><br> | ||
<strong>Files:</strong><br> | ||
<ul> | ||
<li><a href="./version.json">version.json</a></li> | ||
<li><a href="./update.json">update.json</a></li> | ||
<li><a href="./action_data.json">action_data.json</a></li> | ||
</ul> | ||
<br> | ||
<a href="https://github.com/BastionMC/BastionCMD/tree/main/server"><img src="logo.png"></a>v1.0 • Licensed under the <a href="https://github.com/BastionMC/BastionCMD/blob/main/LICENSE"><img src="license.svg"></a> • © BastionMC 2024</sub> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"latest": "1.0", | ||
"valid": [ | ||
"1.0" | ||
"1.0", | ||
"dev" | ||
] | ||
} |