mirror of
https://github.com/MilkBowl/Vault.git
synced 2025-02-05 23:11:40 +01:00
fix small issue in the readme. removed Towny from list of supported
chats.
This commit is contained in:
parent
64dd884dab
commit
514742c519
@ -99,13 +99,12 @@ Github and we'll get to it at our convenience.
|
|||||||
- Group Manager (Essentials) (http://forums.bukkit.org/threads/15312/)
|
- Group Manager (Essentials) (http://forums.bukkit.org/threads/15312/)
|
||||||
|
|
||||||
* Chat
|
* Chat
|
||||||
- ichat
|
- iChat
|
||||||
- bPermissions
|
- bPermissions
|
||||||
- PEX
|
- PEX
|
||||||
- Permissions3
|
- Permissions3
|
||||||
- mChat
|
- mChat
|
||||||
- mChatSuite
|
- mChatSuite
|
||||||
- Towny
|
|
||||||
- Group Manager (Essentials)
|
- Group Manager (Essentials)
|
||||||
|
|
||||||
## Implementing Vault
|
## Implementing Vault
|
||||||
@ -186,7 +185,7 @@ public class ExamplePlugin extends JavaPlugin {
|
|||||||
|
|
||||||
if(command.getLabel().equals("test-economy")) {
|
if(command.getLabel().equals("test-economy")) {
|
||||||
// Lets give the player 1.05 currency (note that SOME economic plugins require rounding!
|
// Lets give the player 1.05 currency (note that SOME economic plugins require rounding!
|
||||||
sender.sendMessage(String.format("You have %s", econ.format(econ.getBalance(player.getName()).amount)));
|
sender.sendMessage(String.format("You have %s", econ.format(econ.getBalance(player.getName()))));
|
||||||
EconomyResponse r = econ.depositPlayer(player.getName(), 1.05);
|
EconomyResponse r = econ.depositPlayer(player.getName(), 1.05);
|
||||||
if(r.transactionSuccess()) {
|
if(r.transactionSuccess()) {
|
||||||
sender.sendMessage(String.format("You were given %s and now have %s", econ.format(r.amount), econ.format(r.balance)));
|
sender.sendMessage(String.format("You were given %s and now have %s", econ.format(r.amount), econ.format(r.balance)));
|
||||||
|
@ -47,7 +47,6 @@ public class Permission_PermissionsEx extends Permission {
|
|||||||
try {
|
try {
|
||||||
if (Double.valueOf(perms.getDescription().getVersion()) < 1.16) {
|
if (Double.valueOf(perms.getDescription().getVersion()) < 1.16) {
|
||||||
log.info(String.format("[%s][Permission] %s below 1.16 is not compatible with Vault! Falling back to SuperPerms only mode. PLEASE UPDATE!", plugin.getDescription().getName(), name));
|
log.info(String.format("[%s][Permission] %s below 1.16 is not compatible with Vault! Falling back to SuperPerms only mode. PLEASE UPDATE!", plugin.getDescription().getName(), name));
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
// Do nothing
|
// Do nothing
|
||||||
|
Loading…
Reference in New Issue
Block a user