-
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.
- Loading branch information
1 parent
b6e0712
commit 58bd74d
Showing
3 changed files
with
85 additions
and
62 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 |
---|---|---|
@@ -1,3 +1,28 @@ | ||
/* | ||
You must accept Minecraft's End User Licence Agreement (EULA). | ||
It means please do not use any content that violates the EULA for commercial purposes! | ||
Accepting this licence means you also accept the Minecraft EULA(https://account.mojang.com/terms) | ||
If you violate the EULA, the developer is not liable for any damages. | ||
The developer is not responsible for you, and the developer is not obliged to write code for you, and is not liable for any consequences of your use. | ||
In addition, you are required to comply with the terms of the AGPL-3.0 (https://github.com/Nia-Server/NiaServer-Core/blob/main/LICENSE) open source licence for this project, and the related open source agreements used by all sub-projects of this project. | ||
If you do not accept these terms, please delete this project immediately. | ||
authors: NIANIANKNIA && jiansyuan | ||
email: [email protected] | ||
Project address: https://github.com/Nia-Server/NiaServer-Core/ | ||
If you have any problems with this project, please contact the authors. | ||
*/ | ||
|
||
#include <ctime> | ||
#include <iostream> | ||
|
@@ -121,9 +146,9 @@ signed int main(signed int argc, char** argv) { | |
else XINFO("语言配置已加载成功"); | ||
} | ||
|
||
INFO(X("NiaHttp-BOT 监听服务器已在 ") + IPAddress + ":" + std::to_string(ServerPort) + X(" 上成功启动!")); | ||
INFO(X("监听服务器已在 ") + IPAddress + ":" + std::to_string(ServerPort) + X(" 上成功启动!")); | ||
//如果配置文件中启用使用qq机器人,则输出qq机器人的监听端口 | ||
if (UseQQBot) INFO(X("NiaHttp-BOT 客户端已在 ") + IPAddress + ":" + std::to_string(ClientPort) + Locate + X(" 上成功启动!")); | ||
if (UseQQBot) INFO(X("客户端已在 ") + IPAddress + ":" + std::to_string(ClientPort) + Locate + X(" 上成功启动!")); | ||
XINFO("项目地址:https://github.com/Nia-Server/NiaServer-Core/tree/main/NIAHttpBOT"); | ||
XINFO("项目作者:@NIANIANKNIA @jiansyuan"); | ||
XINFO("在使用中遇到问题请前往项目下的 issue 反馈,如果觉得本项目不错不妨点个 star!"); | ||
|
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
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,30 +1,30 @@ | ||
//////////////////////////////////////////////////////////////////////////// | ||
//您必须接受 Minecraft 的最终用户许可协议(EULA). | ||
//它意味着请勿将任何违反 EULA 的内容用于商业用途 | ||
//接受这个许可证意味着您也接受了[Minecraft EULA](https://account.mojang.com/terms) | ||
//如果您违反了 EULA,任何法律责任都与开发者无关 | ||
//开发者不对您负责,开发者没有义务为你编写代码、为你使用造成的任何后果负责 | ||
//另外,您需要遵守本项目的AGPL-3.0(https://github.com/Nia-Server/NiaServer-Core/blob/main/LICENSE)开源许可证条款, 以及本项目所有子项目使用的相关开源协议 | ||
//如果您不接受这些条款,请立即删除本项目 | ||
//////////////////////////////////////////////////////////////////////////// | ||
//You must accept Minecraft's End User Licence Agreement (EULA). | ||
//It means please do not use any content that violates the EULA for commercial purposes! | ||
//Accepting this licence means you also accept the [Minecraft EULA](https://account.mojang.com/terms) | ||
//If you violate the EULA, the developer is not liable for any damages. | ||
//The developer is not responsible for you, and the developer is not obliged to write code for you, and is not liable for any consequences of your use. | ||
//In addition, you are required to comply with the terms of the AGPL-3.0 (https://github.com/Nia-Server/NiaServer-Core/blob/main/LICENSE) open source licence for this project, and the related open source agreements used by all sub-projects of this project. | ||
//If you do not accept these terms, please delete this project immediately. | ||
//////////////////////////////////////////////////////////////////////////// | ||
//作者: NIANIANKNIA && jiansyuan | ||
//email: [email protected] | ||
//项目地址:https://github.com/Nia-Server/NiaServer-Core/ | ||
//如果您在使用本项目时遇到任何问题,请联系作者 | ||
//////////////////////////////////////////////////////////////////////////// | ||
//authors: NIANIANKNIA && jiansyuan | ||
//email: [email protected] | ||
//Project address: https://github.com/Nia-Server/NiaServer-Core/ | ||
///If you have any problems with this project, please contact the authors | ||
//////////////////////////////////////////////////////////////////////////// | ||
/* | ||
Copyright (C) 2024 Nia-Server | ||
You must accept Minecraft's End User Licence Agreement (EULA). | ||
It means please do not use any content that violates the EULA for commercial purposes! | ||
Accepting this licence means you also accept the Minecraft EULA(https://account.mojang.com/terms) | ||
If you violate the EULA, the developer is not liable for any damages. | ||
The developer is not responsible for you, and the developer is not obliged to write code for you, and is not liable for any consequences of your use. | ||
In addition, you are required to comply with the terms of the AGPL-3.0 (https://github.com/Nia-Server/NiaServer-Core/blob/main/LICENSE) open source licence for this project, and the related open source agreements used by all sub-projects of this project. | ||
If you do not accept these terms, please delete this project immediately. | ||
authors: NIANIANKNIA && jiansyuan | ||
email: [email protected] | ||
Project address: https://github.com/Nia-Server/NiaServer-Core/ | ||
If you have any problems with this project, please contact the authors. | ||
*/ | ||
|
||
import './chat.js' | ||
import './menu/main.js' | ||
|