mirror of
https://github.com/farcasclaudiu/QRcraft.git
synced 2026-06-29 13:01:29 +03:00
Compare commits
4 Commits
QRcraft_v1.0.3
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 7727a91d69 | |||
| 1d31b9e11d | |||
| 2a34b3f605 | |||
| d01098db1a |
+3
-3
@@ -1,5 +1,5 @@
|
||||
name: QRcraft
|
||||
version: 1.0.2
|
||||
version: 1.0.4
|
||||
api: 1.0.0
|
||||
main: clodyx\qrcraft\QRcraftPlugIn
|
||||
author: Clodyx
|
||||
@@ -18,10 +18,10 @@ commands:
|
||||
description: "List QR panels IDs"
|
||||
permission: clodyx.plugin.qrcraft
|
||||
qrd:
|
||||
description: "delete QR panel by ID"
|
||||
description: "Delete QR panel by ID"
|
||||
permission: clodyx.plugin.qrcraft
|
||||
qrp:
|
||||
description: "teleport nearby QR panel by ID"
|
||||
description: "Teleport nearby QR panel by ID"
|
||||
permission: clodyx.plugin.qrcraft
|
||||
permissions:
|
||||
clodyx.plugin.qrcraft:
|
||||
|
||||
@@ -45,10 +45,7 @@ class QRcraftPlugIn extends PluginBase implements CommandExecutor
|
||||
|
||||
public function loadConfiguration()
|
||||
{
|
||||
if (!file_exists($this->getDataFolder() . "config.yml")) {
|
||||
@mkdir($this->getDataFolder());
|
||||
file_put_contents($this->getDataFolder() . "config.yml", $this->getResource("config.yml"));
|
||||
}
|
||||
$this->saveDefaultConfig();
|
||||
}
|
||||
|
||||
public function onDisable()
|
||||
|
||||
Reference in New Issue
Block a user