Refactor to PaperPlugin
This commit is contained in:
1 parent
ea0d678c83
commit
f82160d7d3
4 files changed
+77
-82
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package com.alttd.afkdectector;
|
||||
|
||||
|
||||
import io.papermc.paper.plugin.bootstrap.BootstrapContext;
|
||||
import io.papermc.paper.plugin.bootstrap.PluginBootstrap;
|
||||
|
||||
@SuppressWarnings("UnstableApiUsage")
|
||||
public class AFKDetectorBootstrap implements PluginBootstrap {
|
||||
|
||||
@Override
|
||||
public void bootstrap(BootstrapContext context) {}
|
||||
|
||||
}
|
||||
Whitespace-only changes.
@@ -1,66 +0,0 @@
|
||||
main: com.alttd.afkdectector.AFKDetector
|
||||
name: AFKDetector
|
||||
version: ${projectVersion}
|
||||
api-version: 1.21
|
||||
author: Destro174
|
||||
softdepend:
|
||||
- MyPet
|
||||
|
||||
description: Checks if a player is afk.
|
||||
|
||||
commands:
|
||||
afklist:
|
||||
description: Gives a list of all afk players
|
||||
permission: afkdetector.afklist
|
||||
permission-message: You do not have permission!
|
||||
usage: /afklist
|
||||
afkcheck:
|
||||
description: Sends and afkcheck message to the target
|
||||
permission: afkdetector.afkcheck
|
||||
permission-message: You do not have permission!
|
||||
usage: /afkcheck <target>
|
||||
relogcheck:
|
||||
description: Sends and relogcheck message to the target
|
||||
permission: afkdetector.relogcheck
|
||||
permission-message: You do not have permission!
|
||||
usage: /relogcheck <target>
|
||||
reloadafkdetector:
|
||||
description: Reloads the plugin config
|
||||
permission: afkdetector.reload
|
||||
permission-message: You do not have permission!
|
||||
usage: /afkdetectorreload
|
||||
|
||||
permissions:
|
||||
afkdetector.admin:
|
||||
default: op
|
||||
description: Implies all permissions.
|
||||
children:
|
||||
afkdetector.bypass: true
|
||||
afkdetector.afklist: true
|
||||
afkdetector.afkcheck: true
|
||||
afkdetector.notify: true
|
||||
afkdetector.reload: true
|
||||
afkdetector.bypass:
|
||||
description: Bypass the AFKplugin.
|
||||
default: op
|
||||
children:
|
||||
afkdetector.kickexempt: true
|
||||
afkdetector.reload:
|
||||
description: Allows reloading the afkdetector plugin config.
|
||||
default: op
|
||||
afkdetector.kickexempt:
|
||||
description: Doesn't kick you automatically for AFK.
|
||||
default: op
|
||||
afkdetector.afktime:
|
||||
description: Master permission for custom times.
|
||||
default: false
|
||||
afkdetector.afkcheck:
|
||||
description: Allows the usage of /afkcheck command.
|
||||
default: false
|
||||
afkdetector.afklist:
|
||||
description: Allows the usage of /afklist command.
|
||||
default: false
|
||||
afkdetector.notify:
|
||||
description: Get output when a player goes afk.
|
||||
default: false
|
||||
|
||||
Reference in new issue
Block a user