Compare commits

...

3 Commits

Author SHA1 Message Date
7c81286feb updated plugin.yml 2025-04-04 23:03:57 +02:00
e7cf3caae8 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	core/src/main/java/eu/mhsl/craftattack/core/appliance/Appliance.java
2025-04-04 23:03:47 +02:00
8742f5f631 updated command registration for usage without static plugin.yml file 2025-04-04 23:02:50 +02:00
2 changed files with 10 additions and 4 deletions

View File

@ -111,7 +111,6 @@ public abstract class Appliance {
command.setExecutor(executor);
command.setTabCompleter(executor);
plugin.getServer().getCommandMap().register(plugin.getName(), command);
throw new RuntimeException("Test");
} catch(Exception e) {
throw new RuntimeException(String.format("Failed to register command '%s'", name), e);
}

View File

@ -1,5 +1,12 @@
name: spawn
author: olischma, muelleel
version: '1.0'
description: modular base-plugin for mhsl server projects
version: '0'
api-version: '1.21'
main: eu.mhsl.craftattack.core.Main
api-version: '1.21'
load: POSTWORLD
prefix: mhsl-spawn
author: MineTec
contributors: [olischma, 28Pupsi28]
website: https://mhsl.eu/gitea/CraftAttack/spawn