You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Note**: The VaultAPI version has 2 numbers (major.minor), unlike Vault, which has 3. The 2 numbers in the VaultAPI will always correspond to the 2 beginning numbers in a Vault version to make it clear what versions your plugin will for sure work with.
33
+
**Note**: The VaultAPI version has 2 numbers (major.minor), unlike Vault, which has 3. The 2 numbers in the VaultAPI
34
+
will always correspond to the 2 beginning numbers in a Vault version to make it clear what versions your plugin will for
35
+
sure work with.
32
36
33
37
## Why Vault?
38
+
34
39
I have no preference which library suits your plugin and development efforts
35
-
best. Really, I thought a central suite (rather...Vault) of solutions was the
36
-
the proper avenue than focusing on a single category of plugin. That's where
40
+
best. Really, I thought a central suite (rather...Vault) of solutions was the
41
+
the proper avenue than focusing on a single category of plugin. That's where
37
42
the idea for Vault came into play.
38
43
39
44
So, what features do I _think_ you'll like the most?
40
45
41
-
* No need to include my source code in your plugin
42
-
* Broad range of supported plugins
43
-
* Choice!
46
+
* No need to include my source code in your plugin
Vault is free software: you can redistribute it and/or modify
@@ -52,17 +58,20 @@ the Free Software Foundation, either version 3 of the License, or
52
58
53
59
Vault is distributed in the hope that it will be useful,
54
60
but WITHOUT ANY WARRANTY; without even the implied warranty of
55
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
61
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
56
62
GNU Lesser General Public License for more details.
57
63
58
64
You should have received a copy of the GNU Lesser General Public License
59
-
along with Vault. If not, see <http://www.gnu.org/licenses/>.
65
+
along with Vault. If not, see <http://www.gnu.org/licenses/>.
60
66
61
67
## Building
68
+
62
69
VaultAPI comes with all libraries needed to build from the current branch.
63
70
64
71
## Implementing Vault
65
-
Implementing Vault is quite simple. It requires getting the Economy, Permission, or Chat service from the Bukkit ServiceManager. See the example below:
72
+
73
+
Implementing Vault is quite simple. It requires getting the Economy, Permission, or Chat service from the Bukkit
74
+
ServiceManager. See the example below:
66
75
67
76
```java
68
77
packagecom.example.plugin;
@@ -80,7 +89,7 @@ public class ExamplePlugin extends JavaPlugin {
80
89
privatestaticEconomy economy =null;
81
90
privatestaticPermission permission =null;
82
91
privatestaticChat chat =null;
83
-
92
+
84
93
@Override
85
94
publicvoidonLoad() {
86
95
if (getServer().getPluginManager().getPlugin("Vault") ==null) {
0 commit comments