Skip to content

Commit 76f3c40

Browse files
committed
XpGet release
0 parents  commit 76f3c40

File tree

12 files changed

+786
-0
lines changed

12 files changed

+786
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.gradle
2+
.idea
3+
build

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 FlyawayMaking
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# XpGet
2+
3+
Плагин для Paper 1.21.8, который позволяет конвертировать ваш опыт в бутылочки опыта при наличии пустых стеклянных бутылочек. Поддерживает как фиксированное количество, так и автоматический расчёт максимума через команду `/xpget max`.
4+
5+
## ⚙️ Команда
6+
7+
| Команда | Описание |
8+
|----------|-----------|
9+
| `/xpget [количество|max]` | Конвертирует указанное количество опыта или максимально возможное |
10+
11+
### Примеры:
12+
- `/xpget 10` — создать 10 бутылочек опыта (если хватает опыта и бутылочек)
13+
- `/xpget max` — создать максимально возможное количество бутылочек
14+
15+
## 🧾 Права (Permissions)
16+
17+
| Право | По умолчанию | Описание |
18+
|-------|---------------|----------|
19+
| `xpget.use` | ✅ true | Разрешает использование команды `/xpget` |
20+
21+
## 📦 Установка
22+
23+
1. Скачайте **последний релиз** из раздела [Releases](../../releases)
24+
2. Поместите его в папку /plugins
25+
3. Перезапустите сервер
26+
4. Используйте команду `/xpget` в игре
27+
28+
---
29+
30+
## 📄 Лицензия
31+
32+
Плагин распространяется под лицензией MIT.

build.gradle

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
plugins {
2+
id 'java'
3+
}
4+
5+
group = 'com.flyaway.xpget'
6+
version = '1.0.0'
7+
8+
java {
9+
toolchain {
10+
languageVersion = JavaLanguageVersion.of(21)
11+
}
12+
}
13+
14+
repositories {
15+
mavenCentral()
16+
maven {
17+
name = "papermc"
18+
url = "https://repo.papermc.io/repository/maven-public/"
19+
}
20+
}
21+
22+
dependencies {
23+
compileOnly 'io.papermc.paper:paper-api:1.21.8-R0.1-SNAPSHOT'
24+
}
25+
26+
tasks.jar {
27+
archiveBaseName.set("XpGet")
28+
}

gradle/wrapper/gradle-wrapper.jar

44.4 KB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

gradlew

Lines changed: 248 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)