13 Commits
5.0 ... 6.8

Author SHA1 Message Date
Jakob Grundgeir
7a335a0b79 „README.md“ ändern 2022-07-18 16:27:14 +02:00
Jakob Grundgeir
52ab308ade „README.md“ ändern 2022-07-18 00:39:39 +02:00
Jkobs
f50ad9e8bb v 6.6 2022-07-14 23:35:45 +02:00
Jakob Grundgeir
be5abaf47d „Configs/config.yml“ ändern 2022-07-14 09:30:46 +02:00
Jkobs
8c08605940 Changes 2022-07-11 17:38:34 +02:00
Jakob Grundgeir
5f61bc894c „Configs/GUIs/shop.yml“ ändern 2022-05-20 20:21:07 +02:00
Jakob Grundgeir
fe2c061d7e „Configs/messages.yml“ ändern 2022-05-20 20:20:23 +02:00
Jakob Grundgeir
3f40aab928 „Configs/config.yml“ ändern 2022-05-20 20:20:11 +02:00
Jkobs
a224499f37 Update README.md 2022-05-19 15:37:23 +02:00
Jakob Grundgeir
cb4185d471 „Configs/messages.yml“ ändern 2022-05-17 20:00:54 +02:00
Jakob Grundgeir
fc97f719c2 „Configs/config.yml“ ändern 2022-05-17 16:46:08 +02:00
Jakob Grundgeir
a32d8ec5c7 „README.md“ ändern 2022-05-17 16:45:23 +02:00
Jakob Grundgeir
454c4af1e5 „README.md“ ändern 2022-05-17 03:41:02 +02:00
8 changed files with 324 additions and 27 deletions

View File

@@ -10,6 +10,8 @@ Slots:
# Action to be performed when the item is clicked.
# Possible actions: activate, activate_step1, activate_step2,activate_step3,
Action: activate
# Sound on click
Sound: 'placeholder'
14:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -35,6 +37,8 @@ Slots:
# Action to be performed when the item is clicked.
# Possible actions: activate, activate_step1, activate_step2,activate_step3,
Action: activate_step1
# Sound on click
Sound: 'placeholder'
15:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -60,6 +64,8 @@ Slots:
# Action to be performed when the item is clicked.
# Possible actions: activate, activate_step1, activate_step2,activate_step3,
Action: activate_step2
# Sound on click
Sound: 'placeholder'
16:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -85,6 +91,8 @@ Slots:
# Action to be performed when the item is clicked.
# Possible actions: activate, activate_step1, activate_step2,activate_step3,
Action: activate_step3
# Sound on click
Sound: 'placeholder'
27:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -106,6 +114,8 @@ Slots:
# Action to be performed when the item is clicked.
# Possible Actions: shop (Requires Count, Booster[XP, Break, Drop, Mob, Fly] and Price), back
Action: back
# Sound on click
Sound: 'placeholder'
# This item is set in all places where no item is stored.
Background:
Enabled: true

View File

@@ -30,6 +30,8 @@ Slots:
# Action to be performed when the item is clicked.
# Possible actions: accept, deny, close
Action: accept
# Sound on click
Sound: 'placeholder'
25:
# The type defines what properties the slot has. Types: Material or Skull
Type: Material
@@ -42,6 +44,8 @@ Slots:
# Action to be performed when the item is clicked.
# Possible actions: accept, deny, close
Action: deny
# Sound on click
Sound: 'placeholder'
# This item is set in all places where no item is stored.
Background:
Enabled: true

View File

