geforkt von Mirrors/HeadDB
add permission to plugin.yml and fix safegaurd
Dieser Commit ist enthalten in:
Ursprung
9c3a45502a
Commit
7ad9607831
@ -153,6 +153,7 @@ public class Command_headdb implements CommandExecutor {
|
||||
|
||||
Utils.sendMessage(sender, "Updating...");
|
||||
Bukkit.getScheduler().runTaskAsynchronously(HeadDB.getInstance(), () -> HeadAPI.getDatabase().update());
|
||||
return true;
|
||||
}
|
||||
|
||||
Utils.sendMessage(sender, " ");
|
||||
|
@ -23,6 +23,7 @@ permissions:
|
||||
headdb.favorites: true
|
||||
headdb.local: true
|
||||
headdb.tagsearch: true
|
||||
headdb.update: true
|
||||
headdb.open:
|
||||
default: op
|
||||
headdb.search:
|
||||
@ -35,3 +36,5 @@ permissions:
|
||||
default: op
|
||||
headdb.tagsearch:
|
||||
default: op
|
||||
headdb.update:
|
||||
default: op
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren