Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/main/java/world/bentobox/controlpanel/ControlPanelPladdon.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package world.bentobox.controlpanel;


import world.bentobox.bentobox.api.addons.Addon;
import world.bentobox.bentobox.api.addons.Pladdon;

public class ControlPanelPladdon extends Pladdon {

private Addon addon;

@Override
public Addon getAddon() {
if (addon == null) {
addon = new ControlPanelAddon();
}
return addon;
}
}
6 changes: 3 additions & 3 deletions src/main/resources/addon.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Name of your addon that wil lbe used in displaying it.
# Name of your addon that will be used in displaying it.
name: ControlPanel
# Addon main class. This class should extend Addon.class
main: world.bentobox.controlpanel.ControlPanelAddon
Expand All @@ -12,14 +12,14 @@ repository: 'BentoBoxWorld/ControlPanel'
# Must use Material.values() with uppercase.
icon: 'COMMAND_BLOCK'
# Minimum BentoBox API version
api-version: 1.14
api-version: 3.10.0

# List of addon authors.
authors:
- BONNe

# Soft dependencies of current addon.
softdepend: AcidIsland, BSkyBlock, CaveBlock, SkyGrid, AOneBlock, ItemsAdder
softdepend: AcidIsland, BSkyBlock, CaveBlock, SkyGrid, AOneBlock, ItemsAdder, Poseidon, Boxed, StrangerRealms

# List of addon permissions
permissions:
Expand Down
9 changes: 9 additions & 0 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: BentoBox-ControlPanel
main: world.bentobox.controlpanel.ControlPanelPladdon
version: ${project.version}${build.number}
api-version: "1.21"

authors: [tastybento]
contributors: ["The BentoBoxWorld Community"]
website: https://bentobox.world
description: ${project.description}
Loading