@@ -59,6 +59,8 @@ Slots:
Action: activate_break
# Permission to display the item
Permission: 'booster.break'
# Sound on click
Sound: 'placeholder'
31:
# The type defines what properties the slot has. Types: Material or Skull
Type: Material
@@ -75,6 +77,8 @@ Slots:
Action: activate_drop
# Permission to display the item
Permission: 'booster.drop'
# Sound on click
Sound: 'placeholder'
32:
# The type defines what properties the slot has. Types: Material or Skull
Type: Material
@@ -91,6 +95,8 @@ Slots:
Action: activate_fly
# Permission to display the item
Permission: 'booster.fly'
# Sound on click
Sound: 'placeholder'
33:
# The type defines what properties the slot has. Types: Material or Skull
Type: Material
@@ -107,11 +113,13 @@ Slots:
Action: activate_mob
# Permission to display the item
Permission: 'booster.mob'
# Sound on click
Sound: 'placeholder'
34:
# The type defines what properties the slot has. Types: Material or Skull
Type: Material
# The material of the item. (Can be made visible in the client with F3 + H).
Material: experience_bottle
Material: 'placeholder_xp'
# The name of the item
Title: '&6XP-Booster'
# Lore of the item.
@@ -123,6 +131,8 @@ Slots:
Action: activate_xp
# Permission to display the item
Permission: 'booster.xp'
# Sound on click
Sound: 'placeholder'
39:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull

110
Configs/GUIs/selection.yml Normal file
View File

@@ -0,0 +1,110 @@
# GUI title
Title: '&4Booster'
# Number of rows in the GUI
Rows: 3
# This item is set in all places where no item is stored.
Background:
Enabled: true
Material: 'placeholder'
Slots:
# The number represents the slot of the item
12:
# The type defines what properties the slot has. Types: Material or Skull
Type: Material
# The material of the item. (Can be made visible in the client with F3 + H).
Material: iron_pickaxe
# The name of the item
Title: '&6Break-Booster'
# Lore of the item.
Lore:
- '&8--------------------'
- '&aKlicke, um einen &6Break-Booster &2zu bekommen'
# Action to be performed when the item is clicked.
# Possible Actions: get (Requires Booster[XP, Break, Drop, Mob, Fly])
Action: get
# Possible Types: XP, Break, Drop, Mob, Fly
Booster: Break
# Permission to display the item
Permission: 'booster.break'
# Sound on click
Sound: 'placeholder'
13:
# The type defines what properties the slot has. Types: Material or Skull
Type: Material
# The material of the item. (Can be made visible in the client with F3 + H).
Material: iron_ingot
# The name of the item
Title: '&6Drop-Booster'
# Lore of the item.
Lore:
- '&8--------------------'
- '&aKlicke, um einen &6Drop-Booster &2zu bekommen'
# Action to be performed when the item is clicked.
# Possible Actions: get (Requires Booster[XP, Break, Drop, Mob, Fly])
Action: get
# Possible Types: XP, Break, Drop, Mob, Fly
Booster: Drop
# Permission to display the item
Permission: 'booster.drop'
# Sound on click
Sound: 'placeholder'
14:
# The type defines what properties the slot has. Types: Material or Skull
Type: Material
# The material of the item. (Can be made visible in the client with F3 + H).
Material: feather
# The name of the item
Title: '&6Fly-Booster'
# Lore of the item.
Lore:
- '&8--------------------'
- '&aKlicke, um einen &6Fly-Booster &2zu bekommen'
# Action to be performed when the item is clicked.
# Possible Actions: get (Requires Booster[XP, Break, Drop, Mob, Fly])
Action: get
# Possible Types: XP, Break, Drop, Mob, Fly
Booster: Fly
# Permission to display the item
Permission: 'booster.fly'
# Sound on click
Sound: 'placeholder'
15:
# The type defines what properties the slot has. Types: Material or Skull
Type: Material
# The material of the item. (Can be made visible in the client with F3 + H).
Material: bone
# The name of the item
Title: '&6Mob-Booster'
# Lore of the item.
Lore:
- '&8--------------------'
- '&aKlicke, um einen &6Mob-Booster &2zu bekommen'
# Action to be performed when the item is clicked.
# Possible Actions: get (Requires Booster[XP, Break, Drop, Mob, Fly])
Action: get
# Possible Types: XP, Break, Drop, Mob, Fly
Booster: Mob
# Permission to display the item
Permission: 'booster.mob'
# Sound on click
Sound: 'placeholder'
16:
# The type defines what properties the slot has. Types: Material or Skull
Type: Material
# The material of the item. (Can be made visible in the client with F3 + H).
Material: 'placeholder_xp'
# The name of the item
Title: '&6XP-Booster'
# Lore of the item.
Lore:
- '&8--------------------'
- '&aKlicke, um einen &6XP-Booster &2zu bekommen'
# Action to be performed when the item is clicked.
# Possible Actions: get (Requires Booster[XP, Break, Drop, Mob, Fly])
Action: get
# Possible Types: XP, Break, Drop, Mob, Fly
Booster: XP
# Permission to display the item
Permission: 'booster.xp'
# Sound on click
Sound: 'placeholder'

