Skip to content

Commit

Permalink
DecentHolograms
Browse files Browse the repository at this point in the history
  • Loading branch information
“postyizhan” committed Nov 29, 2024
1 parent 76e96d5 commit 03fe220
Show file tree
Hide file tree
Showing 7 changed files with 124 additions and 14 deletions.
138 changes: 124 additions & 14 deletions docs-java/process/plugin/other/Holograms/DecentHolograms.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,69 @@ sidebar_position: 2

# DecentHolograms

[![](https://img.shields.io/github/v/release/DecentSoftware-eu/DecentHolograms)](https://github.com/DecentSoftware-eu/DecentHolograms/releases)
[![](https://img.shields.io/spiget/downloads/96927?label=Downloads)](https://www.spigotmc.org/resources/.96927)
[![](https://img.shields.io/github/languages/code-size/DecentSoftware-eu/DecentHolograms)](https://github.com/DecentSoftware-eu/DecentHolograms)
[![](https://img.shields.io/github/license/DecentSoftware-eu/DecentHolograms)](https://github.com/DecentSoftware-eu/DecentHolograms/blob/main/LICENSE)

```text
一个轻量级但功能强大的全息图插件,具有许多功能和配置项。
```

## 照骗

![](_images/DecentHolograms/DecentHolograms_1.png)

![](_images/DecentHolograms/DecentHolograms_2.png)

![](_images/DecentHolograms/DecentHolograms_3.png)

![](_images/DecentHolograms/DecentHolograms_4.png)

### 伤害显示

启用:`/dh feature on healing_display`

![](_images/DecentHolograms/DecentHolograms_5.png)

### 回血显示

启用:`/dh feature on damage_display`

![](_images/DecentHolograms/DecentHolograms_6.png)

## 支持

我们(指插件维护方)在 Discord 非常活跃,因此获得支持的最佳方式是加入我们的 Discord 服务器。此外,可以在 GitHub 上或本插件的 Spigot 页面 的 “讨论” 页面上反馈问题

注:国内无法访问 Discord,需要挂梯

## Minecraft 本身限制

- 文本始终转向玩家
- 无法更改文本大小或字体
- 有些实体会发出声音,如 坚守者
- 图标(#ICON:)(即浮空物品)会旋转和上下摆动

这些是 Minecraft 本身限制,插件本身没有办法解决
但搬运者(我)有一点歪门邪道

- AdvancedGUI “文本"固定,不再转向玩家
- [资源包做字体(ia文档)](https://itemsadder.devs.beer/v/chinese/plugin-usage/adding-content/fonts) 使用资源包来改变字体

## 汉化

插件命令帮助写死在代码里了,不能在语言文件汉化

你可以在 MineBBS 或我 fork 的仓库的 GitHub actions 下载内核汉化版本

汉化仓库:https://github.com/postyizhan/DecentHolograms-CN

## 链接

:::info

`SpigotMC` https://www.spigotmc.org/resources/.96927/
`SpigotMC` https://www.spigotmc.org/resources/.96927

`Modrinth` https://modrinth.com/plugin/decentholograms

Expand All @@ -19,18 +79,68 @@ sidebar_position: 2

`文档(中文)` https://snowcutieowo.github.io/DecentHolograms/README.html

`插件百科` https://mineplugin.org/Tab

:::

目前主流的全息图插件,简称 dh 。

纯发包,不占服务器资源。

可以自定义全息图动效,还能展示各种实体和物品。

支持交互,甚至可以用它来做菜单。

详细请看 [wiki](https://wiki.decentholograms.eu/),比较好上手

内核汉化请看上方 MineBBS 帖子
## 贡献 ![](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)
欢迎提交 pr !但对于重大的更改,请先创建一个 issues 来讨论此更改

## 构建
你需要使用 JDK 8+, Gradle, Git 和 IDE 或 命令行 二选一

1. 使用 Git 将项目克隆到你的机器上
2. 使用 IDE 或 命令行打开本地克隆项目
3. 执行 `gradle clean shadowJar` 将会开始构建
4. 你可以在 `./build/libs/DecentHolograms-VERSION.jar` 找到构建

## API ![](https://jitpack.io/v/decentsoftware-eu/decentholograms.svg)

如何在您的项目中引入 DecentHolograms API

```
用 DecentHolograms 当前版本替换 VERSION (Latest release)
```

Check failure on line 103 in docs-java/process/plugin/other/Holograms/DecentHolograms.md

View workflow job for this annotation

GitHub Actions / deploy

Fenced code blocks should have a language specified

docs-java/process/plugin/other/Holograms/DecentHolograms.md:103 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md040.md

Check failure on line 103 in docs-java/process/plugin/other/Holograms/DecentHolograms.md

View workflow job for this annotation

GitHub Actions / deploy

Fenced code blocks should have a language specified

docs-java/process/plugin/other/Holograms/DecentHolograms.md:103 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"] https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md040.md

<details>
<summary>maven</summary>

```maven
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
```

```maven
<dependencies>
<dependency>
<groupId>com.github.decentsoftware-eu</groupId>
<artifactId>decentholograms</artifactId>
<version>VERSION</version>
<scope>provided</scope>
</dependency>
</dependencies>
```
</details>

<details>
<summary>Gradle</summary>

```Gradle
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
compileOnly 'com.github.decentsoftware-eu:decentholograms:VERSION'
}
```

</details>

## bStats​

![](https://bstats.org/signatures/bukkit/DecentHolograms.svg)
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.
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.
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.

0 comments on commit 03fe220

Please sign in to comment.