Skip to content

Commit e97acf2

Browse files
authored
Merge pull request #37 from BentoBoxWorld/develop
Add ControlPanel addon with Pladdon implementation and update dependencies
2 parents 1bab8b6 + a972faa commit e97acf2

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package world.bentobox.controlpanel;
2+
3+
4+
import world.bentobox.bentobox.api.addons.Addon;
5+
import world.bentobox.bentobox.api.addons.Pladdon;
6+
7+
public class ControlPanelPladdon extends Pladdon {
8+
9+
private Addon addon;
10+
11+
@Override
12+
public Addon getAddon() {
13+
if (addon == null) {
14+
addon = new ControlPanelAddon();
15+
}
16+
return addon;
17+
}
18+
}

src/main/resources/addon.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Name of your addon that wil lbe used in displaying it.
1+
# Name of your addon that will be used in displaying it.
22
name: ControlPanel
33
# Addon main class. This class should extend Addon.class
44
main: world.bentobox.controlpanel.ControlPanelAddon
@@ -12,14 +12,14 @@ repository: 'BentoBoxWorld/ControlPanel'
1212
# Must use Material.values() with uppercase.
1313
icon: 'COMMAND_BLOCK'
1414
# Minimum BentoBox API version
15-
api-version: 1.14
15+
api-version: 3.10.0
1616

1717
# List of addon authors.
1818
authors:
1919
- BONNe
2020

2121
# Soft dependencies of current addon.
22-
softdepend: AcidIsland, BSkyBlock, CaveBlock, SkyGrid, AOneBlock, ItemsAdder
22+
softdepend: AcidIsland, BSkyBlock, CaveBlock, SkyGrid, AOneBlock, ItemsAdder, Poseidon, Boxed, StrangerRealms
2323

2424
# List of addon permissions
2525
permissions:

src/main/resources/plugin.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: BentoBox-ControlPanel
2+
main: world.bentobox.controlpanel.ControlPanelPladdon
3+
version: ${project.version}${build.number}
4+
api-version: "1.21"
5+
6+
authors: [tastybento]
7+
contributors: ["The BentoBoxWorld Community"]
8+
website: https://bentobox.world
9+
description: ${project.description}

0 commit comments

Comments
 (0)