View File

@@ -25,6 +25,8 @@ Shop:
Action: shop
Count: 1
Price: 1000
# Sound on click
Sound: 'placeholder'
14:
# The type defines what properties the slot has. Types: Material or Skull
Type: Material
@@ -42,6 +44,8 @@ Shop:
Action: shop
Count: 5
Price: 4000
# Sound on click
Sound: 'placeholder'
17:
# The type defines what properties the slot has. Types: Material or Skull
Type: Material
@@ -59,6 +63,8 @@ Shop:
Action: shop
Count: 10
Price: 7000
# Sound on click
Sound: 'placeholder'
27:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -80,6 +86,8 @@ Shop:
# Action to be performed when the item is clicked.
# Possible Actions: shop (Requires Count and Price), back
Action: back
# Sound on click
Sound: 'placeholder'
# This item is set in all places where no item is stored.
Background:
Enabled: true
@@ -131,7 +139,7 @@ Shop:
# The type defines what properties the slot has. Types: Material or Skull
Type: Material
# The material of the item. (Can be made visible in the client with F3 + H).
Material: experience_bottle
Material: 'placeholder_xp'
# The name of the item
Title: '&6XP-Booster'
# Lore of the item.
@@ -159,6 +167,8 @@ Shop:
Count: 1
Booster: Break
Price: 1000
# Sound on click
Sound: 'placeholder'
5:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -182,6 +192,8 @@ Shop:
Count: 5
Booster: Break
Price: 4000
# Sound on click
Sound: 'placeholder'
7:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -205,6 +217,8 @@ Shop:
Count: 10
Booster: Break
Price: 7000
# Sound on click
Sound: 'placeholder'
12:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -228,6 +242,8 @@ Shop:
Count: 1
Booster: Drop
Price: 1000
# Sound on click
Sound: 'placeholder'
14:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -251,6 +267,8 @@ Shop:
Count: 5
Booster: Drop
Price: 4000
# Sound on click
Sound: 'placeholder'
16:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -274,6 +292,8 @@ Shop:
Count: 10
Booster: Drop
Price: 7000
# Sound on click
Sound: 'placeholder'
21:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -289,7 +309,7 @@ Shop:
# Lore of the item. Placeholder %count%, %price%
Lore:
- '&8--------------------'
- '&2Kaufe &2%count% &6Fly-Booster'
- '&2Kaufe &6%count% &2Fly-Booster'
- '&2Kostet: &6%price%$'
# Action to be performed when the item is clicked.
# Possible Actions: shop (Requires Count, Booster[XP, Break, Drop, Mob, Fly] and Price), back
@@ -297,6 +317,8 @@ Shop:
Count: 1
Booster: Fly
Price: 1000
# Sound on click
Sound: 'placeholder'
23:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -312,7 +334,7 @@ Shop:
# Lore of the item. Placeholder %count%, %price%
Lore:
- '&8--------------------'
- '&2Kaufe &2%count% &2Fly-Booster'
- '&2Kaufe &6%count% &2Fly-Booster'
- '&2Kostet: &6%price%$'
# Action to be performed when the item is clicked.
# Possible Actions: shop (Requires Count, Booster[XP, Break, Drop, Mob, Fly] and Price), back
@@ -320,6 +342,8 @@ Shop:
Count: 5
Booster: Fly
Price: 4000
# Sound on click
Sound: 'placeholder'
25:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -343,6 +367,8 @@ Shop:
Count: 10
Booster: Fly
Price: 7000
# Sound on click
Sound: 'placeholder'
30:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -366,6 +392,8 @@ Shop:
Count: 1
Booster: Mob
Price: 1000
# Sound on click
Sound: 'placeholder'
32:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -389,6 +417,8 @@ Shop:
Count: 5
Booster: Mob
Price: 4000
# Sound on click
Sound: 'placeholder'
34:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -412,6 +442,8 @@ Shop:
Count: 10
Booster: Mob
Price: 7000
# Sound on click
Sound: 'placeholder'
39:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -435,6 +467,8 @@ Shop:
Count: 1
Booster: XP
Price: 1000
# Sound on click
Sound: 'placeholder'
41:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -458,6 +492,8 @@ Shop:
Count: 5
Booster: XP
Price: 4000
# Sound on click
Sound: 'placeholder'
43:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -481,6 +517,8 @@ Shop:
Count: 10
Booster: XP
Price: 7000
# Sound on click
Sound: 'placeholder'
45:
# The type defines what properties the slot has. Types: Material or Skull
Type: Skull
@@ -500,6 +538,8 @@ Shop:
# Action to be performed when the item is clicked.
# Possible Actions: shop (Requires Count, Booster[XP, Break, Drop, Mob, Fly] and Price), back
Action: back
# Sound on click
Sound: 'placeholder'
# This item is set in all places where no item is stored.
Background:
Enabled: true

View File

@@ -15,7 +15,15 @@ MySQLPlayerDataBridge: false
SendAsPrivateMessage: false
# Enable Logging
Logging: true
Placeholder:
# Should 2 digits always be displayed for Second placeholders
TwoDigitsS: false
# Should 2 digits always be displayed for Minute placeholders
TwoDigitsM: false
# What should happen at the '/booster' command. Options: GUI, OVERVIEW
Maincommand: GUI
# Disable Booster-Messages on Join
DisableJoinMessages: false
Booster:
XP:
# Time how long a booster is active in Minutes. Set it to -1 to disable it
@@ -154,6 +162,8 @@ Booster:
- World2
# Should fireworks be started when the booster is activated
FireworkOnStart: true
# If Enabled Natural Mob Spawning will be multiplied (Not only Spawner)
NaturalSpawning: false
Stages:
# How many levels the booster should have. You can expand it by copy-paste or reduce it by delete.
# Attention There must not be a duplicate name!
@@ -227,10 +237,25 @@ Shop:
Sound: 'placeholder'
# Booster that players get for free after a certain period of time (With Permission)
Bonusbooster:
# Time until you can get a bonus booster in hours (Set to -1 to disable)
# Priority of Bonus
# Require Numbers
1:
# Time until you can get a bonus booster in hours
Time: 168
# Number of boosters you get
Count: 2
# What booster Man should get guys: XP, Break, Drop, Mob, Fly, ALL, Random
# You can also set it like this, for example: XP,Break,Mob, Random, Select
Type: ALL
# Permission
Permission: 'booster.bonusbooster.admin'
2:
# Time until you can get a bonus booster in hours
Time: 168
# Number of boosters you get
Count: 1
# What booster Man should get guys: XP, Break, Drop, Mob, Fly, ALL, Random
# You can also set it like this, for example: XP,Break,Mob, Random
# You can also set it like this, for example: XP,Break,Mob, Random, Select
Type: Random
# Permission
Permission: 'booster.bonusbooster.mod'

View File

@@ -16,6 +16,9 @@ Stopbooster:
Player: '%prefix% &2Du hast den &6%type%-Booster &2gestoppt.'
Broadcast: '%prefix% &2Alle &6%type%-Booster &2wurden beendet.'
Help: '%prefix% &cBitte nutze: &b/booster stop <type>'
Placeholder:
Active: 'aktiviert'
Disabled: 'deaktiviert'
Help:
Header: '%prefix% &8------ &4Booster help &8------%newline%%prefix%'
Footer: '%prefix%%newline%%prefix% &8--------------------------'
@@ -40,9 +43,11 @@ Player:
Refresh: '%prefix% &2Die Booster wurden angewandt.'
AddBooster:
Success: '%prefix% &2Du hast &6%reciver%&2, &6%count% &2Booster hinzugefügt.'
Reciver: '%prefix% &2Du hast von &6%sender%&2, &6%count% &2Booster des Types &6%type% &2bekommen.'
Help: '%prefix% &cBitte nutze: &b/booster add <player> <amount> <type>'
SetBooster:
Success: '%prefix% &2Du hast &6%reciver%&2, &6%count% &2Booster gesetzt.'
Reciver: '%prefix% &2Du hast von &6%sender%&2, &6%count% &2Booster des Types &6%type% &2gesetzt bekommen.'
Help: '%prefix% &cBitte nutze: &b/booster set <player> <amount> <type>'
See:
Success: '%prefix% &6%player% &2hat &6%count% &2Booster des Types &6%type%.'
@@ -50,9 +55,11 @@ See:
RemoveBooster:
Success: '%prefix% &2Du hast &6%reciver%&2, &6%count% &2Booster entfernt.'
Not_Enough: '%prefix% &c%reciver% hat nicht genügend Booster.'
Reciver: '%prefix% &2Du hast von &6%sender%&2, &6%count% &2Booster des Types &6%type% &2entfernt bekommen.'
Help: '%prefix% &cBitte nutze: &b/booster remove <player> <amount> <type>'
Giveall:
Success: '%prefix% &2Du hast &6%reciver%&2, &6%count% &2Booster hinzugefügt.'
Reciver: '%prefix% &2Du hast von &6%sender%&2, &6%count% &2Booster des Types &6%type% &2bekommen.'
Help: '%prefix% &cBitte nutze: &b/booster giveall <amount> <type>'
Send:
Success: '%prefix% &2Du hast &6%reciver%&2, &6%count% &2Booster geschickt.'
@@ -66,7 +73,7 @@ Bonusbooster:
Help: '%prefix% &cBitte nutze: &b/booster bbreset <player>'
Success: '%prefix% &2Du hast von &6%player% &2die Zeit resettet.'
Booster:
MaxStep: '%prefix% &cEs ist bereits die Maximale stäre des &6%type%-Boosters&c.'
MaxStep: '%prefix% &cEs ist bereits die Maximale Stärke des &6%type%-Boosters&c.'
Not_Enough: '%prefix% &cDu hast nicht genügend Booster.'
Wrong_World: '%prefix% &cDu kannst den Booster in dieser Welt nicht starten.'
Infinity: 'unendlich'

119
README.md
View File

@@ -11,7 +11,7 @@ Dieses Plugin besitzt eine MySQL Datenbank Funktion, in der gespeichert wird, we
Wenn Spieler einen Booster aktivieren, ist er für alle Spieler verfügbar.
Spieler besitzen außerdem die Möglichkeit anderen Spielern Booster zu verschenken, das funktioniert übrigens auch wenn der Spieler nicht Online ist (Der Spieler muss allerdings schon einmal auf dem Server Online gewesen sein).
Spieler besitzen außerdem die Möglichkeit anderen Spielern Booster zu verschenken, das funktioniert übrigens auch wenn der Spieler nicht Online ist.
Ihr könnt in der Config selber einstellen wie viel eure Booster kosten sollen und wie lange sie an sein sollen.
[![https://i.imgur.com/I3m7sid.png](https://i.imgur.com/I3m7sid.png)]('https://discord.gg/MPTk2bCewa')
@@ -105,11 +105,11 @@ Ihr könnt in der Config selber einstellen wie viel eure Booster kosten sollen u
%booster_count_break% - Zeigt dir die Anzahl an Break-Booster an
%booster_bonus_remeaning_min% - Zeigt die verbleibenden Minuten an, bis du einen Bonusbooster holen kann
%booster_bonus_remaining_min% - Zeigt die verbleibenden Minuten an, bis du einen Bonusbooster holen kann
%booster_bonus_remeaning_hour% - Zeigt die verbleibenden Stunden an, bis du einen Bonusbooster holen kann
%booster_bonus_remaining_hour% - Zeigt die verbleibenden Stunden an, bis du einen Bonusbooster holen kann
%booster_bonus_remeaning_days%- Zeigt die verbleibenden Tage an, bis du einen Bonusbooster holen kann
%booster_bonus_remaining_days%- Zeigt die verbleibenden Tage an, bis du einen Bonusbooster holen kann
%booster_xp_step% - Stufe des XP-Boosters
@@ -121,30 +121,121 @@ Ihr könnt in der Config selber einstellen wie viel eure Booster kosten sollen u
%booster_mob_step% - Stufe des Mob-Boosters
%booster_xp_remeaningtime_global% - Zeit bis der XP-Booster komplett deaktiviert ist
%booster_xp_status% - Gibt am ob der XP-Booster aktiv ist (Config anpassbar)
%booster_xp_remeaningtime_step% - Zeit bis die Stufe des XP-Boosters deaktiviert ist
%booster_fly_status% - Gibt am ob der Fly-Booster aktiv ist (Config anpassbar)
%booster_fly_remeaningtime_global% - Zeit bis der Fly-Booster komplett deaktiviert is
%booster_break_status% - Gibt am ob der Break-Booster aktiv ist (Config anpassbar)
%booster_fly_remeaningtime_step% - Zeit bis die Stufe des Fly-Boosters deaktiviert ist
%booster_drop_status% - Gibt am ob der Mob-Booster aktiv ist (Config anpassbar)
%booster_break_remeaningtime_global% - Zeit bis der Break-Booster komplett deaktiviert ist
%booster_mob_status% - Gibt am ob der Drop-Booster aktiv ist (Config anpassbar)
%booster_break_remeaningtime_step% - Zeit bis die Stufe des Break-Boosters deaktiviert ist
%booster_xp_remainingtime_global_m% - Zeit bis der XP-Booster komplett deaktiviert ist in Minuten
%booster_mob_remeaningtime_global% - Zeit bis der Mob-Booster komplett deaktiviert ist
%booster_xp_remainingtime_global_s% - Zeit bis der XP-Booster komplett deaktiviert ist in Sekunden
%booster_mob_remeaningtime_step% - Zeit bis die Stufe des Mob-Boosters deaktiviert ist
%booster_xp_remainingtime_step_m% - Zeit bis die Stufe des XP-Boosters deaktiviert ist in Minuten
%booster_drop_remeaningtime_global% - Zeit bis der Drop-Booster komplett deaktiviert ist
%booster_xp_remainingtime_step_s% - Zeit bis die Stufe des XP-Boosters deaktiviert ist in Sekunden
%booster_drop_remeaningtime_step% - Zeit bis die Stufe des Drop-Boosters deaktiviert ist
%booster_fly_remainingtime_global_m% - Zeit bis der Fly-Booster komplett deaktiviert ist in Minuten
%booster_fly_remainingtime_global_s% - Zeit bis der Fly-Booster komplett deaktiviert ist in Sekunden
%booster_fly_remainingtime_step_m% - Zeit bis die Stufe des Fly-Boosters deaktiviert ist in Minuten
%booster_fly_remainingtime_step_s% - Zeit bis die Stufe des Fly-Boosters deaktiviert ist in Sekunden
%booster_break_remainingtime_global_m% - Zeit bis der Break-Booster komplett deaktiviert ist in Minuten
%booster_break_remainingtime_global_s% - Zeit bis der Break-Booster komplett deaktiviert ist in Sekunden
%booster_break_remainingtime_step_m% - Zeit bis die Stufe des Break-Boosters deaktiviert ist in Minuten
%booster_break_remainingtime_step_s% - Zeit bis die Stufe des Break-Boosters deaktiviert ist in Sekunden
%booster_mob_remainingtime_global_m% - Zeit bis der Mob-Booster komplett deaktiviert ist in Minuten
%booster_mob_remainingtime_global_s% - Zeit bis der Mob-Booster komplett deaktiviert ist in Sekunden
%booster_mob_remainingtime_step_m% - Zeit bis die Stufe des Mob-Boosters deaktiviert ist in Minuten
%booster_mob_remainingtime_step_s% - Zeit bis die Stufe des Mob-Boosters deaktiviert ist in Sekunden
%booster_drop_remainingtime_global_m% - Zeit bis der Drop-Booster komplett deaktiviert ist in Minuten
%booster_drop_remainingtime_global_s% - Zeit bis der Drop-Booster komplett deaktiviert ist in Sekunden
%booster_drop_remainingtime_step_m% - Zeit bis die Stufe des Drop-Boosters deaktiviert ist in Minuten
%booster_drop_remainingtime_step_s% - Zeit bis die Stufe des Drop-Boosters deaktiviert ist in Sekunden
<h2>Die Default-Configs liegen <a href="https://git.t2code.net/Jakob/Booster_Issues/src/branch/main/Configs" target="_blank" rel="noopener">hier</a> im Git.<h2>
<details>
<summary>API</summary>
<p><strong>Maven:</strong></p>
<pre><code class="language-Java">&lt;repository&gt;
&lt;id&gt;T2Code&lt;/id&gt;
&lt;url&gt;https://repo.t2code.net/repository/T2Code/&lt;/url&gt;
&lt;/repository&gt;
</code></pre>
<pre><code class="language-Java">
&lt;dependency&gt;
&lt;groupId&gt;net.t2code&lt;/groupId&gt;
&lt;artifactId&gt;Booster&lt;/artifactId&gt;
&lt;version&gt;{version}&lt;/version&gt;
&lt;/dependency&gt;</code></pre>
<pre><code class="language-Java">public class Booster implements Listener {
@EventHandler
public void onBoosterStart(BoosterStartEvent e){
}
@EventHandler
public void onBoosterStop(BoosterStopEvent e){
}
private void booster(Player player){
// Get API
BoosterAPI api = new BoosterAPI();
// Add Booster
api.addBooster(player, 1, BoosterTypes.XP);
// Remove Booster
api.removeBooster(player, 1, BoosterTypes.DROP);
// Get Booster Count
int count = api.getCount(player, BoosterTypes.BREAK);
// Reset BonusBooster Time
api.resetBonusBooster(player);
// Get Step of Booster
int step = api.getStep(BoosterTypes.MOB);
// Start Booster
api .startBooster(BoosterTypes.FLY);
api .startBooster(BoosterTypes.FLY, player);
api .startBooster(BoosterTypes.FLY, 1);
api .startBooster(BoosterTypes.FLY, player, 1);
// Stop Booster
api.stopBooster(BoosterTypes.XP);
// Stop All Booster
api.stopBooster();
}
}</code></pre>
</details>
[![https://bstats.org/signatures/bukkit/Booster.svg](https://bstats.org/signatures/bukkit/Booster.svg)]('https://bstats.org/plugin/bukkit/Booster/10307')