Skip to content

Commit

Permalink
Renew the branch
Browse files Browse the repository at this point in the history
  • Loading branch information
wifi-left committed Apr 26, 2024
0 parents commit 2f497d3
Show file tree
Hide file tree
Showing 3,097 changed files with 31,197 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Bug 反馈 | Bug Feedback
description:
反馈一个 MiniGames 地图的错误。
title: "[Bug] "
labels: [bug]
body:
- type: markdown
attributes:
value: |
提交前请确认:
* 该问题确实是 **MiniGames 地图 的错误**,而**不算服务端的问题**。如果实在不确定,也可以直接发 Issue 询问。
* 你的地图版本是**最新的版本**。
如果你的问题并不属于上述两类,你可以选取另一种 Issue 类型,或者直接前往官方QQ群进行反馈:958572618
- type: textarea
id: server-platform
attributes:
label: 服务端信息
description: 请输入您遇到服务端信息。包含模组/插件列表等等。
placeholder: e.g. Fabric 1.20.4 + carpet
validations:
required: true
- type: textarea
id: client-platform
attributes:
label: 客户端信息
description: 请输入您遇到客户端端信息。包含模组/插件列表等等。
placeholder: e.g. Fabric 1.20.4 + sodium + carpet
validations:
required: true
- type: textarea
id: bug-report
attributes:
label: 问题描述
description: 请尽可能地详细描述你所遇到的问题,并描述如何重新触发这个问题。
placeholder: |
1. ...
validations:
required: true
- type: textarea
id: server-log
attributes:
label: 客户端/服务端日志
description: |
如果和服务端有关,请提供您的服务端日志。
如果和客户端有关,请提供您的客户端日志。
validations:
required: false
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
blank_issues_enabled: false
contact_links:
- name: QQ群
url: https://mcminigames.netlify.app/
about: 遇到问题,请优先前往QQ群提出。QQ群:958572618
- name: 官网
url: https://mcminigames.netlify.app/
about: MiniGames 地图的官网
- name: 赞助通道 Buy me a Coffee
url: https://afdian.net/@wifi_left
about: Buy me a Coffee.
- name: 其他反馈 | Others
url: https://github.com/wifi-left/Map-MiniGames/issues/new
about: 通过 Discussions 反馈其他问题。
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: 新功能 | New Features
description: 为 MiniGames地图 提出新功能
title: "[Feature] "
labels: [enhancement]
body:
- type: markdown
attributes:
value: 请确认 Issues 列表无重复的项目。
- type: textarea
id: description
attributes:
label: 描述 | Description
description: 请详细描述你想加入的新功能。
validations:
required: true
35 changes: 35 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master" ]

# Allows you to run this workflow manually from the Actions tab

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: windows-latest
name: Pack
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Archive the Map
shell: powershell
run: ./zip.ps1
- name: Create GitHub release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "v${{ env.versionD }}"
title: "${{ env.versionDetail }}"
prerelease: false
files: |
../build/*.zip
17 changes: 17 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'GitHub Actions Mirror'

on: [push, delete]

jobs:
mirror_to_gitlab:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v1
- name: 'Mirror to gitlab'
uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
[email protected]:wifi-left/Map-MiniGames.git
ssh_private_key:
${{ secrets.SSH_KEY2 }}
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/debug
/advancements
/DIM-1
/DIM1
/playerdata
/scripts
/stats
/level.dat_old
/build
/session.lock
/map_resourcepack
121 changes: 121 additions & 0 deletions LISENCE
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
Creative Commons Legal Code

CC0 1.0 Universal

CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.

Statement of Purpose

The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").

Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.

For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.

1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:

i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.

2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.

3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.

4. Limitations and Disclaimers.

a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
80 changes: 80 additions & 0 deletions QUICKPLAY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# 快速开始游戏(管理员)
## 快速加入(自己)
### 通常情况
#### 基本用法

其中 [] 为可选内容,<>为必选内容

```
/function [minecraft:]<游戏id>/join
```
例如:

小游戏合集:`/function small_games/total/join`

#### 游戏ID
删除线为正在制作或者已被删除。
|游戏名|ID|
|:----:|:----:|
|Battle Box|battle|
|信仰方块|believer|
|冰船|boat|
|赛车|car_race|
|色盲大战|color|
|星跳水立方|dropper|
|战桥|duel|
|~~高尔夫~~|golf|
|躲猫猫(道具)|hide2|
|躲猫猫(动物)|hideseek|
|烫手的山芋|hotpotever|
|饥饿游戏|hunger|
|职业战争|job_pvp|
|密室杀手|killerever|
|Live Longest|live|
|关卡跑酷|lpark|
|冬泳怪鸽|poolwar|
|五子棋|small_games/chess|
|小游戏合集|small_games/total|
|Snow|snow|
|TNT Wars|tntwars|
|狼人杀|twolf|
|Zombie Days(PVE)|zombieever|

### 例外
1. 生存游戏:
```
/function surgame:join
```

2. 起床战争
```
/function bedwars/message/join
```

## 返回大厅
命令:`/trigger hub`(全局,所有玩家可用)

或者
## 旁观者
### 命令
菜单:`/trigger spec`(全局,所有玩家可用)
### 小注
部分游戏~~不支持~~(有些可能忘写逻辑了,有些可能有BUG,发现这些请提交 Issue 或者反馈到 QQ 群)。
### 明确不支持
跑酷、迷宫

## 让其他玩家加入
可以调用 `execute`

语法为:
```
/execute as <玩家名称> run <加入命令(删掉最前面的“/”)>
```

例如:

小游戏合集

```
/execute as @a run function small_games/total/join
```
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# MiniGames
如果您想要使用此地图,请遵守:
1. 请不要删除任何原作者信息
2. 如果进行修改请添加明显提示
3. 不可商用

# 快速开始、强制进入游戏(管理员)
详见 [QUICKPLAY.md](QUICKPLAY.md)

# 反馈BUG
请在 GitHub Issue 或者qq群里反馈

# 关于对于部分插件的支持
我尝试支持了 `ViaVersion` 以及 `Geyser` 模组。

请使用 `/function via:use1_8` 命令启用支持

使用 `/function via:use1_18` 命令关闭支持

# 资源包的使用
您可以在服务器配置资源包的 GitHub / GitLab 直链达到自动下载资源包。

GitLab 下载速度更快。

GitLab 的 URL 为:[https://gitlab.com/wifi-left/Map-MiniGames/-/raw/master/resourcepack/MiniGameRes.zip?inline=false](https://gitlab.com/wifi-left/Map-MiniGames/-/raw/master/resourcepack/MiniGameRes.zip?inline=false)

GitHub 的 URL 为:[https://github.com/wifi-left/Map-MiniGames/raw/master/resourcepack/MiniGameRes.zip](https://github.com/wifi-left/Map-MiniGames/raw/master/resourcepack/MiniGameRes.zip)

# 目前待做列表
[To-do List](./todo.md)

# 服务端安装教程
1. [教程 - 服务器建设 - Minecraft Wiki](https://zh.minecraft.wiki/w/%E6%95%99%E7%A8%8B#%E6%9C%8D%E5%8A%A1%E5%99%A8%E8%AE%BE%E7%BD%AE)

请参考上述教程。
Loading

0 comments on commit 2f497d3

Please sign in to comment.