Mirror von
https://github.com/TheSilentPro/HeadDB.git
synchronisiert 2024-12-28 03:40:06 +01:00
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...");
|
Utils.sendMessage(sender, "Updating...");
|
||||||
Bukkit.getScheduler().runTaskAsynchronously(HeadDB.getInstance(), () -> HeadAPI.getDatabase().update());
|
Bukkit.getScheduler().runTaskAsynchronously(HeadDB.getInstance(), () -> HeadAPI.getDatabase().update());
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
Utils.sendMessage(sender, " ");
|
Utils.sendMessage(sender, " ");
|
||||||
|
@ -23,6 +23,7 @@ permissions:
|
|||||||
headdb.favorites: true
|
headdb.favorites: true
|
||||||
headdb.local: true
|
headdb.local: true
|
||||||
headdb.tagsearch: true
|
headdb.tagsearch: true
|
||||||
|
headdb.update: true
|
||||||
headdb.open:
|
headdb.open:
|
||||||
default: op
|
default: op
|
||||||
headdb.search:
|
headdb.search:
|
||||||
@ -34,4 +35,6 @@ permissions:
|
|||||||
headdb.local:
|
headdb.local:
|
||||||
default: op
|
default: op
|
||||||
headdb.tagsearch:
|
headdb.tagsearch:
|
||||||
|
default: op
|
||||||
|
headdb.update:
|
||||||
default: op
|
default: op
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren