Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c493f18efa | ||
|
|
d387424e0f | ||
|
|
01205de952 | ||
|
|
b3b0ae042b | ||
|
|
876b9cd005 | ||
|
|
d71f15086d | ||
|
|
1409fe5e21 | ||
|
|
f03c10f785 | ||
|
|
9834a9d6da | ||
|
|
902f8ed43c | ||
|
|
d6ed6544db | ||
|
|
30427f7bb3 | ||
|
|
798abcc0f2 | ||
|
|
6df2548399 | ||
|
|
d1618d45c8 | ||
|
|
c25050b88a | ||
|
|
b7f689c726 | ||
|
|
d11fef0032 | ||
|
|
f5b14ffd6f | ||
|
|
8e28d518c3 | ||
|
|
2c3602f271 | ||
|
|
4ff55a3736 | ||
|
|
10f5fb03a7 | ||
|
|
f7b274a794 | ||
|
|
9f9d064139 | ||
|
|
f571c9e8f8 | ||
|
|
a7134aaaba | ||
|
|
ebdd4e22bc | ||
|
|
738f6d0218 | ||
|
|
da3dfd717a | ||
|
|
38c51a9beb | ||
|
|
3ba519b53d | ||
|
|
25a3f62b06 | ||
|
|
eeb5b5e74f | ||
|
|
47915c6dd8 | ||
|
|
b398a706fe | ||
|
|
15b875a723 | ||
|
|
de97f3dea7 | ||
|
|
42b0cf8279 | ||
|
|
1c39ab5557 | ||
|
|
38c7327291 | ||
|
|
ff9336c8d1 | ||
|
|
3567a93918 | ||
|
|
615b404ce6 | ||
|
|
a2f3260854 | ||
|
|
48648c5632 | ||
|
|
10f2a66e3a | ||
|
|
e196507634 | ||
|
|
b208dc8592 | ||
|
|
f2f2fb3353 | ||
|
|
5429c91498 | ||
|
|
40febaf7e2 | ||
|
|
9039dcc9ad | ||
|
|
8f1a1de252 | ||
|
|
d107835455 | ||
|
|
a09dad30ec | ||
|
|
18a1991af9 | ||
|
|
6e03ffa962 | ||
|
|
66a95c48fa | ||
|
|
51559f12ed | ||
|
|
605d7f44d5 | ||
|
|
75668031e0 | ||
|
|
3248ad9e8d | ||
|
|
c59e37ef68 | ||
|
|
db4255a0ad | ||
|
|
5e2ae5ba0a | ||
|
|
afeb22422e | ||
|
|
9b84b18952 | ||
|
|
3e32e3af32 | ||
|
|
da6fe6cb33 | ||
|
|
37538a9632 | ||
|
|
e0b63ee2e4 | ||
|
|
d4b5aa350f | ||
|
|
b34d74a62e | ||
|
|
1f36b22916 | ||
|
|
e19378d815 | ||
|
|
4720f3b4b6 | ||
|
|
4832b259a5 | ||
|
|
0ea27c815c | ||
|
|
8510e601d9 | ||
|
|
603ece2f7b | ||
|
|
2e9c2b2579 | ||
|
|
bd47187b95 | ||
|
|
4d94218e22 | ||
|
|
2c8260191f | ||
|
|
85b6aa8d88 | ||
|
|
6f5b7d7fcf | ||
|
|
49a2057705 | ||
|
|
25b3716fdc | ||
|
|
1d84f5ffe7 | ||
|
|
9313fb2e7a | ||
|
|
2426d4654f | ||
|
|
5284253ce8 | ||
|
|
d3a17ff5f1 | ||
|
|
fbdd42a856 | ||
|
|
12786cb553 | ||
|
|
0e99638960 | ||
|
|
4f476e478e | ||
|
|
e7a90e5a82 |
@@ -6,21 +6,29 @@
|
||||
|
||||
<groupId>de.mviper</groupId>
|
||||
<artifactId>IngameShopSpigot</artifactId>
|
||||
<version>1.0</version>
|
||||
<version>1.2</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>IngameShopSpigot</name>
|
||||
|
||||
<repositories>
|
||||
<!-- PaperMC Repository -->
|
||||
<repository>
|
||||
<id>papermc</id>
|
||||
<url>https://repo.papermc.io/repository/maven-public/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<!-- Spigot API -->
|
||||
<!-- Paper API (enthält Spigot + Adventure + Paper-Events) -->
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<groupId>io.papermc.paper</groupId>
|
||||
<artifactId>paper-api</artifactId>
|
||||
<version>1.20.1-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Vault fEconomy -->
|
||||
<!-- Vault Economy -->
|
||||
<dependency>
|
||||
<groupId>net.milkbowl.vault</groupId>
|
||||
<artifactId>VaultAPI</artifactId>
|
||||
@@ -42,7 +50,7 @@
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- Shade Plugin optional fAbh-->
|
||||
<!-- Shade Plugin -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
@@ -61,4 +69,4 @@
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
</project>
|
||||
@@ -1,15 +1,74 @@
|
||||
# Hier nur die Domain eingeben (ohne /wp-json am Ende)
|
||||
wordpress-url: "<Wordpress URL>"
|
||||
# IngameShopSpigot v6.4 Konfiguration
|
||||
# ==========================================
|
||||
|
||||
# WICHTIG: Der Name des Servers, wie er in WordPress hinterlegt ist (Slug).
|
||||
# Damit wird verhindert, dass ein Spieler auf Lobby etwas für Survival kauft und es dort erhält.
|
||||
server-name: "Lobby"
|
||||
# Deine WordPress-URL (kein abschließendes /)
|
||||
wordpress-url: "https://deine-domain.de"
|
||||
|
||||
# Name der Währung (ersetze Coins durch deinen Namen, z.B. Dollar, Points, etc.)
|
||||
currency-name: "Euro"
|
||||
# API-Key aus den WordPress-Einstellungen:
|
||||
# Ingame Shop → Einstellungen → 🔑 Spigot API-Key → Kopieren
|
||||
api-key: "HIER_DEN_KEY_AUS_WORDPRESS_EINTRAGEN"
|
||||
|
||||
# Alle wie viel Sekunden (ticks) nach neuen Bestellungen gesucht werden soll (Standard: 10 Sekunden)
|
||||
check-interval: 5
|
||||
# Name dieses Servers (muss mit dem Server-Slug in WordPress übereinstimmen)
|
||||
server-name: "survival"
|
||||
|
||||
# Debug Modus (true/false)
|
||||
debug-mode: true
|
||||
# Währungsname (muss mit WordPress-Einstellung übereinstimmen)
|
||||
currency-name: "$"
|
||||
|
||||
# Wie oft (in Sekunden) nach ausstehenden Bestellungen gesucht wird
|
||||
check-interval: 10
|
||||
|
||||
# Debug-Modus (ausführliche Logs in der Konsole)
|
||||
debug-mode: false
|
||||
|
||||
# Fly-Code-Einlösung auf diesem Server deaktivieren
|
||||
# true = Codes können hier NICHT eingelöst werden (z.B. Lobby, Hub, Event-Server)
|
||||
# false = Codes können normal eingelöst werden (Standard)
|
||||
fly-redeem-disabled: false
|
||||
|
||||
# Spieler der die Einnahmen aus dem Shop erhält (Vault-Konto)
|
||||
# Leer lassen ("") wenn niemand die Einnahmen erhalten soll
|
||||
income-receiver: ""
|
||||
|
||||
# MySQL-Verbindung (für Fly-Code-System, Rang-Sessions, Fly-Abo und Plot-Slots)
|
||||
mysql:
|
||||
host: "localhost"
|
||||
port: "3306"
|
||||
database: "minecraft"
|
||||
username: "root"
|
||||
password: "DEIN_PASSWORT"
|
||||
|
||||
# ──────────────────────────────────────────────
|
||||
# Ankauf-Einstellungen (Spieler verkaufen Items)
|
||||
# ──────────────────────────────────────────────
|
||||
sell:
|
||||
# Ankauf auf diesem Server aktivieren
|
||||
enabled: true
|
||||
# Preiskorrektur relativ zum WP-Ankaufspreis (in Prozent)
|
||||
# Beispiele:
|
||||
# 0.0 → exakt den WP-Ankaufspreis zahlen
|
||||
# -10.0 → 10 % weniger als der WP-Ankaufspreis
|
||||
# +5.0 → 5 % mehr als der WP-Ankaufspreis
|
||||
price-offset: -10.0
|
||||
|
||||
# ──────────────────────────────────────────────
|
||||
# Fly-Abo Einstellungen
|
||||
# ──────────────────────────────────────────────
|
||||
fly-abo:
|
||||
# Maximale Fly-Zeit pro Tag in Stunden (Standard: 6)
|
||||
max-daily-hours: 6
|
||||
|
||||
# ──────────────────────────────────────────────
|
||||
# Plot-Slot Einstellungen (nur Citybuild)
|
||||
# ──────────────────────────────────────────────
|
||||
plot-slots:
|
||||
# Auf welchem Server greift das Plot-Slot-System?
|
||||
# Muss mit server-name des Citybuild-Servers übereinstimmen
|
||||
server: "citybuild"
|
||||
# Standard-Plot-Slots pro LuckPerms-Gruppe
|
||||
# LuckPerms Meta "plotlimit" wird automatisch gesetzt und von
|
||||
# PlotSquared über die Option "max-plots-per-player: -1" + Meta gelesen
|
||||
rank-defaults:
|
||||
member: 2
|
||||
vip: 3
|
||||
scout: 4
|
||||
primo: 5
|
||||
@@ -1,25 +1,152 @@
|
||||
name: IngameShopSpigot
|
||||
version: 1.2
|
||||
main: de.mviper.spigot.IngameShopSpigot
|
||||
version: 1.0
|
||||
api-version: "1.20"
|
||||
api-version: 1.19
|
||||
depend: [Vault]
|
||||
softdepend: [BCEconomy, NexEco]
|
||||
description: Verbindet den WP Ingame Shop Pro mit dem Spigot-Server
|
||||
author: M_Viper
|
||||
description: Ingame-Shop Plugin (Spigot) empfPlugin-Messages vom Bungee und vergibt Items / zieht Geld via Vault.
|
||||
|
||||
# Vault ist optional, daher softdepend
|
||||
softdepend:
|
||||
- Vault
|
||||
|
||||
# Beispiel-Command (optional, kann in Java implementiert werden)
|
||||
commands:
|
||||
ingameshop:
|
||||
description: oder testet den IngameShop (Admin/Debug)
|
||||
usage: /ingameshop
|
||||
orders:
|
||||
description: Zeigt deine letzten Bestellungen im Shop an
|
||||
usage: /orders
|
||||
permission: ingameshop.orders
|
||||
flytime:
|
||||
description: Zeigt deine aktive verbleibende Fly-Zeit an
|
||||
usage: /flytime
|
||||
permission: ingameshop.flytime
|
||||
flyredeem:
|
||||
description: Löst einen Fly-Gutschein-Code ein
|
||||
usage: /flyredeem <Code>
|
||||
permission: ingameshop.flyredeem
|
||||
flycodes:
|
||||
description: Öffnet ein GUI mit deinen ungenutzten Fly-Gutscheinen
|
||||
usage: /flycodes
|
||||
permission: ingameshop.flycodes
|
||||
flygive:
|
||||
description: Gibt einem Spieler einen Fly-Gutschein-Code (Admin)
|
||||
usage: /flygive <Spieler> <Sekunden> [Label]
|
||||
permission: ingameshop.flygive
|
||||
flypause:
|
||||
description: Pausiert oder setzt die aktive Fly-Zeit fort
|
||||
usage: /flypause
|
||||
permission: ingameshop.flypause
|
||||
rankinfo:
|
||||
description: Zeigt deine aktiven zeitbasierten Ränge an
|
||||
usage: /rankinfo
|
||||
permission: ingameshop.rankinfo
|
||||
sell:
|
||||
description: Verkauft Items an den Shop (GUI, /sell hand, /sell all)
|
||||
usage: /sell [hand|all]
|
||||
permission: ingameshop.sell
|
||||
wpis:
|
||||
description: IngameShop Admin-Befehle
|
||||
usage: /wpis <reload>
|
||||
permission: ingameshop.reload
|
||||
abo:
|
||||
description: Zeigt eine Übersicht aller deiner laufenden Abonnements
|
||||
usage: /abo
|
||||
permission: ingameshop.abo
|
||||
flyabo:
|
||||
description: Zeigt deinen Fly-Abo Status und heutiges Tageslimit
|
||||
usage: /flyabo
|
||||
permission: ingameshop.flyabo
|
||||
flyabocancel:
|
||||
description: Kündigt dein Fly-Abo zum Monatsende
|
||||
usage: /flyabocancel [confirm]
|
||||
permission: ingameshop.flyabocancel
|
||||
flyabogive:
|
||||
description: Gibt einem Spieler ein Fly-Abo manuell (Admin)
|
||||
usage: /flyabogive <Spieler> <Monatspreis> [Label]
|
||||
permission: ingameshop.flyabogive
|
||||
plotslots:
|
||||
description: Zeigt deine aktuellen Plot-Slots (Basis + Extra + Abo)
|
||||
usage: /plotslots
|
||||
permission: ingameshop.plotslots
|
||||
plotabo:
|
||||
description: Zeigt deinen Plot-Abo Status
|
||||
usage: /plotabo
|
||||
permission: ingameshop.plotabo
|
||||
plotabocancel:
|
||||
description: Kündigt dein Plot-Abo zum Monatsende
|
||||
usage: /plotabocancel [confirm]
|
||||
permission: ingameshop.plotabocancel
|
||||
plotabogive:
|
||||
description: Gibt einem Spieler ein Plot-Abo manuell (Admin)
|
||||
usage: /plotabogive <Spieler> <Slots> <Monatspreis> [Label]
|
||||
permission: ingameshop.plotabogive
|
||||
plotslotsgive:
|
||||
description: Gibt einem Spieler permanente Plot-Slots (Admin)
|
||||
usage: /plotslotsgive <Spieler> <Slots> [Label]
|
||||
permission: ingameshop.plotslotsgive
|
||||
itemabocancel:
|
||||
description: Kündigt ein bestimmtes Item-Abo anhand der Nummer aus /abo
|
||||
usage: /itemabocancel <Nr> [confirm]
|
||||
permission: ingameshop.itemabocancel
|
||||
mycoupons:
|
||||
description: Zeigt deine ungenutzten Gutschein-Karten
|
||||
usage: /mycoupons
|
||||
permission: ingameshop.mycoupons
|
||||
|
||||
# Beispiel-Permissions (anpassbar)
|
||||
permissions:
|
||||
ingameshop.admin:
|
||||
description: Zugriff auf Admin-Funktionen des IngameShops
|
||||
ingameshop.orders:
|
||||
description: Kann eigene Bestellhistorie einsehen
|
||||
default: true
|
||||
ingameshop.flytime:
|
||||
description: Kann aktive Fly-Zeit abfragen
|
||||
default: true
|
||||
ingameshop.flyredeem:
|
||||
description: Kann Fly-Codes einlösen
|
||||
default: true
|
||||
ingameshop.flycodes:
|
||||
description: Kann eigene ungenutzte Fly-Codes auflisten
|
||||
default: true
|
||||
ingameshop.flygive:
|
||||
description: Kann Spielern Fly-Gutscheine geben (Admin)
|
||||
default: op
|
||||
ingameshop.use:
|
||||
description: Basisrecht, um Shop-Features zu nutzen
|
||||
ingameshop.flypause:
|
||||
description: Kann die eigene Fly-Zeit pausieren
|
||||
default: true
|
||||
ingameshop.rankinfo:
|
||||
description: Kann eigene aktive Ränge einsehen
|
||||
default: true
|
||||
ingameshop.sell:
|
||||
description: Kann Items an den Shop verkaufen
|
||||
default: true
|
||||
ingameshop.reload:
|
||||
description: Kann die IngameShop-Config live neu laden
|
||||
default: op
|
||||
ingameshop.abo:
|
||||
description: Kann eigene Abo-Übersicht einsehen
|
||||
default: true
|
||||
ingameshop.flyabo:
|
||||
description: Kann eigenen Fly-Abo-Status einsehen
|
||||
default: true
|
||||
ingameshop.flyabocancel:
|
||||
description: Kann eigenes Fly-Abo kündigen
|
||||
default: true
|
||||
ingameshop.flyabogive:
|
||||
description: Kann Spielern Fly-Abos manuell vergeben (Admin)
|
||||
default: op
|
||||
ingameshop.plotslots:
|
||||
description: Kann eigene Plot-Slot Übersicht einsehen
|
||||
default: true
|
||||
ingameshop.plotabo:
|
||||
description: Kann eigenen Plot-Abo-Status einsehen
|
||||
default: true
|
||||
ingameshop.plotabocancel:
|
||||
description: Kann eigenes Plot-Abo kündigen
|
||||
default: true
|
||||
ingameshop.plotabogive:
|
||||
description: Kann Spielern Plot-Abos manuell vergeben (Admin)
|
||||
default: op
|
||||
ingameshop.plotslotsgive:
|
||||
description: Kann Spielern permanente Plot-Slots vergeben (Admin)
|
||||
default: op
|
||||
ingameshop.itemabocancel:
|
||||
description: Kann eigenes Item-Abo kündigen
|
||||
default: true
|
||||
ingameshop.mycoupons:
|
||||
description: Kann eigene Gutschein-Karten einsehen
|
||||
default: true
|
||||
|
After Width: | Height: | Size: 932 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 580 B |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 781 B |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 873 B |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 721 B |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 390 B |
|
After Width: | Height: | Size: 895 B |
|
After Width: | Height: | Size: 658 B |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 903 B |
|
After Width: | Height: | Size: 764 B |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 825 B |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 790 B |
|
After Width: | Height: | Size: 833 B |
|
After Width: | Height: | Size: 648 B |
|
After Width: | Height: | Size: 846 B |
|
After Width: | Height: | Size: 744 B |
|
After Width: | Height: | Size: 844 B |
|
After Width: | Height: | Size: 635 B |
|
After Width: | Height: | Size: 977 B |
|
After Width: | Height: | Size: 808 B |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 711 B |
|
After Width: | Height: | Size: 804 B |
|
After Width: | Height: | Size: 683 B |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 879 B |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 963 B |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 909 B |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 566 B |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 787 B |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 840 B |
|
After Width: | Height: | Size: 789 B |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 731 B |
|
After Width: | Height: | Size: 614 B |
|
After Width: | Height: | Size: 656 B |
|
After Width: | Height: | Size: 786 B |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 937 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 625 B |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 805 B |
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 854 B |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 736 B |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 5.7 KiB |