Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rrayy-25809/minigame-spawn
Minecraft server plugin that provides a feature of respawn found in almost minecraft minigame.
https://github.com/rrayy-25809/minigame-spawn
library minecraft-plugin minecraft-server minigames papermc spigot
Last synced: 14 days ago
JSON representation
Minecraft server plugin that provides a feature of respawn found in almost minecraft minigame.
- Host: GitHub
- URL: https://github.com/rrayy-25809/minigame-spawn
- Owner: rrayy-25809
- Created: 2023-01-30T12:30:46.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-27T11:27:29.000Z (over 1 year ago)
- Last Synced: 2024-11-17T06:36:02.579Z (3 months ago)
- Topics: library, minecraft-plugin, minecraft-server, minigames, papermc, spigot
- Language: Java
- Homepage:
- Size: 92.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# minigame-spawn
THIS PLUGIN IS ONLY SUPPORT KOREAN
대부분의 미니게임에서 사용하는 팀 스폰, 딜레이 스폰 같은 기능을 제공하는 플러그인 입니다.
This plugin implements functions such as the team spawn and delayed spawn used in most minigames.
## how to use it as plugin
이 플러그인은 크게 두 가지 기능이 있습니다, 바로 팀 스폰과 딜레이 스폰입니다.
This plugin has two main functions, team spawn and delayed spawn.
해당 플러그인은 config.yml 을 수정함으로써 두 기능을 키고 끌 수 있습니다.
this plugin can turn on and turn off functions as edit config.yml file
config.yml
```yml
team-respawn: true
delayed-respawn: true
respawn-delay: 10 #second
basic-team: true
```config.yml에서 ```team-respawn```을 ```true```로 설정 하셨다면, 같은 팀인 모든 플레이어가 같은 리스폰 위치를 공유합니다.
if you set ```team-respawn``` to ```true``` in config.yml, all players on the same team share the same respawn location.
리스폰 위치는 /teamspawn 명령어를 통해 설정 가능합니다.
The respawn location can be set using the /teamspawn command.
config.yml에서 ```delayed-respawn```을 ```true```로 설정 하셨다면, 특정 초 후에 리스폰 합니다.
if you set ```delayed-respawn``` to ```true``` in config.yml, You will respawn after a certain number of seconds.
리스폰 딜레이 기능은 config.yml에서 ```respawn-delay```을 수정하시거나 /delay 명령어를 통해 설정 가능합니다.
The respawn delay function can be set by modifying ```respawn-delay``` in config.yml or by using the /delay command.
## how to use it as library
해당 플러그인은 라이브러리로 불러와서 기능을 추가하고 응용하는 것이 가능합니다.
This plugin can add functions
### add library
gradle
```groovy
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.rrayy-25809:minigame-spawn:master-SNAPSHOT'
}
```gradle-kotlin
```kotlin
repositories {
maven("https://jitpack.io")
}dependencies {
implementation("com.github.rrayy-25809:minigame-spawn:master-SNAPSHOT")
}
```maven
```xml
jitpack.io
https://jitpack.io
com.github.rrayy-25809
minigame-spawn
master-SNAPSHOT
```### get plugin
java
```java
@Override
public void onEnable() {
PluginManager pluginManager = getServer().getPluginManager();
Plugin spawnPlugin = pluginManager.getPlugin("minigame-spawn");
if (spawnPlugin != null) {
spawn.setPlugin(this);
}
}
```kotlin
```kotlin
override fun onEnable() {
val pluginManager = server.pluginManager
val spawnPlugin = pluginManager.getPlugin("minigame-spawn")
if (spawnPlugin != null) {
spawn.setPlugin(this)
}
}
```