-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from BentoBoxWorld/pladdon
Make Pladdon
- Loading branch information
Showing
4 changed files
with
59 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package world.bentobox.chat; | ||
|
||
|
||
import world.bentobox.bentobox.api.addons.Addon; | ||
import world.bentobox.bentobox.api.addons.Pladdon; | ||
|
||
/** | ||
* @author tastybento | ||
* | ||
*/ | ||
public class ChatPladdon extends Pladdon { | ||
private Addon addon; | ||
|
||
@Override | ||
public Addon getAddon() { | ||
if (addon == null) { | ||
addon = new Chat(); | ||
} | ||
return addon; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: BentoBox-Chat | ||
main: world.bentobox.chat.ChatPladdon | ||
version: ${project.version}${build.number} | ||
api-version: "1.16" | ||
|
||
authors: [tastybento] | ||
contributors: ["The BentoBoxWorld Community"] | ||
website: https://bentobox.world | ||
description: ${project.description} |