Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
Last touches for removing form/menu/items
Browse files Browse the repository at this point in the history
  • Loading branch information
Konicai committed Jun 15, 2022
1 parent 4eb31b3 commit 0236d2b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,14 @@
[![License](https://img.shields.io/badge/License-GPL-orange)](https://github.com/kejonaMC/GeyserUpdater/blob/master/LICENSE)

# GeyserHub
**Note: This plugin has been superseded by [CrossplatForms](https://github.com/kejonaMC/CrossplatForms). GeyserHub no longer has form, menu, and access item capabilities.**
#### Note: This plugin has been superseded by [CrossplatForms](https://github.com/kejonaMC/CrossplatForms). GeyserHub no longer has form, menu, and access item capabilities. Place your selector.yml in the config folder of CrossplatForms for it to be automatically converted.

GeyserHub now only provides server/hub capabilities.

### Other Features:
### Features:
Anything can be toggled off.
- Simple scoreboard
- Welcome messages
- Automatic broadcasts
- World restrictions
- Full Placeholder API support

###### Note: This is NOT an official GeyserMC plugin, it is not maintained or produced by GeyserMC. If you need support with this plugin, please do not ask the Geyser developers — instead, please go to our Discord server which is linked above.

Expand Down
4 changes: 4 additions & 0 deletions src/main/java/dev/projectg/geyserhub/GeyserHub.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ public void onEnable() {
// getting the logger forces the config to load before our loadConfiguration() is called...
Logger logger = Logger.getLogger();

logger.warn("THIS PLUGIN HAS BEEN SUPERSEDED BY CROSSPLATFORMS: https://github.com/kejonaMC/CrossplatForms");
logger.warn("FORM, MENU, AND ITEM FEATURES ARE NO LONGER PRESENT IN GEYSERHUB");
logger.warn("Place your selector.yml in the config folder of CrossplatForms for it to be automatically converted.");

try {
Properties gitProperties = new Properties();
gitProperties.load(FileUtils.getResource("git.properties"));
Expand Down
7 changes: 2 additions & 5 deletions src/main/java/dev/projectg/geyserhub/GeyserHubCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ public class GeyserHubCommand implements CommandExecutor {
Logger.Level.SEVERE, ChatColor.RED);

private static final String[] HELP = {
"/ghub - Opens the default form if one exists. If not, shows the help page",
"/ghub - Opens the help page",
"/ghub form <form> - Open a form with the defined name",
"/ghub form <form> <player> - Sends a form to a given player",
"/ghub help - Opens the help page",
"/ghub reload - reloads the selector"
};

Expand All @@ -37,7 +34,7 @@ public boolean onCommand(@NotNull CommandSender commandSender, @NotNull Command
if (!(commandSender instanceof Player || commandSender instanceof ConsoleCommandSender)) {
return false;
}
// todo: cleanup

if (args.length == 0) {
sendHelp(commandSender);
return true;
Expand Down

0 comments on commit 0236d2b

Please sign in to comment.