mirror of
https://github.com/MilkBowl/VaultAPI.git
synced 2024-11-13 22:15:13 +01:00
add javadocs to gh-pages branch
This commit is contained in:
parent
f01cc6b891
commit
c49fdff616
151
README.md
151
README.md
@ -1,151 +0,0 @@
|
||||
# VaultAPI - Abstraction Library API for Bukkit Plugins
|
||||
|
||||
How to use with maven: note that the VaultAPI version is 2 numerals, unlike Vault versions which are 3. The 2 numerals in the VaultAPI will always correspond to the 2 beginning numerals in a Vault version to make it clear what versions your plugin will for sure work with.
|
||||
```
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>vault-repo</id>
|
||||
<url>http://nexus.theyeticave.net/content/repositories/pub_releases</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>net.milkbowl.vault</groupId>
|
||||
<artifactId>VaultAPI</artifactId>
|
||||
<version>1.4</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
```
|
||||
|
||||
## Why Vault?
|
||||
I have no preference which library suits your plugin and development efforts
|
||||
best. Really, I thought a central suite (rather...Vault) of solutions was the
|
||||
the proper avenue than focusing on a single category of plugin. That's where
|
||||
the idea for Vault came into play.
|
||||
|
||||
So, what features do I _think_ you'll like the most?
|
||||
|
||||
* No need to include my source code in your plugin
|
||||
* Broad range of supported plugins
|
||||
* Choice!
|
||||
|
||||
## License
|
||||
Copyright (C) 2011 Morgan Humes <morgan@lanaddict.com>
|
||||
|
||||
Vault is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Vault is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with Vault. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
## Building
|
||||
VaultAPI comes with all libraries needed to build from the current branch.
|
||||
|
||||
|
||||
## Implementing Vault
|
||||
Implementing Vault is quite simple. It requires getting the Economy, Permission, or Chat service from the Bukkit ServiceManager. See the example below:
|
||||
|
||||
```java
|
||||
package com.example.plugin;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import net.milkbowl.vault.chat.Chat;
|
||||
import net.milkbowl.vault.economy.Economy;
|
||||
import net.milkbowl.vault.economy.EconomyResponse;
|
||||
import net.milkbowl.vault.permission.Permission;
|
||||
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.RegisteredServiceProvider;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public class ExamplePlugin extends JavaPlugin {
|
||||
|
||||
private static final Logger log = Logger.getLogger("Minecraft");
|
||||
public static Economy econ = null;
|
||||
public static Permission perms = null;
|
||||
public static Chat chat = null;
|
||||
|
||||
@Override
|
||||
public void onDisable() {
|
||||
log.info(String.format("[%s] Disabled Version %s", getDescription().getName(), getDescription().getVersion()));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
if (!setupEconomy() ) {
|
||||
log.severe(String.format("[%s] - Disabled due to no Vault dependency found!", getDescription().getName()));
|
||||
getServer().getPluginManager().disablePlugin(this);
|
||||
return;
|
||||
}
|
||||
setupPermissions();
|
||||
setupChat();
|
||||
}
|
||||
|
||||
private boolean setupEconomy() {
|
||||
if (getServer().getPluginManager().getPlugin("Vault") == null) {
|
||||
return false;
|
||||
}
|
||||
RegisteredServiceProvider<Economy> rsp = getServer().getServicesManager().getRegistration(Economy.class);
|
||||
if (rsp == null) {
|
||||
return false;
|
||||
}
|
||||
econ = rsp.getProvider();
|
||||
return econ != null;
|
||||
}
|
||||
|
||||
private boolean setupChat() {
|
||||
RegisteredServiceProvider<Chat> rsp = getServer().getServicesManager().getRegistration(Chat.class);
|
||||
chat = rsp.getProvider();
|
||||
return chat != null;
|
||||
}
|
||||
|
||||
private boolean setupPermissions() {
|
||||
RegisteredServiceProvider<Permission> rsp = getServer().getServicesManager().getRegistration(Permission.class);
|
||||
perms = rsp.getProvider();
|
||||
return perms != null;
|
||||
}
|
||||
|
||||
public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args) {
|
||||
if(!(sender instanceof Player)) {
|
||||
log.info("Only players are supported for this Example Plugin, but you should not do this!!!");
|
||||
return true;
|
||||
}
|
||||
|
||||
Player player = (Player) sender;
|
||||
|
||||
if(command.getLabel().equals("test-economy")) {
|
||||
// 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()))));
|
||||
EconomyResponse r = econ.depositPlayer(player, 1.05);
|
||||
if(r.transactionSuccess()) {
|
||||
sender.sendMessage(String.format("You were given %s and now have %s", econ.format(r.amount), econ.format(r.balance)));
|
||||
} else {
|
||||
sender.sendMessage(String.format("An error occured: %s", r.errorMessage));
|
||||
}
|
||||
return true;
|
||||
} else if(command.getLabel().equals("test-permission")) {
|
||||
// Lets test if user has the node "example.plugin.awesome" to determine if they are awesome or just suck
|
||||
if(perms.has(player, "example.plugin.awesome")) {
|
||||
sender.sendMessage("You are awesome!");
|
||||
} else {
|
||||
sender.sendMessage("You suck!");
|
||||
}
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
27
allclasses-frame.html
Normal file
27
allclasses-frame.html
Normal file
@ -0,0 +1,27 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>All Classes (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="net/milkbowl/vault/economy/AbstractEconomy.html" title="class in net.milkbowl.vault.economy" target="classFrame">AbstractEconomy</a></li>
|
||||
<li><a href="net/milkbowl/vault/chat/Chat.html" title="class in net.milkbowl.vault.chat" target="classFrame">Chat</a></li>
|
||||
<li><a href="net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy" target="classFrame"><span class="interfaceName">Economy</span></a></li>
|
||||
<li><a href="net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy" target="classFrame">EconomyResponse</a></li>
|
||||
<li><a href="net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy" target="classFrame">EconomyResponse.ResponseType</a></li>
|
||||
<li><a href="net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item" target="classFrame">ItemInfo</a></li>
|
||||
<li><a href="net/milkbowl/vault/item/Items.html" title="class in net.milkbowl.vault.item" target="classFrame">Items</a></li>
|
||||
<li><a href="net/milkbowl/vault/permission/Permission.html" title="class in net.milkbowl.vault.permission" target="classFrame">Permission</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
27
allclasses-noframe.html
Normal file
27
allclasses-noframe.html
Normal file
@ -0,0 +1,27 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>All Classes (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="net/milkbowl/vault/economy/AbstractEconomy.html" title="class in net.milkbowl.vault.economy">AbstractEconomy</a></li>
|
||||
<li><a href="net/milkbowl/vault/chat/Chat.html" title="class in net.milkbowl.vault.chat">Chat</a></li>
|
||||
<li><a href="net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy"><span class="interfaceName">Economy</span></a></li>
|
||||
<li><a href="net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></li>
|
||||
<li><a href="net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a></li>
|
||||
<li><a href="net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></li>
|
||||
<li><a href="net/milkbowl/vault/item/Items.html" title="class in net.milkbowl.vault.item">Items</a></li>
|
||||
<li><a href="net/milkbowl/vault/permission/Permission.html" title="class in net.milkbowl.vault.permission">Permission</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
126
constant-values.html
Normal file
126
constant-values.html
Normal file
@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Constant Field Values (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Constant Field Values (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="overview-summary.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
|
||||
<li><a href="constant-values.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="overview-summary.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
|
||||
<li><a href="constant-values.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
632
deprecated-list.html
Normal file
632
deprecated-list.html
Normal file
@ -0,0 +1,632 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Deprecated List (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Deprecated List (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="overview-summary.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li class="navBarCell1Rev">Deprecated</li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
|
||||
<li><a href="deprecated-list.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Deprecated API" class="title">Deprecated API</h1>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
<ul>
|
||||
<li><a href="#method">Deprecated Methods</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contentContainer"><a name="method">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="deprecatedSummary" border="0" cellpadding="3" cellspacing="0" summary="Deprecated Methods table, listing deprecated methods, and an explanation">
|
||||
<caption><span>Deprecated Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#createBank-java.lang.String-java.lang.String-">net.milkbowl.vault.economy.Economy.createBank(String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/economy/Economy.html#createBank-java.lang.String-org.bukkit.OfflinePlayer-"><code>Economy.createBank(String, OfflinePlayer)</code></a> instead.
|
||||
|
||||
Creates a bank account with the specified name and the player as the owner</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#createPlayerAccount-java.lang.String-">net.milkbowl.vault.economy.Economy.createPlayerAccount(String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/economy/Economy.html#createPlayerAccount-org.bukkit.OfflinePlayer-"><code>Economy.createPlayerAccount(OfflinePlayer)</code></a> instead.
|
||||
|
||||
Attempts to create a player account for the given player</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#createPlayerAccount-java.lang.String-java.lang.String-">net.milkbowl.vault.economy.Economy.createPlayerAccount(String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/economy/Economy.html#createPlayerAccount-org.bukkit.OfflinePlayer-java.lang.String-"><code>Economy.createPlayerAccount(OfflinePlayer, String)</code></a> instead.
|
||||
|
||||
Attempts to create a player account for the given player on the specified world
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#depositPlayer-java.lang.String-double-">net.milkbowl.vault.economy.Economy.depositPlayer(String, double)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/economy/Economy.html#depositPlayer-org.bukkit.OfflinePlayer-double-"><code>Economy.depositPlayer(OfflinePlayer, double)</code></a> instead.
|
||||
|
||||
Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#depositPlayer-java.lang.String-java.lang.String-double-">net.milkbowl.vault.economy.Economy.depositPlayer(String, String, double)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/economy/Economy.html#depositPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-"><code>Economy.depositPlayer(OfflinePlayer, String, double)</code></a> instead.
|
||||
|
||||
Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#getBalance-java.lang.String-">net.milkbowl.vault.economy.Economy.getBalance(String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/economy/Economy.html#getBalance-org.bukkit.OfflinePlayer-"><code>Economy.getBalance(OfflinePlayer)</code></a> instead.
|
||||
Gets balance of a player</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#getBalance-java.lang.String-java.lang.String-">net.milkbowl.vault.economy.Economy.getBalance(String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/economy/Economy.html#getBalance-org.bukkit.OfflinePlayer-java.lang.String-"><code>Economy.getBalance(OfflinePlayer, String)</code></a> instead.
|
||||
|
||||
Gets balance of a player on the specified world.
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/item/ItemInfo.html#getId--">net.milkbowl.vault.item.ItemInfo.getId()</a></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#getPlayerGroups-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.getPlayerGroups(String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#getPlayerGroups-java.lang.String-org.bukkit.OfflinePlayer-"><code>Permission.getPlayerGroups(String, OfflinePlayer)</code></a> instead.
|
||||
Gets the list of groups that this player has.
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPlayerGroups-java.lang.String-java.lang.String-">net.milkbowl.vault.chat.Chat.getPlayerGroups(String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPlayerGroups-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPlayerGroups(String, OfflinePlayer)</code></a> instead.
|
||||
Gets the list of groups that this player has</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#getPlayerGroups-org.bukkit.World-java.lang.String-">net.milkbowl.vault.permission.Permission.getPlayerGroups(World, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#getPlayerGroups-java.lang.String-org.bukkit.OfflinePlayer-"><code>Permission.getPlayerGroups(String, OfflinePlayer)</code></a> instead.
|
||||
Gets the list of groups that this player has
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPlayerGroups-org.bukkit.World-java.lang.String-">net.milkbowl.vault.chat.Chat.getPlayerGroups(World, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPlayerGroups-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPlayerGroups(String, OfflinePlayer)</code></a> instead.
|
||||
Gets the list of groups that this player has</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoBoolean-java.lang.String-java.lang.String-java.lang.String-boolean-">net.milkbowl.vault.chat.Chat.getPlayerInfoBoolean(String, String, String, boolean)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoBoolean-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-boolean-"><code>getPlayerInfoBoolean(String, OfflinePlayer, String, boolean)</code></a> instead.
|
||||
|
||||
Get a players informational node (Boolean) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoBoolean-org.bukkit.World-java.lang.String-java.lang.String-boolean-">net.milkbowl.vault.chat.Chat.getPlayerInfoBoolean(World, String, String, boolean)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoBoolean-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-boolean-"><code>getPlayerInfoBoolean(String, OfflinePlayer, String, boolean)</code></a> instead.
|
||||
|
||||
Get a players informational node (Boolean) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoDouble-java.lang.String-java.lang.String-java.lang.String-double-">net.milkbowl.vault.chat.Chat.getPlayerInfoDouble(String, String, String, double)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoDouble-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-double-"><code>getPlayerInfoDouble(String, OfflinePlayer, String, double)</code></a> instead.
|
||||
|
||||
Get a players informational node (Double) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoDouble-org.bukkit.World-java.lang.String-java.lang.String-double-">net.milkbowl.vault.chat.Chat.getPlayerInfoDouble(World, String, String, double)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoDouble-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-double-"><code>getPlayerInfoDouble(String, OfflinePlayer, String, double)</code></a> instead
|
||||
|
||||
Get a players informational node (Double) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoInteger-java.lang.String-java.lang.String-java.lang.String-int-">net.milkbowl.vault.chat.Chat.getPlayerInfoInteger(String, String, String, int)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoInteger-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-int-"><code>getPlayerInfoInteger(String, OfflinePlayer, String, int)</code></a> instead.
|
||||
Get a players informational node (Integer) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoInteger-org.bukkit.World-java.lang.String-java.lang.String-int-">net.milkbowl.vault.chat.Chat.getPlayerInfoInteger(World, String, String, int)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoInteger-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-int-"><code>getPlayerInfoInteger(String, OfflinePlayer, String, int)</code></a> instead.
|
||||
|
||||
Get a players informational node (Integer) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoString-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.chat.Chat.getPlayerInfoString(String, String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoString-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-java.lang.String-"><code>getPlayerInfoString(String, OfflinePlayer, String, String)</code></a> instead.
|
||||
|
||||
Get a players informational node (String) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoString-org.bukkit.World-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.chat.Chat.getPlayerInfoString(World, String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPlayerInfoString-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-java.lang.String-"><code>getPlayerInfoString(String, OfflinePlayer, String, String)</code></a> instead.
|
||||
Get a players informational node (String) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPlayerPrefix-java.lang.String-java.lang.String-">net.milkbowl.vault.chat.Chat.getPlayerPrefix(String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPlayerPrefix-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPlayerPrefix(String, OfflinePlayer)</code></a> instead.
|
||||
|
||||
Get players prefix</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPlayerPrefix-org.bukkit.World-java.lang.String-">net.milkbowl.vault.chat.Chat.getPlayerPrefix(World, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPlayerPrefix-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPlayerPrefix(String, OfflinePlayer)</code></a> instead.
|
||||
|
||||
Get players prefix</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPlayerSuffix-java.lang.String-java.lang.String-">net.milkbowl.vault.chat.Chat.getPlayerSuffix(String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPlayerSuffix-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPlayerSuffix(String, OfflinePlayer)</code></a> instead.
|
||||
|
||||
Get players suffix</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPlayerSuffix-org.bukkit.World-java.lang.String-">net.milkbowl.vault.chat.Chat.getPlayerSuffix(World, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPlayerSuffix-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPlayerSuffix(String, OfflinePlayer)</code></a> instead.
|
||||
|
||||
Get players suffix</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#getPrimaryGroup-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.getPrimaryGroup(String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#getPrimaryGroup-java.lang.String-org.bukkit.OfflinePlayer-"><code>Permission.getPrimaryGroup(String, OfflinePlayer)</code></a> instead.
|
||||
Gets players primary group
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPrimaryGroup-java.lang.String-java.lang.String-">net.milkbowl.vault.chat.Chat.getPrimaryGroup(String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPrimaryGroup-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPrimaryGroup(String, OfflinePlayer)</code></a> instead.
|
||||
Gets players primary group</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#getPrimaryGroup-org.bukkit.World-java.lang.String-">net.milkbowl.vault.permission.Permission.getPrimaryGroup(World, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#getPrimaryGroup-java.lang.String-org.bukkit.OfflinePlayer-"><code>Permission.getPrimaryGroup(String, OfflinePlayer)</code></a> instead.
|
||||
Gets players primary group
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#getPrimaryGroup-org.bukkit.World-java.lang.String-">net.milkbowl.vault.chat.Chat.getPrimaryGroup(World, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#getPrimaryGroup-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPrimaryGroup(String, OfflinePlayer)</code></a> instead.
|
||||
Gets players primary group</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#has-java.lang.String-double-">net.milkbowl.vault.economy.Economy.has(String, double)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/economy/Economy.html#has-org.bukkit.OfflinePlayer-double-"><code>Economy.has(OfflinePlayer, double)</code></a> instead.
|
||||
|
||||
Checks if the player account has the amount - DO NOT USE NEGATIVE AMOUNTS</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#has-java.lang.String-java.lang.String-double-">net.milkbowl.vault.economy.Economy.has(String, String, double)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use @{link <a href="net/milkbowl/vault/economy/Economy.html#has-org.bukkit.OfflinePlayer-java.lang.String-double-"><code>Economy.has(OfflinePlayer, String, double)</code></a> instead.
|
||||
|
||||
Checks if the player account has the amount in a given world - DO NOT USE NEGATIVE AMOUNTS
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#has-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.has(String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerHas(String, OfflinePlayer, String)</code></a> instead.
|
||||
Checks if player has a permission node. (Short for playerHas(...)
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#has-org.bukkit.World-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.has(World, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerHas(String, OfflinePlayer, String)</code></a> instead.
|
||||
Checks if player has a permission node. (Short for playerHas(...)
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#hasAccount-java.lang.String-">net.milkbowl.vault.economy.Economy.hasAccount(String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/economy/Economy.html#hasAccount-org.bukkit.OfflinePlayer-"><code>Economy.hasAccount(OfflinePlayer)</code></a> instead.
|
||||
|
||||
Checks if this player has an account on the server yet
|
||||
This will always return true if the player has joined the server at least once
|
||||
as all major economy plugins auto-generate a player account when the player joins the server</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#hasAccount-java.lang.String-java.lang.String-">net.milkbowl.vault.economy.Economy.hasAccount(String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/economy/Economy.html#hasAccount-org.bukkit.OfflinePlayer-java.lang.String-"><code>Economy.hasAccount(OfflinePlayer, String)</code></a> instead.
|
||||
|
||||
Checks if this player has an account on the server yet on the given world
|
||||
This will always return true if the player has joined the server at least once
|
||||
as all major economy plugins auto-generate a player account when the player joins the server</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#isBankMember-java.lang.String-java.lang.String-">net.milkbowl.vault.economy.Economy.isBankMember(String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/economy/Economy.html#isBankMember-java.lang.String-org.bukkit.OfflinePlayer-"><code>Economy.isBankMember(String, OfflinePlayer)</code></a> instead.
|
||||
|
||||
Check if the player is a member of the bank account</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#isBankOwner-java.lang.String-java.lang.String-">net.milkbowl.vault.economy.Economy.isBankOwner(String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/economy/Economy.html#isBankOwner-java.lang.String-org.bukkit.OfflinePlayer-"><code>Economy.isBankOwner(String, OfflinePlayer)</code></a> instead.
|
||||
|
||||
Check if a player is the owner of a bank account</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/item/Items.html#itemById-int-">net.milkbowl.vault.item.Items.itemById(int)</a></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/item/Items.html#itemById-int-short-">net.milkbowl.vault.item.Items.itemById(int, short)</a></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerAdd-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerAdd(String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerAdd-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerAdd(String, OfflinePlayer, String)</code></a> instead.
|
||||
Add permission to a player.
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerAdd-org.bukkit.World-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerAdd(World, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerAdd-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerAdd(String, OfflinePlayer, String)</code></a> instead.
|
||||
Add permission to a player.
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerAddGroup-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerAddGroup(String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerAddGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerAddGroup(String, OfflinePlayer, String)</code></a> instead.
|
||||
Add player to a group.
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerAddGroup-org.bukkit.World-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerAddGroup(World, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerAddGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerAddGroup(String, OfflinePlayer, String)</code></a> instead.
|
||||
Add player to a group.
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerAddTransient-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerAddTransient(String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerAddTransient-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerAddTransient(OfflinePlayer, String)</code></a> instead.
|
||||
Add transient permission to a player.
|
||||
This implementation can be used by any subclass which implements a "pure" superperms plugin, i.e.
|
||||
one that only needs the built-in Bukkit API to add transient permissions to a player. Any subclass
|
||||
implementing a plugin which provides its own API for this needs to override this method.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerAddTransient-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerAddTransient(String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerAddTransient-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerAddTransient(String, OfflinePlayer, String)</code></a> instead.
|
||||
Adds a world specific transient permission to the player - ONLY WORKS IN PEX/P3 - otherwise it defaults to GLOBAL!</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerHas(String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerHas(String, OfflinePlayer, String)</code></a> instead.
|
||||
Checks if player has a permission node.
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerHas-org.bukkit.World-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerHas(World, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerHas(String, OfflinePlayer, String)</code></a> instead.
|
||||
Checks if player has a permission node.
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerInGroup-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerInGroup(String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerInGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerInGroup(String, OfflinePlayer, String)</code></a> instead.
|
||||
Check if player is member of a group.
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
|
||||
This method is known to return unexpected results depending on what permission system is being used. Different permission systems
|
||||
will store the player groups differently, It is HIGHLY suggested you test your code out first.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#playerInGroup-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.chat.Chat.playerInGroup(String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#playerInGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerInGroup(String, OfflinePlayer, String)</code></a> instead.
|
||||
Check if player is member of a group.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerInGroup-org.bukkit.World-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerInGroup(World, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerInGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerInGroup(String, OfflinePlayer, String)</code></a> instead.
|
||||
Check if player is member of a group.
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#playerInGroup-org.bukkit.World-java.lang.String-java.lang.String-">net.milkbowl.vault.chat.Chat.playerInGroup(World, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#playerInGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerInGroup(String, OfflinePlayer, String)</code></a> instead.
|
||||
Check if player is member of a group.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerRemove-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerRemove(String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerRemove-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerRemove(String, OfflinePlayer, String)</code></a> instead.
|
||||
Remove permission from a player.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerRemove-org.bukkit.World-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerRemove(World, String, String)</a></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerRemoveGroup-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerRemoveGroup(String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerRemoveGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerRemoveGroup(String, OfflinePlayer, String)</code></a> instead.
|
||||
Remove player from a group.
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerRemoveGroup-org.bukkit.World-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerRemoveGroup(World, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerRemoveGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerRemoveGroup(String, OfflinePlayer, String)</code></a> instead.
|
||||
Remove player from a group.
|
||||
Supports NULL value for World if the permission system registered supports global permissions.
|
||||
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerRemoveTransient-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerRemoveTransient(String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerRemoveTransient-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerRemoveTransient(OfflinePlayer, String)</code></a> instead.
|
||||
Remove transient permission from a player.
|
||||
This implementation can be used by any subclass which implements a "pure" superperms plugin, i.e.
|
||||
one that only needs the built-in Bukkit API to remove transient permissions from a player. Any subclass
|
||||
implementing a plugin which provides its own API for this needs to override this method.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/permission/Permission.html#playerRemoveTransient-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.permission.Permission.playerRemoveTransient(String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/permission/Permission.html#playerRemoveTransient-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>Permission.playerRemoveTransient(String, OfflinePlayer, String)</code></a> instead.
|
||||
Removes a world specific transient permission from the player - Only works in PEX/P3 - otherwise it defaults to Global!</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoBoolean-java.lang.String-java.lang.String-java.lang.String-boolean-">net.milkbowl.vault.chat.Chat.setPlayerInfoBoolean(String, String, String, boolean)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoBoolean-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-boolean-"><code>setPlayerInfoBoolean(String, OfflinePlayer, String, boolean)</code></a> instead.
|
||||
Set a players informational node (Boolean) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoBoolean-org.bukkit.World-java.lang.String-java.lang.String-boolean-">net.milkbowl.vault.chat.Chat.setPlayerInfoBoolean(World, String, String, boolean)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoBoolean-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-boolean-"><code>setPlayerInfoBoolean(String, OfflinePlayer, String, boolean)</code></a> instead.
|
||||
Set a players informational node (Boolean) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoDouble-java.lang.String-java.lang.String-java.lang.String-double-">net.milkbowl.vault.chat.Chat.setPlayerInfoDouble(String, String, String, double)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoDouble-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-double-"><code>setPlayerInfoDouble(String, OfflinePlayer, String, double)</code></a> instead.
|
||||
Set a players informational node (Double) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoDouble-org.bukkit.World-java.lang.String-java.lang.String-double-">net.milkbowl.vault.chat.Chat.setPlayerInfoDouble(World, String, String, double)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoDouble-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-double-"><code>setPlayerInfoDouble(String, OfflinePlayer, String, double)</code></a> instead.
|
||||
Set a players informational node (Double) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoInteger-java.lang.String-java.lang.String-java.lang.String-int-">net.milkbowl.vault.chat.Chat.setPlayerInfoInteger(String, String, String, int)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoInteger-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-int-"><code>setPlayerInfoInteger(String, OfflinePlayer, String, int)</code></a> instead.
|
||||
|
||||
Set a players informational node (Integer) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoInteger-org.bukkit.World-java.lang.String-java.lang.String-int-">net.milkbowl.vault.chat.Chat.setPlayerInfoInteger(World, String, String, int)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoInteger-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-int-"><code>setPlayerInfoInteger(String, OfflinePlayer, String, int)</code></a> instead.
|
||||
|
||||
Set a players informational node (Integer) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoString-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.chat.Chat.setPlayerInfoString(String, String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoString-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-java.lang.String-"><code>setPlayerInfoString(String, OfflinePlayer, String, String)</code></a> instead.
|
||||
Set a players informational node (String) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoString-org.bukkit.World-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.chat.Chat.setPlayerInfoString(World, String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#setPlayerInfoString-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-java.lang.String-"><code>setPlayerInfoString(String, OfflinePlayer, String, String)</code></a> instead.
|
||||
Set a players informational node (String) value</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#setPlayerPrefix-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.chat.Chat.setPlayerPrefix(String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#setPlayerPrefix-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>setPlayerPrefix(String, OfflinePlayer, String)</code></a> instead.
|
||||
|
||||
Set players prefix</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#setPlayerPrefix-org.bukkit.World-java.lang.String-java.lang.String-">net.milkbowl.vault.chat.Chat.setPlayerPrefix(World, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#setPlayerPrefix-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>setPlayerPrefix(String, OfflinePlayer, String)</code></a> instead.
|
||||
|
||||
Set players prefix in the given world.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#setPlayerSuffix-java.lang.String-java.lang.String-java.lang.String-">net.milkbowl.vault.chat.Chat.setPlayerSuffix(String, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#setPlayerSuffix-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>setPlayerSuffix(String, OfflinePlayer, String)</code></a> instead.
|
||||
|
||||
Set players suffix</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/chat/Chat.html#setPlayerSuffix-org.bukkit.World-java.lang.String-java.lang.String-">net.milkbowl.vault.chat.Chat.setPlayerSuffix(World, String, String)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="net/milkbowl/vault/chat/Chat.html#setPlayerSuffix-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>setPlayerSuffix(String, OfflinePlayer, String)</code></a> instead.
|
||||
|
||||
Set players suffix</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#withdrawPlayer-java.lang.String-double-">net.milkbowl.vault.economy.Economy.withdrawPlayer(String, double)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/economy/Economy.html#withdrawPlayer-org.bukkit.OfflinePlayer-double-"><code>Economy.withdrawPlayer(OfflinePlayer, double)</code></a> instead.
|
||||
Withdraw an amount from a player - DO NOT USE NEGATIVE AMOUNTS</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="net/milkbowl/vault/economy/Economy.html#withdrawPlayer-java.lang.String-java.lang.String-double-">net.milkbowl.vault.economy.Economy.withdrawPlayer(String, String, double)</a>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="net/milkbowl/vault/economy/Economy.html#withdrawPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-"><code>Economy.withdrawPlayer(OfflinePlayer, String, double)</code></a> instead.
|
||||
|
||||
Withdraw an amount from a player on a given world - DO NOT USE NEGATIVE AMOUNTS
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="overview-summary.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li class="navBarCell1Rev">Deprecated</li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
|
||||
<li><a href="deprecated-list.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
231
help-doc.html
Normal file
231
help-doc.html
Normal file
@ -0,0 +1,231 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>API Help (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="API Help (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="overview-summary.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
|
||||
<li><a href="help-doc.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">How This API Document Is Organized</h1>
|
||||
<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h2>Overview</h2>
|
||||
<p>The <a href="overview-summary.html">Overview</a> page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Package</h2>
|
||||
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:</p>
|
||||
<ul>
|
||||
<li>Interfaces (italic)</li>
|
||||
<li>Classes</li>
|
||||
<li>Enums</li>
|
||||
<li>Exceptions</li>
|
||||
<li>Errors</li>
|
||||
<li>Annotation Types</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Class/Interface</h2>
|
||||
<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
|
||||
<ul>
|
||||
<li>Class inheritance diagram</li>
|
||||
<li>Direct Subclasses</li>
|
||||
<li>All Known Subinterfaces</li>
|
||||
<li>All Known Implementing Classes</li>
|
||||
<li>Class/interface declaration</li>
|
||||
<li>Class/interface description</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Nested Class Summary</li>
|
||||
<li>Field Summary</li>
|
||||
<li>Constructor Summary</li>
|
||||
<li>Method Summary</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Field Detail</li>
|
||||
<li>Constructor Detail</li>
|
||||
<li>Method Detail</li>
|
||||
</ul>
|
||||
<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Annotation Type</h2>
|
||||
<p>Each annotation type has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Annotation Type declaration</li>
|
||||
<li>Annotation Type description</li>
|
||||
<li>Required Element Summary</li>
|
||||
<li>Optional Element Summary</li>
|
||||
<li>Element Detail</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Enum</h2>
|
||||
<p>Each enum has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Enum declaration</li>
|
||||
<li>Enum description</li>
|
||||
<li>Enum Constant Summary</li>
|
||||
<li>Enum Constant Detail</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Use</h2>
|
||||
<p>Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Tree (Class Hierarchy)</h2>
|
||||
<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.</p>
|
||||
<ul>
|
||||
<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
|
||||
<li>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Deprecated API</h2>
|
||||
<p>The <a href="deprecated-list.html">Deprecated API</a> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Index</h2>
|
||||
<p>The <a href="index-all.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Prev/Next</h2>
|
||||
<p>These links take you to the next or previous class, interface, package, or related page.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Frames/No Frames</h2>
|
||||
<p>These links show and hide the HTML frames. All pages are available with or without frames.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>All Classes</h2>
|
||||
<p>The <a href="allclasses-noframe.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Serialized Form</h2>
|
||||
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Constant Field Values</h2>
|
||||
<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<span class="emphasizedPhrase">This help file applies to API documentation generated using the standard doclet.</span></div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="overview-summary.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
|
||||
<li><a href="help-doc.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
1463
index-all.html
Normal file
1463
index-all.html
Normal file
File diff suppressed because it is too large
Load Diff
75
index.html
Normal file
75
index.html
Normal file
@ -0,0 +1,75 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Vault</title>
|
||||
<script type="text/javascript">
|
||||
targetPage = "" + window.location.search;
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
targetPage = targetPage.substring(1);
|
||||
if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
|
||||
targetPage = "undefined";
|
||||
function validURL(url) {
|
||||
try {
|
||||
url = decodeURIComponent(url);
|
||||
}
|
||||
catch (error) {
|
||||
return false;
|
||||
}
|
||||
var pos = url.indexOf(".html");
|
||||
if (pos == -1 || pos != url.length - 5)
|
||||
return false;
|
||||
var allowNumber = false;
|
||||
var allowSep = false;
|
||||
var seenDot = false;
|
||||
for (var i = 0; i < url.length - 5; i++) {
|
||||
var ch = url.charAt(i);
|
||||
if ('a' <= ch && ch <= 'z' ||
|
||||
'A' <= ch && ch <= 'Z' ||
|
||||
ch == '$' ||
|
||||
ch == '_' ||
|
||||
ch.charCodeAt(0) > 127) {
|
||||
allowNumber = true;
|
||||
allowSep = true;
|
||||
} else if ('0' <= ch && ch <= '9'
|
||||
|| ch == '-') {
|
||||
if (!allowNumber)
|
||||
return false;
|
||||
} else if (ch == '/' || ch == '.') {
|
||||
if (!allowSep)
|
||||
return false;
|
||||
allowNumber = false;
|
||||
allowSep = false;
|
||||
if (ch == '.')
|
||||
seenDot = true;
|
||||
if (ch == '/' && seenDot)
|
||||
return false;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function loadFrames() {
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
top.classFrame.location = top.targetPage;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
|
||||
<frameset rows="30%,70%" title="Left frames" onload="top.loadFrames()">
|
||||
<frame src="overview-frame.html" name="packageListFrame" title="All Packages">
|
||||
<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
|
||||
</frameset>
|
||||
<frame src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
|
||||
<noframes>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<h2>Frame Alert</h2>
|
||||
<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p>
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html>
|
165
license.txt
165
license.txt
@ -1,165 +0,0 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
2826
net/milkbowl/vault/chat/Chat.html
Normal file
2826
net/milkbowl/vault/chat/Chat.html
Normal file
File diff suppressed because it is too large
Load Diff
126
net/milkbowl/vault/chat/class-use/Chat.html
Normal file
126
net/milkbowl/vault/chat/class-use/Chat.html
Normal file
@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class net.milkbowl.vault.chat.Chat (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class net.milkbowl.vault.chat.Chat (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/chat/Chat.html" title="class in net.milkbowl.vault.chat">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/chat/class-use/Chat.html" target="_top">Frames</a></li>
|
||||
<li><a href="Chat.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class net.milkbowl.vault.chat.Chat" class="title">Uses of Class<br>net.milkbowl.vault.chat.Chat</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">No usage of net.milkbowl.vault.chat.Chat</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/chat/Chat.html" title="class in net.milkbowl.vault.chat">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/chat/class-use/Chat.html" target="_top">Frames</a></li>
|
||||
<li><a href="Chat.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
21
net/milkbowl/vault/chat/package-frame.html
Normal file
21
net/milkbowl/vault/chat/package-frame.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>net.milkbowl.vault.chat (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar"><a href="../../../../net/milkbowl/vault/chat/package-summary.html" target="classFrame">net.milkbowl.vault.chat</a></h1>
|
||||
<div class="indexContainer">
|
||||
<h2 title="Classes">Classes</h2>
|
||||
<ul title="Classes">
|
||||
<li><a href="Chat.html" title="class in net.milkbowl.vault.chat" target="classFrame">Chat</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
146
net/milkbowl/vault/chat/package-summary.html
Normal file
146
net/milkbowl/vault/chat/package-summary.html
Normal file
@ -0,0 +1,146 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>net.milkbowl.vault.chat (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="net.milkbowl.vault.chat (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li class="navBarCell1Rev">Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-use.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Package</li>
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/package-summary.html">Next Package</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/chat/package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Package" class="title">Package net.milkbowl.vault.chat</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
|
||||
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../net/milkbowl/vault/chat/Chat.html" title="class in net.milkbowl.vault.chat">Chat</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">The main Chat API - allows for Prefix/Suffix nodes along with generic Info nodes if the linked Chat system supports them</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li class="navBarCell1Rev">Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-use.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Package</li>
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/package-summary.html">Next Package</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/chat/package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
139
net/milkbowl/vault/chat/package-tree.html
Normal file
139
net/milkbowl/vault/chat/package-tree.html
Normal file
@ -0,0 +1,139 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>net.milkbowl.vault.chat Class Hierarchy (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="net.milkbowl.vault.chat Class Hierarchy (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/package-tree.html">Next</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/chat/package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For Package net.milkbowl.vault.chat</h1>
|
||||
<span class="packageHierarchyLabel">Package Hierarchies:</span>
|
||||
<ul class="horizontal">
|
||||
<li><a href="../../../../overview-tree.html">All Packages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
|
||||
<ul>
|
||||
<li type="circle">net.milkbowl.vault.chat.<a href="../../../../net/milkbowl/vault/chat/Chat.html" title="class in net.milkbowl.vault.chat"><span class="typeNameLink">Chat</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/package-tree.html">Next</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/chat/package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
126
net/milkbowl/vault/chat/package-use.html
Normal file
126
net/milkbowl/vault/chat/package-use.html
Normal file
@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Package net.milkbowl.vault.chat (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Package net.milkbowl.vault.chat (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/chat/package-use.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-use.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Uses of Package net.milkbowl.vault.chat" class="title">Uses of Package<br>net.milkbowl.vault.chat</h1>
|
||||
</div>
|
||||
<div class="contentContainer">No usage of net.milkbowl.vault.chat</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/chat/package-use.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-use.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
709
net/milkbowl/vault/economy/AbstractEconomy.html
Normal file
709
net/milkbowl/vault/economy/AbstractEconomy.html
Normal file
@ -0,0 +1,709 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:18 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>AbstractEconomy (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AbstractEconomy (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/AbstractEconomy.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/economy/AbstractEconomy.html" target="_top">Frames</a></li>
|
||||
<li><a href="AbstractEconomy.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.milkbowl.vault.economy</div>
|
||||
<h2 title="Class AbstractEconomy" class="title">Class AbstractEconomy</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.milkbowl.vault.economy.AbstractEconomy</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public abstract class <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.6">AbstractEconomy</a>
|
||||
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
|
||||
implements <a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#AbstractEconomy--">AbstractEconomy</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#createBank-java.lang.String-org.bukkit.OfflinePlayer-">createBank</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
org.bukkit.OfflinePlayer player)</code>
|
||||
<div class="block">Creates a bank account with the specified name and the player as the owner</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#createPlayerAccount-org.bukkit.OfflinePlayer-">createPlayerAccount</a></span>(org.bukkit.OfflinePlayer player)</code>
|
||||
<div class="block">Attempts to create a player account for the given player</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#createPlayerAccount-org.bukkit.OfflinePlayer-java.lang.String-">createPlayerAccount</a></span>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName)</code>
|
||||
<div class="block">Attempts to create a player account for the given player on the specified world
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#depositPlayer-org.bukkit.OfflinePlayer-double-">depositPlayer</a></span>(org.bukkit.OfflinePlayer player,
|
||||
double amount)</code>
|
||||
<div class="block">Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#depositPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-">depositPlayer</a></span>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
||||
double amount)</code>
|
||||
<div class="block">Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#getBalance-org.bukkit.OfflinePlayer-">getBalance</a></span>(org.bukkit.OfflinePlayer player)</code>
|
||||
<div class="block">Gets balance of a player</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#getBalance-org.bukkit.OfflinePlayer-java.lang.String-">getBalance</a></span>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world)</code>
|
||||
<div class="block">Gets balance of a player on the specified world.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#has-org.bukkit.OfflinePlayer-double-">has</a></span>(org.bukkit.OfflinePlayer player,
|
||||
double amount)</code>
|
||||
<div class="block">Checks if the player account has the amount - DO NOT USE NEGATIVE AMOUNTS</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#has-org.bukkit.OfflinePlayer-java.lang.String-double-">has</a></span>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
||||
double amount)</code>
|
||||
<div class="block">Checks if the player account has the amount in a given world - DO NOT USE NEGATIVE AMOUNTS
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#hasAccount-org.bukkit.OfflinePlayer-">hasAccount</a></span>(org.bukkit.OfflinePlayer player)</code>
|
||||
<div class="block">Checks if this player has an account on the server yet
|
||||
This will always return true if the player has joined the server at least once
|
||||
as all major economy plugins auto-generate a player account when the player joins the server</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#hasAccount-org.bukkit.OfflinePlayer-java.lang.String-">hasAccount</a></span>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName)</code>
|
||||
<div class="block">Checks if this player has an account on the server yet on the given world
|
||||
This will always return true if the player has joined the server at least once
|
||||
as all major economy plugins auto-generate a player account when the player joins the server</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#isBankMember-java.lang.String-org.bukkit.OfflinePlayer-">isBankMember</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
org.bukkit.OfflinePlayer player)</code>
|
||||
<div class="block">Check if the player is a member of the bank account</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#isBankOwner-java.lang.String-org.bukkit.OfflinePlayer-">isBankOwner</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
org.bukkit.OfflinePlayer player)</code>
|
||||
<div class="block">Check if a player is the owner of a bank account</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#withdrawPlayer-org.bukkit.OfflinePlayer-double-">withdrawPlayer</a></span>(org.bukkit.OfflinePlayer player,
|
||||
double amount)</code>
|
||||
<div class="block">Withdraw an amount from a player - DO NOT USE NEGATIVE AMOUNTS</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#withdrawPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-">withdrawPlayer</a></span>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
||||
double amount)</code>
|
||||
<div class="block">Withdraw an amount from a player on a given world - DO NOT USE NEGATIVE AMOUNTS
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.net.milkbowl.vault.economy.Economy">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface net.milkbowl.vault.economy.<a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></h3>
|
||||
<code><a href="../../../../net/milkbowl/vault/economy/Economy.html#bankBalance-java.lang.String-">bankBalance</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#bankDeposit-java.lang.String-double-">bankDeposit</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#bankHas-java.lang.String-double-">bankHas</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#bankWithdraw-java.lang.String-double-">bankWithdraw</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#createBank-java.lang.String-java.lang.String-">createBank</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#createPlayerAccount-java.lang.String-">createPlayerAccount</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#createPlayerAccount-java.lang.String-java.lang.String-">createPlayerAccount</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#currencyNamePlural--">currencyNamePlural</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#currencyNameSingular--">currencyNameSingular</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#deleteBank-java.lang.String-">deleteBank</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer-java.lang.String-double-">depositPlayer</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer-java.lang.String-java.lang.String-double-">depositPlayer</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#format-double-">format</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#fractionalDigits--">fractionalDigits</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#getBalance-java.lang.String-">getBalance</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#getBalance-java.lang.String-java.lang.String-">getBalance</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#getBanks--">getBanks</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#getName--">getName</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#has-java.lang.String-double-">has</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#has-java.lang.String-java.lang.String-double-">has</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#hasAccount-java.lang.String-">hasAccount</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#hasAccount-java.lang.String-java.lang.String-">hasAccount</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#hasBankSupport--">hasBankSupport</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#isBankMember-java.lang.String-java.lang.String-">isBankMember</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#isBankOwner-java.lang.String-java.lang.String-">isBankOwner</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#isEnabled--">isEnabled</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer-java.lang.String-double-">withdrawPlayer</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer-java.lang.String-java.lang.String-double-">withdrawPlayer</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="AbstractEconomy--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>AbstractEconomy</h4>
|
||||
<pre>public <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.6">AbstractEconomy</a>()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="hasAccount-org.bukkit.OfflinePlayer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hasAccount</h4>
|
||||
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.9">hasAccount</a>(org.bukkit.OfflinePlayer player)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#hasAccount-org.bukkit.OfflinePlayer-">Economy</a></code></span></div>
|
||||
<div class="block">Checks if this player has an account on the server yet
|
||||
This will always return true if the player has joined the server at least once
|
||||
as all major economy plugins auto-generate a player account when the player joins the server</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#hasAccount-org.bukkit.OfflinePlayer-">hasAccount</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>player</code> - to check</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>if the player has an account</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hasAccount-org.bukkit.OfflinePlayer-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hasAccount</h4>
|
||||
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.14">hasAccount</a>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#hasAccount-org.bukkit.OfflinePlayer-java.lang.String-">Economy</a></code></span></div>
|
||||
<div class="block">Checks if this player has an account on the server yet on the given world
|
||||
This will always return true if the player has joined the server at least once
|
||||
as all major economy plugins auto-generate a player account when the player joins the server</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#hasAccount-org.bukkit.OfflinePlayer-java.lang.String-">hasAccount</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>player</code> - to check in the world</dd>
|
||||
<dd><code>worldName</code> - world-specific account</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>if the player has an account</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getBalance-org.bukkit.OfflinePlayer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getBalance</h4>
|
||||
<pre>public double <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.19">getBalance</a>(org.bukkit.OfflinePlayer player)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#getBalance-org.bukkit.OfflinePlayer-">Economy</a></code></span></div>
|
||||
<div class="block">Gets balance of a player</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#getBalance-org.bukkit.OfflinePlayer-">getBalance</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>player</code> - of the player</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Amount currently held in players account</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getBalance-org.bukkit.OfflinePlayer-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getBalance</h4>
|
||||
<pre>public double <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.24">getBalance</a>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#getBalance-org.bukkit.OfflinePlayer-java.lang.String-">Economy</a></code></span></div>
|
||||
<div class="block">Gets balance of a player on the specified world.
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#getBalance-org.bukkit.OfflinePlayer-java.lang.String-">getBalance</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>player</code> - to check</dd>
|
||||
<dd><code>world</code> - name of the world</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Amount currently held in players account</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="has-org.bukkit.OfflinePlayer-double-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>has</h4>
|
||||
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.29">has</a>(org.bukkit.OfflinePlayer player,
|
||||
double amount)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#has-org.bukkit.OfflinePlayer-double-">Economy</a></code></span></div>
|
||||
<div class="block">Checks if the player account has the amount - DO NOT USE NEGATIVE AMOUNTS</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#has-org.bukkit.OfflinePlayer-double-">has</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>player</code> - to check</dd>
|
||||
<dd><code>amount</code> - to check for</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>True if <b>player</b> has <b>amount</b>, False else wise</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="has-org.bukkit.OfflinePlayer-java.lang.String-double-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>has</h4>
|
||||
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.34">has</a>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
||||
double amount)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#has-org.bukkit.OfflinePlayer-java.lang.String-double-">Economy</a></code></span></div>
|
||||
<div class="block">Checks if the player account has the amount in a given world - DO NOT USE NEGATIVE AMOUNTS
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#has-org.bukkit.OfflinePlayer-java.lang.String-double-">has</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>player</code> - to check</dd>
|
||||
<dd><code>worldName</code> - to check with</dd>
|
||||
<dd><code>amount</code> - to check for</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>True if <b>player</b> has <b>amount</b>, False else wise</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="withdrawPlayer-org.bukkit.OfflinePlayer-double-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>withdrawPlayer</h4>
|
||||
<pre>public <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a> <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.39">withdrawPlayer</a>(org.bukkit.OfflinePlayer player,
|
||||
double amount)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer-org.bukkit.OfflinePlayer-double-">Economy</a></code></span></div>
|
||||
<div class="block">Withdraw an amount from a player - DO NOT USE NEGATIVE AMOUNTS</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer-org.bukkit.OfflinePlayer-double-">withdrawPlayer</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>player</code> - to withdraw from</dd>
|
||||
<dd><code>amount</code> - Amount to withdraw</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Detailed response of transaction</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="withdrawPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>withdrawPlayer</h4>
|
||||
<pre>public <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a> <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.44">withdrawPlayer</a>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
||||
double amount)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-">Economy</a></code></span></div>
|
||||
<div class="block">Withdraw an amount from a player on a given world - DO NOT USE NEGATIVE AMOUNTS
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-">withdrawPlayer</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>player</code> - to withdraw from</dd>
|
||||
<dd><code>worldName</code> - - name of the world</dd>
|
||||
<dd><code>amount</code> - Amount to withdraw</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Detailed response of transaction</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="depositPlayer-org.bukkit.OfflinePlayer-double-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>depositPlayer</h4>
|
||||
<pre>public <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a> <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.49">depositPlayer</a>(org.bukkit.OfflinePlayer player,
|
||||
double amount)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer-org.bukkit.OfflinePlayer-double-">Economy</a></code></span></div>
|
||||
<div class="block">Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer-org.bukkit.OfflinePlayer-double-">depositPlayer</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>player</code> - to deposit to</dd>
|
||||
<dd><code>amount</code> - Amount to deposit</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Detailed response of transaction</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="depositPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>depositPlayer</h4>
|
||||
<pre>public <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a> <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.54">depositPlayer</a>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
||||
double amount)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-">Economy</a></code></span></div>
|
||||
<div class="block">Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-">depositPlayer</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>player</code> - to deposit to</dd>
|
||||
<dd><code>worldName</code> - name of the world</dd>
|
||||
<dd><code>amount</code> - Amount to deposit</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Detailed response of transaction</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="createBank-java.lang.String-org.bukkit.OfflinePlayer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createBank</h4>
|
||||
<pre>public <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a> <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.59">createBank</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
org.bukkit.OfflinePlayer player)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#createBank-java.lang.String-org.bukkit.OfflinePlayer-">Economy</a></code></span></div>
|
||||
<div class="block">Creates a bank account with the specified name and the player as the owner</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#createBank-java.lang.String-org.bukkit.OfflinePlayer-">createBank</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>name</code> - of account</dd>
|
||||
<dd><code>player</code> - the account should be linked to</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>EconomyResponse Object</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isBankOwner-java.lang.String-org.bukkit.OfflinePlayer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isBankOwner</h4>
|
||||
<pre>public <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a> <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.64">isBankOwner</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
org.bukkit.OfflinePlayer player)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#isBankOwner-java.lang.String-org.bukkit.OfflinePlayer-">Economy</a></code></span></div>
|
||||
<div class="block">Check if a player is the owner of a bank account</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#isBankOwner-java.lang.String-org.bukkit.OfflinePlayer-">isBankOwner</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>name</code> - of the account</dd>
|
||||
<dd><code>player</code> - to check for ownership</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>EconomyResponse Object</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isBankMember-java.lang.String-org.bukkit.OfflinePlayer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isBankMember</h4>
|
||||
<pre>public <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a> <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.69">isBankMember</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
org.bukkit.OfflinePlayer player)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#isBankMember-java.lang.String-org.bukkit.OfflinePlayer-">Economy</a></code></span></div>
|
||||
<div class="block">Check if the player is a member of the bank account</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#isBankMember-java.lang.String-org.bukkit.OfflinePlayer-">isBankMember</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>name</code> - of the account</dd>
|
||||
<dd><code>player</code> - to check membership</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>EconomyResponse Object</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="createPlayerAccount-org.bukkit.OfflinePlayer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createPlayerAccount</h4>
|
||||
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.74">createPlayerAccount</a>(org.bukkit.OfflinePlayer player)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#createPlayerAccount-org.bukkit.OfflinePlayer-">Economy</a></code></span></div>
|
||||
<div class="block">Attempts to create a player account for the given player</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#createPlayerAccount-org.bukkit.OfflinePlayer-">createPlayerAccount</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>player</code> - OfflinePlayer</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>if the account creation was successful</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="createPlayerAccount-org.bukkit.OfflinePlayer-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>createPlayerAccount</h4>
|
||||
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/economy/AbstractEconomy.html#line.79">createPlayerAccount</a>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#createPlayerAccount-org.bukkit.OfflinePlayer-java.lang.String-">Economy</a></code></span></div>
|
||||
<div class="block">Attempts to create a player account for the given player on the specified world
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#createPlayerAccount-org.bukkit.OfflinePlayer-java.lang.String-">createPlayerAccount</a></code> in interface <code><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>player</code> - OfflinePlayer</dd>
|
||||
<dd><code>worldName</code> - String name of the world</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>if the account creation was successful</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/AbstractEconomy.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/economy/AbstractEconomy.html" target="_top">Frames</a></li>
|
||||
<li><a href="AbstractEconomy.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
1388
net/milkbowl/vault/economy/Economy.html
Normal file
1388
net/milkbowl/vault/economy/Economy.html
Normal file
File diff suppressed because it is too large
Load Diff
360
net/milkbowl/vault/economy/EconomyResponse.ResponseType.html
Normal file
360
net/milkbowl/vault/economy/EconomyResponse.ResponseType.html
Normal file
@ -0,0 +1,360 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:18 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>EconomyResponse.ResponseType (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="EconomyResponse.ResponseType (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/EconomyResponse.ResponseType.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" target="_top">Frames</a></li>
|
||||
<li><a href="EconomyResponse.ResponseType.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.milkbowl.vault.economy</div>
|
||||
<h2 title="Enum EconomyResponse.ResponseType" class="title">Enum EconomyResponse.ResponseType</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a><<a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.milkbowl.vault.economy.EconomyResponse.ResponseType</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a>></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static enum <a href="../../../../src-html/net/milkbowl/vault/economy/EconomyResponse.html#line.29">EconomyResponse.ResponseType</a>
|
||||
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a>></pre>
|
||||
<div class="block">Enum for types of Responses indicating the status of a method call.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
|
||||
<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Enum Constant and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html#FAILURE">FAILURE</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html#NOT_IMPLEMENTED">NOT_IMPLEMENTED</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html#SUCCESS">SUCCESS</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a>[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html#values--">values</a></span>()</code>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3>
|
||||
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-" title="class or interface in java.lang">compareTo</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--" title="class or interface in java.lang">getDeclaringClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#name--" title="class or interface in java.lang">name</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="class or interface in java.lang">ordinal</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="class or interface in java.lang">valueOf</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Detail</h3>
|
||||
<a name="SUCCESS">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>SUCCESS</h4>
|
||||
<pre>public static final <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a> <a href="../../../../src-html/net/milkbowl/vault/economy/EconomyResponse.ResponseType.html#line.30">SUCCESS</a></pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="FAILURE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>FAILURE</h4>
|
||||
<pre>public static final <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a> <a href="../../../../src-html/net/milkbowl/vault/economy/EconomyResponse.ResponseType.html#line.31">FAILURE</a></pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NOT_IMPLEMENTED">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NOT_IMPLEMENTED</h4>
|
||||
<pre>public static final <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a> <a href="../../../../src-html/net/milkbowl/vault/economy/EconomyResponse.ResponseType.html#line.32">NOT_IMPLEMENTED</a></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="values--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>values</h4>
|
||||
<pre>public static <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a>[] <a href="../../../../src-html/net/milkbowl/vault/economy/EconomyResponse.ResponseType.html#line.29">values</a>()</pre>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared. This method may be used to iterate
|
||||
over the constants as follows:
|
||||
<pre>
|
||||
for (EconomyResponse.ResponseType c : EconomyResponse.ResponseType.values())
|
||||
System.out.println(c);
|
||||
</pre></div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="valueOf-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>valueOf</h4>
|
||||
<pre>public static <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a> <a href="../../../../src-html/net/milkbowl/vault/economy/EconomyResponse.ResponseType.html#line.29">valueOf</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.
|
||||
The string must match <i>exactly</i> an identifier used to declare an
|
||||
enum constant in this type. (Extraneous whitespace characters are
|
||||
not permitted.)</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the enum constant with the specified name</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd>
|
||||
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/EconomyResponse.ResponseType.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" target="_top">Frames</a></li>
|
||||
<li><a href="EconomyResponse.ResponseType.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
408
net/milkbowl/vault/economy/EconomyResponse.html
Normal file
408
net/milkbowl/vault/economy/EconomyResponse.html
Normal file
@ -0,0 +1,408 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:18 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>EconomyResponse (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="EconomyResponse (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/EconomyResponse.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/economy/EconomyResponse.html" target="_top">Frames</a></li>
|
||||
<li><a href="EconomyResponse.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.milkbowl.vault.economy</div>
|
||||
<h2 title="Class EconomyResponse" class="title">Class EconomyResponse</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.milkbowl.vault.economy.EconomyResponse</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <a href="../../../../src-html/net/milkbowl/vault/economy/EconomyResponse.html#line.24">EconomyResponse</a>
|
||||
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
|
||||
<div class="block">Indicates a typical Return for an Economy method.
|
||||
It includes a <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy"><code>EconomyResponse.ResponseType</code></a> indicating whether the plugin currently being used for Economy actually allows
|
||||
the method, or if the operation was a success or failure.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a></span></code>
|
||||
<div class="block">Enum for types of Responses indicating the status of a method call.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html#amount">amount</a></span></code>
|
||||
<div class="block">Amount modified by calling method</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html#balance">balance</a></span></code>
|
||||
<div class="block">New balance of account</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html#errorMessage">errorMessage</a></span></code>
|
||||
<div class="block">Error message if the variable 'type' is ResponseType.FAILURE</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html#type">type</a></span></code>
|
||||
<div class="block">Success or failure of call.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html#EconomyResponse-double-double-net.milkbowl.vault.economy.EconomyResponse.ResponseType-java.lang.String-">EconomyResponse</a></span>(double amount,
|
||||
double balance,
|
||||
<a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a> type,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> errorMessage)</code>
|
||||
<div class="block">Constructor for EconomyResponse</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html#transactionSuccess--">transactionSuccess</a></span>()</code>
|
||||
<div class="block">Checks if an operation was successful</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a name="amount">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>amount</h4>
|
||||
<pre>public final double <a href="../../../../src-html/net/milkbowl/vault/economy/EconomyResponse.html#line.48">amount</a></pre>
|
||||
<div class="block">Amount modified by calling method</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="balance">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>balance</h4>
|
||||
<pre>public final double <a href="../../../../src-html/net/milkbowl/vault/economy/EconomyResponse.html#line.52">balance</a></pre>
|
||||
<div class="block">New balance of account</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="type">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>type</h4>
|
||||
<pre>public final <a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a> <a href="../../../../src-html/net/milkbowl/vault/economy/EconomyResponse.html#line.57">type</a></pre>
|
||||
<div class="block">Success or failure of call. Using Enum of ResponseType to determine valid
|
||||
outcomes</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="errorMessage">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>errorMessage</h4>
|
||||
<pre>public final <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/net/milkbowl/vault/economy/EconomyResponse.html#line.61">errorMessage</a></pre>
|
||||
<div class="block">Error message if the variable 'type' is ResponseType.FAILURE</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="EconomyResponse-double-double-net.milkbowl.vault.economy.EconomyResponse.ResponseType-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>EconomyResponse</h4>
|
||||
<pre>public <a href="../../../../src-html/net/milkbowl/vault/economy/EconomyResponse.html#line.70">EconomyResponse</a>(double amount,
|
||||
double balance,
|
||||
<a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a> type,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> errorMessage)</pre>
|
||||
<div class="block">Constructor for EconomyResponse</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>amount</code> - Amount modified during operation</dd>
|
||||
<dd><code>balance</code> - New balance of account</dd>
|
||||
<dd><code>type</code> - Success or failure type of the operation</dd>
|
||||
<dd><code>errorMessage</code> - Error message if necessary (commonly null)</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="transactionSuccess--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>transactionSuccess</h4>
|
||||
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/economy/EconomyResponse.html#line.81">transactionSuccess</a>()</pre>
|
||||
<div class="block">Checks if an operation was successful</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Value</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/EconomyResponse.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/economy/EconomyResponse.html" target="_top">Frames</a></li>
|
||||
<li><a href="EconomyResponse.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
126
net/milkbowl/vault/economy/class-use/AbstractEconomy.html
Normal file
126
net/milkbowl/vault/economy/class-use/AbstractEconomy.html
Normal file
@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class net.milkbowl.vault.economy.AbstractEconomy (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class net.milkbowl.vault.economy.AbstractEconomy (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/economy/AbstractEconomy.html" title="class in net.milkbowl.vault.economy">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/economy/class-use/AbstractEconomy.html" target="_top">Frames</a></li>
|
||||
<li><a href="AbstractEconomy.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class net.milkbowl.vault.economy.AbstractEconomy" class="title">Uses of Class<br>net.milkbowl.vault.economy.AbstractEconomy</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">No usage of net.milkbowl.vault.economy.AbstractEconomy</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/economy/AbstractEconomy.html" title="class in net.milkbowl.vault.economy">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/economy/class-use/AbstractEconomy.html" target="_top">Frames</a></li>
|
||||
<li><a href="AbstractEconomy.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
166
net/milkbowl/vault/economy/class-use/Economy.html
Normal file
166
net/milkbowl/vault/economy/class-use/Economy.html
Normal file
@ -0,0 +1,166 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Interface net.milkbowl.vault.economy.Economy (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Interface net.milkbowl.vault.economy.Economy (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/economy/class-use/Economy.html" target="_top">Frames</a></li>
|
||||
<li><a href="Economy.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Interface net.milkbowl.vault.economy.Economy" class="title">Uses of Interface<br>net.milkbowl.vault.economy.Economy</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
||||
<caption><span>Packages that use <a href="../../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#net.milkbowl.vault.economy">net.milkbowl.vault.economy</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="net.milkbowl.vault.economy">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Uses of <a href="../../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a> in <a href="../../../../../net/milkbowl/vault/economy/package-summary.html">net.milkbowl.vault.economy</a></h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
|
||||
<caption><span>Classes in <a href="../../../../../net/milkbowl/vault/economy/package-summary.html">net.milkbowl.vault.economy</a> that implement <a href="../../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/AbstractEconomy.html" title="class in net.milkbowl.vault.economy">AbstractEconomy</a></span></code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/economy/class-use/Economy.html" target="_top">Frames</a></li>
|
||||
<li><a href="Economy.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,206 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class net.milkbowl.vault.economy.EconomyResponse.ResponseType (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class net.milkbowl.vault.economy.EconomyResponse.ResponseType (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/economy/class-use/EconomyResponse.ResponseType.html" target="_top">Frames</a></li>
|
||||
<li><a href="EconomyResponse.ResponseType.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class net.milkbowl.vault.economy.EconomyResponse.ResponseType" class="title">Uses of Class<br>net.milkbowl.vault.economy.EconomyResponse.ResponseType</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
||||
<caption><span>Packages that use <a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#net.milkbowl.vault.economy">net.milkbowl.vault.economy</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="net.milkbowl.vault.economy">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Uses of <a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a> in <a href="../../../../../net/milkbowl/vault/economy/package-summary.html">net.milkbowl.vault.economy</a></h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
|
||||
<caption><span>Fields in <a href="../../../../../net/milkbowl/vault/economy/package-summary.html">net.milkbowl.vault.economy</a> declared as <a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">EconomyResponse.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html#type">type</a></span></code>
|
||||
<div class="block">Success or failure of call.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
||||
<caption><span>Methods in <a href="../../../../../net/milkbowl/vault/economy/package-summary.html">net.milkbowl.vault.economy</a> that return <a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">EconomyResponse.ResponseType.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a>[]</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">EconomyResponse.ResponseType.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html#values--">values</a></span>()</code>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors in <a href="../../../../../net/milkbowl/vault/economy/package-summary.html">net.milkbowl.vault.economy</a> with parameters of type <a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html#EconomyResponse-double-double-net.milkbowl.vault.economy.EconomyResponse.ResponseType-java.lang.String-">EconomyResponse</a></span>(double amount,
|
||||
double balance,
|
||||
<a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a> type,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> errorMessage)</code>
|
||||
<div class="block">Constructor for EconomyResponse</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/economy/class-use/EconomyResponse.ResponseType.html" target="_top">Frames</a></li>
|
||||
<li><a href="EconomyResponse.ResponseType.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
365
net/milkbowl/vault/economy/class-use/EconomyResponse.html
Normal file
365
net/milkbowl/vault/economy/class-use/EconomyResponse.html
Normal file
@ -0,0 +1,365 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class net.milkbowl.vault.economy.EconomyResponse (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class net.milkbowl.vault.economy.EconomyResponse (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/economy/class-use/EconomyResponse.html" target="_top">Frames</a></li>
|
||||
<li><a href="EconomyResponse.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class net.milkbowl.vault.economy.EconomyResponse" class="title">Uses of Class<br>net.milkbowl.vault.economy.EconomyResponse</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
||||
<caption><span>Packages that use <a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#net.milkbowl.vault.economy">net.milkbowl.vault.economy</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="net.milkbowl.vault.economy">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Uses of <a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a> in <a href="../../../../../net/milkbowl/vault/economy/package-summary.html">net.milkbowl.vault.economy</a></h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
||||
<caption><span>Methods in <a href="../../../../../net/milkbowl/vault/economy/package-summary.html">net.milkbowl.vault.economy</a> that return <a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#bankBalance-java.lang.String-">bankBalance</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
|
||||
<div class="block">Returns the amount the bank has</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#bankDeposit-java.lang.String-double-">bankDeposit</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
double amount)</code>
|
||||
<div class="block">Deposit an amount into a bank account - DO NOT USE NEGATIVE AMOUNTS</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#bankHas-java.lang.String-double-">bankHas</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
double amount)</code>
|
||||
<div class="block">Returns true or false whether the bank has the amount specified - DO NOT USE NEGATIVE AMOUNTS</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#bankWithdraw-java.lang.String-double-">bankWithdraw</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
double amount)</code>
|
||||
<div class="block">Withdraw an amount from a bank account - DO NOT USE NEGATIVE AMOUNTS</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">AbstractEconomy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/AbstractEconomy.html#createBank-java.lang.String-org.bukkit.OfflinePlayer-">createBank</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
org.bukkit.OfflinePlayer player)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#createBank-java.lang.String-org.bukkit.OfflinePlayer-">createBank</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
org.bukkit.OfflinePlayer player)</code>
|
||||
<div class="block">Creates a bank account with the specified name and the player as the owner</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#createBank-java.lang.String-java.lang.String-">createBank</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="../../../../../net/milkbowl/vault/economy/Economy.html#createBank-java.lang.String-org.bukkit.OfflinePlayer-"><code>Economy.createBank(String, OfflinePlayer)</code></a> instead.
|
||||
|
||||
Creates a bank account with the specified name and the player as the owner</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#deleteBank-java.lang.String-">deleteBank</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
|
||||
<div class="block">Deletes a bank account with the specified name.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">AbstractEconomy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/AbstractEconomy.html#depositPlayer-org.bukkit.OfflinePlayer-double-">depositPlayer</a></span>(org.bukkit.OfflinePlayer player,
|
||||
double amount)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer-org.bukkit.OfflinePlayer-double-">depositPlayer</a></span>(org.bukkit.OfflinePlayer player,
|
||||
double amount)</code>
|
||||
<div class="block">Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">AbstractEconomy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/AbstractEconomy.html#depositPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-">depositPlayer</a></span>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
||||
double amount)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-">depositPlayer</a></span>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
||||
double amount)</code>
|
||||
<div class="block">Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer-java.lang.String-double-">depositPlayer</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> playerName,
|
||||
double amount)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="../../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer-org.bukkit.OfflinePlayer-double-"><code>Economy.depositPlayer(OfflinePlayer, double)</code></a> instead.
|
||||
|
||||
Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer-java.lang.String-java.lang.String-double-">depositPlayer</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> playerName,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
||||
double amount)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="../../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-"><code>Economy.depositPlayer(OfflinePlayer, String, double)</code></a> instead.
|
||||
|
||||
Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">AbstractEconomy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/AbstractEconomy.html#isBankMember-java.lang.String-org.bukkit.OfflinePlayer-">isBankMember</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
org.bukkit.OfflinePlayer player)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#isBankMember-java.lang.String-org.bukkit.OfflinePlayer-">isBankMember</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
org.bukkit.OfflinePlayer player)</code>
|
||||
<div class="block">Check if the player is a member of the bank account</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#isBankMember-java.lang.String-java.lang.String-">isBankMember</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> playerName)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="../../../../../net/milkbowl/vault/economy/Economy.html#isBankMember-java.lang.String-org.bukkit.OfflinePlayer-"><code>Economy.isBankMember(String, OfflinePlayer)</code></a> instead.
|
||||
|
||||
Check if the player is a member of the bank account</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">AbstractEconomy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/AbstractEconomy.html#isBankOwner-java.lang.String-org.bukkit.OfflinePlayer-">isBankOwner</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
org.bukkit.OfflinePlayer player)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#isBankOwner-java.lang.String-org.bukkit.OfflinePlayer-">isBankOwner</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
org.bukkit.OfflinePlayer player)</code>
|
||||
<div class="block">Check if a player is the owner of a bank account</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#isBankOwner-java.lang.String-java.lang.String-">isBankOwner</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> playerName)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use {<a href="../../../../../net/milkbowl/vault/economy/Economy.html#isBankOwner-java.lang.String-org.bukkit.OfflinePlayer-"><code>Economy.isBankOwner(String, OfflinePlayer)</code></a> instead.
|
||||
|
||||
Check if a player is the owner of a bank account</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">AbstractEconomy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/AbstractEconomy.html#withdrawPlayer-org.bukkit.OfflinePlayer-double-">withdrawPlayer</a></span>(org.bukkit.OfflinePlayer player,
|
||||
double amount)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer-org.bukkit.OfflinePlayer-double-">withdrawPlayer</a></span>(org.bukkit.OfflinePlayer player,
|
||||
double amount)</code>
|
||||
<div class="block">Withdraw an amount from a player - DO NOT USE NEGATIVE AMOUNTS</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">AbstractEconomy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/AbstractEconomy.html#withdrawPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-">withdrawPlayer</a></span>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
||||
double amount)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-">withdrawPlayer</a></span>(org.bukkit.OfflinePlayer player,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
||||
double amount)</code>
|
||||
<div class="block">Withdraw an amount from a player on a given world - DO NOT USE NEGATIVE AMOUNTS
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer-java.lang.String-double-">withdrawPlayer</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> playerName,
|
||||
double amount)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="../../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer-org.bukkit.OfflinePlayer-double-"><code>Economy.withdrawPlayer(OfflinePlayer, double)</code></a> instead.
|
||||
Withdraw an amount from a player - DO NOT USE NEGATIVE AMOUNTS</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Economy.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer-java.lang.String-java.lang.String-double-">withdrawPlayer</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> playerName,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
||||
double amount)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">As of Vault 1.3.01 use <a href="../../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer-org.bukkit.OfflinePlayer-java.lang.String-double-"><code>Economy.withdrawPlayer(OfflinePlayer, String, double)</code></a> instead.
|
||||
|
||||
Withdraw an amount from a player on a given world - DO NOT USE NEGATIVE AMOUNTS
|
||||
IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/economy/class-use/EconomyResponse.html" target="_top">Frames</a></li>
|
||||
<li><a href="EconomyResponse.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
30
net/milkbowl/vault/economy/package-frame.html
Normal file
30
net/milkbowl/vault/economy/package-frame.html
Normal file
@ -0,0 +1,30 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>net.milkbowl.vault.economy (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar"><a href="../../../../net/milkbowl/vault/economy/package-summary.html" target="classFrame">net.milkbowl.vault.economy</a></h1>
|
||||
<div class="indexContainer">
|
||||
<h2 title="Interfaces">Interfaces</h2>
|
||||
<ul title="Interfaces">
|
||||
<li><a href="Economy.html" title="interface in net.milkbowl.vault.economy" target="classFrame"><span class="interfaceName">Economy</span></a></li>
|
||||
</ul>
|
||||
<h2 title="Classes">Classes</h2>
|
||||
<ul title="Classes">
|
||||
<li><a href="AbstractEconomy.html" title="class in net.milkbowl.vault.economy" target="classFrame">AbstractEconomy</a></li>
|
||||
<li><a href="EconomyResponse.html" title="class in net.milkbowl.vault.economy" target="classFrame">EconomyResponse</a></li>
|
||||
</ul>
|
||||
<h2 title="Enums">Enums</h2>
|
||||
<ul title="Enums">
|
||||
<li><a href="EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy" target="classFrame">EconomyResponse.ResponseType</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
184
net/milkbowl/vault/economy/package-summary.html
Normal file
184
net/milkbowl/vault/economy/package-summary.html
Normal file
@ -0,0 +1,184 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>net.milkbowl.vault.economy (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="net.milkbowl.vault.economy (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li class="navBarCell1Rev">Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-use.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/chat/package-summary.html">Prev Package</a></li>
|
||||
<li><a href="../../../../net/milkbowl/vault/item/package-summary.html">Next Package</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/economy/package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Package" class="title">Package net.milkbowl.vault.economy</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
|
||||
<caption><span>Interface Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Interface</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">The main economy API</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
|
||||
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html" title="class in net.milkbowl.vault.economy">AbstractEconomy</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy">EconomyResponse</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Indicates a typical Return for an Economy method.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
|
||||
<caption><span>Enum Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Enum</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy">EconomyResponse.ResponseType</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Enum for types of Responses indicating the status of a method call.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li class="navBarCell1Rev">Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-use.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/chat/package-summary.html">Prev Package</a></li>
|
||||
<li><a href="../../../../net/milkbowl/vault/item/package-summary.html">Next Package</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/economy/package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
156
net/milkbowl/vault/economy/package-tree.html
Normal file
156
net/milkbowl/vault/economy/package-tree.html
Normal file
@ -0,0 +1,156 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>net.milkbowl.vault.economy Class Hierarchy (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="net.milkbowl.vault.economy Class Hierarchy (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/chat/package-tree.html">Prev</a></li>
|
||||
<li><a href="../../../../net/milkbowl/vault/item/package-tree.html">Next</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/economy/package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For Package net.milkbowl.vault.economy</h1>
|
||||
<span class="packageHierarchyLabel">Package Hierarchies:</span>
|
||||
<ul class="horizontal">
|
||||
<li><a href="../../../../overview-tree.html">All Packages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
|
||||
<ul>
|
||||
<li type="circle">net.milkbowl.vault.economy.<a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html" title="class in net.milkbowl.vault.economy"><span class="typeNameLink">AbstractEconomy</span></a> (implements net.milkbowl.vault.economy.<a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a>)</li>
|
||||
<li type="circle">net.milkbowl.vault.economy.<a href="../../../../net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy"><span class="typeNameLink">EconomyResponse</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">net.milkbowl.vault.economy.<a href="../../../../net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy"><span class="typeNameLink">Economy</span></a></li>
|
||||
</ul>
|
||||
<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
|
||||
<ul>
|
||||
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
|
||||
<ul>
|
||||
<li type="circle">net.milkbowl.vault.economy.<a href="../../../../net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy"><span class="typeNameLink">EconomyResponse.ResponseType</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/chat/package-tree.html">Prev</a></li>
|
||||
<li><a href="../../../../net/milkbowl/vault/item/package-tree.html">Next</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/economy/package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
171
net/milkbowl/vault/economy/package-use.html
Normal file
171
net/milkbowl/vault/economy/package-use.html
Normal file
@ -0,0 +1,171 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Package net.milkbowl.vault.economy (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Package net.milkbowl.vault.economy (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/economy/package-use.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-use.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Uses of Package net.milkbowl.vault.economy" class="title">Uses of Package<br>net.milkbowl.vault.economy</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
||||
<caption><span>Packages that use <a href="../../../../net/milkbowl/vault/economy/package-summary.html">net.milkbowl.vault.economy</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#net.milkbowl.vault.economy">net.milkbowl.vault.economy</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="net.milkbowl.vault.economy">
|
||||
<!-- -->
|
||||
</a>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
|
||||
<caption><span>Classes in <a href="../../../../net/milkbowl/vault/economy/package-summary.html">net.milkbowl.vault.economy</a> used by <a href="../../../../net/milkbowl/vault/economy/package-summary.html">net.milkbowl.vault.economy</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../net/milkbowl/vault/economy/class-use/Economy.html#net.milkbowl.vault.economy">Economy</a>
|
||||
<div class="block">The main economy API</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="../../../../net/milkbowl/vault/economy/class-use/EconomyResponse.html#net.milkbowl.vault.economy">EconomyResponse</a>
|
||||
<div class="block">Indicates a typical Return for an Economy method.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../net/milkbowl/vault/economy/class-use/EconomyResponse.ResponseType.html#net.milkbowl.vault.economy">EconomyResponse.ResponseType</a>
|
||||
<div class="block">Enum for types of Responses indicating the status of a method call.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/economy/package-use.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-use.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
529
net/milkbowl/vault/item/ItemInfo.html
Normal file
529
net/milkbowl/vault/item/ItemInfo.html
Normal file
@ -0,0 +1,529 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>ItemInfo (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ItemInfo (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":42,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/ItemInfo.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../net/milkbowl/vault/item/Items.html" title="class in net.milkbowl.vault.item"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/item/ItemInfo.html" target="_top">Frames</a></li>
|
||||
<li><a href="ItemInfo.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.milkbowl.vault.item</div>
|
||||
<h2 title="Class ItemInfo" class="title">Class ItemInfo</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.milkbowl.vault.item.ItemInfo</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.21">ItemInfo</a>
|
||||
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>org.bukkit.Material</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#material">material</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#name">name</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[][]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#search">search</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>short</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#subTypeId">subTypeId</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#ItemInfo-java.lang.String-java.lang.String:A:A-org.bukkit.Material-">ItemInfo</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[][] search,
|
||||
org.bukkit.Material material)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#ItemInfo-java.lang.String-java.lang.String:A:A-org.bukkit.Material-short-">ItemInfo</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[][] search,
|
||||
org.bukkit.Material material,
|
||||
short subTypeId)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#getId--">getId</a></span>()</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#getName--">getName</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#getStackSize--">getStackSize</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>short</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#getSubTypeId--">getSubTypeId</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>org.bukkit.Material</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#getType--">getType</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#hashCode--">hashCode</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#isBlock--">isBlock</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#isDurable--">isDurable</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#isEdible--">isEdible</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>org.bukkit.inventory.ItemStack</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#toStack--">toStack</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html#toString--">toString</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a name="material">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>material</h4>
|
||||
<pre>public final org.bukkit.Material <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.23">material</a></pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="subTypeId">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>subTypeId</h4>
|
||||
<pre>public final short <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.24">subTypeId</a></pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="name">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>name</h4>
|
||||
<pre>public final <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.25">name</a></pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="search">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>search</h4>
|
||||
<pre>public final <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[][] <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.26">search</a></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="ItemInfo-java.lang.String-java.lang.String:A:A-org.bukkit.Material-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>ItemInfo</h4>
|
||||
<pre>public <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.28">ItemInfo</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[][] search,
|
||||
org.bukkit.Material material)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="ItemInfo-java.lang.String-java.lang.String:A:A-org.bukkit.Material-short-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>ItemInfo</h4>
|
||||
<pre>public <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.35">ItemInfo</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[][] search,
|
||||
org.bukkit.Material material,
|
||||
short subTypeId)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getType--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getType</h4>
|
||||
<pre>public org.bukkit.Material <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.42">getType</a>()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getSubTypeId--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSubTypeId</h4>
|
||||
<pre>public short <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.46">getSubTypeId</a>()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getStackSize--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getStackSize</h4>
|
||||
<pre>public int <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.50">getStackSize</a>()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getId--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getId</h4>
|
||||
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public int <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.55">getId</a>()</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isEdible--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isEdible</h4>
|
||||
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.59">isEdible</a>()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isBlock--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isBlock</h4>
|
||||
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.63">isBlock</a>()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getName--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getName</h4>
|
||||
<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.67">getName</a>()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.72">hashCode</a>()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isDurable--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isDurable</h4>
|
||||
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.79">isDurable</a>()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toStack--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>toStack</h4>
|
||||
<pre>public org.bukkit.inventory.ItemStack <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.83">toStack</a>()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.89">toString</a>()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="equals-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>equals</h4>
|
||||
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/item/ItemInfo.html#line.94">equals</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/ItemInfo.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../net/milkbowl/vault/item/Items.html" title="class in net.milkbowl.vault.item"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/item/ItemInfo.html" target="_top">Frames</a></li>
|
||||
<li><a href="ItemInfo.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
548
net/milkbowl/vault/item/Items.html
Normal file
548
net/milkbowl/vault/item/Items.html
Normal file
@ -0,0 +1,548 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Items (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Items (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":41,"i2":41,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Items.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/item/Items.html" target="_top">Frames</a></li>
|
||||
<li><a href="Items.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">net.milkbowl.vault.item</div>
|
||||
<h2 title="Class Items" class="title">Class Items</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>net.milkbowl.vault.item.Items</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.28">Items</a>
|
||||
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#Items--">Items</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#getItemList--">getItemList</a></span>()</code>
|
||||
<div class="block">Returns the list of ItemInfo's registered in Vault as an UnmodifiableList.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#itemById-int-">itemById</a></span>(int typeId)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#itemById-int-short-">itemById</a></span>(int typeId,
|
||||
short subType)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#itemByItem-net.milkbowl.vault.item.ItemInfo-">itemByItem</a></span>(<a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a> item)</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#itemByName-java.util.ArrayList-">itemByName</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> search)</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#itemByName-java.lang.String-">itemByName</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> searchString)</code>
|
||||
<div class="block">Single item search function, for when we only ever want to return 1 result</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a>[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#itemByNames-java.util.ArrayList-boolean-">itemByNames</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> search,
|
||||
boolean multi)</code> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#itemByStack-org.bukkit.inventory.ItemStack-">itemByStack</a></span>(org.bukkit.inventory.ItemStack itemStack)</code>
|
||||
<div class="block">Searchs for an ItemInfo from the given ItemStack</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#itemByString-java.lang.String-">itemByString</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string)</code>
|
||||
<div class="block">Search for an item from a given string, useful for user input.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#itemByType-org.bukkit.Material-">itemByType</a></span>(org.bukkit.Material type)</code>
|
||||
<div class="block">Gets a relevant ItemInfo by it's Material</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#itemByType-org.bukkit.Material-short-">itemByType</a></span>(org.bukkit.Material type,
|
||||
short subType)</code>
|
||||
<div class="block">Searches for an ItemInfo record by Material and SubTypeID</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a>[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#itemsByName-java.lang.String-boolean-">itemsByName</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> searchString,
|
||||
boolean multi)</code>
|
||||
<div class="block">Multi-Item return search for dumping all items with the search string to the player</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#join-java.util.List-java.lang.String-">join</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> list,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> glue)</code>
|
||||
<div class="block">Joins elements of a String array with the glue between them into a String.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/item/Items.html#join-java.lang.String:A-java.lang.String-">join</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] array,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> glue)</code>
|
||||
<div class="block">Joins elements of a String array with the glue between them into a String.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Items--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Items</h4>
|
||||
<pre>public <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.28">Items</a>()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getItemList--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getItemList</h4>
|
||||
<pre>public static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a>> <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.36">getItemList</a>()</pre>
|
||||
<div class="block">Returns the list of ItemInfo's registered in Vault as an UnmodifiableList.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>list of Items</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="itemById-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>itemById</h4>
|
||||
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a> <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.653">itemById</a>(int typeId)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="itemById-int-short-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>itemById</h4>
|
||||
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a> <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.658">itemById</a>(int typeId,
|
||||
short subType)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="itemByStack-org.bukkit.inventory.ItemStack-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>itemByStack</h4>
|
||||
<pre>public static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a> <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.667">itemByStack</a>(org.bukkit.inventory.ItemStack itemStack)</pre>
|
||||
<div class="block">Searchs for an ItemInfo from the given ItemStack</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>itemStack</code> - to search on</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>ItemInfo found, or null</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="itemByItem-net.milkbowl.vault.item.ItemInfo-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>itemByItem</h4>
|
||||
<pre>public static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a> <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.683">itemByItem</a>(<a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a> item)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="itemByType-org.bukkit.Material-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>itemByType</h4>
|
||||
<pre>public static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a> <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.697">itemByType</a>(org.bukkit.Material type)</pre>
|
||||
<div class="block">Gets a relevant ItemInfo by it's Material</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>type</code> - of Material</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>ItemInfo record found or null if none</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="itemByType-org.bukkit.Material-short-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>itemByType</h4>
|
||||
<pre>public static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a> <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.707">itemByType</a>(org.bukkit.Material type,
|
||||
short subType)</pre>
|
||||
<div class="block">Searches for an ItemInfo record by Material and SubTypeID</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>type</code> - of Material</dd>
|
||||
<dd><code>subType</code> - to check for</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>ItemInfo record found or null if none</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="itemByString-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>itemByString</h4>
|
||||
<pre>public static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a> <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.725">itemByString</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string)</pre>
|
||||
<div class="block">Search for an item from a given string, useful for user input. Uses 3 different types of reg-exp searching.
|
||||
Checks first for an ItemID.
|
||||
Checks second for ItemID:SubType
|
||||
Last, it will run a by-name item search assuming the string is the name of an item.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>string</code> - to parse</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>ItemInfo found or null</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="itemByName-java.util.ArrayList-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>itemByName</h4>
|
||||
<pre>public static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a> <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.757">itemByName</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> search)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="itemByNames-java.util.ArrayList-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>itemByNames</h4>
|
||||
<pre>public static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a>[] <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.762">itemByNames</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> search,
|
||||
boolean multi)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="itemsByName-java.lang.String-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>itemsByName</h4>
|
||||
<pre>public static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a>[] <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.775">itemsByName</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> searchString,
|
||||
boolean multi)</pre>
|
||||
<div class="block">Multi-Item return search for dumping all items with the search string to the player</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>searchString</code> - to search for</dd>
|
||||
<dd><code>multi</code> - whether to return a list of items or just the first</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Array of items found</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="itemByName-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>itemByName</h4>
|
||||
<pre>public static <a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a> <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.846">itemByName</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> searchString)</pre>
|
||||
<div class="block">Single item search function, for when we only ever want to return 1 result</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>searchString</code> - to search for</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>ItemInfo Object</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="join-java.lang.String:A-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>join</h4>
|
||||
<pre>public static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.923">join</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] array,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> glue)</pre>
|
||||
<div class="block">Joins elements of a String array with the glue between them into a String.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>array</code> - of elements to join together</dd>
|
||||
<dd><code>glue</code> - what to put between each element</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Concacted Array combined with glue</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="join-java.util.List-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>join</h4>
|
||||
<pre>public static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/net/milkbowl/vault/item/Items.html#line.946">join</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> list,
|
||||
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> glue)</pre>
|
||||
<div class="block">Joins elements of a String array with the glue between them into a String.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>list</code> - of items to join together</dd>
|
||||
<dd><code>glue</code> - what to put between each element</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Concacted Array combined with glue</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Items.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/item/Items.html" target="_top">Frames</a></li>
|
||||
<li><a href="Items.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
254
net/milkbowl/vault/item/class-use/ItemInfo.html
Normal file
254
net/milkbowl/vault/item/class-use/ItemInfo.html
Normal file
@ -0,0 +1,254 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class net.milkbowl.vault.item.ItemInfo (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class net.milkbowl.vault.item.ItemInfo (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/item/class-use/ItemInfo.html" target="_top">Frames</a></li>
|
||||
<li><a href="ItemInfo.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class net.milkbowl.vault.item.ItemInfo" class="title">Uses of Class<br>net.milkbowl.vault.item.ItemInfo</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
||||
<caption><span>Packages that use <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#net.milkbowl.vault.item">net.milkbowl.vault.item</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="net.milkbowl.vault.item">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Uses of <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a> in <a href="../../../../../net/milkbowl/vault/item/package-summary.html">net.milkbowl.vault.item</a></h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
||||
<caption><span>Methods in <a href="../../../../../net/milkbowl/vault/item/package-summary.html">net.milkbowl.vault.item</a> that return <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Items.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/item/Items.html#itemById-int-">itemById</a></span>(int typeId)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Items.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/item/Items.html#itemById-int-short-">itemById</a></span>(int typeId,
|
||||
short subType)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Items.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/item/Items.html#itemByItem-net.milkbowl.vault.item.ItemInfo-">itemByItem</a></span>(<a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a> item)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Items.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/item/Items.html#itemByName-java.util.ArrayList-">itemByName</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> search)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Items.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/item/Items.html#itemByName-java.lang.String-">itemByName</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> searchString)</code>
|
||||
<div class="block">Single item search function, for when we only ever want to return 1 result</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a>[]</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Items.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/item/Items.html#itemByNames-java.util.ArrayList-boolean-">itemByNames</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> search,
|
||||
boolean multi)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Items.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/item/Items.html#itemByStack-org.bukkit.inventory.ItemStack-">itemByStack</a></span>(org.bukkit.inventory.ItemStack itemStack)</code>
|
||||
<div class="block">Searchs for an ItemInfo from the given ItemStack</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Items.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/item/Items.html#itemByString-java.lang.String-">itemByString</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string)</code>
|
||||
<div class="block">Search for an item from a given string, useful for user input.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Items.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/item/Items.html#itemByType-org.bukkit.Material-">itemByType</a></span>(org.bukkit.Material type)</code>
|
||||
<div class="block">Gets a relevant ItemInfo by it's Material</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Items.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/item/Items.html#itemByType-org.bukkit.Material-short-">itemByType</a></span>(org.bukkit.Material type,
|
||||
short subType)</code>
|
||||
<div class="block">Searches for an ItemInfo record by Material and SubTypeID</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a>[]</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Items.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/item/Items.html#itemsByName-java.lang.String-boolean-">itemsByName</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> searchString,
|
||||
boolean multi)</code>
|
||||
<div class="block">Multi-Item return search for dumping all items with the search string to the player</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
||||
<caption><span>Methods in <a href="../../../../../net/milkbowl/vault/item/package-summary.html">net.milkbowl.vault.item</a> that return types with arguments of type <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a>></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Items.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/item/Items.html#getItemList--">getItemList</a></span>()</code>
|
||||
<div class="block">Returns the list of ItemInfo's registered in Vault as an UnmodifiableList.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
||||
<caption><span>Methods in <a href="../../../../../net/milkbowl/vault/item/package-summary.html">net.milkbowl.vault.item</a> with parameters of type <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">Items.</span><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/item/Items.html#itemByItem-net.milkbowl.vault.item.ItemInfo-">itemByItem</a></span>(<a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a> item)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/item/class-use/ItemInfo.html" target="_top">Frames</a></li>
|
||||
<li><a href="ItemInfo.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
126
net/milkbowl/vault/item/class-use/Items.html
Normal file
126
net/milkbowl/vault/item/class-use/Items.html
Normal file
@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class net.milkbowl.vault.item.Items (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class net.milkbowl.vault.item.Items (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/item/Items.html" title="class in net.milkbowl.vault.item">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/item/class-use/Items.html" target="_top">Frames</a></li>
|
||||
<li><a href="Items.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class net.milkbowl.vault.item.Items" class="title">Uses of Class<br>net.milkbowl.vault.item.Items</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">No usage of net.milkbowl.vault.item.Items</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/item/Items.html" title="class in net.milkbowl.vault.item">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/item/class-use/Items.html" target="_top">Frames</a></li>
|
||||
<li><a href="Items.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
22
net/milkbowl/vault/item/package-frame.html
Normal file
22
net/milkbowl/vault/item/package-frame.html
Normal file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>net.milkbowl.vault.item (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar"><a href="../../../../net/milkbowl/vault/item/package-summary.html" target="classFrame">net.milkbowl.vault.item</a></h1>
|
||||
<div class="indexContainer">
|
||||
<h2 title="Classes">Classes</h2>
|
||||
<ul title="Classes">
|
||||
<li><a href="ItemInfo.html" title="class in net.milkbowl.vault.item" target="classFrame">ItemInfo</a></li>
|
||||
<li><a href="Items.html" title="class in net.milkbowl.vault.item" target="classFrame">Items</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
148
net/milkbowl/vault/item/package-summary.html
Normal file
148
net/milkbowl/vault/item/package-summary.html
Normal file
@ -0,0 +1,148 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>net.milkbowl.vault.item (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="net.milkbowl.vault.item (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li class="navBarCell1Rev">Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-use.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/package-summary.html">Prev Package</a></li>
|
||||
<li><a href="../../../../net/milkbowl/vault/permission/package-summary.html">Next Package</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/item/package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Package" class="title">Package net.milkbowl.vault.item</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
|
||||
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item">ItemInfo</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../net/milkbowl/vault/item/Items.html" title="class in net.milkbowl.vault.item">Items</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li class="navBarCell1Rev">Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-use.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/package-summary.html">Prev Package</a></li>
|
||||
<li><a href="../../../../net/milkbowl/vault/permission/package-summary.html">Next Package</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/item/package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
140
net/milkbowl/vault/item/package-tree.html
Normal file
140
net/milkbowl/vault/item/package-tree.html
Normal file
@ -0,0 +1,140 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>net.milkbowl.vault.item Class Hierarchy (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="net.milkbowl.vault.item Class Hierarchy (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/package-tree.html">Prev</a></li>
|
||||
<li><a href="../../../../net/milkbowl/vault/permission/package-tree.html">Next</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/item/package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For Package net.milkbowl.vault.item</h1>
|
||||
<span class="packageHierarchyLabel">Package Hierarchies:</span>
|
||||
<ul class="horizontal">
|
||||
<li><a href="../../../../overview-tree.html">All Packages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
|
||||
<ul>
|
||||
<li type="circle">net.milkbowl.vault.item.<a href="../../../../net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item"><span class="typeNameLink">ItemInfo</span></a></li>
|
||||
<li type="circle">net.milkbowl.vault.item.<a href="../../../../net/milkbowl/vault/item/Items.html" title="class in net.milkbowl.vault.item"><span class="typeNameLink">Items</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/economy/package-tree.html">Prev</a></li>
|
||||
<li><a href="../../../../net/milkbowl/vault/permission/package-tree.html">Next</a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/item/package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
159
net/milkbowl/vault/item/package-use.html
Normal file
159
net/milkbowl/vault/item/package-use.html
Normal file
@ -0,0 +1,159 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Package net.milkbowl.vault.item (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Package net.milkbowl.vault.item (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/item/package-use.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-use.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Uses of Package net.milkbowl.vault.item" class="title">Uses of Package<br>net.milkbowl.vault.item</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
||||
<caption><span>Packages that use <a href="../../../../net/milkbowl/vault/item/package-summary.html">net.milkbowl.vault.item</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#net.milkbowl.vault.item">net.milkbowl.vault.item</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="net.milkbowl.vault.item">
|
||||
<!-- -->
|
||||
</a>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
|
||||
<caption><span>Classes in <a href="../../../../net/milkbowl/vault/item/package-summary.html">net.milkbowl.vault.item</a> used by <a href="../../../../net/milkbowl/vault/item/package-summary.html">net.milkbowl.vault.item</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../net/milkbowl/vault/item/class-use/ItemInfo.html#net.milkbowl.vault.item">ItemInfo</a> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/item/package-use.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-use.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
2045
net/milkbowl/vault/permission/Permission.html
Normal file
2045
net/milkbowl/vault/permission/Permission.html
Normal file
File diff suppressed because it is too large
Load Diff
164
net/milkbowl/vault/permission/class-use/Permission.html
Normal file
164
net/milkbowl/vault/permission/class-use/Permission.html
Normal file
@ -0,0 +1,164 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class net.milkbowl.vault.permission.Permission (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class net.milkbowl.vault.permission.Permission (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/permission/Permission.html" title="class in net.milkbowl.vault.permission">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/permission/class-use/Permission.html" target="_top">Frames</a></li>
|
||||
<li><a href="Permission.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class net.milkbowl.vault.permission.Permission" class="title">Uses of Class<br>net.milkbowl.vault.permission.Permission</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
||||
<caption><span>Packages that use <a href="../../../../../net/milkbowl/vault/permission/Permission.html" title="class in net.milkbowl.vault.permission">Permission</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#net.milkbowl.vault.chat">net.milkbowl.vault.chat</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="net.milkbowl.vault.chat">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Uses of <a href="../../../../../net/milkbowl/vault/permission/Permission.html" title="class in net.milkbowl.vault.permission">Permission</a> in <a href="../../../../../net/milkbowl/vault/chat/package-summary.html">net.milkbowl.vault.chat</a></h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors in <a href="../../../../../net/milkbowl/vault/chat/package-summary.html">net.milkbowl.vault.chat</a> with parameters of type <a href="../../../../../net/milkbowl/vault/permission/Permission.html" title="class in net.milkbowl.vault.permission">Permission</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/milkbowl/vault/chat/Chat.html#Chat-net.milkbowl.vault.permission.Permission-">Chat</a></span>(<a href="../../../../../net/milkbowl/vault/permission/Permission.html" title="class in net.milkbowl.vault.permission">Permission</a> perms)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../net/milkbowl/vault/permission/Permission.html" title="class in net.milkbowl.vault.permission">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?net/milkbowl/vault/permission/class-use/Permission.html" target="_top">Frames</a></li>
|
||||
<li><a href="Permission.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
21
net/milkbowl/vault/permission/package-frame.html
Normal file
21
net/milkbowl/vault/permission/package-frame.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>net.milkbowl.vault.permission (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar"><a href="../../../../net/milkbowl/vault/permission/package-summary.html" target="classFrame">net.milkbowl.vault.permission</a></h1>
|
||||
<div class="indexContainer">
|
||||
<h2 title="Classes">Classes</h2>
|
||||
<ul title="Classes">
|
||||
<li><a href="Permission.html" title="class in net.milkbowl.vault.permission" target="classFrame">Permission</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
146
net/milkbowl/vault/permission/package-summary.html
Normal file
146
net/milkbowl/vault/permission/package-summary.html
Normal file
@ -0,0 +1,146 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>net.milkbowl.vault.permission (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="net.milkbowl.vault.permission (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li class="navBarCell1Rev">Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-use.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/item/package-summary.html">Prev Package</a></li>
|
||||
<li>Next Package</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/permission/package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Package" class="title">Package net.milkbowl.vault.permission</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
|
||||
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../net/milkbowl/vault/permission/Permission.html" title="class in net.milkbowl.vault.permission">Permission</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">The main Permission API - allows for group and player based permission tests</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li class="navBarCell1Rev">Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-use.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/item/package-summary.html">Prev Package</a></li>
|
||||
<li>Next Package</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/permission/package-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
139
net/milkbowl/vault/permission/package-tree.html
Normal file
139
net/milkbowl/vault/permission/package-tree.html
Normal file
@ -0,0 +1,139 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>net.milkbowl.vault.permission Class Hierarchy (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="net.milkbowl.vault.permission Class Hierarchy (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/item/package-tree.html">Prev</a></li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/permission/package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For Package net.milkbowl.vault.permission</h1>
|
||||
<span class="packageHierarchyLabel">Package Hierarchies:</span>
|
||||
<ul class="horizontal">
|
||||
<li><a href="../../../../overview-tree.html">All Packages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
|
||||
<ul>
|
||||
<li type="circle">net.milkbowl.vault.permission.<a href="../../../../net/milkbowl/vault/permission/Permission.html" title="class in net.milkbowl.vault.permission"><span class="typeNameLink">Permission</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../net/milkbowl/vault/item/package-tree.html">Prev</a></li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/permission/package-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
161
net/milkbowl/vault/permission/package-use.html
Normal file
161
net/milkbowl/vault/permission/package-use.html
Normal file
@ -0,0 +1,161 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Package net.milkbowl.vault.permission (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Package net.milkbowl.vault.permission (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/permission/package-use.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-use.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Uses of Package net.milkbowl.vault.permission" class="title">Uses of Package<br>net.milkbowl.vault.permission</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
||||
<caption><span>Packages that use <a href="../../../../net/milkbowl/vault/permission/package-summary.html">net.milkbowl.vault.permission</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#net.milkbowl.vault.chat">net.milkbowl.vault.chat</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList"><a name="net.milkbowl.vault.chat">
|
||||
<!-- -->
|
||||
</a>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
|
||||
<caption><span>Classes in <a href="../../../../net/milkbowl/vault/permission/package-summary.html">net.milkbowl.vault.permission</a> used by <a href="../../../../net/milkbowl/vault/chat/package-summary.html">net.milkbowl.vault.chat</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="../../../../net/milkbowl/vault/permission/class-use/Permission.html#net.milkbowl.vault.chat">Permission</a>
|
||||
<div class="block">The main Permission API - allows for group and player based permission tests</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?net/milkbowl/vault/permission/package-use.html" target="_top">Frames</a></li>
|
||||
<li><a href="package-use.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
25
overview-frame.html
Normal file
25
overview-frame.html
Normal file
@ -0,0 +1,25 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Overview List (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="indexHeader"><span><a href="allclasses-frame.html" target="packageFrame">All Classes</a></span></div>
|
||||
<div class="indexContainer">
|
||||
<h2 title="Packages">Packages</h2>
|
||||
<ul title="Packages">
|
||||
<li><a href="net/milkbowl/vault/chat/package-frame.html" target="packageFrame">net.milkbowl.vault.chat</a></li>
|
||||
<li><a href="net/milkbowl/vault/economy/package-frame.html" target="packageFrame">net.milkbowl.vault.economy</a></li>
|
||||
<li><a href="net/milkbowl/vault/item/package-frame.html" target="packageFrame">net.milkbowl.vault.item</a></li>
|
||||
<li><a href="net/milkbowl/vault/permission/package-frame.html" target="packageFrame">net.milkbowl.vault.permission</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<p> </p>
|
||||
</body>
|
||||
</html>
|
152
overview-summary.html
Normal file
152
overview-summary.html
Normal file
@ -0,0 +1,152 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Overview (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Overview (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li class="navBarCell1Rev">Overview</li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?overview-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="overview-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">VaultAPI 1.4 API</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Packages table, listing packages, and an explanation">
|
||||
<caption><span>Packages</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="net/milkbowl/vault/chat/package-summary.html">net.milkbowl.vault.chat</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="net/milkbowl/vault/economy/package-summary.html">net.milkbowl.vault.economy</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="net/milkbowl/vault/item/package-summary.html">net.milkbowl.vault.item</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="net/milkbowl/vault/permission/package-summary.html">net.milkbowl.vault.permission</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li class="navBarCell1Rev">Overview</li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?overview-summary.html" target="_top">Frames</a></li>
|
||||
<li><a href="overview-summary.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
163
overview-tree.html
Normal file
163
overview-tree.html
Normal file
@ -0,0 +1,163 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_20-ea) on Fri May 23 22:15:19 PDT 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Class Hierarchy (Vault)</title>
|
||||
<meta name="date" content="2014-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Class Hierarchy (Vault)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="overview-summary.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="overview-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For All Packages</h1>
|
||||
<span class="packageHierarchyLabel">Package Hierarchies:</span>
|
||||
<ul class="horizontal">
|
||||
<li><a href="net/milkbowl/vault/chat/package-tree.html">net.milkbowl.vault.chat</a>, </li>
|
||||
<li><a href="net/milkbowl/vault/economy/package-tree.html">net.milkbowl.vault.economy</a>, </li>
|
||||
<li><a href="net/milkbowl/vault/item/package-tree.html">net.milkbowl.vault.item</a>, </li>
|
||||
<li><a href="net/milkbowl/vault/permission/package-tree.html">net.milkbowl.vault.permission</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
|
||||
<ul>
|
||||
<li type="circle">net.milkbowl.vault.economy.<a href="net/milkbowl/vault/economy/AbstractEconomy.html" title="class in net.milkbowl.vault.economy"><span class="typeNameLink">AbstractEconomy</span></a> (implements net.milkbowl.vault.economy.<a href="net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy">Economy</a>)</li>
|
||||
<li type="circle">net.milkbowl.vault.chat.<a href="net/milkbowl/vault/chat/Chat.html" title="class in net.milkbowl.vault.chat"><span class="typeNameLink">Chat</span></a></li>
|
||||
<li type="circle">net.milkbowl.vault.economy.<a href="net/milkbowl/vault/economy/EconomyResponse.html" title="class in net.milkbowl.vault.economy"><span class="typeNameLink">EconomyResponse</span></a></li>
|
||||
<li type="circle">net.milkbowl.vault.item.<a href="net/milkbowl/vault/item/ItemInfo.html" title="class in net.milkbowl.vault.item"><span class="typeNameLink">ItemInfo</span></a></li>
|
||||
<li type="circle">net.milkbowl.vault.item.<a href="net/milkbowl/vault/item/Items.html" title="class in net.milkbowl.vault.item"><span class="typeNameLink">Items</span></a></li>
|
||||
<li type="circle">net.milkbowl.vault.permission.<a href="net/milkbowl/vault/permission/Permission.html" title="class in net.milkbowl.vault.permission"><span class="typeNameLink">Permission</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">net.milkbowl.vault.economy.<a href="net/milkbowl/vault/economy/Economy.html" title="interface in net.milkbowl.vault.economy"><span class="typeNameLink">Economy</span></a></li>
|
||||
</ul>
|
||||
<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
|
||||
<ul>
|
||||
<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
|
||||
<ul>
|
||||
<li type="circle">net.milkbowl.vault.economy.<a href="net/milkbowl/vault/economy/EconomyResponse.ResponseType.html" title="enum in net.milkbowl.vault.economy"><span class="typeNameLink">EconomyResponse.ResponseType</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="overview-summary.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
|
||||
<li><a href="overview-tree.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small><b>Milkbowl, 2014</b></small></p>
|
||||
</body>
|
||||
</html>
|
4
package-list
Normal file
4
package-list
Normal file
@ -0,0 +1,4 @@
|
||||
net.milkbowl.vault.chat
|
||||
net.milkbowl.vault.economy
|
||||
net.milkbowl.vault.item
|
||||
net.milkbowl.vault.permission
|
107
pom.xml
107
pom.xml
@ -1,107 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>net.milkbowl.vault</groupId>
|
||||
<artifactId>VaultAPI</artifactId>
|
||||
<version>1.4</version>
|
||||
<name>VaultAPI</name>
|
||||
<url>http://dev.bukkit.org/server-mods/vault/</url>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<bukkitVersion>1.7.9-R0.1-SNAPSHOT</bukkitVersion>
|
||||
</properties>
|
||||
|
||||
<!-- Organization -->
|
||||
<organization>
|
||||
<name>MilkBowl</name>
|
||||
<url>https://github.com/MilkBowl</url>
|
||||
</organization>
|
||||
|
||||
<scm>
|
||||
<url>https://github.com/MilkBowl/VaultAPI</url>
|
||||
<connection>scm:git:git://github.com:MilkBowl/VaultAPI.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:MilkBowl/VaultAPI.git</developerConnection>
|
||||
</scm>
|
||||
|
||||
<ciManagement>
|
||||
<system>travis</system>
|
||||
<url>https://travis-ci.org/MilkBowl/VaultAPI</url>
|
||||
</ciManagement>
|
||||
|
||||
<issueManagement>
|
||||
<system>GitHub</system>
|
||||
<url>https://github.com/MilkBowl/VaultAPI/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>bukkit-repo</id>
|
||||
<url>http://repo.bukkit.org/content/groups/public/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>pub-repo</id>
|
||||
<name>Public Releases</name>
|
||||
<url>http://nexus.theyeticave.net/content/repositories/pub_releases/</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.bukkit</groupId>
|
||||
<artifactId>bukkit</artifactId>
|
||||
<version>${bukkitVersion}</version>
|
||||
<type>jar</type>
|
||||
</dependency>
|
||||
<!-- Test Dependency -->
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.11</version>
|
||||
<type>jar</type>
|
||||
<scope>test</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<defaultGoal>clean install</defaultGoal>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>2.0.2</version>
|
||||
<configuration>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.2.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.9.1</version>
|
||||
<configuration>
|
||||
<show>public</show>
|
||||
<windowtitle>Vault</windowtitle>
|
||||
<verbose>false</verbose>
|
||||
<author>true</author>
|
||||
<version>true</version>
|
||||
<linksource>true</linksource>
|
||||
<bottom><![CDATA[<b>Milkbowl, 2014</b>]]></bottom>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<description>Vault is a Permissions & Economy API to allow plugins to more easily hook into these systems without needing to hook each individual system themselves.
|
||||
|
||||
Vault currently supports the following: Permissions 3, PEX, GroupManager, bPerms, bPerms2, SimplyPerms, DroxPerms, zPermissions, rscPermissions, KPerms, Starburst, iConomy (4/5/6) BOSEconomy *6/7), EssentialsEcon, 3Co, MultiConomy, MineConomy, EconXP, eWallet, CurrencyCore, XPBank, CraftConomy, AEco, SDFEconomy, TAEcon
|
||||
</description>
|
||||
</project>
|
30
script.js
Normal file
30
script.js
Normal file
@ -0,0 +1,30 @@
|
||||
function show(type)
|
||||
{
|
||||
count = 0;
|
||||
for (var key in methods) {
|
||||
var row = document.getElementById(key);
|
||||
if ((methods[key] & type) != 0) {
|
||||
row.style.display = '';
|
||||
row.className = (count++ % 2) ? rowColor : altColor;
|
||||
}
|
||||
else
|
||||
row.style.display = 'none';
|
||||
}
|
||||
updateTabs(type);
|
||||
}
|
||||
|
||||
function updateTabs(type)
|
||||
{
|
||||
for (var value in tabs) {
|
||||
var sNode = document.getElementById(tabs[value][0]);
|
||||
var spanNode = sNode.firstChild;
|
||||
if (value == type) {
|
||||
sNode.className = activeTableTab;
|
||||
spanNode.innerHTML = tabs[value][1];
|
||||
}
|
||||
else {
|
||||
sNode.className = tableTab;
|
||||
spanNode.innerHTML = "<a href=\"javascript:show("+ value + ");\">" + tabs[value][1] + "</a>";
|
||||
}
|
||||
}
|
||||
}
|
1067
src-html/net/milkbowl/vault/chat/Chat.html
Normal file
1067
src-html/net/milkbowl/vault/chat/Chat.html
Normal file
File diff suppressed because it is too large
Load Diff
155
src-html/net/milkbowl/vault/economy/AbstractEconomy.html
Normal file
155
src-html/net/milkbowl/vault/economy/AbstractEconomy.html
Normal file
@ -0,0 +1,155 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Source code</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<div class="sourceContainer">
|
||||
<pre><span class="sourceLineNo">001</span>package net.milkbowl.vault.economy;<a name="line.1"></a>
|
||||
<span class="sourceLineNo">002</span><a name="line.2"></a>
|
||||
<span class="sourceLineNo">003</span>import org.bukkit.OfflinePlayer;<a name="line.3"></a>
|
||||
<span class="sourceLineNo">004</span><a name="line.4"></a>
|
||||
<span class="sourceLineNo">005</span>@SuppressWarnings("deprecation")<a name="line.5"></a>
|
||||
<span class="sourceLineNo">006</span>public abstract class AbstractEconomy implements Economy {<a name="line.6"></a>
|
||||
<span class="sourceLineNo">007</span><a name="line.7"></a>
|
||||
<span class="sourceLineNo">008</span> @Override<a name="line.8"></a>
|
||||
<span class="sourceLineNo">009</span> public boolean hasAccount(OfflinePlayer player) {<a name="line.9"></a>
|
||||
<span class="sourceLineNo">010</span> return hasAccount(player.getName());<a name="line.10"></a>
|
||||
<span class="sourceLineNo">011</span> }<a name="line.11"></a>
|
||||
<span class="sourceLineNo">012</span><a name="line.12"></a>
|
||||
<span class="sourceLineNo">013</span> @Override<a name="line.13"></a>
|
||||
<span class="sourceLineNo">014</span> public boolean hasAccount(OfflinePlayer player, String worldName) {<a name="line.14"></a>
|
||||
<span class="sourceLineNo">015</span> return hasAccount(player.getName(), worldName);<a name="line.15"></a>
|
||||
<span class="sourceLineNo">016</span> }<a name="line.16"></a>
|
||||
<span class="sourceLineNo">017</span><a name="line.17"></a>
|
||||
<span class="sourceLineNo">018</span> @Override<a name="line.18"></a>
|
||||
<span class="sourceLineNo">019</span> public double getBalance(OfflinePlayer player) {<a name="line.19"></a>
|
||||
<span class="sourceLineNo">020</span> return getBalance(player.getName());<a name="line.20"></a>
|
||||
<span class="sourceLineNo">021</span> }<a name="line.21"></a>
|
||||
<span class="sourceLineNo">022</span><a name="line.22"></a>
|
||||
<span class="sourceLineNo">023</span> @Override<a name="line.23"></a>
|
||||
<span class="sourceLineNo">024</span> public double getBalance(OfflinePlayer player, String world) {<a name="line.24"></a>
|
||||
<span class="sourceLineNo">025</span> return getBalance(player.getName(), world);<a name="line.25"></a>
|
||||
<span class="sourceLineNo">026</span> }<a name="line.26"></a>
|
||||
<span class="sourceLineNo">027</span><a name="line.27"></a>
|
||||
<span class="sourceLineNo">028</span> @Override<a name="line.28"></a>
|
||||
<span class="sourceLineNo">029</span> public boolean has(OfflinePlayer player, double amount) {<a name="line.29"></a>
|
||||
<span class="sourceLineNo">030</span> return has(player.getName(), amount);<a name="line.30"></a>
|
||||
<span class="sourceLineNo">031</span> }<a name="line.31"></a>
|
||||
<span class="sourceLineNo">032</span><a name="line.32"></a>
|
||||
<span class="sourceLineNo">033</span> @Override<a name="line.33"></a>
|
||||
<span class="sourceLineNo">034</span> public boolean has(OfflinePlayer player, String worldName, double amount) {<a name="line.34"></a>
|
||||
<span class="sourceLineNo">035</span> return has(player.getName(), worldName, amount);<a name="line.35"></a>
|
||||
<span class="sourceLineNo">036</span> }<a name="line.36"></a>
|
||||
<span class="sourceLineNo">037</span><a name="line.37"></a>
|
||||
<span class="sourceLineNo">038</span> @Override<a name="line.38"></a>
|
||||
<span class="sourceLineNo">039</span> public EconomyResponse withdrawPlayer(OfflinePlayer player, double amount) {<a name="line.39"></a>
|
||||
<span class="sourceLineNo">040</span> return withdrawPlayer(player.getName(), amount);<a name="line.40"></a>
|
||||
<span class="sourceLineNo">041</span> }<a name="line.41"></a>
|
||||
<span class="sourceLineNo">042</span><a name="line.42"></a>
|
||||
<span class="sourceLineNo">043</span> @Override<a name="line.43"></a>
|
||||
<span class="sourceLineNo">044</span> public EconomyResponse withdrawPlayer(OfflinePlayer player, String worldName, double amount) {<a name="line.44"></a>
|
||||
<span class="sourceLineNo">045</span> return withdrawPlayer(player.getName(), worldName, amount);<a name="line.45"></a>
|
||||
<span class="sourceLineNo">046</span> }<a name="line.46"></a>
|
||||
<span class="sourceLineNo">047</span><a name="line.47"></a>
|
||||
<span class="sourceLineNo">048</span> @Override<a name="line.48"></a>
|
||||
<span class="sourceLineNo">049</span> public EconomyResponse depositPlayer(OfflinePlayer player, double amount) {<a name="line.49"></a>
|
||||
<span class="sourceLineNo">050</span> return depositPlayer(player.getName(), amount);<a name="line.50"></a>
|
||||
<span class="sourceLineNo">051</span> }<a name="line.51"></a>
|
||||
<span class="sourceLineNo">052</span><a name="line.52"></a>
|
||||
<span class="sourceLineNo">053</span> @Override<a name="line.53"></a>
|
||||
<span class="sourceLineNo">054</span> public EconomyResponse depositPlayer(OfflinePlayer player, String worldName, double amount) {<a name="line.54"></a>
|
||||
<span class="sourceLineNo">055</span> return depositPlayer(player.getName(), worldName, amount);<a name="line.55"></a>
|
||||
<span class="sourceLineNo">056</span> }<a name="line.56"></a>
|
||||
<span class="sourceLineNo">057</span><a name="line.57"></a>
|
||||
<span class="sourceLineNo">058</span> @Override<a name="line.58"></a>
|
||||
<span class="sourceLineNo">059</span> public EconomyResponse createBank(String name, OfflinePlayer player) {<a name="line.59"></a>
|
||||
<span class="sourceLineNo">060</span> return createBank(name, player.getName());<a name="line.60"></a>
|
||||
<span class="sourceLineNo">061</span> }<a name="line.61"></a>
|
||||
<span class="sourceLineNo">062</span><a name="line.62"></a>
|
||||
<span class="sourceLineNo">063</span> @Override<a name="line.63"></a>
|
||||
<span class="sourceLineNo">064</span> public EconomyResponse isBankOwner(String name, OfflinePlayer player) {<a name="line.64"></a>
|
||||
<span class="sourceLineNo">065</span> return isBankOwner(name, player.getName());<a name="line.65"></a>
|
||||
<span class="sourceLineNo">066</span> }<a name="line.66"></a>
|
||||
<span class="sourceLineNo">067</span><a name="line.67"></a>
|
||||
<span class="sourceLineNo">068</span> @Override<a name="line.68"></a>
|
||||
<span class="sourceLineNo">069</span> public EconomyResponse isBankMember(String name, OfflinePlayer player) {<a name="line.69"></a>
|
||||
<span class="sourceLineNo">070</span> return isBankMember(name, player.getName());<a name="line.70"></a>
|
||||
<span class="sourceLineNo">071</span> }<a name="line.71"></a>
|
||||
<span class="sourceLineNo">072</span><a name="line.72"></a>
|
||||
<span class="sourceLineNo">073</span> @Override<a name="line.73"></a>
|
||||
<span class="sourceLineNo">074</span> public boolean createPlayerAccount(OfflinePlayer player) {<a name="line.74"></a>
|
||||
<span class="sourceLineNo">075</span> return createPlayerAccount(player.getName());<a name="line.75"></a>
|
||||
<span class="sourceLineNo">076</span> }<a name="line.76"></a>
|
||||
<span class="sourceLineNo">077</span><a name="line.77"></a>
|
||||
<span class="sourceLineNo">078</span> @Override<a name="line.78"></a>
|
||||
<span class="sourceLineNo">079</span> public boolean createPlayerAccount(OfflinePlayer player, String worldName) {<a name="line.79"></a>
|
||||
<span class="sourceLineNo">080</span> return createPlayerAccount(player.getName(), worldName);<a name="line.80"></a>
|
||||
<span class="sourceLineNo">081</span> }<a name="line.81"></a>
|
||||
<span class="sourceLineNo">082</span><a name="line.82"></a>
|
||||
<span class="sourceLineNo">083</span>}<a name="line.83"></a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
519
src-html/net/milkbowl/vault/economy/Economy.html
Normal file
519
src-html/net/milkbowl/vault/economy/Economy.html
Normal file
@ -0,0 +1,519 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Source code</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<div class="sourceContainer">
|
||||
<pre><span class="sourceLineNo">001</span>/* This file is part of Vault.<a name="line.1"></a>
|
||||
<span class="sourceLineNo">002</span><a name="line.2"></a>
|
||||
<span class="sourceLineNo">003</span> Vault is free software: you can redistribute it and/or modify<a name="line.3"></a>
|
||||
<span class="sourceLineNo">004</span> it under the terms of the GNU Lesser General Public License as published by<a name="line.4"></a>
|
||||
<span class="sourceLineNo">005</span> the Free Software Foundation, either version 3 of the License, or<a name="line.5"></a>
|
||||
<span class="sourceLineNo">006</span> (at your option) any later version.<a name="line.6"></a>
|
||||
<span class="sourceLineNo">007</span><a name="line.7"></a>
|
||||
<span class="sourceLineNo">008</span> Vault is distributed in the hope that it will be useful,<a name="line.8"></a>
|
||||
<span class="sourceLineNo">009</span> but WITHOUT ANY WARRANTY; without even the implied warranty of<a name="line.9"></a>
|
||||
<span class="sourceLineNo">010</span> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<a name="line.10"></a>
|
||||
<span class="sourceLineNo">011</span> GNU Lesser General Public License for more details.<a name="line.11"></a>
|
||||
<span class="sourceLineNo">012</span><a name="line.12"></a>
|
||||
<span class="sourceLineNo">013</span> You should have received a copy of the GNU Lesser General Public License<a name="line.13"></a>
|
||||
<span class="sourceLineNo">014</span> along with Vault. If not, see <http://www.gnu.org/licenses/>.<a name="line.14"></a>
|
||||
<span class="sourceLineNo">015</span> */<a name="line.15"></a>
|
||||
<span class="sourceLineNo">016</span><a name="line.16"></a>
|
||||
<span class="sourceLineNo">017</span>package net.milkbowl.vault.economy;<a name="line.17"></a>
|
||||
<span class="sourceLineNo">018</span><a name="line.18"></a>
|
||||
<span class="sourceLineNo">019</span>import java.util.List;<a name="line.19"></a>
|
||||
<span class="sourceLineNo">020</span><a name="line.20"></a>
|
||||
<span class="sourceLineNo">021</span>import org.bukkit.OfflinePlayer;<a name="line.21"></a>
|
||||
<span class="sourceLineNo">022</span><a name="line.22"></a>
|
||||
<span class="sourceLineNo">023</span>/**<a name="line.23"></a>
|
||||
<span class="sourceLineNo">024</span> * The main economy API<a name="line.24"></a>
|
||||
<span class="sourceLineNo">025</span> *<a name="line.25"></a>
|
||||
<span class="sourceLineNo">026</span> */<a name="line.26"></a>
|
||||
<span class="sourceLineNo">027</span>public interface Economy {<a name="line.27"></a>
|
||||
<span class="sourceLineNo">028</span><a name="line.28"></a>
|
||||
<span class="sourceLineNo">029</span> /**<a name="line.29"></a>
|
||||
<span class="sourceLineNo">030</span> * Checks if economy method is enabled.<a name="line.30"></a>
|
||||
<span class="sourceLineNo">031</span> * @return Success or Failure<a name="line.31"></a>
|
||||
<span class="sourceLineNo">032</span> */<a name="line.32"></a>
|
||||
<span class="sourceLineNo">033</span> public boolean isEnabled();<a name="line.33"></a>
|
||||
<span class="sourceLineNo">034</span><a name="line.34"></a>
|
||||
<span class="sourceLineNo">035</span> /**<a name="line.35"></a>
|
||||
<span class="sourceLineNo">036</span> * Gets name of economy method<a name="line.36"></a>
|
||||
<span class="sourceLineNo">037</span> * @return Name of Ecoomy Method<a name="line.37"></a>
|
||||
<span class="sourceLineNo">038</span> */<a name="line.38"></a>
|
||||
<span class="sourceLineNo">039</span> public String getName();<a name="line.39"></a>
|
||||
<span class="sourceLineNo">040</span><a name="line.40"></a>
|
||||
<span class="sourceLineNo">041</span> /**<a name="line.41"></a>
|
||||
<span class="sourceLineNo">042</span> * Returns true if the given implementation supports banks.<a name="line.42"></a>
|
||||
<span class="sourceLineNo">043</span> * @return true if the implementation supports banks<a name="line.43"></a>
|
||||
<span class="sourceLineNo">044</span> */<a name="line.44"></a>
|
||||
<span class="sourceLineNo">045</span> public boolean hasBankSupport();<a name="line.45"></a>
|
||||
<span class="sourceLineNo">046</span><a name="line.46"></a>
|
||||
<span class="sourceLineNo">047</span> /**<a name="line.47"></a>
|
||||
<span class="sourceLineNo">048</span> * Some economy plugins round off after a certain number of digits.<a name="line.48"></a>
|
||||
<span class="sourceLineNo">049</span> * This function returns the number of digits the plugin keeps<a name="line.49"></a>
|
||||
<span class="sourceLineNo">050</span> * or -1 if no rounding occurs.<a name="line.50"></a>
|
||||
<span class="sourceLineNo">051</span> * @return number of digits after the decimal point kept<a name="line.51"></a>
|
||||
<span class="sourceLineNo">052</span> */<a name="line.52"></a>
|
||||
<span class="sourceLineNo">053</span> public int fractionalDigits();<a name="line.53"></a>
|
||||
<span class="sourceLineNo">054</span><a name="line.54"></a>
|
||||
<span class="sourceLineNo">055</span> /**<a name="line.55"></a>
|
||||
<span class="sourceLineNo">056</span> * Format amount into a human readable String This provides translation into<a name="line.56"></a>
|
||||
<span class="sourceLineNo">057</span> * economy specific formatting to improve consistency between plugins. <a name="line.57"></a>
|
||||
<span class="sourceLineNo">058</span> *<a name="line.58"></a>
|
||||
<span class="sourceLineNo">059</span> * @param amount to format<a name="line.59"></a>
|
||||
<span class="sourceLineNo">060</span> * @return Human readable string describing amount<a name="line.60"></a>
|
||||
<span class="sourceLineNo">061</span> */<a name="line.61"></a>
|
||||
<span class="sourceLineNo">062</span> public String format(double amount);<a name="line.62"></a>
|
||||
<span class="sourceLineNo">063</span><a name="line.63"></a>
|
||||
<span class="sourceLineNo">064</span> /**<a name="line.64"></a>
|
||||
<span class="sourceLineNo">065</span> * Returns the name of the currency in plural form.<a name="line.65"></a>
|
||||
<span class="sourceLineNo">066</span> * If the economy being used does not support currency names then an empty string will be returned.<a name="line.66"></a>
|
||||
<span class="sourceLineNo">067</span> * <a name="line.67"></a>
|
||||
<span class="sourceLineNo">068</span> * @return name of the currency (plural)<a name="line.68"></a>
|
||||
<span class="sourceLineNo">069</span> */<a name="line.69"></a>
|
||||
<span class="sourceLineNo">070</span> public String currencyNamePlural();<a name="line.70"></a>
|
||||
<span class="sourceLineNo">071</span><a name="line.71"></a>
|
||||
<span class="sourceLineNo">072</span><a name="line.72"></a>
|
||||
<span class="sourceLineNo">073</span> /**<a name="line.73"></a>
|
||||
<span class="sourceLineNo">074</span> * Returns the name of the currency in singular form.<a name="line.74"></a>
|
||||
<span class="sourceLineNo">075</span> * If the economy being used does not support currency names then an empty string will be returned.<a name="line.75"></a>
|
||||
<span class="sourceLineNo">076</span> * <a name="line.76"></a>
|
||||
<span class="sourceLineNo">077</span> * @return name of the currency (singular)<a name="line.77"></a>
|
||||
<span class="sourceLineNo">078</span> */<a name="line.78"></a>
|
||||
<span class="sourceLineNo">079</span> public String currencyNameSingular();<a name="line.79"></a>
|
||||
<span class="sourceLineNo">080</span><a name="line.80"></a>
|
||||
<span class="sourceLineNo">081</span> /**<a name="line.81"></a>
|
||||
<span class="sourceLineNo">082</span> * <a name="line.82"></a>
|
||||
<span class="sourceLineNo">083</span> * @deprecated As of Vault 1.3.01 use {@link #hasAccount(OfflinePlayer)} instead.<a name="line.83"></a>
|
||||
<span class="sourceLineNo">084</span> * <a name="line.84"></a>
|
||||
<span class="sourceLineNo">085</span> * Checks if this player has an account on the server yet<a name="line.85"></a>
|
||||
<span class="sourceLineNo">086</span> * This will always return true if the player has joined the server at least once<a name="line.86"></a>
|
||||
<span class="sourceLineNo">087</span> * as all major economy plugins auto-generate a player account when the player joins the server<a name="line.87"></a>
|
||||
<span class="sourceLineNo">088</span> * <a name="line.88"></a>
|
||||
<span class="sourceLineNo">089</span> * @param playerName to check<a name="line.89"></a>
|
||||
<span class="sourceLineNo">090</span> * @return if the player has an account<a name="line.90"></a>
|
||||
<span class="sourceLineNo">091</span> */<a name="line.91"></a>
|
||||
<span class="sourceLineNo">092</span> @Deprecated<a name="line.92"></a>
|
||||
<span class="sourceLineNo">093</span> public boolean hasAccount(String playerName);<a name="line.93"></a>
|
||||
<span class="sourceLineNo">094</span><a name="line.94"></a>
|
||||
<span class="sourceLineNo">095</span> /**<a name="line.95"></a>
|
||||
<span class="sourceLineNo">096</span> * Checks if this player has an account on the server yet<a name="line.96"></a>
|
||||
<span class="sourceLineNo">097</span> * This will always return true if the player has joined the server at least once<a name="line.97"></a>
|
||||
<span class="sourceLineNo">098</span> * as all major economy plugins auto-generate a player account when the player joins the server<a name="line.98"></a>
|
||||
<span class="sourceLineNo">099</span> * <a name="line.99"></a>
|
||||
<span class="sourceLineNo">100</span> * @param player to check<a name="line.100"></a>
|
||||
<span class="sourceLineNo">101</span> * @return if the player has an account<a name="line.101"></a>
|
||||
<span class="sourceLineNo">102</span> */<a name="line.102"></a>
|
||||
<span class="sourceLineNo">103</span> public boolean hasAccount(OfflinePlayer player);<a name="line.103"></a>
|
||||
<span class="sourceLineNo">104</span> <a name="line.104"></a>
|
||||
<span class="sourceLineNo">105</span> /**<a name="line.105"></a>
|
||||
<span class="sourceLineNo">106</span> * @deprecated As of Vault 1.3.01 use {@link #hasAccount(OfflinePlayer, String)} instead.<a name="line.106"></a>
|
||||
<span class="sourceLineNo">107</span> * <a name="line.107"></a>
|
||||
<span class="sourceLineNo">108</span> * Checks if this player has an account on the server yet on the given world<a name="line.108"></a>
|
||||
<span class="sourceLineNo">109</span> * This will always return true if the player has joined the server at least once<a name="line.109"></a>
|
||||
<span class="sourceLineNo">110</span> * as all major economy plugins auto-generate a player account when the player joins the server<a name="line.110"></a>
|
||||
<span class="sourceLineNo">111</span> * <a name="line.111"></a>
|
||||
<span class="sourceLineNo">112</span> * @param playerName to check in the world<a name="line.112"></a>
|
||||
<span class="sourceLineNo">113</span> * @param worldName world-specific account<a name="line.113"></a>
|
||||
<span class="sourceLineNo">114</span> * @return if the player has an account<a name="line.114"></a>
|
||||
<span class="sourceLineNo">115</span> */<a name="line.115"></a>
|
||||
<span class="sourceLineNo">116</span> @Deprecated<a name="line.116"></a>
|
||||
<span class="sourceLineNo">117</span> public boolean hasAccount(String playerName, String worldName);<a name="line.117"></a>
|
||||
<span class="sourceLineNo">118</span><a name="line.118"></a>
|
||||
<span class="sourceLineNo">119</span> /**<a name="line.119"></a>
|
||||
<span class="sourceLineNo">120</span> * Checks if this player has an account on the server yet on the given world<a name="line.120"></a>
|
||||
<span class="sourceLineNo">121</span> * This will always return true if the player has joined the server at least once<a name="line.121"></a>
|
||||
<span class="sourceLineNo">122</span> * as all major economy plugins auto-generate a player account when the player joins the server<a name="line.122"></a>
|
||||
<span class="sourceLineNo">123</span> * <a name="line.123"></a>
|
||||
<span class="sourceLineNo">124</span> * @param player to check in the world<a name="line.124"></a>
|
||||
<span class="sourceLineNo">125</span> * @param worldName world-specific account<a name="line.125"></a>
|
||||
<span class="sourceLineNo">126</span> * @return if the player has an account<a name="line.126"></a>
|
||||
<span class="sourceLineNo">127</span> */<a name="line.127"></a>
|
||||
<span class="sourceLineNo">128</span> public boolean hasAccount(OfflinePlayer player, String worldName);<a name="line.128"></a>
|
||||
<span class="sourceLineNo">129</span><a name="line.129"></a>
|
||||
<span class="sourceLineNo">130</span> /**<a name="line.130"></a>
|
||||
<span class="sourceLineNo">131</span> * @deprecated As of Vault 1.3.01 use {@link #getBalance(OfflinePlayer)} instead.<a name="line.131"></a>
|
||||
<span class="sourceLineNo">132</span> * Gets balance of a player<a name="line.132"></a>
|
||||
<span class="sourceLineNo">133</span> * <a name="line.133"></a>
|
||||
<span class="sourceLineNo">134</span> * @param playerName of the player<a name="line.134"></a>
|
||||
<span class="sourceLineNo">135</span> * @return Amount currently held in players account<a name="line.135"></a>
|
||||
<span class="sourceLineNo">136</span> */<a name="line.136"></a>
|
||||
<span class="sourceLineNo">137</span> @Deprecated<a name="line.137"></a>
|
||||
<span class="sourceLineNo">138</span> public double getBalance(String playerName);<a name="line.138"></a>
|
||||
<span class="sourceLineNo">139</span> <a name="line.139"></a>
|
||||
<span class="sourceLineNo">140</span> /**<a name="line.140"></a>
|
||||
<span class="sourceLineNo">141</span> * Gets balance of a player<a name="line.141"></a>
|
||||
<span class="sourceLineNo">142</span> * <a name="line.142"></a>
|
||||
<span class="sourceLineNo">143</span> * @param player of the player<a name="line.143"></a>
|
||||
<span class="sourceLineNo">144</span> * @return Amount currently held in players account<a name="line.144"></a>
|
||||
<span class="sourceLineNo">145</span> */<a name="line.145"></a>
|
||||
<span class="sourceLineNo">146</span> public double getBalance(OfflinePlayer player);<a name="line.146"></a>
|
||||
<span class="sourceLineNo">147</span><a name="line.147"></a>
|
||||
<span class="sourceLineNo">148</span> /**<a name="line.148"></a>
|
||||
<span class="sourceLineNo">149</span> * @deprecated As of Vault 1.3.01 use {@link #getBalance(OfflinePlayer, String)} instead.<a name="line.149"></a>
|
||||
<span class="sourceLineNo">150</span> * <a name="line.150"></a>
|
||||
<span class="sourceLineNo">151</span> * Gets balance of a player on the specified world.<a name="line.151"></a>
|
||||
<span class="sourceLineNo">152</span> * IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.<a name="line.152"></a>
|
||||
<span class="sourceLineNo">153</span> * @param playerName name of the player<a name="line.153"></a>
|
||||
<span class="sourceLineNo">154</span> * @param world name of the world<a name="line.154"></a>
|
||||
<span class="sourceLineNo">155</span> * @return Amount currently held in players account<a name="line.155"></a>
|
||||
<span class="sourceLineNo">156</span> */<a name="line.156"></a>
|
||||
<span class="sourceLineNo">157</span> @Deprecated<a name="line.157"></a>
|
||||
<span class="sourceLineNo">158</span> public double getBalance(String playerName, String world);<a name="line.158"></a>
|
||||
<span class="sourceLineNo">159</span> <a name="line.159"></a>
|
||||
<span class="sourceLineNo">160</span> /**<a name="line.160"></a>
|
||||
<span class="sourceLineNo">161</span> * Gets balance of a player on the specified world.<a name="line.161"></a>
|
||||
<span class="sourceLineNo">162</span> * IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.<a name="line.162"></a>
|
||||
<span class="sourceLineNo">163</span> * @param player to check<a name="line.163"></a>
|
||||
<span class="sourceLineNo">164</span> * @param world name of the world<a name="line.164"></a>
|
||||
<span class="sourceLineNo">165</span> * @return Amount currently held in players account<a name="line.165"></a>
|
||||
<span class="sourceLineNo">166</span> */<a name="line.166"></a>
|
||||
<span class="sourceLineNo">167</span> public double getBalance(OfflinePlayer player, String world);<a name="line.167"></a>
|
||||
<span class="sourceLineNo">168</span> <a name="line.168"></a>
|
||||
<span class="sourceLineNo">169</span> /**<a name="line.169"></a>
|
||||
<span class="sourceLineNo">170</span> * @deprecated As of Vault 1.3.01 use {@link #has(OfflinePlayer, double)} instead.<a name="line.170"></a>
|
||||
<span class="sourceLineNo">171</span> * <a name="line.171"></a>
|
||||
<span class="sourceLineNo">172</span> * Checks if the player account has the amount - DO NOT USE NEGATIVE AMOUNTS<a name="line.172"></a>
|
||||
<span class="sourceLineNo">173</span> * <a name="line.173"></a>
|
||||
<span class="sourceLineNo">174</span> * @param playerName to check<a name="line.174"></a>
|
||||
<span class="sourceLineNo">175</span> * @param amount to check for<a name="line.175"></a>
|
||||
<span class="sourceLineNo">176</span> * @return True if <b>playerName</b> has <b>amount</b>, False else wise<a name="line.176"></a>
|
||||
<span class="sourceLineNo">177</span> */<a name="line.177"></a>
|
||||
<span class="sourceLineNo">178</span> @Deprecated<a name="line.178"></a>
|
||||
<span class="sourceLineNo">179</span> public boolean has(String playerName, double amount);<a name="line.179"></a>
|
||||
<span class="sourceLineNo">180</span> <a name="line.180"></a>
|
||||
<span class="sourceLineNo">181</span> /**<a name="line.181"></a>
|
||||
<span class="sourceLineNo">182</span> * Checks if the player account has the amount - DO NOT USE NEGATIVE AMOUNTS<a name="line.182"></a>
|
||||
<span class="sourceLineNo">183</span> * <a name="line.183"></a>
|
||||
<span class="sourceLineNo">184</span> * @param player to check<a name="line.184"></a>
|
||||
<span class="sourceLineNo">185</span> * @param amount to check for<a name="line.185"></a>
|
||||
<span class="sourceLineNo">186</span> * @return True if <b>player</b> has <b>amount</b>, False else wise<a name="line.186"></a>
|
||||
<span class="sourceLineNo">187</span> */<a name="line.187"></a>
|
||||
<span class="sourceLineNo">188</span> public boolean has(OfflinePlayer player, double amount);<a name="line.188"></a>
|
||||
<span class="sourceLineNo">189</span><a name="line.189"></a>
|
||||
<span class="sourceLineNo">190</span> /**<a name="line.190"></a>
|
||||
<span class="sourceLineNo">191</span> * @deprecated As of Vault 1.3.01 use @{link {@link #has(OfflinePlayer, String, double)} instead.<a name="line.191"></a>
|
||||
<span class="sourceLineNo">192</span> * <a name="line.192"></a>
|
||||
<span class="sourceLineNo">193</span> * Checks if the player account has the amount in a given world - DO NOT USE NEGATIVE AMOUNTS<a name="line.193"></a>
|
||||
<span class="sourceLineNo">194</span> * IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.<a name="line.194"></a>
|
||||
<span class="sourceLineNo">195</span> * <a name="line.195"></a>
|
||||
<span class="sourceLineNo">196</span> * @param playerName to check<a name="line.196"></a>
|
||||
<span class="sourceLineNo">197</span> * @param worldName to check with<a name="line.197"></a>
|
||||
<span class="sourceLineNo">198</span> * @param amount to check for<a name="line.198"></a>
|
||||
<span class="sourceLineNo">199</span> * @return True if <b>playerName</b> has <b>amount</b>, False else wise<a name="line.199"></a>
|
||||
<span class="sourceLineNo">200</span> */<a name="line.200"></a>
|
||||
<span class="sourceLineNo">201</span> @Deprecated<a name="line.201"></a>
|
||||
<span class="sourceLineNo">202</span> public boolean has(String playerName, String worldName, double amount);<a name="line.202"></a>
|
||||
<span class="sourceLineNo">203</span> <a name="line.203"></a>
|
||||
<span class="sourceLineNo">204</span> /**<a name="line.204"></a>
|
||||
<span class="sourceLineNo">205</span> * Checks if the player account has the amount in a given world - DO NOT USE NEGATIVE AMOUNTS<a name="line.205"></a>
|
||||
<span class="sourceLineNo">206</span> * IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.<a name="line.206"></a>
|
||||
<span class="sourceLineNo">207</span> * <a name="line.207"></a>
|
||||
<span class="sourceLineNo">208</span> * @param player to check<a name="line.208"></a>
|
||||
<span class="sourceLineNo">209</span> * @param worldName to check with<a name="line.209"></a>
|
||||
<span class="sourceLineNo">210</span> * @param amount to check for<a name="line.210"></a>
|
||||
<span class="sourceLineNo">211</span> * @return True if <b>player</b> has <b>amount</b>, False else wise<a name="line.211"></a>
|
||||
<span class="sourceLineNo">212</span> */<a name="line.212"></a>
|
||||
<span class="sourceLineNo">213</span> public boolean has(OfflinePlayer player, String worldName, double amount);<a name="line.213"></a>
|
||||
<span class="sourceLineNo">214</span><a name="line.214"></a>
|
||||
<span class="sourceLineNo">215</span> /**<a name="line.215"></a>
|
||||
<span class="sourceLineNo">216</span> * @deprecated As of Vault 1.3.01 use {@link #withdrawPlayer(OfflinePlayer, double)} instead.<a name="line.216"></a>
|
||||
<span class="sourceLineNo">217</span> * Withdraw an amount from a player - DO NOT USE NEGATIVE AMOUNTS<a name="line.217"></a>
|
||||
<span class="sourceLineNo">218</span> * <a name="line.218"></a>
|
||||
<span class="sourceLineNo">219</span> * @param playerName Name of player<a name="line.219"></a>
|
||||
<span class="sourceLineNo">220</span> * @param amount Amount to withdraw<a name="line.220"></a>
|
||||
<span class="sourceLineNo">221</span> * @return Detailed response of transaction<a name="line.221"></a>
|
||||
<span class="sourceLineNo">222</span> */<a name="line.222"></a>
|
||||
<span class="sourceLineNo">223</span> @Deprecated<a name="line.223"></a>
|
||||
<span class="sourceLineNo">224</span> public EconomyResponse withdrawPlayer(String playerName, double amount);<a name="line.224"></a>
|
||||
<span class="sourceLineNo">225</span><a name="line.225"></a>
|
||||
<span class="sourceLineNo">226</span> /**<a name="line.226"></a>
|
||||
<span class="sourceLineNo">227</span> * Withdraw an amount from a player - DO NOT USE NEGATIVE AMOUNTS<a name="line.227"></a>
|
||||
<span class="sourceLineNo">228</span> * <a name="line.228"></a>
|
||||
<span class="sourceLineNo">229</span> * @param player to withdraw from<a name="line.229"></a>
|
||||
<span class="sourceLineNo">230</span> * @param amount Amount to withdraw<a name="line.230"></a>
|
||||
<span class="sourceLineNo">231</span> * @return Detailed response of transaction<a name="line.231"></a>
|
||||
<span class="sourceLineNo">232</span> */<a name="line.232"></a>
|
||||
<span class="sourceLineNo">233</span> public EconomyResponse withdrawPlayer(OfflinePlayer player, double amount);<a name="line.233"></a>
|
||||
<span class="sourceLineNo">234</span><a name="line.234"></a>
|
||||
<span class="sourceLineNo">235</span> /**<a name="line.235"></a>
|
||||
<span class="sourceLineNo">236</span> * @deprecated As of Vault 1.3.01 use {@link #withdrawPlayer(OfflinePlayer, String, double)} instead.<a name="line.236"></a>
|
||||
<span class="sourceLineNo">237</span> * <a name="line.237"></a>
|
||||
<span class="sourceLineNo">238</span> * Withdraw an amount from a player on a given world - DO NOT USE NEGATIVE AMOUNTS<a name="line.238"></a>
|
||||
<span class="sourceLineNo">239</span> * IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.<a name="line.239"></a>
|
||||
<span class="sourceLineNo">240</span> * @param playerName Name of player<a name="line.240"></a>
|
||||
<span class="sourceLineNo">241</span> * @param worldName - name of the world<a name="line.241"></a>
|
||||
<span class="sourceLineNo">242</span> * @param amount Amount to withdraw<a name="line.242"></a>
|
||||
<span class="sourceLineNo">243</span> * @return Detailed response of transaction<a name="line.243"></a>
|
||||
<span class="sourceLineNo">244</span> */<a name="line.244"></a>
|
||||
<span class="sourceLineNo">245</span> @Deprecated<a name="line.245"></a>
|
||||
<span class="sourceLineNo">246</span> public EconomyResponse withdrawPlayer(String playerName, String worldName, double amount);<a name="line.246"></a>
|
||||
<span class="sourceLineNo">247</span> <a name="line.247"></a>
|
||||
<span class="sourceLineNo">248</span> /**<a name="line.248"></a>
|
||||
<span class="sourceLineNo">249</span> * Withdraw an amount from a player on a given world - DO NOT USE NEGATIVE AMOUNTS<a name="line.249"></a>
|
||||
<span class="sourceLineNo">250</span> * IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.<a name="line.250"></a>
|
||||
<span class="sourceLineNo">251</span> * @param player to withdraw from<a name="line.251"></a>
|
||||
<span class="sourceLineNo">252</span> * @param worldName - name of the world<a name="line.252"></a>
|
||||
<span class="sourceLineNo">253</span> * @param amount Amount to withdraw<a name="line.253"></a>
|
||||
<span class="sourceLineNo">254</span> * @return Detailed response of transaction<a name="line.254"></a>
|
||||
<span class="sourceLineNo">255</span> */<a name="line.255"></a>
|
||||
<span class="sourceLineNo">256</span> public EconomyResponse withdrawPlayer(OfflinePlayer player, String worldName, double amount);<a name="line.256"></a>
|
||||
<span class="sourceLineNo">257</span><a name="line.257"></a>
|
||||
<span class="sourceLineNo">258</span> /**<a name="line.258"></a>
|
||||
<span class="sourceLineNo">259</span> * @deprecated As of Vault 1.3.01 use {@link #depositPlayer(OfflinePlayer, double)} instead.<a name="line.259"></a>
|
||||
<span class="sourceLineNo">260</span> * <a name="line.260"></a>
|
||||
<span class="sourceLineNo">261</span> * Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS<a name="line.261"></a>
|
||||
<span class="sourceLineNo">262</span> * <a name="line.262"></a>
|
||||
<span class="sourceLineNo">263</span> * @param playerName Name of player<a name="line.263"></a>
|
||||
<span class="sourceLineNo">264</span> * @param amount Amount to deposit<a name="line.264"></a>
|
||||
<span class="sourceLineNo">265</span> * @return Detailed response of transaction<a name="line.265"></a>
|
||||
<span class="sourceLineNo">266</span> */<a name="line.266"></a>
|
||||
<span class="sourceLineNo">267</span> @Deprecated<a name="line.267"></a>
|
||||
<span class="sourceLineNo">268</span> public EconomyResponse depositPlayer(String playerName, double amount);<a name="line.268"></a>
|
||||
<span class="sourceLineNo">269</span><a name="line.269"></a>
|
||||
<span class="sourceLineNo">270</span> /**<a name="line.270"></a>
|
||||
<span class="sourceLineNo">271</span> * Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS<a name="line.271"></a>
|
||||
<span class="sourceLineNo">272</span> * <a name="line.272"></a>
|
||||
<span class="sourceLineNo">273</span> * @param player to deposit to<a name="line.273"></a>
|
||||
<span class="sourceLineNo">274</span> * @param amount Amount to deposit<a name="line.274"></a>
|
||||
<span class="sourceLineNo">275</span> * @return Detailed response of transaction<a name="line.275"></a>
|
||||
<span class="sourceLineNo">276</span> */<a name="line.276"></a>
|
||||
<span class="sourceLineNo">277</span> public EconomyResponse depositPlayer(OfflinePlayer player, double amount);<a name="line.277"></a>
|
||||
<span class="sourceLineNo">278</span><a name="line.278"></a>
|
||||
<span class="sourceLineNo">279</span> /**<a name="line.279"></a>
|
||||
<span class="sourceLineNo">280</span> * @deprecated As of Vault 1.3.01 use {@link #depositPlayer(OfflinePlayer, String, double)} instead.<a name="line.280"></a>
|
||||
<span class="sourceLineNo">281</span> * <a name="line.281"></a>
|
||||
<span class="sourceLineNo">282</span> * Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS<a name="line.282"></a>
|
||||
<span class="sourceLineNo">283</span> * IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.<a name="line.283"></a>
|
||||
<span class="sourceLineNo">284</span> * @param playerName Name of player<a name="line.284"></a>
|
||||
<span class="sourceLineNo">285</span> * @param worldName Name of the world<a name="line.285"></a>
|
||||
<span class="sourceLineNo">286</span> * @param amount Amount to deposit<a name="line.286"></a>
|
||||
<span class="sourceLineNo">287</span> * @return Detailed response of transaction<a name="line.287"></a>
|
||||
<span class="sourceLineNo">288</span> */<a name="line.288"></a>
|
||||
<span class="sourceLineNo">289</span> @Deprecated<a name="line.289"></a>
|
||||
<span class="sourceLineNo">290</span> public EconomyResponse depositPlayer(String playerName, String worldName, double amount);<a name="line.290"></a>
|
||||
<span class="sourceLineNo">291</span> <a name="line.291"></a>
|
||||
<span class="sourceLineNo">292</span> /**<a name="line.292"></a>
|
||||
<span class="sourceLineNo">293</span> * Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS<a name="line.293"></a>
|
||||
<span class="sourceLineNo">294</span> * IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.<a name="line.294"></a>
|
||||
<span class="sourceLineNo">295</span> * @param player to deposit to<a name="line.295"></a>
|
||||
<span class="sourceLineNo">296</span> * @param worldName name of the world<a name="line.296"></a>
|
||||
<span class="sourceLineNo">297</span> * @param amount Amount to deposit<a name="line.297"></a>
|
||||
<span class="sourceLineNo">298</span> * @return Detailed response of transaction<a name="line.298"></a>
|
||||
<span class="sourceLineNo">299</span> */<a name="line.299"></a>
|
||||
<span class="sourceLineNo">300</span> public EconomyResponse depositPlayer(OfflinePlayer player, String worldName, double amount);<a name="line.300"></a>
|
||||
<span class="sourceLineNo">301</span><a name="line.301"></a>
|
||||
<span class="sourceLineNo">302</span> /**<a name="line.302"></a>
|
||||
<span class="sourceLineNo">303</span> * @deprecated As of Vault 1.3.01 use {{@link #createBank(String, OfflinePlayer)} instead.<a name="line.303"></a>
|
||||
<span class="sourceLineNo">304</span> * <a name="line.304"></a>
|
||||
<span class="sourceLineNo">305</span> * Creates a bank account with the specified name and the player as the owner<a name="line.305"></a>
|
||||
<span class="sourceLineNo">306</span> * @param name of account<a name="line.306"></a>
|
||||
<span class="sourceLineNo">307</span> * @param player the account should be linked to<a name="line.307"></a>
|
||||
<span class="sourceLineNo">308</span> * @return EconomyResponse Object<a name="line.308"></a>
|
||||
<span class="sourceLineNo">309</span> */<a name="line.309"></a>
|
||||
<span class="sourceLineNo">310</span> @Deprecated<a name="line.310"></a>
|
||||
<span class="sourceLineNo">311</span> public EconomyResponse createBank(String name, String player);<a name="line.311"></a>
|
||||
<span class="sourceLineNo">312</span><a name="line.312"></a>
|
||||
<span class="sourceLineNo">313</span> /**<a name="line.313"></a>
|
||||
<span class="sourceLineNo">314</span> * Creates a bank account with the specified name and the player as the owner<a name="line.314"></a>
|
||||
<span class="sourceLineNo">315</span> * @param name of account<a name="line.315"></a>
|
||||
<span class="sourceLineNo">316</span> * @param player the account should be linked to<a name="line.316"></a>
|
||||
<span class="sourceLineNo">317</span> * @return EconomyResponse Object<a name="line.317"></a>
|
||||
<span class="sourceLineNo">318</span> */<a name="line.318"></a>
|
||||
<span class="sourceLineNo">319</span> public EconomyResponse createBank(String name, OfflinePlayer player);<a name="line.319"></a>
|
||||
<span class="sourceLineNo">320</span><a name="line.320"></a>
|
||||
<span class="sourceLineNo">321</span> /**<a name="line.321"></a>
|
||||
<span class="sourceLineNo">322</span> * Deletes a bank account with the specified name.<a name="line.322"></a>
|
||||
<span class="sourceLineNo">323</span> * @param name of the back to delete<a name="line.323"></a>
|
||||
<span class="sourceLineNo">324</span> * @return if the operation completed successfully<a name="line.324"></a>
|
||||
<span class="sourceLineNo">325</span> */<a name="line.325"></a>
|
||||
<span class="sourceLineNo">326</span> public EconomyResponse deleteBank(String name);<a name="line.326"></a>
|
||||
<span class="sourceLineNo">327</span><a name="line.327"></a>
|
||||
<span class="sourceLineNo">328</span> /**<a name="line.328"></a>
|
||||
<span class="sourceLineNo">329</span> * Returns the amount the bank has<a name="line.329"></a>
|
||||
<span class="sourceLineNo">330</span> * @param name of the account<a name="line.330"></a>
|
||||
<span class="sourceLineNo">331</span> * @return EconomyResponse Object<a name="line.331"></a>
|
||||
<span class="sourceLineNo">332</span> */<a name="line.332"></a>
|
||||
<span class="sourceLineNo">333</span> public EconomyResponse bankBalance(String name);<a name="line.333"></a>
|
||||
<span class="sourceLineNo">334</span><a name="line.334"></a>
|
||||
<span class="sourceLineNo">335</span> /**<a name="line.335"></a>
|
||||
<span class="sourceLineNo">336</span> * Returns true or false whether the bank has the amount specified - DO NOT USE NEGATIVE AMOUNTS<a name="line.336"></a>
|
||||
<span class="sourceLineNo">337</span> * <a name="line.337"></a>
|
||||
<span class="sourceLineNo">338</span> * @param name of the account<a name="line.338"></a>
|
||||
<span class="sourceLineNo">339</span> * @param amount to check for<a name="line.339"></a>
|
||||
<span class="sourceLineNo">340</span> * @return EconomyResponse Object<a name="line.340"></a>
|
||||
<span class="sourceLineNo">341</span> */<a name="line.341"></a>
|
||||
<span class="sourceLineNo">342</span> public EconomyResponse bankHas(String name, double amount);<a name="line.342"></a>
|
||||
<span class="sourceLineNo">343</span><a name="line.343"></a>
|
||||
<span class="sourceLineNo">344</span> /**<a name="line.344"></a>
|
||||
<span class="sourceLineNo">345</span> * Withdraw an amount from a bank account - DO NOT USE NEGATIVE AMOUNTS<a name="line.345"></a>
|
||||
<span class="sourceLineNo">346</span> * <a name="line.346"></a>
|
||||
<span class="sourceLineNo">347</span> * @param name of the account<a name="line.347"></a>
|
||||
<span class="sourceLineNo">348</span> * @param amount to withdraw<a name="line.348"></a>
|
||||
<span class="sourceLineNo">349</span> * @return EconomyResponse Object<a name="line.349"></a>
|
||||
<span class="sourceLineNo">350</span> */<a name="line.350"></a>
|
||||
<span class="sourceLineNo">351</span> public EconomyResponse bankWithdraw(String name, double amount);<a name="line.351"></a>
|
||||
<span class="sourceLineNo">352</span><a name="line.352"></a>
|
||||
<span class="sourceLineNo">353</span> /**<a name="line.353"></a>
|
||||
<span class="sourceLineNo">354</span> * Deposit an amount into a bank account - DO NOT USE NEGATIVE AMOUNTS<a name="line.354"></a>
|
||||
<span class="sourceLineNo">355</span> * <a name="line.355"></a>
|
||||
<span class="sourceLineNo">356</span> * @param name of the account<a name="line.356"></a>
|
||||
<span class="sourceLineNo">357</span> * @param amount to deposit<a name="line.357"></a>
|
||||
<span class="sourceLineNo">358</span> * @return EconomyResponse Object<a name="line.358"></a>
|
||||
<span class="sourceLineNo">359</span> */<a name="line.359"></a>
|
||||
<span class="sourceLineNo">360</span> public EconomyResponse bankDeposit(String name, double amount);<a name="line.360"></a>
|
||||
<span class="sourceLineNo">361</span> <a name="line.361"></a>
|
||||
<span class="sourceLineNo">362</span> /**<a name="line.362"></a>
|
||||
<span class="sourceLineNo">363</span> * @deprecated As of Vault 1.3.01 use {{@link #isBankOwner(String, OfflinePlayer)} instead.<a name="line.363"></a>
|
||||
<span class="sourceLineNo">364</span> * <a name="line.364"></a>
|
||||
<span class="sourceLineNo">365</span> * Check if a player is the owner of a bank account<a name="line.365"></a>
|
||||
<span class="sourceLineNo">366</span> * <a name="line.366"></a>
|
||||
<span class="sourceLineNo">367</span> * @param name of the account<a name="line.367"></a>
|
||||
<span class="sourceLineNo">368</span> * @param playerName to check for ownership<a name="line.368"></a>
|
||||
<span class="sourceLineNo">369</span> * @return EconomyResponse Object<a name="line.369"></a>
|
||||
<span class="sourceLineNo">370</span> */<a name="line.370"></a>
|
||||
<span class="sourceLineNo">371</span> @Deprecated<a name="line.371"></a>
|
||||
<span class="sourceLineNo">372</span> public EconomyResponse isBankOwner(String name, String playerName);<a name="line.372"></a>
|
||||
<span class="sourceLineNo">373</span> <a name="line.373"></a>
|
||||
<span class="sourceLineNo">374</span> /**<a name="line.374"></a>
|
||||
<span class="sourceLineNo">375</span> * Check if a player is the owner of a bank account<a name="line.375"></a>
|
||||
<span class="sourceLineNo">376</span> * <a name="line.376"></a>
|
||||
<span class="sourceLineNo">377</span> * @param name of the account<a name="line.377"></a>
|
||||
<span class="sourceLineNo">378</span> * @param player to check for ownership<a name="line.378"></a>
|
||||
<span class="sourceLineNo">379</span> * @return EconomyResponse Object<a name="line.379"></a>
|
||||
<span class="sourceLineNo">380</span> */<a name="line.380"></a>
|
||||
<span class="sourceLineNo">381</span> public EconomyResponse isBankOwner(String name, OfflinePlayer player);<a name="line.381"></a>
|
||||
<span class="sourceLineNo">382</span><a name="line.382"></a>
|
||||
<span class="sourceLineNo">383</span> /**<a name="line.383"></a>
|
||||
<span class="sourceLineNo">384</span> * @deprecated As of Vault 1.3.01 use {{@link #isBankMember(String, OfflinePlayer)} instead.<a name="line.384"></a>
|
||||
<span class="sourceLineNo">385</span> * <a name="line.385"></a>
|
||||
<span class="sourceLineNo">386</span> * Check if the player is a member of the bank account<a name="line.386"></a>
|
||||
<span class="sourceLineNo">387</span> * <a name="line.387"></a>
|
||||
<span class="sourceLineNo">388</span> * @param name of the account<a name="line.388"></a>
|
||||
<span class="sourceLineNo">389</span> * @param playerName to check membership<a name="line.389"></a>
|
||||
<span class="sourceLineNo">390</span> * @return EconomyResponse Object<a name="line.390"></a>
|
||||
<span class="sourceLineNo">391</span> */<a name="line.391"></a>
|
||||
<span class="sourceLineNo">392</span> @Deprecated<a name="line.392"></a>
|
||||
<span class="sourceLineNo">393</span> public EconomyResponse isBankMember(String name, String playerName);<a name="line.393"></a>
|
||||
<span class="sourceLineNo">394</span> <a name="line.394"></a>
|
||||
<span class="sourceLineNo">395</span> /**<a name="line.395"></a>
|
||||
<span class="sourceLineNo">396</span> * Check if the player is a member of the bank account<a name="line.396"></a>
|
||||
<span class="sourceLineNo">397</span> * <a name="line.397"></a>
|
||||
<span class="sourceLineNo">398</span> * @param name of the account<a name="line.398"></a>
|
||||
<span class="sourceLineNo">399</span> * @param player to check membership<a name="line.399"></a>
|
||||
<span class="sourceLineNo">400</span> * @return EconomyResponse Object<a name="line.400"></a>
|
||||
<span class="sourceLineNo">401</span> */<a name="line.401"></a>
|
||||
<span class="sourceLineNo">402</span> public EconomyResponse isBankMember(String name, OfflinePlayer player);<a name="line.402"></a>
|
||||
<span class="sourceLineNo">403</span><a name="line.403"></a>
|
||||
<span class="sourceLineNo">404</span> /**<a name="line.404"></a>
|
||||
<span class="sourceLineNo">405</span> * Gets the list of banks<a name="line.405"></a>
|
||||
<span class="sourceLineNo">406</span> * @return the List of Banks<a name="line.406"></a>
|
||||
<span class="sourceLineNo">407</span> */<a name="line.407"></a>
|
||||
<span class="sourceLineNo">408</span> public List<String> getBanks();<a name="line.408"></a>
|
||||
<span class="sourceLineNo">409</span><a name="line.409"></a>
|
||||
<span class="sourceLineNo">410</span> /**<a name="line.410"></a>
|
||||
<span class="sourceLineNo">411</span> * @deprecated As of Vault 1.3.01 use {{@link #createPlayerAccount(OfflinePlayer)} instead.<a name="line.411"></a>
|
||||
<span class="sourceLineNo">412</span> * <a name="line.412"></a>
|
||||
<span class="sourceLineNo">413</span> * Attempts to create a player account for the given player<a name="line.413"></a>
|
||||
<span class="sourceLineNo">414</span> * @param playerName name of the player<a name="line.414"></a>
|
||||
<span class="sourceLineNo">415</span> * @return if the account creation was successful<a name="line.415"></a>
|
||||
<span class="sourceLineNo">416</span> */<a name="line.416"></a>
|
||||
<span class="sourceLineNo">417</span> @Deprecated<a name="line.417"></a>
|
||||
<span class="sourceLineNo">418</span> public boolean createPlayerAccount(String playerName);<a name="line.418"></a>
|
||||
<span class="sourceLineNo">419</span> <a name="line.419"></a>
|
||||
<span class="sourceLineNo">420</span> /**<a name="line.420"></a>
|
||||
<span class="sourceLineNo">421</span> * Attempts to create a player account for the given player<a name="line.421"></a>
|
||||
<span class="sourceLineNo">422</span> * @param player OfflinePlayer<a name="line.422"></a>
|
||||
<span class="sourceLineNo">423</span> * @return if the account creation was successful<a name="line.423"></a>
|
||||
<span class="sourceLineNo">424</span> */<a name="line.424"></a>
|
||||
<span class="sourceLineNo">425</span> public boolean createPlayerAccount(OfflinePlayer player);<a name="line.425"></a>
|
||||
<span class="sourceLineNo">426</span> <a name="line.426"></a>
|
||||
<span class="sourceLineNo">427</span> /**<a name="line.427"></a>
|
||||
<span class="sourceLineNo">428</span> * @deprecated As of Vault 1.3.01 use {{@link #createPlayerAccount(OfflinePlayer, String)} instead.<a name="line.428"></a>
|
||||
<span class="sourceLineNo">429</span> * <a name="line.429"></a>
|
||||
<span class="sourceLineNo">430</span> * Attempts to create a player account for the given player on the specified world<a name="line.430"></a>
|
||||
<span class="sourceLineNo">431</span> * IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.<a name="line.431"></a>
|
||||
<span class="sourceLineNo">432</span> * @param playerName String name of the player<a name="line.432"></a>
|
||||
<span class="sourceLineNo">433</span> * @param worldName String name of the world<a name="line.433"></a>
|
||||
<span class="sourceLineNo">434</span> * @return if the account creation was successful<a name="line.434"></a>
|
||||
<span class="sourceLineNo">435</span> */<a name="line.435"></a>
|
||||
<span class="sourceLineNo">436</span> @Deprecated<a name="line.436"></a>
|
||||
<span class="sourceLineNo">437</span> public boolean createPlayerAccount(String playerName, String worldName);<a name="line.437"></a>
|
||||
<span class="sourceLineNo">438</span> <a name="line.438"></a>
|
||||
<span class="sourceLineNo">439</span> /**<a name="line.439"></a>
|
||||
<span class="sourceLineNo">440</span> * Attempts to create a player account for the given player on the specified world<a name="line.440"></a>
|
||||
<span class="sourceLineNo">441</span> * IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.<a name="line.441"></a>
|
||||
<span class="sourceLineNo">442</span> * @param player OfflinePlayer<a name="line.442"></a>
|
||||
<span class="sourceLineNo">443</span> * @param worldName String name of the world<a name="line.443"></a>
|
||||
<span class="sourceLineNo">444</span> * @return if the account creation was successful<a name="line.444"></a>
|
||||
<span class="sourceLineNo">445</span> */<a name="line.445"></a>
|
||||
<span class="sourceLineNo">446</span> public boolean createPlayerAccount(OfflinePlayer player, String worldName);<a name="line.446"></a>
|
||||
<span class="sourceLineNo">447</span>}<a name="line.447"></a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,161 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Source code</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<div class="sourceContainer">
|
||||
<pre><span class="sourceLineNo">001</span>/* This file is part of Vault.<a name="line.1"></a>
|
||||
<span class="sourceLineNo">002</span><a name="line.2"></a>
|
||||
<span class="sourceLineNo">003</span> Vault is free software: you can redistribute it and/or modify<a name="line.3"></a>
|
||||
<span class="sourceLineNo">004</span> it under the terms of the GNU Lesser General Public License as published by<a name="line.4"></a>
|
||||
<span class="sourceLineNo">005</span> the Free Software Foundation, either version 3 of the License, or<a name="line.5"></a>
|
||||
<span class="sourceLineNo">006</span> (at your option) any later version.<a name="line.6"></a>
|
||||
<span class="sourceLineNo">007</span><a name="line.7"></a>
|
||||
<span class="sourceLineNo">008</span> Vault is distributed in the hope that it will be useful,<a name="line.8"></a>
|
||||
<span class="sourceLineNo">009</span> but WITHOUT ANY WARRANTY; without even the implied warranty of<a name="line.9"></a>
|
||||
<span class="sourceLineNo">010</span> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<a name="line.10"></a>
|
||||
<span class="sourceLineNo">011</span> GNU Lesser General Public License for more details.<a name="line.11"></a>
|
||||
<span class="sourceLineNo">012</span><a name="line.12"></a>
|
||||
<span class="sourceLineNo">013</span> You should have received a copy of the GNU Lesser General Public License<a name="line.13"></a>
|
||||
<span class="sourceLineNo">014</span> along with Vault. If not, see <http://www.gnu.org/licenses/>.<a name="line.14"></a>
|
||||
<span class="sourceLineNo">015</span> */<a name="line.15"></a>
|
||||
<span class="sourceLineNo">016</span>package net.milkbowl.vault.economy;<a name="line.16"></a>
|
||||
<span class="sourceLineNo">017</span><a name="line.17"></a>
|
||||
<span class="sourceLineNo">018</span>/**<a name="line.18"></a>
|
||||
<span class="sourceLineNo">019</span> * Indicates a typical Return for an Economy method. <a name="line.19"></a>
|
||||
<span class="sourceLineNo">020</span> * It includes a {@link ResponseType} indicating whether the plugin currently being used for Economy actually allows<a name="line.20"></a>
|
||||
<span class="sourceLineNo">021</span> * the method, or if the operation was a success or failure.<a name="line.21"></a>
|
||||
<span class="sourceLineNo">022</span> *<a name="line.22"></a>
|
||||
<span class="sourceLineNo">023</span> */<a name="line.23"></a>
|
||||
<span class="sourceLineNo">024</span>public class EconomyResponse {<a name="line.24"></a>
|
||||
<span class="sourceLineNo">025</span><a name="line.25"></a>
|
||||
<span class="sourceLineNo">026</span> /**<a name="line.26"></a>
|
||||
<span class="sourceLineNo">027</span> * Enum for types of Responses indicating the status of a method call.<a name="line.27"></a>
|
||||
<span class="sourceLineNo">028</span> */<a name="line.28"></a>
|
||||
<span class="sourceLineNo">029</span> public static enum ResponseType {<a name="line.29"></a>
|
||||
<span class="sourceLineNo">030</span> SUCCESS(1),<a name="line.30"></a>
|
||||
<span class="sourceLineNo">031</span> FAILURE(2),<a name="line.31"></a>
|
||||
<span class="sourceLineNo">032</span> NOT_IMPLEMENTED(3);<a name="line.32"></a>
|
||||
<span class="sourceLineNo">033</span><a name="line.33"></a>
|
||||
<span class="sourceLineNo">034</span> private int id;<a name="line.34"></a>
|
||||
<span class="sourceLineNo">035</span><a name="line.35"></a>
|
||||
<span class="sourceLineNo">036</span> ResponseType(int id) {<a name="line.36"></a>
|
||||
<span class="sourceLineNo">037</span> this.id = id;<a name="line.37"></a>
|
||||
<span class="sourceLineNo">038</span> }<a name="line.38"></a>
|
||||
<span class="sourceLineNo">039</span><a name="line.39"></a>
|
||||
<span class="sourceLineNo">040</span> int getId() {<a name="line.40"></a>
|
||||
<span class="sourceLineNo">041</span> return id;<a name="line.41"></a>
|
||||
<span class="sourceLineNo">042</span> }<a name="line.42"></a>
|
||||
<span class="sourceLineNo">043</span> }<a name="line.43"></a>
|
||||
<span class="sourceLineNo">044</span><a name="line.44"></a>
|
||||
<span class="sourceLineNo">045</span> /**<a name="line.45"></a>
|
||||
<span class="sourceLineNo">046</span> * Amount modified by calling method<a name="line.46"></a>
|
||||
<span class="sourceLineNo">047</span> */<a name="line.47"></a>
|
||||
<span class="sourceLineNo">048</span> public final double amount;<a name="line.48"></a>
|
||||
<span class="sourceLineNo">049</span> /**<a name="line.49"></a>
|
||||
<span class="sourceLineNo">050</span> * New balance of account<a name="line.50"></a>
|
||||
<span class="sourceLineNo">051</span> */<a name="line.51"></a>
|
||||
<span class="sourceLineNo">052</span> public final double balance;<a name="line.52"></a>
|
||||
<span class="sourceLineNo">053</span> /**<a name="line.53"></a>
|
||||
<span class="sourceLineNo">054</span> * Success or failure of call. Using Enum of ResponseType to determine valid<a name="line.54"></a>
|
||||
<span class="sourceLineNo">055</span> * outcomes<a name="line.55"></a>
|
||||
<span class="sourceLineNo">056</span> */<a name="line.56"></a>
|
||||
<span class="sourceLineNo">057</span> public final ResponseType type;<a name="line.57"></a>
|
||||
<span class="sourceLineNo">058</span> /**<a name="line.58"></a>
|
||||
<span class="sourceLineNo">059</span> * Error message if the variable 'type' is ResponseType.FAILURE<a name="line.59"></a>
|
||||
<span class="sourceLineNo">060</span> */<a name="line.60"></a>
|
||||
<span class="sourceLineNo">061</span> public final String errorMessage;<a name="line.61"></a>
|
||||
<span class="sourceLineNo">062</span><a name="line.62"></a>
|
||||
<span class="sourceLineNo">063</span> /**<a name="line.63"></a>
|
||||
<span class="sourceLineNo">064</span> * Constructor for EconomyResponse<a name="line.64"></a>
|
||||
<span class="sourceLineNo">065</span> * @param amount Amount modified during operation<a name="line.65"></a>
|
||||
<span class="sourceLineNo">066</span> * @param balance New balance of account<a name="line.66"></a>
|
||||
<span class="sourceLineNo">067</span> * @param type Success or failure type of the operation<a name="line.67"></a>
|
||||
<span class="sourceLineNo">068</span> * @param errorMessage Error message if necessary (commonly null)<a name="line.68"></a>
|
||||
<span class="sourceLineNo">069</span> */<a name="line.69"></a>
|
||||
<span class="sourceLineNo">070</span> public EconomyResponse(double amount, double balance, ResponseType type, String errorMessage) {<a name="line.70"></a>
|
||||
<span class="sourceLineNo">071</span> this.amount = amount;<a name="line.71"></a>
|
||||
<span class="sourceLineNo">072</span> this.balance = balance;<a name="line.72"></a>
|
||||
<span class="sourceLineNo">073</span> this.type = type;<a name="line.73"></a>
|
||||
<span class="sourceLineNo">074</span> this.errorMessage = errorMessage;<a name="line.74"></a>
|
||||
<span class="sourceLineNo">075</span> }<a name="line.75"></a>
|
||||
<span class="sourceLineNo">076</span><a name="line.76"></a>
|
||||
<span class="sourceLineNo">077</span> /**<a name="line.77"></a>
|
||||
<span class="sourceLineNo">078</span> * Checks if an operation was successful<a name="line.78"></a>
|
||||
<span class="sourceLineNo">079</span> * @return Value<a name="line.79"></a>
|
||||
<span class="sourceLineNo">080</span> */<a name="line.80"></a>
|
||||
<span class="sourceLineNo">081</span> public boolean transactionSuccess() {<a name="line.81"></a>
|
||||
<span class="sourceLineNo">082</span> switch (type) {<a name="line.82"></a>
|
||||
<span class="sourceLineNo">083</span> case SUCCESS:<a name="line.83"></a>
|
||||
<span class="sourceLineNo">084</span> return true;<a name="line.84"></a>
|
||||
<span class="sourceLineNo">085</span> default:<a name="line.85"></a>
|
||||
<span class="sourceLineNo">086</span> return false;<a name="line.86"></a>
|
||||
<span class="sourceLineNo">087</span> }<a name="line.87"></a>
|
||||
<span class="sourceLineNo">088</span> }<a name="line.88"></a>
|
||||
<span class="sourceLineNo">089</span>}<a name="line.89"></a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
161
src-html/net/milkbowl/vault/economy/EconomyResponse.html
Normal file
161
src-html/net/milkbowl/vault/economy/EconomyResponse.html
Normal file
@ -0,0 +1,161 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Source code</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<div class="sourceContainer">
|
||||
<pre><span class="sourceLineNo">001</span>/* This file is part of Vault.<a name="line.1"></a>
|
||||
<span class="sourceLineNo">002</span><a name="line.2"></a>
|
||||
<span class="sourceLineNo">003</span> Vault is free software: you can redistribute it and/or modify<a name="line.3"></a>
|
||||
<span class="sourceLineNo">004</span> it under the terms of the GNU Lesser General Public License as published by<a name="line.4"></a>
|
||||
<span class="sourceLineNo">005</span> the Free Software Foundation, either version 3 of the License, or<a name="line.5"></a>
|
||||
<span class="sourceLineNo">006</span> (at your option) any later version.<a name="line.6"></a>
|
||||
<span class="sourceLineNo">007</span><a name="line.7"></a>
|
||||
<span class="sourceLineNo">008</span> Vault is distributed in the hope that it will be useful,<a name="line.8"></a>
|
||||
<span class="sourceLineNo">009</span> but WITHOUT ANY WARRANTY; without even the implied warranty of<a name="line.9"></a>
|
||||
<span class="sourceLineNo">010</span> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<a name="line.10"></a>
|
||||
<span class="sourceLineNo">011</span> GNU Lesser General Public License for more details.<a name="line.11"></a>
|
||||
<span class="sourceLineNo">012</span><a name="line.12"></a>
|
||||
<span class="sourceLineNo">013</span> You should have received a copy of the GNU Lesser General Public License<a name="line.13"></a>
|
||||
<span class="sourceLineNo">014</span> along with Vault. If not, see <http://www.gnu.org/licenses/>.<a name="line.14"></a>
|
||||
<span class="sourceLineNo">015</span> */<a name="line.15"></a>
|
||||
<span class="sourceLineNo">016</span>package net.milkbowl.vault.economy;<a name="line.16"></a>
|
||||
<span class="sourceLineNo">017</span><a name="line.17"></a>
|
||||
<span class="sourceLineNo">018</span>/**<a name="line.18"></a>
|
||||
<span class="sourceLineNo">019</span> * Indicates a typical Return for an Economy method. <a name="line.19"></a>
|
||||
<span class="sourceLineNo">020</span> * It includes a {@link ResponseType} indicating whether the plugin currently being used for Economy actually allows<a name="line.20"></a>
|
||||
<span class="sourceLineNo">021</span> * the method, or if the operation was a success or failure.<a name="line.21"></a>
|
||||
<span class="sourceLineNo">022</span> *<a name="line.22"></a>
|
||||
<span class="sourceLineNo">023</span> */<a name="line.23"></a>
|
||||
<span class="sourceLineNo">024</span>public class EconomyResponse {<a name="line.24"></a>
|
||||
<span class="sourceLineNo">025</span><a name="line.25"></a>
|
||||
<span class="sourceLineNo">026</span> /**<a name="line.26"></a>
|
||||
<span class="sourceLineNo">027</span> * Enum for types of Responses indicating the status of a method call.<a name="line.27"></a>
|
||||
<span class="sourceLineNo">028</span> */<a name="line.28"></a>
|
||||
<span class="sourceLineNo">029</span> public static enum ResponseType {<a name="line.29"></a>
|
||||
<span class="sourceLineNo">030</span> SUCCESS(1),<a name="line.30"></a>
|
||||
<span class="sourceLineNo">031</span> FAILURE(2),<a name="line.31"></a>
|
||||
<span class="sourceLineNo">032</span> NOT_IMPLEMENTED(3);<a name="line.32"></a>
|
||||
<span class="sourceLineNo">033</span><a name="line.33"></a>
|
||||
<span class="sourceLineNo">034</span> private int id;<a name="line.34"></a>
|
||||
<span class="sourceLineNo">035</span><a name="line.35"></a>
|
||||
<span class="sourceLineNo">036</span> ResponseType(int id) {<a name="line.36"></a>
|
||||
<span class="sourceLineNo">037</span> this.id = id;<a name="line.37"></a>
|
||||
<span class="sourceLineNo">038</span> }<a name="line.38"></a>
|
||||
<span class="sourceLineNo">039</span><a name="line.39"></a>
|
||||
<span class="sourceLineNo">040</span> int getId() {<a name="line.40"></a>
|
||||
<span class="sourceLineNo">041</span> return id;<a name="line.41"></a>
|
||||
<span class="sourceLineNo">042</span> }<a name="line.42"></a>
|
||||
<span class="sourceLineNo">043</span> }<a name="line.43"></a>
|
||||
<span class="sourceLineNo">044</span><a name="line.44"></a>
|
||||
<span class="sourceLineNo">045</span> /**<a name="line.45"></a>
|
||||
<span class="sourceLineNo">046</span> * Amount modified by calling method<a name="line.46"></a>
|
||||
<span class="sourceLineNo">047</span> */<a name="line.47"></a>
|
||||
<span class="sourceLineNo">048</span> public final double amount;<a name="line.48"></a>
|
||||
<span class="sourceLineNo">049</span> /**<a name="line.49"></a>
|
||||
<span class="sourceLineNo">050</span> * New balance of account<a name="line.50"></a>
|
||||
<span class="sourceLineNo">051</span> */<a name="line.51"></a>
|
||||
<span class="sourceLineNo">052</span> public final double balance;<a name="line.52"></a>
|
||||
<span class="sourceLineNo">053</span> /**<a name="line.53"></a>
|
||||
<span class="sourceLineNo">054</span> * Success or failure of call. Using Enum of ResponseType to determine valid<a name="line.54"></a>
|
||||
<span class="sourceLineNo">055</span> * outcomes<a name="line.55"></a>
|
||||
<span class="sourceLineNo">056</span> */<a name="line.56"></a>
|
||||
<span class="sourceLineNo">057</span> public final ResponseType type;<a name="line.57"></a>
|
||||
<span class="sourceLineNo">058</span> /**<a name="line.58"></a>
|
||||
<span class="sourceLineNo">059</span> * Error message if the variable 'type' is ResponseType.FAILURE<a name="line.59"></a>
|
||||
<span class="sourceLineNo">060</span> */<a name="line.60"></a>
|
||||
<span class="sourceLineNo">061</span> public final String errorMessage;<a name="line.61"></a>
|
||||
<span class="sourceLineNo">062</span><a name="line.62"></a>
|
||||
<span class="sourceLineNo">063</span> /**<a name="line.63"></a>
|
||||
<span class="sourceLineNo">064</span> * Constructor for EconomyResponse<a name="line.64"></a>
|
||||
<span class="sourceLineNo">065</span> * @param amount Amount modified during operation<a name="line.65"></a>
|
||||
<span class="sourceLineNo">066</span> * @param balance New balance of account<a name="line.66"></a>
|
||||
<span class="sourceLineNo">067</span> * @param type Success or failure type of the operation<a name="line.67"></a>
|
||||
<span class="sourceLineNo">068</span> * @param errorMessage Error message if necessary (commonly null)<a name="line.68"></a>
|
||||
<span class="sourceLineNo">069</span> */<a name="line.69"></a>
|
||||
<span class="sourceLineNo">070</span> public EconomyResponse(double amount, double balance, ResponseType type, String errorMessage) {<a name="line.70"></a>
|
||||
<span class="sourceLineNo">071</span> this.amount = amount;<a name="line.71"></a>
|
||||
<span class="sourceLineNo">072</span> this.balance = balance;<a name="line.72"></a>
|
||||
<span class="sourceLineNo">073</span> this.type = type;<a name="line.73"></a>
|
||||
<span class="sourceLineNo">074</span> this.errorMessage = errorMessage;<a name="line.74"></a>
|
||||
<span class="sourceLineNo">075</span> }<a name="line.75"></a>
|
||||
<span class="sourceLineNo">076</span><a name="line.76"></a>
|
||||
<span class="sourceLineNo">077</span> /**<a name="line.77"></a>
|
||||
<span class="sourceLineNo">078</span> * Checks if an operation was successful<a name="line.78"></a>
|
||||
<span class="sourceLineNo">079</span> * @return Value<a name="line.79"></a>
|
||||
<span class="sourceLineNo">080</span> */<a name="line.80"></a>
|
||||
<span class="sourceLineNo">081</span> public boolean transactionSuccess() {<a name="line.81"></a>
|
||||
<span class="sourceLineNo">082</span> switch (type) {<a name="line.82"></a>
|
||||
<span class="sourceLineNo">083</span> case SUCCESS:<a name="line.83"></a>
|
||||
<span class="sourceLineNo">084</span> return true;<a name="line.84"></a>
|
||||
<span class="sourceLineNo">085</span> default:<a name="line.85"></a>
|
||||
<span class="sourceLineNo">086</span> return false;<a name="line.86"></a>
|
||||
<span class="sourceLineNo">087</span> }<a name="line.87"></a>
|
||||
<span class="sourceLineNo">088</span> }<a name="line.88"></a>
|
||||
<span class="sourceLineNo">089</span>}<a name="line.89"></a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
177
src-html/net/milkbowl/vault/item/ItemInfo.html
Normal file
177
src-html/net/milkbowl/vault/item/ItemInfo.html
Normal file
@ -0,0 +1,177 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Source code</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<div class="sourceContainer">
|
||||
<pre><span class="sourceLineNo">001</span>/* This file is part of Vault.<a name="line.1"></a>
|
||||
<span class="sourceLineNo">002</span><a name="line.2"></a>
|
||||
<span class="sourceLineNo">003</span> Vault is free software: you can redistribute it and/or modify<a name="line.3"></a>
|
||||
<span class="sourceLineNo">004</span> it under the terms of the GNU Lesser General Public License as published by<a name="line.4"></a>
|
||||
<span class="sourceLineNo">005</span> the Free Software Foundation, either version 3 of the License, or<a name="line.5"></a>
|
||||
<span class="sourceLineNo">006</span> (at your option) any later version.<a name="line.6"></a>
|
||||
<span class="sourceLineNo">007</span><a name="line.7"></a>
|
||||
<span class="sourceLineNo">008</span> Vault is distributed in the hope that it will be useful,<a name="line.8"></a>
|
||||
<span class="sourceLineNo">009</span> but WITHOUT ANY WARRANTY; without even the implied warranty of<a name="line.9"></a>
|
||||
<span class="sourceLineNo">010</span> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<a name="line.10"></a>
|
||||
<span class="sourceLineNo">011</span> GNU Lesser General Public License for more details.<a name="line.11"></a>
|
||||
<span class="sourceLineNo">012</span><a name="line.12"></a>
|
||||
<span class="sourceLineNo">013</span> You should have received a copy of the GNU Lesser General Public License<a name="line.13"></a>
|
||||
<span class="sourceLineNo">014</span> along with Vault. If not, see <http://www.gnu.org/licenses/>.<a name="line.14"></a>
|
||||
<span class="sourceLineNo">015</span> */<a name="line.15"></a>
|
||||
<span class="sourceLineNo">016</span>package net.milkbowl.vault.item;<a name="line.16"></a>
|
||||
<span class="sourceLineNo">017</span><a name="line.17"></a>
|
||||
<span class="sourceLineNo">018</span>import org.bukkit.Material;<a name="line.18"></a>
|
||||
<span class="sourceLineNo">019</span>import org.bukkit.inventory.ItemStack;<a name="line.19"></a>
|
||||
<span class="sourceLineNo">020</span><a name="line.20"></a>
|
||||
<span class="sourceLineNo">021</span>public class ItemInfo {<a name="line.21"></a>
|
||||
<span class="sourceLineNo">022</span><a name="line.22"></a>
|
||||
<span class="sourceLineNo">023</span> public final Material material;<a name="line.23"></a>
|
||||
<span class="sourceLineNo">024</span> public final short subTypeId;<a name="line.24"></a>
|
||||
<span class="sourceLineNo">025</span> public final String name;<a name="line.25"></a>
|
||||
<span class="sourceLineNo">026</span> public final String[][] search;<a name="line.26"></a>
|
||||
<span class="sourceLineNo">027</span> <a name="line.27"></a>
|
||||
<span class="sourceLineNo">028</span> public ItemInfo(String name, String[][] search, Material material) {<a name="line.28"></a>
|
||||
<span class="sourceLineNo">029</span> this.material = material;<a name="line.29"></a>
|
||||
<span class="sourceLineNo">030</span> this.name = name;<a name="line.30"></a>
|
||||
<span class="sourceLineNo">031</span> this.subTypeId = 0;<a name="line.31"></a>
|
||||
<span class="sourceLineNo">032</span> this.search = search.clone();<a name="line.32"></a>
|
||||
<span class="sourceLineNo">033</span> }<a name="line.33"></a>
|
||||
<span class="sourceLineNo">034</span><a name="line.34"></a>
|
||||
<span class="sourceLineNo">035</span> public ItemInfo(String name, String[][] search, Material material, short subTypeId) {<a name="line.35"></a>
|
||||
<span class="sourceLineNo">036</span> this.name = name;<a name="line.36"></a>
|
||||
<span class="sourceLineNo">037</span> this.material = material;<a name="line.37"></a>
|
||||
<span class="sourceLineNo">038</span> this.subTypeId = subTypeId;<a name="line.38"></a>
|
||||
<span class="sourceLineNo">039</span> this.search = search.clone();<a name="line.39"></a>
|
||||
<span class="sourceLineNo">040</span> }<a name="line.40"></a>
|
||||
<span class="sourceLineNo">041</span><a name="line.41"></a>
|
||||
<span class="sourceLineNo">042</span> public Material getType() {<a name="line.42"></a>
|
||||
<span class="sourceLineNo">043</span> return material;<a name="line.43"></a>
|
||||
<span class="sourceLineNo">044</span> }<a name="line.44"></a>
|
||||
<span class="sourceLineNo">045</span><a name="line.45"></a>
|
||||
<span class="sourceLineNo">046</span> public short getSubTypeId() {<a name="line.46"></a>
|
||||
<span class="sourceLineNo">047</span> return subTypeId;<a name="line.47"></a>
|
||||
<span class="sourceLineNo">048</span> }<a name="line.48"></a>
|
||||
<span class="sourceLineNo">049</span><a name="line.49"></a>
|
||||
<span class="sourceLineNo">050</span> public int getStackSize() {<a name="line.50"></a>
|
||||
<span class="sourceLineNo">051</span> return material.getMaxStackSize();<a name="line.51"></a>
|
||||
<span class="sourceLineNo">052</span> }<a name="line.52"></a>
|
||||
<span class="sourceLineNo">053</span><a name="line.53"></a>
|
||||
<span class="sourceLineNo">054</span> @Deprecated<a name="line.54"></a>
|
||||
<span class="sourceLineNo">055</span> public int getId() {<a name="line.55"></a>
|
||||
<span class="sourceLineNo">056</span> return material.getId();<a name="line.56"></a>
|
||||
<span class="sourceLineNo">057</span> }<a name="line.57"></a>
|
||||
<span class="sourceLineNo">058</span><a name="line.58"></a>
|
||||
<span class="sourceLineNo">059</span> public boolean isEdible() {<a name="line.59"></a>
|
||||
<span class="sourceLineNo">060</span> return material.isEdible();<a name="line.60"></a>
|
||||
<span class="sourceLineNo">061</span> }<a name="line.61"></a>
|
||||
<span class="sourceLineNo">062</span> <a name="line.62"></a>
|
||||
<span class="sourceLineNo">063</span> public boolean isBlock() {<a name="line.63"></a>
|
||||
<span class="sourceLineNo">064</span> return material.isBlock();<a name="line.64"></a>
|
||||
<span class="sourceLineNo">065</span> }<a name="line.65"></a>
|
||||
<span class="sourceLineNo">066</span> <a name="line.66"></a>
|
||||
<span class="sourceLineNo">067</span> public String getName() {<a name="line.67"></a>
|
||||
<span class="sourceLineNo">068</span> return name;<a name="line.68"></a>
|
||||
<span class="sourceLineNo">069</span> }<a name="line.69"></a>
|
||||
<span class="sourceLineNo">070</span><a name="line.70"></a>
|
||||
<span class="sourceLineNo">071</span> @Override<a name="line.71"></a>
|
||||
<span class="sourceLineNo">072</span> public int hashCode() {<a name="line.72"></a>
|
||||
<span class="sourceLineNo">073</span> int hash = 7;<a name="line.73"></a>
|
||||
<span class="sourceLineNo">074</span> hash = 17 * hash + this.getId();<a name="line.74"></a>
|
||||
<span class="sourceLineNo">075</span> hash = 17 * hash + this.subTypeId;<a name="line.75"></a>
|
||||
<span class="sourceLineNo">076</span> return hash;<a name="line.76"></a>
|
||||
<span class="sourceLineNo">077</span> }<a name="line.77"></a>
|
||||
<span class="sourceLineNo">078</span><a name="line.78"></a>
|
||||
<span class="sourceLineNo">079</span> public boolean isDurable() {<a name="line.79"></a>
|
||||
<span class="sourceLineNo">080</span> return (material.getMaxDurability() > 0);<a name="line.80"></a>
|
||||
<span class="sourceLineNo">081</span> }<a name="line.81"></a>
|
||||
<span class="sourceLineNo">082</span><a name="line.82"></a>
|
||||
<span class="sourceLineNo">083</span> public ItemStack toStack() {<a name="line.83"></a>
|
||||
<span class="sourceLineNo">084</span> return new ItemStack(this.material, 1, subTypeId);<a name="line.84"></a>
|
||||
<span class="sourceLineNo">085</span> }<a name="line.85"></a>
|
||||
<span class="sourceLineNo">086</span><a name="line.86"></a>
|
||||
<span class="sourceLineNo">087</span> @SuppressWarnings("deprecation")<a name="line.87"></a>
|
||||
<span class="sourceLineNo">088</span> @Override<a name="line.88"></a>
|
||||
<span class="sourceLineNo">089</span> public String toString() {<a name="line.89"></a>
|
||||
<span class="sourceLineNo">090</span> return String.format("%s[%d:%d]", name, material.getId(), subTypeId);<a name="line.90"></a>
|
||||
<span class="sourceLineNo">091</span> }<a name="line.91"></a>
|
||||
<span class="sourceLineNo">092</span> <a name="line.92"></a>
|
||||
<span class="sourceLineNo">093</span> @Override<a name="line.93"></a>
|
||||
<span class="sourceLineNo">094</span> public boolean equals(Object obj) {<a name="line.94"></a>
|
||||
<span class="sourceLineNo">095</span> if (obj == null) {<a name="line.95"></a>
|
||||
<span class="sourceLineNo">096</span> return false;<a name="line.96"></a>
|
||||
<span class="sourceLineNo">097</span> } else if (this == obj) {<a name="line.97"></a>
|
||||
<span class="sourceLineNo">098</span> return true;<a name="line.98"></a>
|
||||
<span class="sourceLineNo">099</span> } else if (!(obj instanceof ItemInfo)) {<a name="line.99"></a>
|
||||
<span class="sourceLineNo">100</span> return false;<a name="line.100"></a>
|
||||
<span class="sourceLineNo">101</span> } else {<a name="line.101"></a>
|
||||
<span class="sourceLineNo">102</span> return ((ItemInfo) obj).material == this.material && ((ItemInfo) obj).subTypeId == this.subTypeId;<a name="line.102"></a>
|
||||
<span class="sourceLineNo">103</span> }<a name="line.103"></a>
|
||||
<span class="sourceLineNo">104</span> }<a name="line.104"></a>
|
||||
<span class="sourceLineNo">105</span>}<a name="line.105"></a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
1034
src-html/net/milkbowl/vault/item/Items.html
Normal file
1034
src-html/net/milkbowl/vault/item/Items.html
Normal file
File diff suppressed because it is too large
Load Diff
957
src-html/net/milkbowl/vault/permission/Permission.html
Normal file
957
src-html/net/milkbowl/vault/permission/Permission.html
Normal file
@ -0,0 +1,957 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Source code</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<div class="sourceContainer">
|
||||
<pre><span class="sourceLineNo">001</span>/* This file is part of Vault.<a name="line.1"></a>
|
||||
<span class="sourceLineNo">002</span><a name="line.2"></a>
|
||||
<span class="sourceLineNo">003</span> Vault is free software: you can redistribute it and/or modify<a name="line.3"></a>
|
||||
<span class="sourceLineNo">004</span> it under the terms of the GNU Lesser General Public License as published by<a name="line.4"></a>
|
||||
<span class="sourceLineNo">005</span> the Free Software Foundation, either version 3 of the License, or<a name="line.5"></a>
|
||||
<span class="sourceLineNo">006</span> (at your option) any later version.<a name="line.6"></a>
|
||||
<span class="sourceLineNo">007</span><a name="line.7"></a>
|
||||
<span class="sourceLineNo">008</span> Vault is distributed in the hope that it will be useful,<a name="line.8"></a>
|
||||
<span class="sourceLineNo">009</span> but WITHOUT ANY WARRANTY; without even the implied warranty of<a name="line.9"></a>
|
||||
<span class="sourceLineNo">010</span> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<a name="line.10"></a>
|
||||
<span class="sourceLineNo">011</span> GNU Lesser General Public License for more details.<a name="line.11"></a>
|
||||
<span class="sourceLineNo">012</span><a name="line.12"></a>
|
||||
<span class="sourceLineNo">013</span> You should have received a copy of the GNU Lesser General Public License<a name="line.13"></a>
|
||||
<span class="sourceLineNo">014</span> along with Vault. If not, see <http://www.gnu.org/licenses/>.<a name="line.14"></a>
|
||||
<span class="sourceLineNo">015</span> */<a name="line.15"></a>
|
||||
<span class="sourceLineNo">016</span>package net.milkbowl.vault.permission;<a name="line.16"></a>
|
||||
<span class="sourceLineNo">017</span><a name="line.17"></a>
|
||||
<span class="sourceLineNo">018</span>import java.util.logging.Logger;<a name="line.18"></a>
|
||||
<span class="sourceLineNo">019</span><a name="line.19"></a>
|
||||
<span class="sourceLineNo">020</span>import org.bukkit.OfflinePlayer;<a name="line.20"></a>
|
||||
<span class="sourceLineNo">021</span>import org.bukkit.World;<a name="line.21"></a>
|
||||
<span class="sourceLineNo">022</span>import org.bukkit.command.CommandSender;<a name="line.22"></a>
|
||||
<span class="sourceLineNo">023</span>import org.bukkit.entity.Player;<a name="line.23"></a>
|
||||
<span class="sourceLineNo">024</span>import org.bukkit.permissions.PermissionAttachment;<a name="line.24"></a>
|
||||
<span class="sourceLineNo">025</span>import org.bukkit.permissions.PermissionAttachmentInfo;<a name="line.25"></a>
|
||||
<span class="sourceLineNo">026</span>import org.bukkit.plugin.Plugin;<a name="line.26"></a>
|
||||
<span class="sourceLineNo">027</span><a name="line.27"></a>
|
||||
<span class="sourceLineNo">028</span>/**<a name="line.28"></a>
|
||||
<span class="sourceLineNo">029</span> * The main Permission API - allows for group and player based permission tests<a name="line.29"></a>
|
||||
<span class="sourceLineNo">030</span> *<a name="line.30"></a>
|
||||
<span class="sourceLineNo">031</span> */<a name="line.31"></a>
|
||||
<span class="sourceLineNo">032</span>public abstract class Permission {<a name="line.32"></a>
|
||||
<span class="sourceLineNo">033</span><a name="line.33"></a>
|
||||
<span class="sourceLineNo">034</span> protected static final Logger log = Logger.getLogger("Minecraft");<a name="line.34"></a>
|
||||
<span class="sourceLineNo">035</span> protected Plugin plugin = null;<a name="line.35"></a>
|
||||
<span class="sourceLineNo">036</span><a name="line.36"></a>
|
||||
<span class="sourceLineNo">037</span> /**<a name="line.37"></a>
|
||||
<span class="sourceLineNo">038</span> * Gets name of permission method<a name="line.38"></a>
|
||||
<span class="sourceLineNo">039</span> * @return Name of Permission Method<a name="line.39"></a>
|
||||
<span class="sourceLineNo">040</span> */<a name="line.40"></a>
|
||||
<span class="sourceLineNo">041</span> abstract public String getName();<a name="line.41"></a>
|
||||
<span class="sourceLineNo">042</span><a name="line.42"></a>
|
||||
<span class="sourceLineNo">043</span> /**<a name="line.43"></a>
|
||||
<span class="sourceLineNo">044</span> * Checks if permission method is enabled.<a name="line.44"></a>
|
||||
<span class="sourceLineNo">045</span> * @return Success or Failure<a name="line.45"></a>
|
||||
<span class="sourceLineNo">046</span> */<a name="line.46"></a>
|
||||
<span class="sourceLineNo">047</span> abstract public boolean isEnabled();<a name="line.47"></a>
|
||||
<span class="sourceLineNo">048</span> <a name="line.48"></a>
|
||||
<span class="sourceLineNo">049</span> /**<a name="line.49"></a>
|
||||
<span class="sourceLineNo">050</span> * Returns if the permission system is or attempts to be compatible with super-perms.<a name="line.50"></a>
|
||||
<span class="sourceLineNo">051</span> * @return True if this permission implementation works with super-perms<a name="line.51"></a>
|
||||
<span class="sourceLineNo">052</span> */<a name="line.52"></a>
|
||||
<span class="sourceLineNo">053</span> abstract public boolean hasSuperPermsCompat();<a name="line.53"></a>
|
||||
<span class="sourceLineNo">054</span> <a name="line.54"></a>
|
||||
<span class="sourceLineNo">055</span> /**<a name="line.55"></a>
|
||||
<span class="sourceLineNo">056</span> * @deprecated As of Vault 1.3.01 use {@link #playerHas(String, OfflinePlayer, String)} instead.<a name="line.56"></a>
|
||||
<span class="sourceLineNo">057</span> * Checks if player has a permission node. (Short for playerHas(...)<a name="line.57"></a>
|
||||
<span class="sourceLineNo">058</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.58"></a>
|
||||
<span class="sourceLineNo">059</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.59"></a>
|
||||
<span class="sourceLineNo">060</span> * <a name="line.60"></a>
|
||||
<span class="sourceLineNo">061</span> * @param world World name<a name="line.61"></a>
|
||||
<span class="sourceLineNo">062</span> * @param player Player name<a name="line.62"></a>
|
||||
<span class="sourceLineNo">063</span> * @param permission Permission node<a name="line.63"></a>
|
||||
<span class="sourceLineNo">064</span> * @return Success or Failure<a name="line.64"></a>
|
||||
<span class="sourceLineNo">065</span> */<a name="line.65"></a>
|
||||
<span class="sourceLineNo">066</span> @Deprecated<a name="line.66"></a>
|
||||
<span class="sourceLineNo">067</span> public boolean has(String world, String player, String permission) {<a name="line.67"></a>
|
||||
<span class="sourceLineNo">068</span> if (world == null) {<a name="line.68"></a>
|
||||
<span class="sourceLineNo">069</span> return playerHas((String) null, player, permission);<a name="line.69"></a>
|
||||
<span class="sourceLineNo">070</span> }<a name="line.70"></a>
|
||||
<span class="sourceLineNo">071</span> return playerHas(world, player, permission);<a name="line.71"></a>
|
||||
<span class="sourceLineNo">072</span> }<a name="line.72"></a>
|
||||
<span class="sourceLineNo">073</span><a name="line.73"></a>
|
||||
<span class="sourceLineNo">074</span> /**<a name="line.74"></a>
|
||||
<span class="sourceLineNo">075</span> * @deprecated As of Vault 1.3.01 use {@link #playerHas(String, OfflinePlayer, String)} instead.<a name="line.75"></a>
|
||||
<span class="sourceLineNo">076</span> * Checks if player has a permission node. (Short for playerHas(...)<a name="line.76"></a>
|
||||
<span class="sourceLineNo">077</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.77"></a>
|
||||
<span class="sourceLineNo">078</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.78"></a>
|
||||
<span class="sourceLineNo">079</span> * <a name="line.79"></a>
|
||||
<span class="sourceLineNo">080</span> * @param world World Object<a name="line.80"></a>
|
||||
<span class="sourceLineNo">081</span> * @param player Player name<a name="line.81"></a>
|
||||
<span class="sourceLineNo">082</span> * @param permission Permission node<a name="line.82"></a>
|
||||
<span class="sourceLineNo">083</span> * @return Success or Failure<a name="line.83"></a>
|
||||
<span class="sourceLineNo">084</span> */<a name="line.84"></a>
|
||||
<span class="sourceLineNo">085</span> @Deprecated<a name="line.85"></a>
|
||||
<span class="sourceLineNo">086</span> public boolean has(World world, String player, String permission) {<a name="line.86"></a>
|
||||
<span class="sourceLineNo">087</span> if (world == null) {<a name="line.87"></a>
|
||||
<span class="sourceLineNo">088</span> return playerHas((String) null, player, permission);<a name="line.88"></a>
|
||||
<span class="sourceLineNo">089</span> }<a name="line.89"></a>
|
||||
<span class="sourceLineNo">090</span> return playerHas(world.getName(), player, permission);<a name="line.90"></a>
|
||||
<span class="sourceLineNo">091</span> }<a name="line.91"></a>
|
||||
<span class="sourceLineNo">092</span><a name="line.92"></a>
|
||||
<span class="sourceLineNo">093</span> /**<a name="line.93"></a>
|
||||
<span class="sourceLineNo">094</span> * Checks if a CommandSender has a permission node.<a name="line.94"></a>
|
||||
<span class="sourceLineNo">095</span> * This will return the result of bukkits, generic .hasPermission() method and is identical in all cases.<a name="line.95"></a>
|
||||
<span class="sourceLineNo">096</span> * This method will explicitly fail if the registered permission system does not register permissions in bukkit.<a name="line.96"></a>
|
||||
<span class="sourceLineNo">097</span> * <a name="line.97"></a>
|
||||
<span class="sourceLineNo">098</span> * For easy checking of a commandsender<a name="line.98"></a>
|
||||
<span class="sourceLineNo">099</span> * @param sender to check permissions on<a name="line.99"></a>
|
||||
<span class="sourceLineNo">100</span> * @param permission to check for<a name="line.100"></a>
|
||||
<span class="sourceLineNo">101</span> * @return true if the sender has the permission<a name="line.101"></a>
|
||||
<span class="sourceLineNo">102</span> */<a name="line.102"></a>
|
||||
<span class="sourceLineNo">103</span> public boolean has(CommandSender sender, String permission) {<a name="line.103"></a>
|
||||
<span class="sourceLineNo">104</span> return sender.hasPermission(permission);<a name="line.104"></a>
|
||||
<span class="sourceLineNo">105</span> }<a name="line.105"></a>
|
||||
<span class="sourceLineNo">106</span><a name="line.106"></a>
|
||||
<span class="sourceLineNo">107</span> /**<a name="line.107"></a>
|
||||
<span class="sourceLineNo">108</span> * Checks if player has a permission node. (Short for playerHas(...)<a name="line.108"></a>
|
||||
<span class="sourceLineNo">109</span> * @param player Player Object<a name="line.109"></a>
|
||||
<span class="sourceLineNo">110</span> * @param permission Permission node<a name="line.110"></a>
|
||||
<span class="sourceLineNo">111</span> * @return Success or Failure<a name="line.111"></a>
|
||||
<span class="sourceLineNo">112</span> */<a name="line.112"></a>
|
||||
<span class="sourceLineNo">113</span> public boolean has(Player player, String permission) {<a name="line.113"></a>
|
||||
<span class="sourceLineNo">114</span> return player.hasPermission(permission);<a name="line.114"></a>
|
||||
<span class="sourceLineNo">115</span> }<a name="line.115"></a>
|
||||
<span class="sourceLineNo">116</span><a name="line.116"></a>
|
||||
<span class="sourceLineNo">117</span> /**<a name="line.117"></a>
|
||||
<span class="sourceLineNo">118</span> * @deprecated As of Vault 1.3.01 use {@link #playerHas(String, OfflinePlayer, String)} instead.<a name="line.118"></a>
|
||||
<span class="sourceLineNo">119</span> * Checks if player has a permission node.<a name="line.119"></a>
|
||||
<span class="sourceLineNo">120</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.120"></a>
|
||||
<span class="sourceLineNo">121</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.121"></a>
|
||||
<span class="sourceLineNo">122</span> * <a name="line.122"></a>
|
||||
<span class="sourceLineNo">123</span> * @param world World name<a name="line.123"></a>
|
||||
<span class="sourceLineNo">124</span> * @param player Player name<a name="line.124"></a>
|
||||
<span class="sourceLineNo">125</span> * @param permission Permission node<a name="line.125"></a>
|
||||
<span class="sourceLineNo">126</span> * @return Success or Failure<a name="line.126"></a>
|
||||
<span class="sourceLineNo">127</span> */<a name="line.127"></a>
|
||||
<span class="sourceLineNo">128</span> @Deprecated<a name="line.128"></a>
|
||||
<span class="sourceLineNo">129</span> abstract public boolean playerHas(String world, String player, String permission);<a name="line.129"></a>
|
||||
<span class="sourceLineNo">130</span><a name="line.130"></a>
|
||||
<span class="sourceLineNo">131</span> /**<a name="line.131"></a>
|
||||
<span class="sourceLineNo">132</span> * @deprecated As of Vault 1.3.01 use {@link #playerHas(String, OfflinePlayer, String)} instead.<a name="line.132"></a>
|
||||
<span class="sourceLineNo">133</span> * Checks if player has a permission node.<a name="line.133"></a>
|
||||
<span class="sourceLineNo">134</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.134"></a>
|
||||
<span class="sourceLineNo">135</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.135"></a>
|
||||
<span class="sourceLineNo">136</span> * <a name="line.136"></a>
|
||||
<span class="sourceLineNo">137</span> * @param world World Object<a name="line.137"></a>
|
||||
<span class="sourceLineNo">138</span> * @param player Player name<a name="line.138"></a>
|
||||
<span class="sourceLineNo">139</span> * @param permission Permission node<a name="line.139"></a>
|
||||
<span class="sourceLineNo">140</span> * @return Success or Failure<a name="line.140"></a>
|
||||
<span class="sourceLineNo">141</span> */<a name="line.141"></a>
|
||||
<span class="sourceLineNo">142</span> @Deprecated<a name="line.142"></a>
|
||||
<span class="sourceLineNo">143</span> public boolean playerHas(World world, String player, String permission) {<a name="line.143"></a>
|
||||
<span class="sourceLineNo">144</span> if (world == null) {<a name="line.144"></a>
|
||||
<span class="sourceLineNo">145</span> return playerHas((String) null, player, permission);<a name="line.145"></a>
|
||||
<span class="sourceLineNo">146</span> }<a name="line.146"></a>
|
||||
<span class="sourceLineNo">147</span> return playerHas(world.getName(), player, permission);<a name="line.147"></a>
|
||||
<span class="sourceLineNo">148</span> }<a name="line.148"></a>
|
||||
<span class="sourceLineNo">149</span> <a name="line.149"></a>
|
||||
<span class="sourceLineNo">150</span> /**<a name="line.150"></a>
|
||||
<span class="sourceLineNo">151</span> * Checks if player has a permission node.<a name="line.151"></a>
|
||||
<span class="sourceLineNo">152</span> * <a name="line.152"></a>
|
||||
<span class="sourceLineNo">153</span> * @param world String world name<a name="line.153"></a>
|
||||
<span class="sourceLineNo">154</span> * @param player to check<a name="line.154"></a>
|
||||
<span class="sourceLineNo">155</span> * @param permission Permission node<a name="line.155"></a>
|
||||
<span class="sourceLineNo">156</span> * @return Success or Failure<a name="line.156"></a>
|
||||
<span class="sourceLineNo">157</span> */<a name="line.157"></a>
|
||||
<span class="sourceLineNo">158</span> public boolean playerHas(String world, OfflinePlayer player, String permission) {<a name="line.158"></a>
|
||||
<span class="sourceLineNo">159</span> if (world == null) {<a name="line.159"></a>
|
||||
<span class="sourceLineNo">160</span> return has((String) null, player.getName(), permission);<a name="line.160"></a>
|
||||
<span class="sourceLineNo">161</span> }<a name="line.161"></a>
|
||||
<span class="sourceLineNo">162</span> return has(world, player.getName(), permission);<a name="line.162"></a>
|
||||
<span class="sourceLineNo">163</span> }<a name="line.163"></a>
|
||||
<span class="sourceLineNo">164</span><a name="line.164"></a>
|
||||
<span class="sourceLineNo">165</span> /**<a name="line.165"></a>
|
||||
<span class="sourceLineNo">166</span> * Checks if player has a permission node.<a name="line.166"></a>
|
||||
<span class="sourceLineNo">167</span> * @param player Player Object<a name="line.167"></a>
|
||||
<span class="sourceLineNo">168</span> * @param permission Permission node<a name="line.168"></a>
|
||||
<span class="sourceLineNo">169</span> * @return Success or Failure<a name="line.169"></a>
|
||||
<span class="sourceLineNo">170</span> */<a name="line.170"></a>
|
||||
<span class="sourceLineNo">171</span> public boolean playerHas(Player player, String permission) {<a name="line.171"></a>
|
||||
<span class="sourceLineNo">172</span> return has(player, permission);<a name="line.172"></a>
|
||||
<span class="sourceLineNo">173</span> }<a name="line.173"></a>
|
||||
<span class="sourceLineNo">174</span><a name="line.174"></a>
|
||||
<span class="sourceLineNo">175</span> /**<a name="line.175"></a>
|
||||
<span class="sourceLineNo">176</span> * @deprecated As of Vault 1.3.01 use {@link #playerAdd(String, OfflinePlayer, String)} instead.<a name="line.176"></a>
|
||||
<span class="sourceLineNo">177</span> * Add permission to a player.<a name="line.177"></a>
|
||||
<span class="sourceLineNo">178</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.178"></a>
|
||||
<span class="sourceLineNo">179</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.179"></a>
|
||||
<span class="sourceLineNo">180</span> * <a name="line.180"></a>
|
||||
<span class="sourceLineNo">181</span> * @param world World name<a name="line.181"></a>
|
||||
<span class="sourceLineNo">182</span> * @param player Player name<a name="line.182"></a>
|
||||
<span class="sourceLineNo">183</span> * @param permission Permission node<a name="line.183"></a>
|
||||
<span class="sourceLineNo">184</span> * @return Success or Failure<a name="line.184"></a>
|
||||
<span class="sourceLineNo">185</span> */<a name="line.185"></a>
|
||||
<span class="sourceLineNo">186</span> @Deprecated<a name="line.186"></a>
|
||||
<span class="sourceLineNo">187</span> abstract public boolean playerAdd(String world, String player, String permission);<a name="line.187"></a>
|
||||
<span class="sourceLineNo">188</span><a name="line.188"></a>
|
||||
<span class="sourceLineNo">189</span> /**<a name="line.189"></a>
|
||||
<span class="sourceLineNo">190</span> * @deprecated As of Vault 1.3.01 use {@link #playerAdd(String, OfflinePlayer, String)} instead.<a name="line.190"></a>
|
||||
<span class="sourceLineNo">191</span> * Add permission to a player.<a name="line.191"></a>
|
||||
<span class="sourceLineNo">192</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.192"></a>
|
||||
<span class="sourceLineNo">193</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.193"></a>
|
||||
<span class="sourceLineNo">194</span> * <a name="line.194"></a>
|
||||
<span class="sourceLineNo">195</span> * @param world World Object<a name="line.195"></a>
|
||||
<span class="sourceLineNo">196</span> * @param player Player name<a name="line.196"></a>
|
||||
<span class="sourceLineNo">197</span> * @param permission Permission node<a name="line.197"></a>
|
||||
<span class="sourceLineNo">198</span> * @return Success or Failure<a name="line.198"></a>
|
||||
<span class="sourceLineNo">199</span> */<a name="line.199"></a>
|
||||
<span class="sourceLineNo">200</span> @Deprecated<a name="line.200"></a>
|
||||
<span class="sourceLineNo">201</span> public boolean playerAdd(World world, String player, String permission) {<a name="line.201"></a>
|
||||
<span class="sourceLineNo">202</span> if (world == null) {<a name="line.202"></a>
|
||||
<span class="sourceLineNo">203</span> return playerAdd((String) null, player, permission);<a name="line.203"></a>
|
||||
<span class="sourceLineNo">204</span> }<a name="line.204"></a>
|
||||
<span class="sourceLineNo">205</span> return playerAdd(world.getName(), player, permission);<a name="line.205"></a>
|
||||
<span class="sourceLineNo">206</span> }<a name="line.206"></a>
|
||||
<span class="sourceLineNo">207</span><a name="line.207"></a>
|
||||
<span class="sourceLineNo">208</span> /**<a name="line.208"></a>
|
||||
<span class="sourceLineNo">209</span> * Add permission to a player.<a name="line.209"></a>
|
||||
<span class="sourceLineNo">210</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.210"></a>
|
||||
<span class="sourceLineNo">211</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.211"></a>
|
||||
<span class="sourceLineNo">212</span> * <a name="line.212"></a>
|
||||
<span class="sourceLineNo">213</span> * @param world String world name<a name="line.213"></a>
|
||||
<span class="sourceLineNo">214</span> * @param player to add to<a name="line.214"></a>
|
||||
<span class="sourceLineNo">215</span> * @param permission Permission node<a name="line.215"></a>
|
||||
<span class="sourceLineNo">216</span> * @return Success or Failure<a name="line.216"></a>
|
||||
<span class="sourceLineNo">217</span> */<a name="line.217"></a>
|
||||
<span class="sourceLineNo">218</span> public boolean playerAdd(String world, OfflinePlayer player, String permission) {<a name="line.218"></a>
|
||||
<span class="sourceLineNo">219</span> if (world == null) {<a name="line.219"></a>
|
||||
<span class="sourceLineNo">220</span> return playerAdd((String) null, player.getName(), permission);<a name="line.220"></a>
|
||||
<span class="sourceLineNo">221</span> }<a name="line.221"></a>
|
||||
<span class="sourceLineNo">222</span> return playerAdd(world, player.getName(), permission);<a name="line.222"></a>
|
||||
<span class="sourceLineNo">223</span> }<a name="line.223"></a>
|
||||
<span class="sourceLineNo">224</span><a name="line.224"></a>
|
||||
<span class="sourceLineNo">225</span> /**<a name="line.225"></a>
|
||||
<span class="sourceLineNo">226</span> * Add permission to a player ONLY for the world the player is currently on.<a name="line.226"></a>
|
||||
<span class="sourceLineNo">227</span> * This is a world-specific operation, if you want to add global permission you must explicitly use NULL for the world.<a name="line.227"></a>
|
||||
<span class="sourceLineNo">228</span> * <a name="line.228"></a>
|
||||
<span class="sourceLineNo">229</span> * @param player Player Object<a name="line.229"></a>
|
||||
<span class="sourceLineNo">230</span> * @param permission Permission node<a name="line.230"></a>
|
||||
<span class="sourceLineNo">231</span> * @return Success or Failure<a name="line.231"></a>
|
||||
<span class="sourceLineNo">232</span> */<a name="line.232"></a>
|
||||
<span class="sourceLineNo">233</span> public boolean playerAdd(Player player, String permission) {<a name="line.233"></a>
|
||||
<span class="sourceLineNo">234</span> return playerAdd(player.getWorld().getName(), player, permission);<a name="line.234"></a>
|
||||
<span class="sourceLineNo">235</span> }<a name="line.235"></a>
|
||||
<span class="sourceLineNo">236</span> <a name="line.236"></a>
|
||||
<span class="sourceLineNo">237</span> /**<a name="line.237"></a>
|
||||
<span class="sourceLineNo">238</span> * @deprecated As of Vault 1.3.01 use {@link #playerAddTransient(OfflinePlayer, String)} instead.<a name="line.238"></a>
|
||||
<span class="sourceLineNo">239</span> * Add transient permission to a player.<a name="line.239"></a>
|
||||
<span class="sourceLineNo">240</span> * This implementation can be used by any subclass which implements a "pure" superperms plugin, i.e. <a name="line.240"></a>
|
||||
<span class="sourceLineNo">241</span> * one that only needs the built-in Bukkit API to add transient permissions to a player. Any subclass<a name="line.241"></a>
|
||||
<span class="sourceLineNo">242</span> * implementing a plugin which provides its own API for this needs to override this method. <a name="line.242"></a>
|
||||
<span class="sourceLineNo">243</span> * <a name="line.243"></a>
|
||||
<span class="sourceLineNo">244</span> * @param player Player name<a name="line.244"></a>
|
||||
<span class="sourceLineNo">245</span> * @param permission Permission node<a name="line.245"></a>
|
||||
<span class="sourceLineNo">246</span> * @return Success or Failure<a name="line.246"></a>
|
||||
<span class="sourceLineNo">247</span> */<a name="line.247"></a>
|
||||
<span class="sourceLineNo">248</span> @Deprecated<a name="line.248"></a>
|
||||
<span class="sourceLineNo">249</span> public boolean playerAddTransient(String player, String permission) throws UnsupportedOperationException {<a name="line.249"></a>
|
||||
<span class="sourceLineNo">250</span> Player p = plugin.getServer().getPlayer(player);<a name="line.250"></a>
|
||||
<span class="sourceLineNo">251</span> if (p == null) {<a name="line.251"></a>
|
||||
<span class="sourceLineNo">252</span> throw new UnsupportedOperationException(getName() + " does not support offline player transient permissions!");<a name="line.252"></a>
|
||||
<span class="sourceLineNo">253</span> }<a name="line.253"></a>
|
||||
<span class="sourceLineNo">254</span> return playerAddTransient(p, permission);<a name="line.254"></a>
|
||||
<span class="sourceLineNo">255</span> }<a name="line.255"></a>
|
||||
<span class="sourceLineNo">256</span> <a name="line.256"></a>
|
||||
<span class="sourceLineNo">257</span> /**<a name="line.257"></a>
|
||||
<span class="sourceLineNo">258</span> * Add transient permission to a player.<a name="line.258"></a>
|
||||
<span class="sourceLineNo">259</span> * This implementation can be used by any subclass which implements a "pure" superperms plugin, i.e. <a name="line.259"></a>
|
||||
<span class="sourceLineNo">260</span> * one that only needs the built-in Bukkit API to add transient permissions to a player.<a name="line.260"></a>
|
||||
<span class="sourceLineNo">261</span> * <a name="line.261"></a>
|
||||
<span class="sourceLineNo">262</span> * @param player to add to<a name="line.262"></a>
|
||||
<span class="sourceLineNo">263</span> * @param permission Permission node<a name="line.263"></a>
|
||||
<span class="sourceLineNo">264</span> * @return Success or Failure<a name="line.264"></a>
|
||||
<span class="sourceLineNo">265</span> */<a name="line.265"></a>
|
||||
<span class="sourceLineNo">266</span> public boolean playerAddTransient(OfflinePlayer player, String permission) throws UnsupportedOperationException {<a name="line.266"></a>
|
||||
<span class="sourceLineNo">267</span> if (player.isOnline()) {<a name="line.267"></a>
|
||||
<span class="sourceLineNo">268</span> return playerAddTransient((Player) player, permission);<a name="line.268"></a>
|
||||
<span class="sourceLineNo">269</span> }<a name="line.269"></a>
|
||||
<span class="sourceLineNo">270</span> throw new UnsupportedOperationException(getName() + " does not support offline player transient permissions!");<a name="line.270"></a>
|
||||
<span class="sourceLineNo">271</span> }<a name="line.271"></a>
|
||||
<span class="sourceLineNo">272</span><a name="line.272"></a>
|
||||
<span class="sourceLineNo">273</span> /**<a name="line.273"></a>
|
||||
<span class="sourceLineNo">274</span> * Add transient permission to a player.<a name="line.274"></a>
|
||||
<span class="sourceLineNo">275</span> * This operation adds a world-unspecific permission onto the player object in bukkit via Bukkit's permission interface.<a name="line.275"></a>
|
||||
<span class="sourceLineNo">276</span> * <a name="line.276"></a>
|
||||
<span class="sourceLineNo">277</span> * @param player Player Object<a name="line.277"></a>
|
||||
<span class="sourceLineNo">278</span> * @param permission Permission node<a name="line.278"></a>
|
||||
<span class="sourceLineNo">279</span> * @return Success or Failure<a name="line.279"></a>
|
||||
<span class="sourceLineNo">280</span> */<a name="line.280"></a>
|
||||
<span class="sourceLineNo">281</span> public boolean playerAddTransient(Player player, String permission) {<a name="line.281"></a>
|
||||
<span class="sourceLineNo">282</span> for (PermissionAttachmentInfo paInfo : player.getEffectivePermissions()) {<a name="line.282"></a>
|
||||
<span class="sourceLineNo">283</span> if (paInfo.getAttachment() != null && paInfo.getAttachment().getPlugin().equals(plugin)) {<a name="line.283"></a>
|
||||
<span class="sourceLineNo">284</span> paInfo.getAttachment().setPermission(permission, true);<a name="line.284"></a>
|
||||
<span class="sourceLineNo">285</span> return true;<a name="line.285"></a>
|
||||
<span class="sourceLineNo">286</span> }<a name="line.286"></a>
|
||||
<span class="sourceLineNo">287</span> }<a name="line.287"></a>
|
||||
<span class="sourceLineNo">288</span><a name="line.288"></a>
|
||||
<span class="sourceLineNo">289</span> PermissionAttachment attach = player.addAttachment(plugin);<a name="line.289"></a>
|
||||
<span class="sourceLineNo">290</span> attach.setPermission(permission, true);<a name="line.290"></a>
|
||||
<span class="sourceLineNo">291</span><a name="line.291"></a>
|
||||
<span class="sourceLineNo">292</span> return true;<a name="line.292"></a>
|
||||
<span class="sourceLineNo">293</span> }<a name="line.293"></a>
|
||||
<span class="sourceLineNo">294</span><a name="line.294"></a>
|
||||
<span class="sourceLineNo">295</span> /**<a name="line.295"></a>
|
||||
<span class="sourceLineNo">296</span> * Adds a world specific transient permission to the player - ONLY WORKS IN PEX/P3 - otherwise it defaults to GLOBAL!<a name="line.296"></a>
|
||||
<span class="sourceLineNo">297</span> * <a name="line.297"></a>
|
||||
<span class="sourceLineNo">298</span> * @param worldName to check on<a name="line.298"></a>
|
||||
<span class="sourceLineNo">299</span> * @param player to add to<a name="line.299"></a>
|
||||
<span class="sourceLineNo">300</span> * @param permission to test<a name="line.300"></a>
|
||||
<span class="sourceLineNo">301</span> * @return Success or Failure<a name="line.301"></a>
|
||||
<span class="sourceLineNo">302</span> */<a name="line.302"></a>
|
||||
<span class="sourceLineNo">303</span> public boolean playerAddTransient(String worldName, OfflinePlayer player, String permission) {<a name="line.303"></a>
|
||||
<span class="sourceLineNo">304</span> return playerAddTransient(worldName, player.getName(), permission);<a name="line.304"></a>
|
||||
<span class="sourceLineNo">305</span> }<a name="line.305"></a>
|
||||
<span class="sourceLineNo">306</span> <a name="line.306"></a>
|
||||
<span class="sourceLineNo">307</span> /**<a name="line.307"></a>
|
||||
<span class="sourceLineNo">308</span> * Adds a world specific transient permission to the player - ONLY WORKS IN PEX/P3 - otherwise it defaults to GLOBAL!<a name="line.308"></a>
|
||||
<span class="sourceLineNo">309</span> * @param worldName to check on<a name="line.309"></a>
|
||||
<span class="sourceLineNo">310</span> * @param player to check<a name="line.310"></a>
|
||||
<span class="sourceLineNo">311</span> * @param permission to check for<a name="line.311"></a>
|
||||
<span class="sourceLineNo">312</span> * @return Success or Failure<a name="line.312"></a>
|
||||
<span class="sourceLineNo">313</span> */<a name="line.313"></a>
|
||||
<span class="sourceLineNo">314</span> public boolean playerAddTransient(String worldName, Player player, String permission) {<a name="line.314"></a>
|
||||
<span class="sourceLineNo">315</span> return playerAddTransient(player, permission);<a name="line.315"></a>
|
||||
<span class="sourceLineNo">316</span> }<a name="line.316"></a>
|
||||
<span class="sourceLineNo">317</span> <a name="line.317"></a>
|
||||
<span class="sourceLineNo">318</span> /**<a name="line.318"></a>
|
||||
<span class="sourceLineNo">319</span> * @deprecated As of Vault 1.3.01 use {@link #playerAddTransient(String, OfflinePlayer, String)} instead.<a name="line.319"></a>
|
||||
<span class="sourceLineNo">320</span> * Adds a world specific transient permission to the player - ONLY WORKS IN PEX/P3 - otherwise it defaults to GLOBAL!<a name="line.320"></a>
|
||||
<span class="sourceLineNo">321</span> * @param worldName to check on<a name="line.321"></a>
|
||||
<span class="sourceLineNo">322</span> * @param player to check<a name="line.322"></a>
|
||||
<span class="sourceLineNo">323</span> * @param permission to check<a name="line.323"></a>
|
||||
<span class="sourceLineNo">324</span> * @return Success or Failure<a name="line.324"></a>
|
||||
<span class="sourceLineNo">325</span> */<a name="line.325"></a>
|
||||
<span class="sourceLineNo">326</span> @Deprecated<a name="line.326"></a>
|
||||
<span class="sourceLineNo">327</span> public boolean playerAddTransient(String worldName, String player, String permission) {<a name="line.327"></a>
|
||||
<span class="sourceLineNo">328</span> Player p = plugin.getServer().getPlayer(player);<a name="line.328"></a>
|
||||
<span class="sourceLineNo">329</span> if (p == null) {<a name="line.329"></a>
|
||||
<span class="sourceLineNo">330</span> throw new UnsupportedOperationException(getName() + " does not support offline player transient permissions!");<a name="line.330"></a>
|
||||
<span class="sourceLineNo">331</span> }<a name="line.331"></a>
|
||||
<span class="sourceLineNo">332</span> return playerAddTransient(p, permission);<a name="line.332"></a>
|
||||
<span class="sourceLineNo">333</span> }<a name="line.333"></a>
|
||||
<span class="sourceLineNo">334</span> <a name="line.334"></a>
|
||||
<span class="sourceLineNo">335</span> /**<a name="line.335"></a>
|
||||
<span class="sourceLineNo">336</span> * @deprecated As of Vault 1.3.01 use {@link #playerRemoveTransient(String, OfflinePlayer, String)} instead.<a name="line.336"></a>
|
||||
<span class="sourceLineNo">337</span> * Removes a world specific transient permission from the player - Only works in PEX/P3 - otherwise it defaults to Global!<a name="line.337"></a>
|
||||
<span class="sourceLineNo">338</span> * @param worldName to check on<a name="line.338"></a>
|
||||
<span class="sourceLineNo">339</span> * @param player to check<a name="line.339"></a>
|
||||
<span class="sourceLineNo">340</span> * @param permission to check for<a name="line.340"></a>
|
||||
<span class="sourceLineNo">341</span> * @return Success or Failure<a name="line.341"></a>
|
||||
<span class="sourceLineNo">342</span> */<a name="line.342"></a>
|
||||
<span class="sourceLineNo">343</span> @Deprecated<a name="line.343"></a>
|
||||
<span class="sourceLineNo">344</span> public boolean playerRemoveTransient(String worldName, String player, String permission) {<a name="line.344"></a>
|
||||
<span class="sourceLineNo">345</span> Player p = plugin.getServer().getPlayer(player);<a name="line.345"></a>
|
||||
<span class="sourceLineNo">346</span> if (p == null)<a name="line.346"></a>
|
||||
<span class="sourceLineNo">347</span> return false;<a name="line.347"></a>
|
||||
<span class="sourceLineNo">348</span> <a name="line.348"></a>
|
||||
<span class="sourceLineNo">349</span> return playerRemoveTransient(p, permission);<a name="line.349"></a>
|
||||
<span class="sourceLineNo">350</span> }<a name="line.350"></a>
|
||||
<span class="sourceLineNo">351</span> <a name="line.351"></a>
|
||||
<span class="sourceLineNo">352</span> /**<a name="line.352"></a>
|
||||
<span class="sourceLineNo">353</span> * Removes a world specific transient permission from the player - Only works in PEX/P3 - otherwise it defaults to Global!<a name="line.353"></a>
|
||||
<span class="sourceLineNo">354</span> * @param worldName to remove for<a name="line.354"></a>
|
||||
<span class="sourceLineNo">355</span> * @param player to remove for<a name="line.355"></a>
|
||||
<span class="sourceLineNo">356</span> * @param permission to remove<a name="line.356"></a>
|
||||
<span class="sourceLineNo">357</span> * @return Success or Failure<a name="line.357"></a>
|
||||
<span class="sourceLineNo">358</span> */<a name="line.358"></a>
|
||||
<span class="sourceLineNo">359</span> public boolean playerRemoveTransient(String worldName, OfflinePlayer player, String permission) {<a name="line.359"></a>
|
||||
<span class="sourceLineNo">360</span> return playerRemoveTransient(worldName, player.getName(), permission);<a name="line.360"></a>
|
||||
<span class="sourceLineNo">361</span> }<a name="line.361"></a>
|
||||
<span class="sourceLineNo">362</span> <a name="line.362"></a>
|
||||
<span class="sourceLineNo">363</span> /**<a name="line.363"></a>
|
||||
<span class="sourceLineNo">364</span> * Removes a world specific transient permission from the player - Only works in PEX/P3 - otherwise it defaults to Global!<a name="line.364"></a>
|
||||
<span class="sourceLineNo">365</span> * @param worldName to check on<a name="line.365"></a>
|
||||
<span class="sourceLineNo">366</span> * @param player to check<a name="line.366"></a>
|
||||
<span class="sourceLineNo">367</span> * @param permission to check for<a name="line.367"></a>
|
||||
<span class="sourceLineNo">368</span> * @return Success or Failure<a name="line.368"></a>
|
||||
<span class="sourceLineNo">369</span> */<a name="line.369"></a>
|
||||
<span class="sourceLineNo">370</span> public boolean playerRemoveTransient(String worldName, Player player, String permission) {<a name="line.370"></a>
|
||||
<span class="sourceLineNo">371</span> return playerRemoveTransient(worldName, (OfflinePlayer) player, permission);<a name="line.371"></a>
|
||||
<span class="sourceLineNo">372</span> }<a name="line.372"></a>
|
||||
<span class="sourceLineNo">373</span> <a name="line.373"></a>
|
||||
<span class="sourceLineNo">374</span> /**<a name="line.374"></a>
|
||||
<span class="sourceLineNo">375</span> * @deprecated As of Vault 1.3.01 use {@link #playerRemove(String, OfflinePlayer, String)} instead.<a name="line.375"></a>
|
||||
<span class="sourceLineNo">376</span> * Remove permission from a player.<a name="line.376"></a>
|
||||
<span class="sourceLineNo">377</span> * @param world World name<a name="line.377"></a>
|
||||
<span class="sourceLineNo">378</span> * @param player Name of Player<a name="line.378"></a>
|
||||
<span class="sourceLineNo">379</span> * @param permission Permission node<a name="line.379"></a>
|
||||
<span class="sourceLineNo">380</span> * @return Success or Failure<a name="line.380"></a>
|
||||
<span class="sourceLineNo">381</span> */<a name="line.381"></a>
|
||||
<span class="sourceLineNo">382</span> @Deprecated<a name="line.382"></a>
|
||||
<span class="sourceLineNo">383</span> abstract public boolean playerRemove(String world, String player, String permission);<a name="line.383"></a>
|
||||
<span class="sourceLineNo">384</span><a name="line.384"></a>
|
||||
<span class="sourceLineNo">385</span> /**<a name="line.385"></a>
|
||||
<span class="sourceLineNo">386</span> * Remove permission from a player.<a name="line.386"></a>
|
||||
<span class="sourceLineNo">387</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.387"></a>
|
||||
<span class="sourceLineNo">388</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.388"></a>
|
||||
<span class="sourceLineNo">389</span> * <a name="line.389"></a>
|
||||
<span class="sourceLineNo">390</span> * @param world World name<a name="line.390"></a>
|
||||
<span class="sourceLineNo">391</span> * @param player OfflinePlayer<a name="line.391"></a>
|
||||
<span class="sourceLineNo">392</span> * @param permission Permission node<a name="line.392"></a>
|
||||
<span class="sourceLineNo">393</span> * @return Success or Failure<a name="line.393"></a>
|
||||
<span class="sourceLineNo">394</span> */<a name="line.394"></a>
|
||||
<span class="sourceLineNo">395</span> public boolean playerRemove(String world, OfflinePlayer player, String permission) {<a name="line.395"></a>
|
||||
<span class="sourceLineNo">396</span> if (world == null) {<a name="line.396"></a>
|
||||
<span class="sourceLineNo">397</span> return playerRemove((String) null, player.getName(), permission);<a name="line.397"></a>
|
||||
<span class="sourceLineNo">398</span> }<a name="line.398"></a>
|
||||
<span class="sourceLineNo">399</span> return playerRemove(world, player.getName(), permission);<a name="line.399"></a>
|
||||
<span class="sourceLineNo">400</span> }<a name="line.400"></a>
|
||||
<span class="sourceLineNo">401</span><a name="line.401"></a>
|
||||
<span class="sourceLineNo">402</span> /**<a name="line.402"></a>
|
||||
<span class="sourceLineNo">403</span> * Remove permission from a player.<a name="line.403"></a>
|
||||
<span class="sourceLineNo">404</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.404"></a>
|
||||
<span class="sourceLineNo">405</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.405"></a>
|
||||
<span class="sourceLineNo">406</span> * <a name="line.406"></a>
|
||||
<span class="sourceLineNo">407</span> * @param world World name<a name="line.407"></a>
|
||||
<span class="sourceLineNo">408</span> * @param player Player name<a name="line.408"></a>
|
||||
<span class="sourceLineNo">409</span> * @param permission Permission node<a name="line.409"></a>
|
||||
<span class="sourceLineNo">410</span> * @return Success or Failure<a name="line.410"></a>
|
||||
<span class="sourceLineNo">411</span> */<a name="line.411"></a>
|
||||
<span class="sourceLineNo">412</span> @Deprecated<a name="line.412"></a>
|
||||
<span class="sourceLineNo">413</span> public boolean playerRemove(World world, String player, String permission) {<a name="line.413"></a>
|
||||
<span class="sourceLineNo">414</span> if (world == null) {<a name="line.414"></a>
|
||||
<span class="sourceLineNo">415</span> return playerRemove((String) null, player, permission);<a name="line.415"></a>
|
||||
<span class="sourceLineNo">416</span> }<a name="line.416"></a>
|
||||
<span class="sourceLineNo">417</span> return playerRemove(world.getName(), player, permission);<a name="line.417"></a>
|
||||
<span class="sourceLineNo">418</span> }<a name="line.418"></a>
|
||||
<span class="sourceLineNo">419</span><a name="line.419"></a>
|
||||
<span class="sourceLineNo">420</span> /**<a name="line.420"></a>
|
||||
<span class="sourceLineNo">421</span> * Remove permission from a player.<a name="line.421"></a>
|
||||
<span class="sourceLineNo">422</span> * Will attempt to remove permission from the player on the player's current world. This is NOT a global operation.<a name="line.422"></a>
|
||||
<span class="sourceLineNo">423</span> * <a name="line.423"></a>
|
||||
<span class="sourceLineNo">424</span> * @param player Player Object<a name="line.424"></a>
|
||||
<span class="sourceLineNo">425</span> * @param permission Permission node<a name="line.425"></a>
|
||||
<span class="sourceLineNo">426</span> * @return Success or Failure<a name="line.426"></a>
|
||||
<span class="sourceLineNo">427</span> */<a name="line.427"></a>
|
||||
<span class="sourceLineNo">428</span> public boolean playerRemove(Player player, String permission) {<a name="line.428"></a>
|
||||
<span class="sourceLineNo">429</span> return playerRemove(player.getWorld().getName(), player, permission);<a name="line.429"></a>
|
||||
<span class="sourceLineNo">430</span> }<a name="line.430"></a>
|
||||
<span class="sourceLineNo">431</span> <a name="line.431"></a>
|
||||
<span class="sourceLineNo">432</span> /**<a name="line.432"></a>
|
||||
<span class="sourceLineNo">433</span> * @deprecated As of Vault 1.3.01 use {@link #playerRemoveTransient(OfflinePlayer, String)} instead.<a name="line.433"></a>
|
||||
<span class="sourceLineNo">434</span> * Remove transient permission from a player.<a name="line.434"></a>
|
||||
<span class="sourceLineNo">435</span> * This implementation can be used by any subclass which implements a "pure" superperms plugin, i.e. <a name="line.435"></a>
|
||||
<span class="sourceLineNo">436</span> * one that only needs the built-in Bukkit API to remove transient permissions from a player. Any subclass<a name="line.436"></a>
|
||||
<span class="sourceLineNo">437</span> * implementing a plugin which provides its own API for this needs to override this method.<a name="line.437"></a>
|
||||
<span class="sourceLineNo">438</span> * <a name="line.438"></a>
|
||||
<span class="sourceLineNo">439</span> * @param player Player name<a name="line.439"></a>
|
||||
<span class="sourceLineNo">440</span> * @param permission Permission node<a name="line.440"></a>
|
||||
<span class="sourceLineNo">441</span> * @return Success or Failure<a name="line.441"></a>
|
||||
<span class="sourceLineNo">442</span> */<a name="line.442"></a>
|
||||
<span class="sourceLineNo">443</span> @Deprecated<a name="line.443"></a>
|
||||
<span class="sourceLineNo">444</span> public boolean playerRemoveTransient(String player, String permission) {<a name="line.444"></a>
|
||||
<span class="sourceLineNo">445</span> Player p = plugin.getServer().getPlayer(player);<a name="line.445"></a>
|
||||
<span class="sourceLineNo">446</span> if (p == null)<a name="line.446"></a>
|
||||
<span class="sourceLineNo">447</span> return false;<a name="line.447"></a>
|
||||
<span class="sourceLineNo">448</span> <a name="line.448"></a>
|
||||
<span class="sourceLineNo">449</span> return playerRemoveTransient(p, permission);<a name="line.449"></a>
|
||||
<span class="sourceLineNo">450</span> }<a name="line.450"></a>
|
||||
<span class="sourceLineNo">451</span><a name="line.451"></a>
|
||||
<span class="sourceLineNo">452</span> /**<a name="line.452"></a>
|
||||
<span class="sourceLineNo">453</span> * Remove transient permission from a player.<a name="line.453"></a>
|
||||
<span class="sourceLineNo">454</span> * This implementation can be used by any subclass which implements a "pure" superperms plugin, i.e. <a name="line.454"></a>
|
||||
<span class="sourceLineNo">455</span> * one that only needs the built-in Bukkit API to remove transient permissions from a player. Any subclass<a name="line.455"></a>
|
||||
<span class="sourceLineNo">456</span> * implementing a plugin which provides its own API for this needs to override this method.<a name="line.456"></a>
|
||||
<span class="sourceLineNo">457</span> * <a name="line.457"></a>
|
||||
<span class="sourceLineNo">458</span> * @param player OfflinePlayer<a name="line.458"></a>
|
||||
<span class="sourceLineNo">459</span> * @param permission Permission node<a name="line.459"></a>
|
||||
<span class="sourceLineNo">460</span> * @return Success or Failure<a name="line.460"></a>
|
||||
<span class="sourceLineNo">461</span> */<a name="line.461"></a>
|
||||
<span class="sourceLineNo">462</span> public boolean playerRemoveTransient(OfflinePlayer player, String permission) {<a name="line.462"></a>
|
||||
<span class="sourceLineNo">463</span> if (player.isOnline()) {<a name="line.463"></a>
|
||||
<span class="sourceLineNo">464</span> return playerRemoveTransient((Player) player, permission);<a name="line.464"></a>
|
||||
<span class="sourceLineNo">465</span> } else {<a name="line.465"></a>
|
||||
<span class="sourceLineNo">466</span> return false;<a name="line.466"></a>
|
||||
<span class="sourceLineNo">467</span> }<a name="line.467"></a>
|
||||
<span class="sourceLineNo">468</span> }<a name="line.468"></a>
|
||||
<span class="sourceLineNo">469</span> <a name="line.469"></a>
|
||||
<span class="sourceLineNo">470</span> /**<a name="line.470"></a>
|
||||
<span class="sourceLineNo">471</span> * Remove transient permission from a player.<a name="line.471"></a>
|
||||
<span class="sourceLineNo">472</span> * <a name="line.472"></a>
|
||||
<span class="sourceLineNo">473</span> * @param player Player Object<a name="line.473"></a>
|
||||
<span class="sourceLineNo">474</span> * @param permission Permission node<a name="line.474"></a>
|
||||
<span class="sourceLineNo">475</span> * @return Success or Failure<a name="line.475"></a>
|
||||
<span class="sourceLineNo">476</span> */<a name="line.476"></a>
|
||||
<span class="sourceLineNo">477</span> public boolean playerRemoveTransient(Player player, String permission) {<a name="line.477"></a>
|
||||
<span class="sourceLineNo">478</span> for (PermissionAttachmentInfo paInfo : player.getEffectivePermissions()) {<a name="line.478"></a>
|
||||
<span class="sourceLineNo">479</span> if (paInfo.getAttachment() != null && paInfo.getAttachment().getPlugin().equals(plugin)) {<a name="line.479"></a>
|
||||
<span class="sourceLineNo">480</span> paInfo.getAttachment().unsetPermission(permission);<a name="line.480"></a>
|
||||
<span class="sourceLineNo">481</span> return true;<a name="line.481"></a>
|
||||
<span class="sourceLineNo">482</span> }<a name="line.482"></a>
|
||||
<span class="sourceLineNo">483</span> }<a name="line.483"></a>
|
||||
<span class="sourceLineNo">484</span> return false;<a name="line.484"></a>
|
||||
<span class="sourceLineNo">485</span> }<a name="line.485"></a>
|
||||
<span class="sourceLineNo">486</span> <a name="line.486"></a>
|
||||
<span class="sourceLineNo">487</span> /**<a name="line.487"></a>
|
||||
<span class="sourceLineNo">488</span> * Checks if group has a permission node.<a name="line.488"></a>
|
||||
<span class="sourceLineNo">489</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.489"></a>
|
||||
<span class="sourceLineNo">490</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.490"></a>
|
||||
<span class="sourceLineNo">491</span> * <a name="line.491"></a>
|
||||
<span class="sourceLineNo">492</span> * @param world World name<a name="line.492"></a>
|
||||
<span class="sourceLineNo">493</span> * @param group Group name<a name="line.493"></a>
|
||||
<span class="sourceLineNo">494</span> * @param permission Permission node<a name="line.494"></a>
|
||||
<span class="sourceLineNo">495</span> * @return Success or Failure<a name="line.495"></a>
|
||||
<span class="sourceLineNo">496</span> */<a name="line.496"></a>
|
||||
<span class="sourceLineNo">497</span> abstract public boolean groupHas(String world, String group, String permission);<a name="line.497"></a>
|
||||
<span class="sourceLineNo">498</span><a name="line.498"></a>
|
||||
<span class="sourceLineNo">499</span> /**<a name="line.499"></a>
|
||||
<span class="sourceLineNo">500</span> * Checks if group has a permission node.<a name="line.500"></a>
|
||||
<span class="sourceLineNo">501</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.501"></a>
|
||||
<span class="sourceLineNo">502</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.502"></a>
|
||||
<span class="sourceLineNo">503</span> * <a name="line.503"></a>
|
||||
<span class="sourceLineNo">504</span> * @param world World Object<a name="line.504"></a>
|
||||
<span class="sourceLineNo">505</span> * @param group Group name<a name="line.505"></a>
|
||||
<span class="sourceLineNo">506</span> * @param permission Permission node<a name="line.506"></a>
|
||||
<span class="sourceLineNo">507</span> * @return Success or Failure<a name="line.507"></a>
|
||||
<span class="sourceLineNo">508</span> */<a name="line.508"></a>
|
||||
<span class="sourceLineNo">509</span> public boolean groupHas(World world, String group, String permission) {<a name="line.509"></a>
|
||||
<span class="sourceLineNo">510</span> if (world == null) {<a name="line.510"></a>
|
||||
<span class="sourceLineNo">511</span> return groupHas((String) null, group, permission);<a name="line.511"></a>
|
||||
<span class="sourceLineNo">512</span> }<a name="line.512"></a>
|
||||
<span class="sourceLineNo">513</span> return groupHas(world.getName(), group, permission);<a name="line.513"></a>
|
||||
<span class="sourceLineNo">514</span> }<a name="line.514"></a>
|
||||
<span class="sourceLineNo">515</span><a name="line.515"></a>
|
||||
<span class="sourceLineNo">516</span> /**<a name="line.516"></a>
|
||||
<span class="sourceLineNo">517</span> * Add permission to a group.<a name="line.517"></a>
|
||||
<span class="sourceLineNo">518</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.518"></a>
|
||||
<span class="sourceLineNo">519</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.519"></a>
|
||||
<span class="sourceLineNo">520</span> * <a name="line.520"></a>
|
||||
<span class="sourceLineNo">521</span> * @param world World name<a name="line.521"></a>
|
||||
<span class="sourceLineNo">522</span> * @param group Group name<a name="line.522"></a>
|
||||
<span class="sourceLineNo">523</span> * @param permission Permission node<a name="line.523"></a>
|
||||
<span class="sourceLineNo">524</span> * @return Success or Failure<a name="line.524"></a>
|
||||
<span class="sourceLineNo">525</span> */<a name="line.525"></a>
|
||||
<span class="sourceLineNo">526</span> abstract public boolean groupAdd(String world, String group, String permission);<a name="line.526"></a>
|
||||
<span class="sourceLineNo">527</span><a name="line.527"></a>
|
||||
<span class="sourceLineNo">528</span> /**<a name="line.528"></a>
|
||||
<span class="sourceLineNo">529</span> * Add permission to a group.<a name="line.529"></a>
|
||||
<span class="sourceLineNo">530</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.530"></a>
|
||||
<span class="sourceLineNo">531</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.531"></a>
|
||||
<span class="sourceLineNo">532</span> * <a name="line.532"></a>
|
||||
<span class="sourceLineNo">533</span> * @param world World Object<a name="line.533"></a>
|
||||
<span class="sourceLineNo">534</span> * @param group Group name<a name="line.534"></a>
|
||||
<span class="sourceLineNo">535</span> * @param permission Permission node<a name="line.535"></a>
|
||||
<span class="sourceLineNo">536</span> * @return Success or Failure<a name="line.536"></a>
|
||||
<span class="sourceLineNo">537</span> */<a name="line.537"></a>
|
||||
<span class="sourceLineNo">538</span> public boolean groupAdd(World world, String group, String permission) {<a name="line.538"></a>
|
||||
<span class="sourceLineNo">539</span> if (world == null) {<a name="line.539"></a>
|
||||
<span class="sourceLineNo">540</span> return groupAdd((String) null, group, permission);<a name="line.540"></a>
|
||||
<span class="sourceLineNo">541</span> }<a name="line.541"></a>
|
||||
<span class="sourceLineNo">542</span> return groupAdd(world.getName(), group, permission);<a name="line.542"></a>
|
||||
<span class="sourceLineNo">543</span> }<a name="line.543"></a>
|
||||
<span class="sourceLineNo">544</span><a name="line.544"></a>
|
||||
<span class="sourceLineNo">545</span> /**<a name="line.545"></a>
|
||||
<span class="sourceLineNo">546</span> * Remove permission from a group.<a name="line.546"></a>
|
||||
<span class="sourceLineNo">547</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.547"></a>
|
||||
<span class="sourceLineNo">548</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.548"></a>
|
||||
<span class="sourceLineNo">549</span> * <a name="line.549"></a>
|
||||
<span class="sourceLineNo">550</span> * @param world World name<a name="line.550"></a>
|
||||
<span class="sourceLineNo">551</span> * @param group Group name<a name="line.551"></a>
|
||||
<span class="sourceLineNo">552</span> * @param permission Permission node<a name="line.552"></a>
|
||||
<span class="sourceLineNo">553</span> * @return Success or Failure<a name="line.553"></a>
|
||||
<span class="sourceLineNo">554</span> */<a name="line.554"></a>
|
||||
<span class="sourceLineNo">555</span> abstract public boolean groupRemove(String world, String group, String permission);<a name="line.555"></a>
|
||||
<span class="sourceLineNo">556</span><a name="line.556"></a>
|
||||
<span class="sourceLineNo">557</span> /**<a name="line.557"></a>
|
||||
<span class="sourceLineNo">558</span> * Remove permission from a group.<a name="line.558"></a>
|
||||
<span class="sourceLineNo">559</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.559"></a>
|
||||
<span class="sourceLineNo">560</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.560"></a>
|
||||
<span class="sourceLineNo">561</span> * <a name="line.561"></a>
|
||||
<span class="sourceLineNo">562</span> * @param world World Object<a name="line.562"></a>
|
||||
<span class="sourceLineNo">563</span> * @param group Group name<a name="line.563"></a>
|
||||
<span class="sourceLineNo">564</span> * @param permission Permission node<a name="line.564"></a>
|
||||
<span class="sourceLineNo">565</span> * @return Success or Failure<a name="line.565"></a>
|
||||
<span class="sourceLineNo">566</span> */<a name="line.566"></a>
|
||||
<span class="sourceLineNo">567</span> public boolean groupRemove(World world, String group, String permission) {<a name="line.567"></a>
|
||||
<span class="sourceLineNo">568</span> if (world == null) {<a name="line.568"></a>
|
||||
<span class="sourceLineNo">569</span> return groupRemove((String) null, group, permission);<a name="line.569"></a>
|
||||
<span class="sourceLineNo">570</span> }<a name="line.570"></a>
|
||||
<span class="sourceLineNo">571</span> return groupRemove(world.getName(), group, permission);<a name="line.571"></a>
|
||||
<span class="sourceLineNo">572</span> }<a name="line.572"></a>
|
||||
<span class="sourceLineNo">573</span><a name="line.573"></a>
|
||||
<span class="sourceLineNo">574</span> /**<a name="line.574"></a>
|
||||
<span class="sourceLineNo">575</span> * @deprecated As of Vault 1.3.01 use {@link #playerInGroup(String, OfflinePlayer, String)} instead.<a name="line.575"></a>
|
||||
<span class="sourceLineNo">576</span> * Check if player is member of a group.<a name="line.576"></a>
|
||||
<span class="sourceLineNo">577</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.577"></a>
|
||||
<span class="sourceLineNo">578</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.578"></a>
|
||||
<span class="sourceLineNo">579</span> * <a name="line.579"></a>
|
||||
<span class="sourceLineNo">580</span> * This method is known to return unexpected results depending on what permission system is being used. Different permission systems<a name="line.580"></a>
|
||||
<span class="sourceLineNo">581</span> * will store the player groups differently, It is HIGHLY suggested you test your code out first.<a name="line.581"></a>
|
||||
<span class="sourceLineNo">582</span> * <a name="line.582"></a>
|
||||
<span class="sourceLineNo">583</span> * @param world World name<a name="line.583"></a>
|
||||
<span class="sourceLineNo">584</span> * @param player Player name<a name="line.584"></a>
|
||||
<span class="sourceLineNo">585</span> * @param group Group name<a name="line.585"></a>
|
||||
<span class="sourceLineNo">586</span> * @return Success or Failure<a name="line.586"></a>
|
||||
<span class="sourceLineNo">587</span> */<a name="line.587"></a>
|
||||
<span class="sourceLineNo">588</span> @Deprecated<a name="line.588"></a>
|
||||
<span class="sourceLineNo">589</span> abstract public boolean playerInGroup(String world, String player, String group);<a name="line.589"></a>
|
||||
<span class="sourceLineNo">590</span><a name="line.590"></a>
|
||||
<span class="sourceLineNo">591</span> /**<a name="line.591"></a>
|
||||
<span class="sourceLineNo">592</span> * @deprecated As of Vault 1.3.01 use {@link #playerInGroup(String, OfflinePlayer, String)} instead.<a name="line.592"></a>
|
||||
<span class="sourceLineNo">593</span> * Check if player is member of a group.<a name="line.593"></a>
|
||||
<span class="sourceLineNo">594</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.594"></a>
|
||||
<span class="sourceLineNo">595</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.595"></a>
|
||||
<span class="sourceLineNo">596</span> * <a name="line.596"></a>
|
||||
<span class="sourceLineNo">597</span> * @param world World Object<a name="line.597"></a>
|
||||
<span class="sourceLineNo">598</span> * @param player Player name<a name="line.598"></a>
|
||||
<span class="sourceLineNo">599</span> * @param group Group name<a name="line.599"></a>
|
||||
<span class="sourceLineNo">600</span> * @return Success or Failure<a name="line.600"></a>
|
||||
<span class="sourceLineNo">601</span> */<a name="line.601"></a>
|
||||
<span class="sourceLineNo">602</span> @Deprecated<a name="line.602"></a>
|
||||
<span class="sourceLineNo">603</span> public boolean playerInGroup(World world, String player, String group) {<a name="line.603"></a>
|
||||
<span class="sourceLineNo">604</span> if (world == null) {<a name="line.604"></a>
|
||||
<span class="sourceLineNo">605</span> return playerInGroup((String) null, player, group);<a name="line.605"></a>
|
||||
<span class="sourceLineNo">606</span> }<a name="line.606"></a>
|
||||
<span class="sourceLineNo">607</span> return playerInGroup(world.getName(), player, group);<a name="line.607"></a>
|
||||
<span class="sourceLineNo">608</span> }<a name="line.608"></a>
|
||||
<span class="sourceLineNo">609</span> <a name="line.609"></a>
|
||||
<span class="sourceLineNo">610</span> /**<a name="line.610"></a>
|
||||
<span class="sourceLineNo">611</span> * Check if player is member of a group.<a name="line.611"></a>
|
||||
<span class="sourceLineNo">612</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.612"></a>
|
||||
<span class="sourceLineNo">613</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.613"></a>
|
||||
<span class="sourceLineNo">614</span> * <a name="line.614"></a>
|
||||
<span class="sourceLineNo">615</span> * @param world World Object<a name="line.615"></a>
|
||||
<span class="sourceLineNo">616</span> * @param player to check<a name="line.616"></a>
|
||||
<span class="sourceLineNo">617</span> * @param group Group name<a name="line.617"></a>
|
||||
<span class="sourceLineNo">618</span> * @return Success or Failure<a name="line.618"></a>
|
||||
<span class="sourceLineNo">619</span> */<a name="line.619"></a>
|
||||
<span class="sourceLineNo">620</span> public boolean playerInGroup(String world, OfflinePlayer player, String group) {<a name="line.620"></a>
|
||||
<span class="sourceLineNo">621</span> if (world == null) {<a name="line.621"></a>
|
||||
<span class="sourceLineNo">622</span> return playerInGroup((String) null, player.getName(), group);<a name="line.622"></a>
|
||||
<span class="sourceLineNo">623</span> }<a name="line.623"></a>
|
||||
<span class="sourceLineNo">624</span> return playerInGroup(world, player.getName(), group);<a name="line.624"></a>
|
||||
<span class="sourceLineNo">625</span> }<a name="line.625"></a>
|
||||
<span class="sourceLineNo">626</span><a name="line.626"></a>
|
||||
<span class="sourceLineNo">627</span> /**<a name="line.627"></a>
|
||||
<span class="sourceLineNo">628</span> * Check if player is member of a group.<a name="line.628"></a>
|
||||
<span class="sourceLineNo">629</span> * This method will ONLY check groups for which the player is in that are defined for the current world.<a name="line.629"></a>
|
||||
<span class="sourceLineNo">630</span> * This may result in odd return behaviour depending on what permission system has been registered.<a name="line.630"></a>
|
||||
<span class="sourceLineNo">631</span> * <a name="line.631"></a>
|
||||
<span class="sourceLineNo">632</span> * @param player Player Object<a name="line.632"></a>
|
||||
<span class="sourceLineNo">633</span> * @param group Group name<a name="line.633"></a>
|
||||
<span class="sourceLineNo">634</span> * @return Success or Failure<a name="line.634"></a>
|
||||
<span class="sourceLineNo">635</span> */<a name="line.635"></a>
|
||||
<span class="sourceLineNo">636</span> public boolean playerInGroup(Player player, String group) {<a name="line.636"></a>
|
||||
<span class="sourceLineNo">637</span> return playerInGroup(player.getWorld().getName(), player, group);<a name="line.637"></a>
|
||||
<span class="sourceLineNo">638</span> }<a name="line.638"></a>
|
||||
<span class="sourceLineNo">639</span><a name="line.639"></a>
|
||||
<span class="sourceLineNo">640</span> /**<a name="line.640"></a>
|
||||
<span class="sourceLineNo">641</span> * @deprecated As of Vault 1.3.01 use {@link #playerAddGroup(String, OfflinePlayer, String)} instead.<a name="line.641"></a>
|
||||
<span class="sourceLineNo">642</span> * Add player to a group.<a name="line.642"></a>
|
||||
<span class="sourceLineNo">643</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.643"></a>
|
||||
<span class="sourceLineNo">644</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.644"></a>
|
||||
<span class="sourceLineNo">645</span> * <a name="line.645"></a>
|
||||
<span class="sourceLineNo">646</span> * @param world World name<a name="line.646"></a>
|
||||
<span class="sourceLineNo">647</span> * @param player Player name<a name="line.647"></a>
|
||||
<span class="sourceLineNo">648</span> * @param group Group name<a name="line.648"></a>
|
||||
<span class="sourceLineNo">649</span> * @return Success or Failure<a name="line.649"></a>
|
||||
<span class="sourceLineNo">650</span> */<a name="line.650"></a>
|
||||
<span class="sourceLineNo">651</span> @Deprecated<a name="line.651"></a>
|
||||
<span class="sourceLineNo">652</span> abstract public boolean playerAddGroup(String world, String player, String group);<a name="line.652"></a>
|
||||
<span class="sourceLineNo">653</span><a name="line.653"></a>
|
||||
<span class="sourceLineNo">654</span> /**<a name="line.654"></a>
|
||||
<span class="sourceLineNo">655</span> * @deprecated As of Vault 1.3.01 use {@link #playerAddGroup(String, OfflinePlayer, String)} instead.<a name="line.655"></a>
|
||||
<span class="sourceLineNo">656</span> * Add player to a group.<a name="line.656"></a>
|
||||
<span class="sourceLineNo">657</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.657"></a>
|
||||
<span class="sourceLineNo">658</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.658"></a>
|
||||
<span class="sourceLineNo">659</span> * <a name="line.659"></a>
|
||||
<span class="sourceLineNo">660</span> * @param world World Object<a name="line.660"></a>
|
||||
<span class="sourceLineNo">661</span> * @param player Player name<a name="line.661"></a>
|
||||
<span class="sourceLineNo">662</span> * @param group Group name<a name="line.662"></a>
|
||||
<span class="sourceLineNo">663</span> * @return Success or Failure<a name="line.663"></a>
|
||||
<span class="sourceLineNo">664</span> */<a name="line.664"></a>
|
||||
<span class="sourceLineNo">665</span> @Deprecated<a name="line.665"></a>
|
||||
<span class="sourceLineNo">666</span> public boolean playerAddGroup(World world, String player, String group) {<a name="line.666"></a>
|
||||
<span class="sourceLineNo">667</span> if (world == null) {<a name="line.667"></a>
|
||||
<span class="sourceLineNo">668</span> return playerAddGroup((String) null, player, group);<a name="line.668"></a>
|
||||
<span class="sourceLineNo">669</span> }<a name="line.669"></a>
|
||||
<span class="sourceLineNo">670</span> return playerAddGroup(world.getName(), player, group);<a name="line.670"></a>
|
||||
<span class="sourceLineNo">671</span> }<a name="line.671"></a>
|
||||
<span class="sourceLineNo">672</span><a name="line.672"></a>
|
||||
<span class="sourceLineNo">673</span> /**<a name="line.673"></a>
|
||||
<span class="sourceLineNo">674</span> * Add player to a group.<a name="line.674"></a>
|
||||
<span class="sourceLineNo">675</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.675"></a>
|
||||
<span class="sourceLineNo">676</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.676"></a>
|
||||
<span class="sourceLineNo">677</span> * <a name="line.677"></a>
|
||||
<span class="sourceLineNo">678</span> * @param world String world name<a name="line.678"></a>
|
||||
<span class="sourceLineNo">679</span> * @param player to add<a name="line.679"></a>
|
||||
<span class="sourceLineNo">680</span> * @param group Group name<a name="line.680"></a>
|
||||
<span class="sourceLineNo">681</span> * @return Success or Failure<a name="line.681"></a>
|
||||
<span class="sourceLineNo">682</span> */<a name="line.682"></a>
|
||||
<span class="sourceLineNo">683</span> public boolean playerAddGroup(String world, OfflinePlayer player, String group) {<a name="line.683"></a>
|
||||
<span class="sourceLineNo">684</span> if (world == null) {<a name="line.684"></a>
|
||||
<span class="sourceLineNo">685</span> return playerAddGroup((String) null, player.getName(), group);<a name="line.685"></a>
|
||||
<span class="sourceLineNo">686</span> }<a name="line.686"></a>
|
||||
<span class="sourceLineNo">687</span> return playerAddGroup(world, player.getName(), group);<a name="line.687"></a>
|
||||
<span class="sourceLineNo">688</span> }<a name="line.688"></a>
|
||||
<span class="sourceLineNo">689</span> <a name="line.689"></a>
|
||||
<span class="sourceLineNo">690</span> /**<a name="line.690"></a>
|
||||
<span class="sourceLineNo">691</span> * Add player to a group.<a name="line.691"></a>
|
||||
<span class="sourceLineNo">692</span> * This will add a player to the group on the current World. This may return odd results if the permission system<a name="line.692"></a>
|
||||
<span class="sourceLineNo">693</span> * being used on the server does not support world-specific groups, or if the group being added to is a global group.<a name="line.693"></a>
|
||||
<span class="sourceLineNo">694</span> * <a name="line.694"></a>
|
||||
<span class="sourceLineNo">695</span> * @param player Player Object<a name="line.695"></a>
|
||||
<span class="sourceLineNo">696</span> * @param group Group name<a name="line.696"></a>
|
||||
<span class="sourceLineNo">697</span> * @return Success or Failure<a name="line.697"></a>
|
||||
<span class="sourceLineNo">698</span> */<a name="line.698"></a>
|
||||
<span class="sourceLineNo">699</span> public boolean playerAddGroup(Player player, String group) {<a name="line.699"></a>
|
||||
<span class="sourceLineNo">700</span> return playerAddGroup(player.getWorld().getName(), player, group);<a name="line.700"></a>
|
||||
<span class="sourceLineNo">701</span> }<a name="line.701"></a>
|
||||
<span class="sourceLineNo">702</span><a name="line.702"></a>
|
||||
<span class="sourceLineNo">703</span> /**<a name="line.703"></a>
|
||||
<span class="sourceLineNo">704</span> * @deprecated As of Vault 1.3.01 use {@link #playerRemoveGroup(String, OfflinePlayer, String)} instead.<a name="line.704"></a>
|
||||
<span class="sourceLineNo">705</span> * Remove player from a group.<a name="line.705"></a>
|
||||
<span class="sourceLineNo">706</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.706"></a>
|
||||
<span class="sourceLineNo">707</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.707"></a>
|
||||
<span class="sourceLineNo">708</span> * <a name="line.708"></a>
|
||||
<span class="sourceLineNo">709</span> * @param world World name<a name="line.709"></a>
|
||||
<span class="sourceLineNo">710</span> * @param player Player name<a name="line.710"></a>
|
||||
<span class="sourceLineNo">711</span> * @param group Group name<a name="line.711"></a>
|
||||
<span class="sourceLineNo">712</span> * @return Success or Failure<a name="line.712"></a>
|
||||
<span class="sourceLineNo">713</span> */<a name="line.713"></a>
|
||||
<span class="sourceLineNo">714</span> @Deprecated<a name="line.714"></a>
|
||||
<span class="sourceLineNo">715</span> abstract public boolean playerRemoveGroup(String world, String player, String group);<a name="line.715"></a>
|
||||
<span class="sourceLineNo">716</span><a name="line.716"></a>
|
||||
<span class="sourceLineNo">717</span> /**<a name="line.717"></a>
|
||||
<span class="sourceLineNo">718</span> * @deprecated As of Vault 1.3.01 use {@link #playerRemoveGroup(String, OfflinePlayer, String)} instead.<a name="line.718"></a>
|
||||
<span class="sourceLineNo">719</span> * Remove player from a group.<a name="line.719"></a>
|
||||
<span class="sourceLineNo">720</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.720"></a>
|
||||
<span class="sourceLineNo">721</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.721"></a>
|
||||
<span class="sourceLineNo">722</span> * <a name="line.722"></a>
|
||||
<span class="sourceLineNo">723</span> * @param world World Object<a name="line.723"></a>
|
||||
<span class="sourceLineNo">724</span> * @param player Player name<a name="line.724"></a>
|
||||
<span class="sourceLineNo">725</span> * @param group Group name<a name="line.725"></a>
|
||||
<span class="sourceLineNo">726</span> * @return Success or Failure<a name="line.726"></a>
|
||||
<span class="sourceLineNo">727</span> */<a name="line.727"></a>
|
||||
<span class="sourceLineNo">728</span> @Deprecated<a name="line.728"></a>
|
||||
<span class="sourceLineNo">729</span> public boolean playerRemoveGroup(World world, String player, String group) {<a name="line.729"></a>
|
||||
<span class="sourceLineNo">730</span> if (world == null) {<a name="line.730"></a>
|
||||
<span class="sourceLineNo">731</span> return playerRemoveGroup((String) null, player, group);<a name="line.731"></a>
|
||||
<span class="sourceLineNo">732</span> }<a name="line.732"></a>
|
||||
<span class="sourceLineNo">733</span> return playerRemoveGroup(world.getName(), player, group);<a name="line.733"></a>
|
||||
<span class="sourceLineNo">734</span> }<a name="line.734"></a>
|
||||
<span class="sourceLineNo">735</span> <a name="line.735"></a>
|
||||
<span class="sourceLineNo">736</span> /**<a name="line.736"></a>
|
||||
<span class="sourceLineNo">737</span> * Remove player from a group.<a name="line.737"></a>
|
||||
<span class="sourceLineNo">738</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.738"></a>
|
||||
<span class="sourceLineNo">739</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.739"></a>
|
||||
<span class="sourceLineNo">740</span> * <a name="line.740"></a>
|
||||
<span class="sourceLineNo">741</span> * @param world World Object<a name="line.741"></a>
|
||||
<span class="sourceLineNo">742</span> * @param player to remove<a name="line.742"></a>
|
||||
<span class="sourceLineNo">743</span> * @param group Group name<a name="line.743"></a>
|
||||
<span class="sourceLineNo">744</span> * @return Success or Failure<a name="line.744"></a>
|
||||
<span class="sourceLineNo">745</span> */<a name="line.745"></a>
|
||||
<span class="sourceLineNo">746</span> public boolean playerRemoveGroup(String world, OfflinePlayer player, String group) {<a name="line.746"></a>
|
||||
<span class="sourceLineNo">747</span> if (world == null) {<a name="line.747"></a>
|
||||
<span class="sourceLineNo">748</span> return playerRemoveGroup((String) null, player.getName(), group);<a name="line.748"></a>
|
||||
<span class="sourceLineNo">749</span> }<a name="line.749"></a>
|
||||
<span class="sourceLineNo">750</span> return playerRemoveGroup(world, player.getName(), group);<a name="line.750"></a>
|
||||
<span class="sourceLineNo">751</span> }<a name="line.751"></a>
|
||||
<span class="sourceLineNo">752</span><a name="line.752"></a>
|
||||
<span class="sourceLineNo">753</span> /**<a name="line.753"></a>
|
||||
<span class="sourceLineNo">754</span> * Remove player from a group.<a name="line.754"></a>
|
||||
<span class="sourceLineNo">755</span> * This will add a player to the group on the current World. This may return odd results if the permission system<a name="line.755"></a>
|
||||
<span class="sourceLineNo">756</span> * being used on the server does not support world-specific groups, or if the group being added to is a global group.<a name="line.756"></a>
|
||||
<span class="sourceLineNo">757</span> * <a name="line.757"></a>
|
||||
<span class="sourceLineNo">758</span> * @param player Player Object<a name="line.758"></a>
|
||||
<span class="sourceLineNo">759</span> * @param group Group name<a name="line.759"></a>
|
||||
<span class="sourceLineNo">760</span> * @return Success or Failure<a name="line.760"></a>
|
||||
<span class="sourceLineNo">761</span> */<a name="line.761"></a>
|
||||
<span class="sourceLineNo">762</span> public boolean playerRemoveGroup(Player player, String group) {<a name="line.762"></a>
|
||||
<span class="sourceLineNo">763</span> return playerRemoveGroup(player.getWorld().getName(), player, group);<a name="line.763"></a>
|
||||
<span class="sourceLineNo">764</span> }<a name="line.764"></a>
|
||||
<span class="sourceLineNo">765</span><a name="line.765"></a>
|
||||
<span class="sourceLineNo">766</span> /**<a name="line.766"></a>
|
||||
<span class="sourceLineNo">767</span> * @deprecated As of Vault 1.3.01 use {@link #getPlayerGroups(String, OfflinePlayer)} instead.<a name="line.767"></a>
|
||||
<span class="sourceLineNo">768</span> * Gets the list of groups that this player has.<a name="line.768"></a>
|
||||
<span class="sourceLineNo">769</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.769"></a>
|
||||
<span class="sourceLineNo">770</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.770"></a>
|
||||
<span class="sourceLineNo">771</span> * <a name="line.771"></a>
|
||||
<span class="sourceLineNo">772</span> * @param world World name<a name="line.772"></a>
|
||||
<span class="sourceLineNo">773</span> * @param player Player name<a name="line.773"></a>
|
||||
<span class="sourceLineNo">774</span> * @return Array of groups<a name="line.774"></a>
|
||||
<span class="sourceLineNo">775</span> */<a name="line.775"></a>
|
||||
<span class="sourceLineNo">776</span> @Deprecated<a name="line.776"></a>
|
||||
<span class="sourceLineNo">777</span> abstract public String[] getPlayerGroups(String world, String player);<a name="line.777"></a>
|
||||
<span class="sourceLineNo">778</span><a name="line.778"></a>
|
||||
<span class="sourceLineNo">779</span> /**<a name="line.779"></a>
|
||||
<span class="sourceLineNo">780</span> * @deprecated As of Vault 1.3.01 use {@link #getPlayerGroups(String, OfflinePlayer)} instead.<a name="line.780"></a>
|
||||
<span class="sourceLineNo">781</span> * Gets the list of groups that this player has<a name="line.781"></a>
|
||||
<span class="sourceLineNo">782</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.782"></a>
|
||||
<span class="sourceLineNo">783</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.783"></a>
|
||||
<span class="sourceLineNo">784</span> * <a name="line.784"></a>
|
||||
<span class="sourceLineNo">785</span> * @param world World Object<a name="line.785"></a>
|
||||
<span class="sourceLineNo">786</span> * @param player Player name<a name="line.786"></a>
|
||||
<span class="sourceLineNo">787</span> * @return Array of groups<a name="line.787"></a>
|
||||
<span class="sourceLineNo">788</span> */<a name="line.788"></a>
|
||||
<span class="sourceLineNo">789</span> @Deprecated<a name="line.789"></a>
|
||||
<span class="sourceLineNo">790</span> public String[] getPlayerGroups(World world, String player) {<a name="line.790"></a>
|
||||
<span class="sourceLineNo">791</span> if (world == null) {<a name="line.791"></a>
|
||||
<span class="sourceLineNo">792</span> return getPlayerGroups((String) null, player);<a name="line.792"></a>
|
||||
<span class="sourceLineNo">793</span> }<a name="line.793"></a>
|
||||
<span class="sourceLineNo">794</span> return getPlayerGroups(world.getName(), player);<a name="line.794"></a>
|
||||
<span class="sourceLineNo">795</span> }<a name="line.795"></a>
|
||||
<span class="sourceLineNo">796</span> <a name="line.796"></a>
|
||||
<span class="sourceLineNo">797</span> /**<a name="line.797"></a>
|
||||
<span class="sourceLineNo">798</span> * Gets the list of groups that this player has<a name="line.798"></a>
|
||||
<span class="sourceLineNo">799</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.799"></a>
|
||||
<span class="sourceLineNo">800</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.800"></a>
|
||||
<span class="sourceLineNo">801</span> * <a name="line.801"></a>
|
||||
<span class="sourceLineNo">802</span> * @param world String world name<a name="line.802"></a>
|
||||
<span class="sourceLineNo">803</span> * @param player OfflinePlayer<a name="line.803"></a>
|
||||
<span class="sourceLineNo">804</span> * @return Array of groups<a name="line.804"></a>
|
||||
<span class="sourceLineNo">805</span> */<a name="line.805"></a>
|
||||
<span class="sourceLineNo">806</span> public String[] getPlayerGroups(String world, OfflinePlayer player) {<a name="line.806"></a>
|
||||
<span class="sourceLineNo">807</span> return getPlayerGroups(world, player.getName());<a name="line.807"></a>
|
||||
<span class="sourceLineNo">808</span> }<a name="line.808"></a>
|
||||
<span class="sourceLineNo">809</span><a name="line.809"></a>
|
||||
<span class="sourceLineNo">810</span> /**<a name="line.810"></a>
|
||||
<span class="sourceLineNo">811</span> * Returns a list of world-specific groups that this player is currently in. May return unexpected results if<a name="line.811"></a>
|
||||
<span class="sourceLineNo">812</span> * you are looking for global groups, or if the registered permission system does not support world-specific groups.<a name="line.812"></a>
|
||||
<span class="sourceLineNo">813</span> * <a name="line.813"></a>
|
||||
<span class="sourceLineNo">814</span> * @param player Player Object<a name="line.814"></a>
|
||||
<span class="sourceLineNo">815</span> * @return Array of groups<a name="line.815"></a>
|
||||
<span class="sourceLineNo">816</span> */<a name="line.816"></a>
|
||||
<span class="sourceLineNo">817</span> public String[] getPlayerGroups(Player player) {<a name="line.817"></a>
|
||||
<span class="sourceLineNo">818</span> return getPlayerGroups(player.getWorld().getName(), player);<a name="line.818"></a>
|
||||
<span class="sourceLineNo">819</span> }<a name="line.819"></a>
|
||||
<span class="sourceLineNo">820</span><a name="line.820"></a>
|
||||
<span class="sourceLineNo">821</span> /**<a name="line.821"></a>
|
||||
<span class="sourceLineNo">822</span> * @deprecated As of Vault 1.3.01 use {@link #getPrimaryGroup(String, OfflinePlayer)} instead.<a name="line.822"></a>
|
||||
<span class="sourceLineNo">823</span> * Gets players primary group<a name="line.823"></a>
|
||||
<span class="sourceLineNo">824</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.824"></a>
|
||||
<span class="sourceLineNo">825</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.825"></a>
|
||||
<span class="sourceLineNo">826</span> * <a name="line.826"></a>
|
||||
<span class="sourceLineNo">827</span> * @param world World name<a name="line.827"></a>
|
||||
<span class="sourceLineNo">828</span> * @param player Player name<a name="line.828"></a>
|
||||
<span class="sourceLineNo">829</span> * @return Players primary group<a name="line.829"></a>
|
||||
<span class="sourceLineNo">830</span> */<a name="line.830"></a>
|
||||
<span class="sourceLineNo">831</span> @Deprecated<a name="line.831"></a>
|
||||
<span class="sourceLineNo">832</span> abstract public String getPrimaryGroup(String world, String player);<a name="line.832"></a>
|
||||
<span class="sourceLineNo">833</span><a name="line.833"></a>
|
||||
<span class="sourceLineNo">834</span> /**<a name="line.834"></a>
|
||||
<span class="sourceLineNo">835</span> * @deprecated As of Vault 1.3.01 use {@link #getPrimaryGroup(String, OfflinePlayer)} instead.<a name="line.835"></a>
|
||||
<span class="sourceLineNo">836</span> * Gets players primary group<a name="line.836"></a>
|
||||
<span class="sourceLineNo">837</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.837"></a>
|
||||
<span class="sourceLineNo">838</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.838"></a>
|
||||
<span class="sourceLineNo">839</span> * <a name="line.839"></a>
|
||||
<span class="sourceLineNo">840</span> * @param world World Object<a name="line.840"></a>
|
||||
<span class="sourceLineNo">841</span> * @param player Player name<a name="line.841"></a>
|
||||
<span class="sourceLineNo">842</span> * @return Players primary group<a name="line.842"></a>
|
||||
<span class="sourceLineNo">843</span> */<a name="line.843"></a>
|
||||
<span class="sourceLineNo">844</span> @Deprecated<a name="line.844"></a>
|
||||
<span class="sourceLineNo">845</span> public String getPrimaryGroup(World world, String player) {<a name="line.845"></a>
|
||||
<span class="sourceLineNo">846</span> if (world == null) {<a name="line.846"></a>
|
||||
<span class="sourceLineNo">847</span> return getPrimaryGroup((String) null, player);<a name="line.847"></a>
|
||||
<span class="sourceLineNo">848</span> }<a name="line.848"></a>
|
||||
<span class="sourceLineNo">849</span> return getPrimaryGroup(world.getName(), player);<a name="line.849"></a>
|
||||
<span class="sourceLineNo">850</span> }<a name="line.850"></a>
|
||||
<span class="sourceLineNo">851</span> <a name="line.851"></a>
|
||||
<span class="sourceLineNo">852</span> /**<a name="line.852"></a>
|
||||
<span class="sourceLineNo">853</span> * Gets players primary group<a name="line.853"></a>
|
||||
<span class="sourceLineNo">854</span> * Supports NULL value for World if the permission system registered supports global permissions.<a name="line.854"></a>
|
||||
<span class="sourceLineNo">855</span> * But May return odd values if the servers registered permission system does not have a global permission store.<a name="line.855"></a>
|
||||
<span class="sourceLineNo">856</span> * <a name="line.856"></a>
|
||||
<span class="sourceLineNo">857</span> * @param world String world name<a name="line.857"></a>
|
||||
<span class="sourceLineNo">858</span> * @param player to get from<a name="line.858"></a>
|
||||
<span class="sourceLineNo">859</span> * @return Players primary group<a name="line.859"></a>
|
||||
<span class="sourceLineNo">860</span> */<a name="line.860"></a>
|
||||
<span class="sourceLineNo">861</span> public String getPrimaryGroup(String world, OfflinePlayer player) {<a name="line.861"></a>
|
||||
<span class="sourceLineNo">862</span> return getPrimaryGroup(world, player.getName());<a name="line.862"></a>
|
||||
<span class="sourceLineNo">863</span> }<a name="line.863"></a>
|
||||
<span class="sourceLineNo">864</span><a name="line.864"></a>
|
||||
<span class="sourceLineNo">865</span> /**<a name="line.865"></a>
|
||||
<span class="sourceLineNo">866</span> * Get players primary group<a name="line.866"></a>
|
||||
<span class="sourceLineNo">867</span> * @param player Player Object<a name="line.867"></a>
|
||||
<span class="sourceLineNo">868</span> * @return Players primary group<a name="line.868"></a>
|
||||
<span class="sourceLineNo">869</span> */<a name="line.869"></a>
|
||||
<span class="sourceLineNo">870</span> public String getPrimaryGroup(Player player) {<a name="line.870"></a>
|
||||
<span class="sourceLineNo">871</span> return getPrimaryGroup(player.getWorld().getName(), player);<a name="line.871"></a>
|
||||
<span class="sourceLineNo">872</span> }<a name="line.872"></a>
|
||||
<span class="sourceLineNo">873</span> <a name="line.873"></a>
|
||||
<span class="sourceLineNo">874</span> /**<a name="line.874"></a>
|
||||
<span class="sourceLineNo">875</span> * Returns a list of all known groups<a name="line.875"></a>
|
||||
<span class="sourceLineNo">876</span> * @return an Array of String of all groups<a name="line.876"></a>
|
||||
<span class="sourceLineNo">877</span> */<a name="line.877"></a>
|
||||
<span class="sourceLineNo">878</span> abstract public String[] getGroups();<a name="line.878"></a>
|
||||
<span class="sourceLineNo">879</span> <a name="line.879"></a>
|
||||
<span class="sourceLineNo">880</span> /**<a name="line.880"></a>
|
||||
<span class="sourceLineNo">881</span> * Returns true if the given implementation supports groups.<a name="line.881"></a>
|
||||
<span class="sourceLineNo">882</span> * @return true if the implementation supports groups<a name="line.882"></a>
|
||||
<span class="sourceLineNo">883</span> */<a name="line.883"></a>
|
||||
<span class="sourceLineNo">884</span> abstract public boolean hasGroupSupport();<a name="line.884"></a>
|
||||
<span class="sourceLineNo">885</span>}<a name="line.885"></a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,995 +0,0 @@
|
||||
/* This file is part of Vault.
|
||||
|
||||
Vault is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Vault is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with Vault. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package net.milkbowl.vault.chat;
|
||||
|
||||
import net.milkbowl.vault.permission.Permission;
|
||||
|
||||
import org.bukkit.OfflinePlayer;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
/**
|
||||
* The main Chat API - allows for Prefix/Suffix nodes along with generic Info nodes if the linked Chat system supports them
|
||||
*
|
||||
*/
|
||||
public abstract class Chat {
|
||||
|
||||
private Permission perms;
|
||||
|
||||
public Chat(Permission perms) {
|
||||
this.perms = perms;
|
||||
}
|
||||
/**
|
||||
* Gets name of permission method
|
||||
* @return Name of Permission Method
|
||||
*/
|
||||
abstract public String getName();
|
||||
|
||||
/**
|
||||
* Checks if permission method is enabled.
|
||||
* @return Success or Failure
|
||||
*/
|
||||
abstract public boolean isEnabled();
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPlayerPrefix(String, OfflinePlayer)} instead.
|
||||
*
|
||||
* Get players prefix
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @return Prefix
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public String getPlayerPrefix(String world, String player);
|
||||
|
||||
/**
|
||||
* Get a players prefix in the given world
|
||||
* Use NULL for world if requesting a global prefix
|
||||
*
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @return Prefix
|
||||
*/
|
||||
public String getPlayerPrefix(String world, OfflinePlayer player) {
|
||||
return getPlayerPrefix(world, player.getName());
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPlayerPrefix(String, OfflinePlayer)} instead.
|
||||
*
|
||||
* Get players prefix
|
||||
* @param world World Object
|
||||
* @param player Player name
|
||||
* @return Prefix
|
||||
*/
|
||||
@Deprecated
|
||||
public String getPlayerPrefix(World world, String player) {
|
||||
return getPlayerPrefix(world.getName(), player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get players prefix from the world they are currently in.
|
||||
* May or may not return the global prefix depending on implementation.
|
||||
*
|
||||
* @param player Player Object
|
||||
* @return Prefix
|
||||
*/
|
||||
public String getPlayerPrefix(Player player) {
|
||||
return getPlayerPrefix(player.getWorld().getName(), player);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #setPlayerPrefix(String, OfflinePlayer, String)} instead.
|
||||
*
|
||||
* Set players prefix
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @param prefix Prefix
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public void setPlayerPrefix(String world, String player, String prefix);
|
||||
|
||||
/**
|
||||
* Sets players prefix in the given world.
|
||||
* Use NULL for world for setting in the Global scope.
|
||||
*
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @param prefix Prefix
|
||||
*/
|
||||
public void setPlayerPrefix(String world, OfflinePlayer player, String prefix) {
|
||||
setPlayerPrefix(world, player.getName(), prefix);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #setPlayerPrefix(String, OfflinePlayer, String)} instead.
|
||||
*
|
||||
* Set players prefix in the given world.
|
||||
*
|
||||
* @param world World Object
|
||||
* @param player Player name
|
||||
* @param prefix Prefix
|
||||
*/
|
||||
@Deprecated
|
||||
public void setPlayerPrefix(World world, String player, String prefix) {
|
||||
setPlayerPrefix(world.getName(), player, prefix);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set players prefix in the world they are currently in.
|
||||
*
|
||||
* @param player Player Object
|
||||
* @param prefix Prefix
|
||||
*/
|
||||
public void setPlayerPrefix(Player player, String prefix) {
|
||||
setPlayerPrefix(player.getWorld().getName(), player, prefix);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPlayerSuffix(String, OfflinePlayer)} instead.
|
||||
*
|
||||
* Get players suffix
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @return Suffix
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public String getPlayerSuffix(String world, String player);
|
||||
|
||||
/**
|
||||
* Get players suffix in the specified world.
|
||||
*
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer name
|
||||
* @return Suffix
|
||||
*/
|
||||
public String getPlayerSuffix(String world, OfflinePlayer player) {
|
||||
return getPlayerSuffix(world, player.getName());
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPlayerSuffix(String, OfflinePlayer)} instead.
|
||||
*
|
||||
* Get players suffix
|
||||
* @param world World Object
|
||||
* @param player Player name
|
||||
* @return Suffix
|
||||
*/
|
||||
@Deprecated
|
||||
public String getPlayerSuffix(World world, String player) {
|
||||
return getPlayerSuffix(world.getName(), player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get players suffix in the world they are currently in.
|
||||
*
|
||||
* @param player Player Object
|
||||
* @return Suffix
|
||||
*/
|
||||
public String getPlayerSuffix(Player player) {
|
||||
return getPlayerSuffix(player.getWorld().getName(), player);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #setPlayerSuffix(String, OfflinePlayer, String)} instead.
|
||||
*
|
||||
* Set players suffix
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @param suffix Suffix
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public void setPlayerSuffix(String world, String player, String suffix);
|
||||
|
||||
/**
|
||||
* Set players suffix for the world specified
|
||||
*
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @param suffix Suffix
|
||||
*/
|
||||
public void setPlayerSuffix(String world, OfflinePlayer player, String suffix) {
|
||||
setPlayerSuffix(world, player.getName(), suffix);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #setPlayerSuffix(String, OfflinePlayer, String)} instead.
|
||||
*
|
||||
* Set players suffix
|
||||
* @param world World Object
|
||||
* @param player Player name
|
||||
* @param suffix Suffix
|
||||
*/
|
||||
@Deprecated
|
||||
public void setPlayerSuffix(World world, String player, String suffix) {
|
||||
setPlayerSuffix(world.getName(), player, suffix);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set players suffix in the world they currently occupy.
|
||||
*
|
||||
* @param player Player Object
|
||||
* @param suffix Suffix
|
||||
*/
|
||||
public void setPlayerSuffix(Player player, String suffix) {
|
||||
setPlayerSuffix(player.getWorld().getName(), player, suffix);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get group prefix
|
||||
* @param world World name
|
||||
* @param group Group name
|
||||
* @return Prefix
|
||||
*/
|
||||
abstract public String getGroupPrefix(String world, String group);
|
||||
|
||||
/**
|
||||
* Get group prefix
|
||||
* @param world World Object
|
||||
* @param group Group name
|
||||
* @return Prefix
|
||||
*/
|
||||
public String getGroupPrefix(World world, String group) {
|
||||
return getGroupPrefix(world.getName(), group);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set group prefix
|
||||
* @param world World name
|
||||
* @param group Group name
|
||||
* @param prefix Prefix
|
||||
*/
|
||||
abstract public void setGroupPrefix(String world, String group, String prefix);
|
||||
|
||||
/**
|
||||
* Set group prefix
|
||||
* @param world World Object
|
||||
* @param group Group name
|
||||
* @param prefix Prefix
|
||||
*/
|
||||
public void setGroupPrefix(World world, String group, String prefix) {
|
||||
setGroupPrefix(world.getName(), group, prefix);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get group suffix
|
||||
* @param world World name
|
||||
* @param group Group name
|
||||
* @return Suffix
|
||||
*/
|
||||
abstract public String getGroupSuffix(String world, String group);
|
||||
|
||||
/**
|
||||
* Get group suffix
|
||||
* @param world World Object
|
||||
* @param group Group name
|
||||
* @return Suffix
|
||||
*/
|
||||
public String getGroupSuffix(World world, String group) {
|
||||
return getGroupSuffix(world.getName(), group);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set group suffix
|
||||
* @param world World name
|
||||
* @param group Group name
|
||||
* @param suffix Suffix
|
||||
*/
|
||||
abstract public void setGroupSuffix(String world, String group, String suffix);
|
||||
|
||||
/**
|
||||
* Set group suffix
|
||||
* @param world World Object
|
||||
* @param group Group name
|
||||
* @param suffix Suffix
|
||||
*/
|
||||
public void setGroupSuffix(World world, String group, String suffix) {
|
||||
setGroupSuffix(world.getName(), group, suffix);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a players informational node (Integer) value
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
public int getPlayerInfoInteger(String world, OfflinePlayer player, String node, int defaultValue) {
|
||||
return getPlayerInfoInteger(world, player.getName(), node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPlayerInfoInteger(String, OfflinePlayer, String, int)} instead.
|
||||
* Get a players informational node (Integer) value
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public int getPlayerInfoInteger(String world, String player, String node, int defaultValue);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPlayerInfoInteger(String, OfflinePlayer, String, int)} instead.
|
||||
*
|
||||
* Get a players informational node (Integer) value
|
||||
* @param world World Object
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
@Deprecated
|
||||
public int getPlayerInfoInteger(World world, String player, String node, int defaultValue) {
|
||||
return getPlayerInfoInteger(world.getName(), player, node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a players informational node (Integer) value
|
||||
* @param player Player Object
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
public int getPlayerInfoInteger(Player player, String node, int defaultValue) {
|
||||
return getPlayerInfoInteger(player.getWorld().getName(), player, node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a players informational node (Integer) value
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
public void setPlayerInfoInteger(String world, OfflinePlayer player, String node, int value) {
|
||||
setPlayerInfoInteger(world, player.getName(), node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #setPlayerInfoInteger(String, OfflinePlayer, String, int)} instead.
|
||||
*
|
||||
* Set a players informational node (Integer) value
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public void setPlayerInfoInteger(String world, String player, String node, int value);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #setPlayerInfoInteger(String, OfflinePlayer, String, int)} instead.
|
||||
*
|
||||
* Set a players informational node (Integer) value
|
||||
* @param world World Object
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
@Deprecated
|
||||
public void setPlayerInfoInteger(World world, String player, String node, int value) {
|
||||
setPlayerInfoInteger(world.getName(), player, node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a players informational node (Integer) value
|
||||
* @param player Player Object
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
public void setPlayerInfoInteger(Player player, String node, int value) {
|
||||
setPlayerInfoInteger(player.getWorld().getName(), player, node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a groups informational node (Integer) value
|
||||
* @param world World name
|
||||
* @param group Group name
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
abstract public int getGroupInfoInteger(String world, String group, String node, int defaultValue);
|
||||
|
||||
/**
|
||||
* Get a groups informational node (Integer) value
|
||||
* @param world World Object
|
||||
* @param group Group name
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
public int getGroupInfoInteger(World world, String group, String node, int defaultValue) {
|
||||
return getGroupInfoInteger(world.getName(), group, node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a groups informational node (Integer) value
|
||||
* @param world World name
|
||||
* @param group Group name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
abstract public void setGroupInfoInteger(String world, String group, String node, int value);
|
||||
|
||||
/**
|
||||
* Set a groups informational node (Integer) value
|
||||
* @param world World Object
|
||||
* @param group Group name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
public void setGroupInfoInteger(World world, String group, String node, int value) {
|
||||
setGroupInfoInteger(world.getName(), group, node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a players informational node (Double) value
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
public double getPlayerInfoDouble(String world, OfflinePlayer player, String node, double defaultValue) {
|
||||
return getPlayerInfoDouble(world, player.getName(), node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPlayerInfoDouble(String, OfflinePlayer, String, double)} instead.
|
||||
*
|
||||
* Get a players informational node (Double) value
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public double getPlayerInfoDouble(String world, String player, String node, double defaultValue);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPlayerInfoDouble(String, OfflinePlayer, String, double)} instead
|
||||
*
|
||||
* Get a players informational node (Double) value
|
||||
* @param world World Object
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
@Deprecated
|
||||
public double getPlayerInfoDouble(World world, String player, String node, double defaultValue) {
|
||||
return getPlayerInfoDouble(world.getName(), player, node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a players informational node (Double) value
|
||||
* @param player Player Object
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
public double getPlayerInfoDouble(Player player, String node, double defaultValue) {
|
||||
return getPlayerInfoDouble(player.getWorld().getName(), player, node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a players informational node (Double) value
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
public void setPlayerInfoDouble(String world, OfflinePlayer player, String node, double value) {
|
||||
setPlayerInfoDouble(world, player.getName(), node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #setPlayerInfoDouble(String, OfflinePlayer, String, double)} instead.
|
||||
* Set a players informational node (Double) value
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public void setPlayerInfoDouble(String world, String player, String node, double value);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #setPlayerInfoDouble(String, OfflinePlayer, String, double)} instead.
|
||||
* Set a players informational node (Double) value
|
||||
* @param world World Object
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
@Deprecated
|
||||
public void setPlayerInfoDouble(World world, String player, String node, double value) {
|
||||
setPlayerInfoDouble(world.getName(), player, node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a players informational node (Double) value
|
||||
* @param player Player Object
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
public void setPlayerInfoDouble(Player player, String node, double value) {
|
||||
setPlayerInfoDouble(player.getWorld().getName(), player, node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a groups informational node (Double) value
|
||||
* @param world World name
|
||||
* @param group Group name
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
abstract public double getGroupInfoDouble(String world, String group, String node, double defaultValue);
|
||||
|
||||
/**
|
||||
* Get a groups informational node (Double) value
|
||||
* @param world World Object
|
||||
* @param group Group name
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
public double getGroupInfoDouble(World world, String group, String node, double defaultValue) {
|
||||
return getGroupInfoDouble(world.getName(), group, node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a groups informational node (Double) value
|
||||
* @param world World name
|
||||
* @param group Group name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
abstract public void setGroupInfoDouble(String world, String group, String node, double value);
|
||||
|
||||
/**
|
||||
* Set a groups informational node (Double) value
|
||||
* @param world World Object
|
||||
* @param group Group name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
public void setGroupInfoDouble(World world, String group, String node, double value) {
|
||||
setGroupInfoDouble(world.getName(), group, node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a players informational node (Boolean) value
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
public boolean getPlayerInfoBoolean(String world, OfflinePlayer player, String node, boolean defaultValue) {
|
||||
return getPlayerInfoBoolean(world, player.getName(), node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPlayerInfoBoolean(String, OfflinePlayer, String, boolean)} instead.
|
||||
*
|
||||
* Get a players informational node (Boolean) value
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public boolean getPlayerInfoBoolean(String world, String player, String node, boolean defaultValue);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPlayerInfoBoolean(String, OfflinePlayer, String, boolean)} instead.
|
||||
*
|
||||
* Get a players informational node (Boolean) value
|
||||
* @param world World Object
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean getPlayerInfoBoolean(World world, String player, String node, boolean defaultValue) {
|
||||
return getPlayerInfoBoolean(world.getName(), player, node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a players informational node (Boolean) value
|
||||
* @param player Player Object
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
public boolean getPlayerInfoBoolean(Player player, String node, boolean defaultValue) {
|
||||
return getPlayerInfoBoolean(player.getWorld().getName(), player, node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a players informational node (Boolean) value
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
public void setPlayerInfoBoolean(String world, OfflinePlayer player, String node, boolean value) {
|
||||
setPlayerInfoBoolean(world, player.getName(), node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #setPlayerInfoBoolean(String, OfflinePlayer, String, boolean)} instead.
|
||||
* Set a players informational node (Boolean) value
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public void setPlayerInfoBoolean(String world, String player, String node, boolean value);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #setPlayerInfoBoolean(String, OfflinePlayer, String, boolean)} instead.
|
||||
* Set a players informational node (Boolean) value
|
||||
* @param world World Object
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
@Deprecated
|
||||
public void setPlayerInfoBoolean(World world, String player, String node, boolean value) {
|
||||
setPlayerInfoBoolean(world.getName(), player, node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a players informational node (Boolean) value
|
||||
* @param player Player Object
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
public void setPlayerInfoBoolean(Player player, String node, boolean value) {
|
||||
setPlayerInfoBoolean(player.getWorld().getName(), player, node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a groups informational node (Boolean) value
|
||||
* @param world Name of World
|
||||
* @param group Name of Group
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
abstract public boolean getGroupInfoBoolean(String world, String group, String node, boolean defaultValue);
|
||||
|
||||
/**
|
||||
* Set a players informational node (Boolean) value
|
||||
* @param world World Object
|
||||
* @param group Group name
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
public boolean getGroupInfoBoolean(World world, String group, String node, boolean defaultValue) {
|
||||
return getGroupInfoBoolean(world.getName(), group, node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a groups informational node (Boolean) value
|
||||
* @param world World name
|
||||
* @param group Group name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
abstract public void setGroupInfoBoolean(String world, String group, String node, boolean value);
|
||||
|
||||
/**
|
||||
* Set a players informational node (Boolean) value
|
||||
* @param world World Object
|
||||
* @param group Group name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
public void setGroupInfoBoolean(World world, String group, String node, boolean value) {
|
||||
setGroupInfoBoolean(world.getName(), group, node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a players informational node (String) value
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
public String getPlayerInfoString(String world, OfflinePlayer player, String node, String defaultValue) {
|
||||
return getPlayerInfoString(world, player.getName(), node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPlayerInfoString(String, OfflinePlayer, String, String)} instead.
|
||||
*
|
||||
* Get a players informational node (String) value
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public String getPlayerInfoString(String world, String player, String node, String defaultValue);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPlayerInfoString(String, OfflinePlayer, String, String)} instead.
|
||||
* Get a players informational node (String) value
|
||||
* @param world World Object
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
@Deprecated
|
||||
public String getPlayerInfoString(World world, String player, String node, String defaultValue) {
|
||||
return getPlayerInfoString(world.getName(), player, node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a players informational node (String) value
|
||||
* @param player Player Object
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
public String getPlayerInfoString(Player player, String node, String defaultValue) {
|
||||
return getPlayerInfoString(player.getWorld().getName(), player, node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a players informational node (String) value
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
public void setPlayerInfoString(String world, OfflinePlayer player, String node, String value) {
|
||||
setPlayerInfoString(world, player.getName(), node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #setPlayerInfoString(String, OfflinePlayer, String, String)} instead.
|
||||
* Set a players informational node (String) value
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public void setPlayerInfoString(String world, String player, String node, String value);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #setPlayerInfoString(String, OfflinePlayer, String, String)} instead.
|
||||
* Set a players informational node (String) value
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
@Deprecated
|
||||
public void setPlayerInfoString(World world, String player, String node, String value) {
|
||||
setPlayerInfoString(world.getName(), player, node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a players informational node (String) value
|
||||
* @param player Player Object
|
||||
* @param node Permission node
|
||||
* @param value Value ot set
|
||||
*/
|
||||
public void setPlayerInfoString(Player player, String node, String value) {
|
||||
setPlayerInfoString(player.getWorld().getName(), player, node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a groups informational node (String) value
|
||||
* @param world Name of World
|
||||
* @param group Name of Group
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
abstract public String getGroupInfoString(String world, String group, String node, String defaultValue);
|
||||
|
||||
/**
|
||||
* Set a players informational node (String) value
|
||||
* @param world World Object
|
||||
* @param group Group name
|
||||
* @param node Permission node
|
||||
* @param defaultValue Default value
|
||||
* @return Value
|
||||
*/
|
||||
public String getGroupInfoString(World world, String group, String node, String defaultValue) {
|
||||
return getGroupInfoString(world.getName(), group, node, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a groups informational node (String) value
|
||||
* @param world World name
|
||||
* @param group Group name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
abstract public void setGroupInfoString(String world, String group, String node, String value);
|
||||
|
||||
/**
|
||||
* Set a groups informational node (String) value
|
||||
* @param world World name
|
||||
* @param group Group name
|
||||
* @param node Permission node
|
||||
* @param value Value to set
|
||||
*/
|
||||
public void setGroupInfoString(World world, String group, String node, String value) {
|
||||
setGroupInfoString(world.getName(), group, node, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if player is member of a group.
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @param group Group name
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerInGroup(String world, OfflinePlayer player, String group) {
|
||||
return perms.playerInGroup(world, player, group);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #playerInGroup(String, OfflinePlayer, String)} instead.
|
||||
* Check if player is member of a group.
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @param group Group name
|
||||
* @return Success or Failure
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean playerInGroup(String world, String player, String group) {
|
||||
return perms.playerInGroup(world, player, group);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #playerInGroup(String, OfflinePlayer, String)} instead.
|
||||
* Check if player is member of a group.
|
||||
* @param world World Object
|
||||
* @param player Player name
|
||||
* @param group Group name
|
||||
* @return Success or Failure
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean playerInGroup(World world, String player, String group) {
|
||||
return playerInGroup(world.getName(), player, group);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if player is member of a group.
|
||||
* @param player Player Object
|
||||
* @param group Group name
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerInGroup(Player player, String group) {
|
||||
return playerInGroup(player.getWorld().getName(), player, group);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the list of groups that this player has
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @return Array of groups
|
||||
*/
|
||||
public String[] getPlayerGroups(String world, OfflinePlayer player) {
|
||||
return perms.getPlayerGroups(world, player);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPlayerGroups(String, OfflinePlayer)} instead.
|
||||
* Gets the list of groups that this player has
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @return Array of groups
|
||||
*/
|
||||
@Deprecated
|
||||
public String[] getPlayerGroups(String world, String player) {
|
||||
return perms.getPlayerGroups(world, player);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPlayerGroups(String, OfflinePlayer)} instead.
|
||||
* Gets the list of groups that this player has
|
||||
* @param world World Object
|
||||
* @param player Player name
|
||||
* @return Array of groups
|
||||
*/
|
||||
@Deprecated
|
||||
public String[] getPlayerGroups(World world, String player) {
|
||||
return getPlayerGroups(world.getName(), player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the list of groups that this player has
|
||||
* @param player Player Object
|
||||
* @return Array of groups
|
||||
*/
|
||||
public String[] getPlayerGroups(Player player) {
|
||||
return getPlayerGroups(player.getWorld().getName(), player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets players primary group
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @return Players primary group
|
||||
*/
|
||||
public String getPrimaryGroup(String world, OfflinePlayer player) {
|
||||
return perms.getPrimaryGroup(world, player);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPrimaryGroup(String, OfflinePlayer)} instead.
|
||||
* Gets players primary group
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @return Players primary group
|
||||
*/
|
||||
@Deprecated
|
||||
public String getPrimaryGroup(String world, String player) {
|
||||
return perms.getPrimaryGroup(world, player);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #getPrimaryGroup(String, OfflinePlayer)} instead.
|
||||
* Gets players primary group
|
||||
* @param world World Object
|
||||
* @param player Player name
|
||||
* @return Players primary group
|
||||
*/
|
||||
@Deprecated
|
||||
public String getPrimaryGroup(World world, String player) {
|
||||
return getPrimaryGroup(world.getName(), player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get players primary group
|
||||
* @param player Player Object
|
||||
* @return Players primary group
|
||||
*/
|
||||
public String getPrimaryGroup(Player player) {
|
||||
return getPrimaryGroup(player.getWorld().getName(), player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a list of all known groups
|
||||
* @return an Array of String of all groups
|
||||
*/
|
||||
public String[] getGroups() {
|
||||
return perms.getGroups();
|
||||
}
|
||||
}
|
@ -1,83 +0,0 @@
|
||||
package net.milkbowl.vault.economy;
|
||||
|
||||
import org.bukkit.OfflinePlayer;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public abstract class AbstractEconomy implements Economy {
|
||||
|
||||
@Override
|
||||
public boolean hasAccount(OfflinePlayer player) {
|
||||
return hasAccount(player.getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasAccount(OfflinePlayer player, String worldName) {
|
||||
return hasAccount(player.getName(), worldName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public double getBalance(OfflinePlayer player) {
|
||||
return getBalance(player.getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public double getBalance(OfflinePlayer player, String world) {
|
||||
return getBalance(player.getName(), world);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean has(OfflinePlayer player, double amount) {
|
||||
return has(player.getName(), amount);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean has(OfflinePlayer player, String worldName, double amount) {
|
||||
return has(player.getName(), worldName, amount);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EconomyResponse withdrawPlayer(OfflinePlayer player, double amount) {
|
||||
return withdrawPlayer(player.getName(), amount);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EconomyResponse withdrawPlayer(OfflinePlayer player, String worldName, double amount) {
|
||||
return withdrawPlayer(player.getName(), worldName, amount);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EconomyResponse depositPlayer(OfflinePlayer player, double amount) {
|
||||
return depositPlayer(player.getName(), amount);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EconomyResponse depositPlayer(OfflinePlayer player, String worldName, double amount) {
|
||||
return depositPlayer(player.getName(), worldName, amount);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EconomyResponse createBank(String name, OfflinePlayer player) {
|
||||
return createBank(name, player.getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public EconomyResponse isBankOwner(String name, OfflinePlayer player) {
|
||||
return isBankOwner(name, player.getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public EconomyResponse isBankMember(String name, OfflinePlayer player) {
|
||||
return isBankMember(name, player.getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean createPlayerAccount(OfflinePlayer player) {
|
||||
return createPlayerAccount(player.getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean createPlayerAccount(OfflinePlayer player, String worldName) {
|
||||
return createPlayerAccount(player.getName(), worldName);
|
||||
}
|
||||
|
||||
}
|
@ -1,357 +0,0 @@
|
||||
/* This file is part of Vault.
|
||||
|
||||
Vault is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Vault is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with Vault. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package net.milkbowl.vault.economy;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.bukkit.OfflinePlayer;
|
||||
|
||||
/**
|
||||
* The main economy API
|
||||
*
|
||||
*/
|
||||
public interface Economy {
|
||||
|
||||
/**
|
||||
* Checks if economy method is enabled.
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean isEnabled();
|
||||
|
||||
/**
|
||||
* Gets name of economy method
|
||||
* @return Name of Ecoomy Method
|
||||
*/
|
||||
public String getName();
|
||||
|
||||
/**
|
||||
* Returns true if the given implementation supports banks.
|
||||
* @return true if the implementation supports banks
|
||||
*/
|
||||
public boolean hasBankSupport();
|
||||
|
||||
/**
|
||||
* Some economy plugins round off after a certain number of digits.
|
||||
* This function returns the number of digits the plugin keeps
|
||||
* or -1 if no rounding occurs.
|
||||
* @return number of digits after the decimal point kept
|
||||
*/
|
||||
public int fractionalDigits();
|
||||
|
||||
/**
|
||||
* Format amount into a human readable String This provides translation into
|
||||
* economy specific formatting to improve consistency between plugins.
|
||||
*
|
||||
* @param amount to format
|
||||
* @return Human readable string describing amount
|
||||
*/
|
||||
public String format(double amount);
|
||||
|
||||
/**
|
||||
* Returns the name of the currency in plural form.
|
||||
* If the economy being used does not support currency names then an empty string will be returned.
|
||||
*
|
||||
* @return name of the currency (plural)
|
||||
*/
|
||||
public String currencyNamePlural();
|
||||
|
||||
|
||||
/**
|
||||
* Returns the name of the currency in singular form.
|
||||
* If the economy being used does not support currency names then an empty string will be returned.
|
||||
*
|
||||
* @return name of the currency (singular)
|
||||
*/
|
||||
public String currencyNameSingular();
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #hasAccount(OfflinePlayer)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean hasAccount(String playerName);
|
||||
|
||||
/**
|
||||
* Checks if this player has an account on the server yet
|
||||
* This will always return true if the player has joined the server at least once
|
||||
* as all major economy plugins auto-generate a player account when the player joins the server
|
||||
*
|
||||
* @param player to check
|
||||
* @return if the player has an account
|
||||
*/
|
||||
public boolean hasAccount(OfflinePlayer player);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #hasAccount(OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean hasAccount(String playerName, String worldName);
|
||||
|
||||
/**
|
||||
* Checks if this player has an account on the server yet on the given world
|
||||
* This will always return true if the player has joined the server at least once
|
||||
* as all major economy plugins auto-generate a player account when the player joins the server
|
||||
*
|
||||
* @param player to check in the world
|
||||
* @param worldName world-specific account
|
||||
* @return if the player has an account
|
||||
*/
|
||||
public boolean hasAccount(OfflinePlayer player, String worldName);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #getBalance(OfflinePlayer)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public double getBalance(String playerName);
|
||||
|
||||
/**
|
||||
* Gets balance of a player
|
||||
*
|
||||
* @param player of the player
|
||||
* @return Amount currently held in players account
|
||||
*/
|
||||
public double getBalance(OfflinePlayer player);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #getBalance(OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public double getBalance(String playerName, String world);
|
||||
|
||||
/**
|
||||
* Gets balance of a player on the specified world.
|
||||
* IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.
|
||||
* @param player to check
|
||||
* @param world name of the world
|
||||
* @return Amount currently held in players account
|
||||
*/
|
||||
public double getBalance(OfflinePlayer player, String world);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #has(OfflinePlayer, double)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean has(String playerName, double amount);
|
||||
|
||||
/**
|
||||
* Checks if the player account has the amount - DO NOT USE NEGATIVE AMOUNTS
|
||||
*
|
||||
* @param player to check
|
||||
* @param amount to check for
|
||||
* @return True if <b>player</b> has <b>amount</b>, False else wise
|
||||
*/
|
||||
public boolean has(OfflinePlayer player, double amount);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use @{link {@link #has(OfflinePlayer, String, double)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean has(String playerName, String worldName, double amount);
|
||||
|
||||
/**
|
||||
* Checks if the player account has the amount in a given world - DO NOT USE NEGATIVE AMOUNTS
|
||||
* IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.
|
||||
*
|
||||
* @param player to check
|
||||
* @param worldName to check with
|
||||
* @param amount to check for
|
||||
* @return True if <b>player</b> has <b>amount</b>, False else wise
|
||||
*/
|
||||
public boolean has(OfflinePlayer player, String worldName, double amount);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #withdrawPlayer(OfflinePlayer, double)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public EconomyResponse withdrawPlayer(String playerName, double amount);
|
||||
|
||||
/**
|
||||
* Withdraw an amount from a player - DO NOT USE NEGATIVE AMOUNTS
|
||||
*
|
||||
* @param player to withdraw from
|
||||
* @param amount Amount to withdraw
|
||||
* @return Detailed response of transaction
|
||||
*/
|
||||
public EconomyResponse withdrawPlayer(OfflinePlayer player, double amount);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #withdrawPlayer(OfflinePlayer, String, double)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public EconomyResponse withdrawPlayer(String playerName, String worldName, double amount);
|
||||
|
||||
/**
|
||||
* Withdraw an amount from a player on a given world - DO NOT USE NEGATIVE AMOUNTS
|
||||
* IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.
|
||||
* @param player to withdraw from
|
||||
* @param worldName - name of the world
|
||||
* @param amount Amount to withdraw
|
||||
* @return Detailed response of transaction
|
||||
*/
|
||||
public EconomyResponse withdrawPlayer(OfflinePlayer player, String worldName, double amount);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #depositPlayer(OfflinePlayer, double)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public EconomyResponse depositPlayer(String playerName, double amount);
|
||||
|
||||
/**
|
||||
* Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS
|
||||
*
|
||||
* @param player to deposit to
|
||||
* @param amount Amount to deposit
|
||||
* @return Detailed response of transaction
|
||||
*/
|
||||
public EconomyResponse depositPlayer(OfflinePlayer player, double amount);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #depositPlayer(OfflinePlayer, String, double)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public EconomyResponse depositPlayer(String playerName, String worldName, double amount);
|
||||
|
||||
/**
|
||||
* Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS
|
||||
* IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.
|
||||
*
|
||||
* @param player to deposit to
|
||||
* @param worldName name of the world
|
||||
* @param amount Amount to deposit
|
||||
* @return Detailed response of transaction
|
||||
*/
|
||||
public EconomyResponse depositPlayer(OfflinePlayer player, String worldName, double amount);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #createBank(String, OfflinePlayer)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public EconomyResponse createBank(String name, String player);
|
||||
|
||||
/**
|
||||
* Creates a bank account with the specified name and the player as the owner
|
||||
* @param name of account
|
||||
* @param player the account should be linked to
|
||||
* @return EconomyResponse Object
|
||||
*/
|
||||
public EconomyResponse createBank(String name, OfflinePlayer player);
|
||||
|
||||
/**
|
||||
* Deletes a bank account with the specified name.
|
||||
* @param name of the back to delete
|
||||
* @return if the operation completed successfully
|
||||
*/
|
||||
public EconomyResponse deleteBank(String name);
|
||||
|
||||
/**
|
||||
* Returns the amount the bank has
|
||||
* @param name of the account
|
||||
* @return EconomyResponse Object
|
||||
*/
|
||||
public EconomyResponse bankBalance(String name);
|
||||
|
||||
/**
|
||||
* Returns true or false whether the bank has the amount specified - DO NOT USE NEGATIVE AMOUNTS
|
||||
*
|
||||
* @param name of the account
|
||||
* @param amount to check for
|
||||
* @return EconomyResponse Object
|
||||
*/
|
||||
public EconomyResponse bankHas(String name, double amount);
|
||||
|
||||
/**
|
||||
* Withdraw an amount from a bank account - DO NOT USE NEGATIVE AMOUNTS
|
||||
*
|
||||
* @param name of the account
|
||||
* @param amount to withdraw
|
||||
* @return EconomyResponse Object
|
||||
*/
|
||||
public EconomyResponse bankWithdraw(String name, double amount);
|
||||
|
||||
/**
|
||||
* Deposit an amount into a bank account - DO NOT USE NEGATIVE AMOUNTS
|
||||
*
|
||||
* @param name of the account
|
||||
* @param amount to deposit
|
||||
* @return EconomyResponse Object
|
||||
*/
|
||||
public EconomyResponse bankDeposit(String name, double amount);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #isBankOwner(String, OfflinePlayer)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public EconomyResponse isBankOwner(String name, String playerName);
|
||||
|
||||
/**
|
||||
* Check if a player is the owner of a bank account
|
||||
*
|
||||
* @param name of the account
|
||||
* @param player to check for ownership
|
||||
* @return EconomyResponse Object
|
||||
*/
|
||||
public EconomyResponse isBankOwner(String name, OfflinePlayer player);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #isBankMember(String, OfflinePlayer)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public EconomyResponse isBankMember(String name, String playerName);
|
||||
|
||||
/**
|
||||
* Check if the player is a member of the bank account
|
||||
*
|
||||
* @param name of the account
|
||||
* @param player to check membership
|
||||
* @return EconomyResponse Object
|
||||
*/
|
||||
public EconomyResponse isBankMember(String name, OfflinePlayer player);
|
||||
|
||||
/**
|
||||
* Gets the list of banks
|
||||
* @return the List of Banks
|
||||
*/
|
||||
public List<String> getBanks();
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #createPlayerAccount(OfflinePlayer)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean createPlayerAccount(String playerName);
|
||||
|
||||
/**
|
||||
* Attempts to create a player account for the given player
|
||||
* @param player OfflinePlayer
|
||||
* @return if the account creation was successful
|
||||
*/
|
||||
public boolean createPlayerAccount(OfflinePlayer player);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {{@link #createPlayerAccount(OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean createPlayerAccount(String playerName, String worldName);
|
||||
|
||||
/**
|
||||
* Attempts to create a player account for the given player on the specified world
|
||||
* IMPLEMENTATION SPECIFIC - if an economy plugin does not support this the global balance will be returned.
|
||||
* @param player OfflinePlayer
|
||||
* @param worldName String name of the world
|
||||
* @return if the account creation was successful
|
||||
*/
|
||||
public boolean createPlayerAccount(OfflinePlayer player, String worldName);
|
||||
}
|
@ -1,89 +0,0 @@
|
||||
/* This file is part of Vault.
|
||||
|
||||
Vault is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Vault is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with Vault. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package net.milkbowl.vault.economy;
|
||||
|
||||
/**
|
||||
* Indicates a typical Return for an Economy method.
|
||||
* It includes a {@link ResponseType} indicating whether the plugin currently being used for Economy actually allows
|
||||
* the method, or if the operation was a success or failure.
|
||||
*
|
||||
*/
|
||||
public class EconomyResponse {
|
||||
|
||||
/**
|
||||
* Enum for types of Responses indicating the status of a method call.
|
||||
*/
|
||||
public static enum ResponseType {
|
||||
SUCCESS(1),
|
||||
FAILURE(2),
|
||||
NOT_IMPLEMENTED(3);
|
||||
|
||||
private int id;
|
||||
|
||||
ResponseType(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
int getId() {
|
||||
return id;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Amount modified by calling method
|
||||
*/
|
||||
public final double amount;
|
||||
/**
|
||||
* New balance of account
|
||||
*/
|
||||
public final double balance;
|
||||
/**
|
||||
* Success or failure of call. Using Enum of ResponseType to determine valid
|
||||
* outcomes
|
||||
*/
|
||||
public final ResponseType type;
|
||||
/**
|
||||
* Error message if the variable 'type' is ResponseType.FAILURE
|
||||
*/
|
||||
public final String errorMessage;
|
||||
|
||||
/**
|
||||
* Constructor for EconomyResponse
|
||||
* @param amount Amount modified during operation
|
||||
* @param balance New balance of account
|
||||
* @param type Success or failure type of the operation
|
||||
* @param errorMessage Error message if necessary (commonly null)
|
||||
*/
|
||||
public EconomyResponse(double amount, double balance, ResponseType type, String errorMessage) {
|
||||
this.amount = amount;
|
||||
this.balance = balance;
|
||||
this.type = type;
|
||||
this.errorMessage = errorMessage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if an operation was successful
|
||||
* @return Value
|
||||
*/
|
||||
public boolean transactionSuccess() {
|
||||
switch (type) {
|
||||
case SUCCESS:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,105 +0,0 @@
|
||||
/* This file is part of Vault.
|
||||
|
||||
Vault is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Vault is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with Vault. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package net.milkbowl.vault.item;
|
||||
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
public class ItemInfo {
|
||||
|
||||
public final Material material;
|
||||
public final short subTypeId;
|
||||
public final String name;
|
||||
public final String[][] search;
|
||||
|
||||
public ItemInfo(String name, String[][] search, Material material) {
|
||||
this.material = material;
|
||||
this.name = name;
|
||||
this.subTypeId = 0;
|
||||
this.search = search.clone();
|
||||
}
|
||||
|
||||
public ItemInfo(String name, String[][] search, Material material, short subTypeId) {
|
||||
this.name = name;
|
||||
this.material = material;
|
||||
this.subTypeId = subTypeId;
|
||||
this.search = search.clone();
|
||||
}
|
||||
|
||||
public Material getType() {
|
||||
return material;
|
||||
}
|
||||
|
||||
public short getSubTypeId() {
|
||||
return subTypeId;
|
||||
}
|
||||
|
||||
public int getStackSize() {
|
||||
return material.getMaxStackSize();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public int getId() {
|
||||
return material.getId();
|
||||
}
|
||||
|
||||
public boolean isEdible() {
|
||||
return material.isEdible();
|
||||
}
|
||||
|
||||
public boolean isBlock() {
|
||||
return material.isBlock();
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
int hash = 7;
|
||||
hash = 17 * hash + this.getId();
|
||||
hash = 17 * hash + this.subTypeId;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public boolean isDurable() {
|
||||
return (material.getMaxDurability() > 0);
|
||||
}
|
||||
|
||||
public ItemStack toStack() {
|
||||
return new ItemStack(this.material, 1, subTypeId);
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("%s[%d:%d]", name, material.getId(), subTypeId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (obj == null) {
|
||||
return false;
|
||||
} else if (this == obj) {
|
||||
return true;
|
||||
} else if (!(obj instanceof ItemInfo)) {
|
||||
return false;
|
||||
} else {
|
||||
return ((ItemInfo) obj).material == this.material && ((ItemInfo) obj).subTypeId == this.subTypeId;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,962 +0,0 @@
|
||||
/* This file is part of Vault.
|
||||
|
||||
Vault is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Vault is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with Vault. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package net.milkbowl.vault.item;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.CopyOnWriteArrayList;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
public class Items {
|
||||
|
||||
private static final List<ItemInfo> items = new CopyOnWriteArrayList<ItemInfo>();
|
||||
|
||||
/**
|
||||
* Returns the list of ItemInfo's registered in Vault as an UnmodifiableList.
|
||||
* @return list of Items
|
||||
*/
|
||||
public static List<ItemInfo> getItemList() {
|
||||
return Collections.unmodifiableList(items);
|
||||
}
|
||||
|
||||
static {
|
||||
items.add(new ItemInfo("Air", new String[][]{{"air"}}, Material.AIR));
|
||||
items.add(new ItemInfo("Stone", new String[][]{{"ston"}, {"smoo", "sto"}}, Material.STONE));
|
||||
items.add(new ItemInfo("Grass", new String[][]{{"gras"}}, Material.GRASS));
|
||||
items.add(new ItemInfo("Dirt", new String[][]{{"dirt"}}, Material.DIRT));
|
||||
items.add(new ItemInfo("Cobblestone", new String[][]{{"cobb", "sto"}, {"cobb"}}, Material.COBBLESTONE));
|
||||
items.add(new ItemInfo("Oak Plank", new String[][]{{"wood"}, {"oak", "plank"}, {"oak", "wood"}}, Material.WOOD));
|
||||
items.add(new ItemInfo("Spruce Plank", new String[][]{{"spru", "plank"}, {"spruc", "wood"}}, Material.WOOD, (short) 1));
|
||||
items.add(new ItemInfo("Birch Plank", new String[][]{{"birch", "plank"}, {"birch", "wood"}}, Material.WOOD, (short) 2));
|
||||
items.add(new ItemInfo("Jungle Plank", new String[][]{{"jung", "plank"}, {"jung", "wood"}}, Material.WOOD, (short) 3));
|
||||
items.add(new ItemInfo("Oak Sapling", new String[][]{{"sapl"}, {"sapl", "oak"}}, Material.SAPLING));
|
||||
items.add(new ItemInfo("Spruce Sapling", new String[][]{{"sapl", "spruc"}}, Material.SAPLING, (short) 1));
|
||||
items.add(new ItemInfo("Birch Sapling", new String[][]{{"sapl", "birch"}}, Material.SAPLING, (short) 2));
|
||||
items.add(new ItemInfo("Jungle Sapling", new String[][]{{"sapl", "jungle"}}, Material.SAPLING, (short) 3));
|
||||
items.add(new ItemInfo("Bedrock", new String[][]{{"rock"}}, Material.BEDROCK));
|
||||
items.add(new ItemInfo("Water", new String[][]{{"water"}}, Material.WATER));
|
||||
items.add(new ItemInfo("Lava", new String[][]{{"lava"}}, Material.LAVA));
|
||||
items.add(new ItemInfo("Sand", new String[][]{{"sand"}}, Material.SAND));
|
||||
items.add(new ItemInfo("Gold Ore", new String[][]{{"ore", "gold"}}, Material.GOLD_ORE));
|
||||
items.add(new ItemInfo("Iron Ore", new String[][]{{"ore", "iron"}}, Material.IRON_ORE));
|
||||
items.add(new ItemInfo("Coal Ore", new String[][]{{"ore", "coal"}}, Material.COAL_ORE));
|
||||
items.add(new ItemInfo("Gravel", new String[][]{{"grav"}}, Material.GRAVEL));
|
||||
items.add(new ItemInfo("Oak Log", new String[][]{{"oak"}, {"log"}, {"oak", "log"}}, Material.LOG));
|
||||
items.add(new ItemInfo("Spruce Log", new String[][]{{"spruc"}, {"spruc", "log"}}, Material.LOG, (short) 1));
|
||||
items.add(new ItemInfo("Birch Log", new String[][]{{"birch"}, {"birch", "log"}}, Material.LOG, (short) 2));
|
||||
items.add(new ItemInfo("Jungle Log", new String[][]{{"jung", "log"}}, Material.LOG, (short) 3));
|
||||
items.add(new ItemInfo("Leaves Block", new String[][]{{"blo", "leaf"}, {"blo", "leaves"}}, Material.LEAVES));
|
||||
items.add(new ItemInfo("Spruce Leaves Block", new String[][]{{"blo", "lea", "spruc"}}, Material.LEAVES, (short) 1));
|
||||
items.add(new ItemInfo("Birch Leaves Block", new String[][]{{"blo", "lea", "birch"}}, Material.LEAVES, (short) 2));
|
||||
items.add(new ItemInfo("Jungle Leaves Block", new String[][]{{"blo", "lea", "jung"}}, Material.LEAVES, (short) 3));
|
||||
items.add(new ItemInfo("Leaves", new String[][]{{"leaf"}, {"leaves"}}, Material.LEAVES, (short) 4));
|
||||
items.add(new ItemInfo("Spruce Leaves", new String[][]{{"lea", "spruce"}}, Material.LEAVES, (short) 5));
|
||||
items.add(new ItemInfo("Birch Leaves", new String[][]{{"lea", "birch"}}, Material.LEAVES, (short) 6));
|
||||
items.add(new ItemInfo("Jungle Leaves", new String[][]{{"lea", "jung"}}, Material.LEAVES, (short) 7));
|
||||
items.add(new ItemInfo("Sponge", new String[][]{{"sponge"}}, Material.SPONGE));
|
||||
items.add(new ItemInfo("Glass", new String[][]{{"glas"}, {"sili"}}, Material.GLASS));
|
||||
items.add(new ItemInfo("Lapis Lazuli Ore", new String[][]{{"lap", "laz", "ore"}, {"lazul", "ore"}, {"ore", "lapiz"}}, Material.LAPIS_ORE));
|
||||
items.add(new ItemInfo("Lapis Lazuli Block", new String[][]{{"lap", "laz", "bloc"}, {"lazu", "bloc"}, {"blo", "lapi"}}, Material.LAPIS_BLOCK));
|
||||
items.add(new ItemInfo("Dispenser", new String[][]{{"dispen"}}, Material.DISPENSER));
|
||||
items.add(new ItemInfo("Sandstone", new String[][]{{"sand", "st"}}, Material.SANDSTONE));
|
||||
items.add(new ItemInfo("Chiseled Sandstone", new String[][]{{"chis", "sand", "sto"}}, Material.SANDSTONE, (short) 1));
|
||||
items.add(new ItemInfo("Smooth Sandstone", new String[][]{{"smoo", "sand", "sto"}}, Material.SANDSTONE, (short) 2));
|
||||
items.add(new ItemInfo("Note Block", new String[][]{{"note"}}, Material.NOTE_BLOCK));
|
||||
items.add(new ItemInfo("Bed Block", new String[][]{{"block", "bed"}}, Material.BED_BLOCK));
|
||||
items.add(new ItemInfo("Powered Rail", new String[][]{{"rail", "pow"}, {"trac", "pow"}, {"boost"}}, Material.POWERED_RAIL));
|
||||
items.add(new ItemInfo("Detector Rail", new String[][]{{"rail", "det"}, {"trac", "det"}, {"detec"}}, Material.DETECTOR_RAIL));
|
||||
items.add(new ItemInfo("Sticky Piston", new String[][]{{"stic", "pis"}}, Material.PISTON_STICKY_BASE));
|
||||
items.add(new ItemInfo("Web", new String[][]{{"web"}, {"cobw"}}, Material.WEB));
|
||||
items.add(new ItemInfo("Dead Shrub", new String[][]{{"dead", "shru"}, {"dese", "shru"}, {"shrub"}}, Material.LONG_GRASS, (short) 0));
|
||||
items.add(new ItemInfo("Tall Grass", new String[][]{{"tall", "gras"}, {"long", "gras"}}, Material.LONG_GRASS, (short) 1));
|
||||
items.add(new ItemInfo("Fern", new String[][]{{"fern"}}, Material.LONG_GRASS, (short) 2));
|
||||
items.add(new ItemInfo("Piston", new String[][]{{"pisto"}}, Material.PISTON_BASE));
|
||||
items.add(new ItemInfo("White Wool", new String[][]{{"wool", "whit"}, {"wool"}}, Material.WOOL));
|
||||
items.add(new ItemInfo("Orange Wool", new String[][]{{"wool", "ora"}}, Material.WOOL, (short) 1));
|
||||
items.add(new ItemInfo("Magenta Wool", new String[][]{{"wool", "mag"}}, Material.WOOL, (short) 2));
|
||||
items.add(new ItemInfo("Light Blue Wool", new String[][]{{"wool", "lig", "blue"}}, Material.WOOL, (short) 3));
|
||||
items.add(new ItemInfo("Yellow Wool", new String[][]{{"wool", "yell"}}, Material.WOOL, (short) 4));
|
||||
items.add(new ItemInfo("Light Green Wool", new String[][]{{"wool", "lig", "gree"}, {"wool", "gree"}}, Material.WOOL, (short) 5));
|
||||
items.add(new ItemInfo("Pink Wool", new String[][]{{"wool", "pink"}}, Material.WOOL, (short) 6));
|
||||
items.add(new ItemInfo("Gray Wool", new String[][]{{"wool", "gray"}, {"wool", "grey"}}, Material.WOOL, (short) 7));
|
||||
items.add(new ItemInfo("Light Gray Wool", new String[][]{{"lig", "wool", "gra"}, {"lig", "wool", "gre"}}, Material.WOOL, (short) 8));
|
||||
items.add(new ItemInfo("Cyan Wool", new String[][]{{"wool", "cya"}}, Material.WOOL, (short) 9));
|
||||
items.add(new ItemInfo("Purple Wool", new String[][]{{"wool", "pur"}}, Material.WOOL, (short) 10));
|
||||
items.add(new ItemInfo("Blue Wool", new String[][]{{"wool", "blue"}}, Material.WOOL, (short) 11));
|
||||
items.add(new ItemInfo("Brown Wool", new String[][]{{"wool", "brow"}}, Material.WOOL, (short) 12));
|
||||
items.add(new ItemInfo("Dark Green Wool", new String[][]{{"wool", "dar", "gree"}, {"wool", "gree"}}, Material.WOOL, (short) 13));
|
||||
items.add(new ItemInfo("Red Wool", new String[][]{{"wool", "red"}}, Material.WOOL, (short) 14));
|
||||
items.add(new ItemInfo("Black Wool", new String[][]{{"wool", "bla"}}, Material.WOOL, (short) 15));
|
||||
items.add(new ItemInfo("Dandelion", new String[][]{{"flow", "yell"}, {"dande"}}, Material.YELLOW_FLOWER));
|
||||
items.add(new ItemInfo("Brown Mushroom", new String[][]{{"mush", "bro"}}, Material.BROWN_MUSHROOM));
|
||||
items.add(new ItemInfo("Red Mushroom", new String[][]{{"mush", "red"}}, Material.RED_MUSHROOM));
|
||||
items.add(new ItemInfo("Gold Block", new String[][]{{"gold", "bl"}}, Material.GOLD_BLOCK));
|
||||
items.add(new ItemInfo("Iron Block", new String[][]{{"iron", "bl"}}, Material.IRON_BLOCK));
|
||||
items.add(new ItemInfo("Double Stone Slab", new String[][]{{"doub", "slab"}, {"doub", "slab", "sto"}, {"doub", "step", "sto"}}, Material.DOUBLE_STEP));
|
||||
items.add(new ItemInfo("Double Sandstone Slab", new String[][]{{"doub", "slab", "sand", "sto"}, {"doub", "step", "sand", "sto"}}, Material.DOUBLE_STEP, (short) 1));
|
||||
items.add(new ItemInfo("Double Wooden Slab", new String[][]{{"doub", "slab", "wood"}, {"doub", "step", "wood"}}, Material.DOUBLE_STEP, (short) 2));
|
||||
items.add(new ItemInfo("Double Cobblestone Slab", new String[][]{{"doub", "slab", "cob", "sto"}, {"doub", "slab", "cob"}, {"doub", "step", "cob"}}, Material.DOUBLE_STEP, (short) 3));
|
||||
items.add(new ItemInfo("Double Brick Slab", new String[][]{{"doub", "slab", "bri"}}, Material.DOUBLE_STEP, (short) 4));
|
||||
items.add(new ItemInfo("Double Stone Brick Slab", new String[][]{{"doub", "slab", "smoo"}, {"doub", "slab", "sto", "bri"}}, Material.DOUBLE_STEP, (short) 5));
|
||||
items.add(new ItemInfo("Double Smooth Sandstone Slab", new String[][]{{"doub", "slab", "sand", "smoo"}}, Material.DOUBLE_STEP, (short) 9));
|
||||
items.add(new ItemInfo("Stone Slab", new String[][]{{"slab", "sto"}, {"slab"}, {"step", "ston"}}, Material.STEP));
|
||||
items.add(new ItemInfo("Sandstone Slab", new String[][]{{"slab", "sand", "sto"}, {"step", "sand", "sto"}}, Material.STEP, (short) 1));
|
||||
items.add(new ItemInfo("Wooden Slab", new String[][]{{"slab", "woo"}, {"step", "woo"}}, Material.STEP, (short) 2));
|
||||
items.add(new ItemInfo("Cobblestone Slab", new String[][]{{"slab", "cob", "sto"}, {"slab", "cob"}}, Material.STEP, (short) 3));
|
||||
items.add(new ItemInfo("Brick Slab", new String[][]{{"slab", "bri"}}, Material.STEP, (short) 4));
|
||||
items.add(new ItemInfo("Stone Brick Slab", new String[][]{{"slab", "sto", "bri"}}, Material.STEP, (short) 5));
|
||||
items.add(new ItemInfo("Brick", new String[][]{{"bric"}}, Material.BRICK));
|
||||
items.add(new ItemInfo("TNT", new String[][]{{"tnt"}, {"boom"}}, Material.TNT));
|
||||
items.add(new ItemInfo("Bookshelf", new String[][]{{"bookshe"}, {"book", "she"}}, Material.BOOKSHELF));
|
||||
items.add(new ItemInfo("Moss Stone", new String[][]{{"moss", "sto"}, {"moss"}}, Material.MOSSY_COBBLESTONE));
|
||||
items.add(new ItemInfo("Obsidian", new String[][]{{"obsi"}}, Material.OBSIDIAN));
|
||||
items.add(new ItemInfo("Torch", new String[][]{{"torc"}}, Material.TORCH));
|
||||
items.add(new ItemInfo("Fire", new String[][]{{"fire"}}, Material.FIRE));
|
||||
items.add(new ItemInfo("Monster Spawner", new String[][]{{"spawn"}}, Material.MOB_SPAWNER));
|
||||
items.add(new ItemInfo("Oak Wood Stairs", new String[][]{{"stair", "wood"}, {"oak", "stair"}}, Material.WOOD_STAIRS));
|
||||
items.add(new ItemInfo("Jungle Wood Stairs", new String[][]{{"jungle", "stair"}, {"jung", "stair", "woo"}}, Material.JUNGLE_WOOD_STAIRS));
|
||||
items.add(new ItemInfo("Spruce Wood Stairs", new String[][]{{"spruce", "stai"}, {"spru", "stair", "woo"}}, Material.SPRUCE_WOOD_STAIRS));
|
||||
items.add(new ItemInfo("Birch Wood Stairs", new String[][]{{"birch", "stair"}, {"birc", "stai", "woo"}}, Material.BIRCH_WOOD_STAIRS));
|
||||
items.add(new ItemInfo("Chest", new String[][]{{"chest"}}, Material.CHEST));
|
||||
items.add(new ItemInfo("Diamond Ore", new String[][]{{"ore", "diam"}}, Material.DIAMOND_ORE));
|
||||
items.add(new ItemInfo("Diamond Block", new String[][]{{"diam", "bl"}}, Material.DIAMOND_BLOCK));
|
||||
items.add(new ItemInfo("Crafting Table", new String[][]{{"benc"}, {"squa"}, {"craft"}}, Material.WORKBENCH));
|
||||
items.add(new ItemInfo("Farmland", new String[][]{{"soil"}, {"farm"}}, Material.SOIL));
|
||||
items.add(new ItemInfo("Furnace", new String[][]{{"furna"}, {"cooke"}}, Material.FURNACE));
|
||||
items.add(new ItemInfo("Ladder", new String[][]{{"ladd"}}, Material.LADDER));
|
||||
items.add(new ItemInfo("Rails", new String[][]{{"rail"}, {"trac"}}, Material.RAILS));
|
||||
items.add(new ItemInfo("Cobblestone Stairs", new String[][]{{"stair", "cob", "sto"}, {"stair", "cob"}}, Material.COBBLESTONE_STAIRS));
|
||||
items.add(new ItemInfo("Lever", new String[][]{{"lever"}, {"switc"}}, Material.LEVER));
|
||||
items.add(new ItemInfo("Stone Pressure Plate", new String[][]{{"pres", "plat", "ston"}}, Material.STONE_PLATE));
|
||||
items.add(new ItemInfo("Wooden Pressure Plate", new String[][]{{"pres", "plat", "wood"}}, Material.WOOD_PLATE));
|
||||
items.add(new ItemInfo("Redstone Ore", new String[][]{{"redst", "ore"}}, Material.REDSTONE_ORE));
|
||||
items.add(new ItemInfo("Redstone Torch", new String[][]{{"torc", "red"}, {"torc", "rs"}}, Material.REDSTONE_TORCH_ON));
|
||||
items.add(new ItemInfo("Stone Button", new String[][]{{"stone", "button"}, {"button"}}, Material.STONE_BUTTON));
|
||||
items.add(new ItemInfo("Snow", new String[][]{{"tile", "snow"}, {"snow", "slab"}, {"snow"}}, Material.SNOW));
|
||||
items.add(new ItemInfo("Ice", new String[][]{{"ice"}}, Material.ICE));
|
||||
items.add(new ItemInfo("Snow Block", new String[][]{{"blo", "snow"}}, Material.SNOW_BLOCK));
|
||||
items.add(new ItemInfo("Cactus", new String[][]{{"cact"}}, Material.CACTUS));
|
||||
items.add(new ItemInfo("Clay Block", new String[][]{{"clay", "blo"}}, Material.CLAY));
|
||||
items.add(new ItemInfo("Jukebox", new String[][]{{"jukeb"}}, Material.JUKEBOX));
|
||||
items.add(new ItemInfo("Fence", new String[][]{{"fence"}}, Material.FENCE));
|
||||
items.add(new ItemInfo("Pumpkin", new String[][]{{"pump"}}, Material.PUMPKIN));
|
||||
items.add(new ItemInfo("Netherrack", new String[][]{{"netherr"}, {"netherst"}, {"hellst"}}, Material.NETHERRACK));
|
||||
items.add(new ItemInfo("Soul Sand", new String[][]{{"soul", "sand"}, {"soul"}, {"slowsa"}, {"nether", "mud"}, {"slow", "sand"}, {"quick", "sand"}, {"mud"}}, Material.SOUL_SAND));
|
||||
items.add(new ItemInfo("Glowstone", new String[][]{{"glow", "stone"}, {"light", "stone"}}, Material.GLOWSTONE));
|
||||
items.add(new ItemInfo("Portal", new String[][]{{"port"}}, Material.PORTAL));
|
||||
items.add(new ItemInfo("Jack-O-Lantern", new String[][]{{"jack"}, {"lante"}}, Material.JACK_O_LANTERN));
|
||||
items.add(new ItemInfo("Trapdoor", new String[][]{{"trap", "doo"}, {"hatc"}}, Material.TRAP_DOOR));
|
||||
items.add(new ItemInfo("Stone Monster Egg", new String[][]{{"mons","egg"},{"sto","mons", "egg"}, {"hid", "silver"}}, Material.MONSTER_EGGS));
|
||||
items.add(new ItemInfo("Stone Brick Monster Egg", new String[][]{{"sto", "bri", "mons", "egg"}, {"hid", "silver","sto","bri"}}, Material.MONSTER_EGGS, (short) 2));
|
||||
items.add(new ItemInfo("Mossy Stone Brick Monster Egg", new String[][]{{"moss", "sto", "bri", "mons", "egg"}, {"hid", "silver","mos","sto","bri"}}, Material.MONSTER_EGGS, (short) 3));
|
||||
items.add(new ItemInfo("Huge Brown Mushroom", new String[][]{{"bro", "huge", "mush"}}, Material.HUGE_MUSHROOM_1));
|
||||
items.add(new ItemInfo("Huge Red Mushroom", new String[][]{{"red", "huge", "mush"}}, Material.HUGE_MUSHROOM_2));
|
||||
items.add(new ItemInfo("Stone Brick", new String[][]{{"sto", "bric"}, {"smoo", "bric"}}, Material.SMOOTH_BRICK, (short) 0));
|
||||
items.add(new ItemInfo("Iron Fence", new String[][]{{"bars", "iron"}, {"fence", "iron"}}, Material.IRON_FENCE));
|
||||
items.add(new ItemInfo("Glass Pane", new String[][]{{"thin", "gla"}, {"pane"}, {"gla", "pane"}}, Material.THIN_GLASS));
|
||||
items.add(new ItemInfo("Melon Block", new String[][]{{"melon"}}, Material.MELON_BLOCK));
|
||||
items.add(new ItemInfo("Mossy Stone Brick", new String[][]{{"moss", "sto", "bri"}, {"moss", "smoo", "bri"}, {"moss", "smoo"}, {"moss", "sto"}}, Material.SMOOTH_BRICK, (short) 1));
|
||||
items.add(new ItemInfo("Cracked Stone Brick", new String[][]{{"cra", "sto", "bri"}, {"cra", "sto"}, {"cra", "smoo", "bri"}, {"cra", "smoo"}}, Material.SMOOTH_BRICK, (short) 2));
|
||||
items.add(new ItemInfo("Chiseled Stone Brick", new String[][]{{"chis", "sto", "bri"}, {"chis", "sto"}, {"chis", "smoo", "bri"}}, Material.SMOOTH_BRICK, (short) 3));
|
||||
items.add(new ItemInfo("Brick Stairs", new String[][]{{"stair", "bri"}}, Material.BRICK_STAIRS));
|
||||
items.add(new ItemInfo("Fence Gate", new String[][]{{"gate", "fen"}, {"gate"}}, Material.FENCE_GATE));
|
||||
items.add(new ItemInfo("Vines", new String[][]{{"vine"}, {"ivy"}}, Material.VINE));
|
||||
items.add(new ItemInfo("Stone Brick Stairs", new String[][]{{"stair", "sto", "bri"}, {"stair", "sto"}, {"stair", "smoo", "bri"}, {"stair", "smoo"}}, Material.SMOOTH_STAIRS));
|
||||
items.add(new ItemInfo("Iron Shovel", new String[][]{{"shov", "ir"}, {"spad", "ir"}}, Material.IRON_SPADE));
|
||||
items.add(new ItemInfo("Iron Pickaxe", new String[][]{{"pick", "ir"}}, Material.IRON_PICKAXE));
|
||||
items.add(new ItemInfo("Iron Axe", new String[][]{{"axe", "ir"}}, Material.IRON_AXE));
|
||||
items.add(new ItemInfo("Flint and Steel", new String[][]{{"steel"}, {"lighter"}, {"flin", "ste"}}, Material.FLINT_AND_STEEL));
|
||||
items.add(new ItemInfo("Apple", new String[][]{{"appl"}}, Material.APPLE));
|
||||
items.add(new ItemInfo("Bow", new String[][]{{"bow"}}, Material.BOW));
|
||||
items.add(new ItemInfo("Arrow", new String[][]{{"arro"}}, Material.ARROW));
|
||||
items.add(new ItemInfo("Coal", new String[][]{{"coal"}}, Material.COAL));
|
||||
items.add(new ItemInfo("Charcoal", new String[][]{{"char", "coal"}, {"char"}}, Material.COAL, (short) 1));
|
||||
items.add(new ItemInfo("Diamond", new String[][]{{"diamo"}}, Material.DIAMOND));
|
||||
items.add(new ItemInfo("Iron Ingot", new String[][]{{"ingo", "ir"}, {"iron"}}, Material.IRON_INGOT));
|
||||
items.add(new ItemInfo("Gold Ingot", new String[][]{{"ingo", "go"}, {"gold"}}, Material.GOLD_INGOT));
|
||||
items.add(new ItemInfo("Iron Sword", new String[][]{{"swor", "ir"}}, Material.IRON_SWORD));
|
||||
items.add(new ItemInfo("Wooden Sword", new String[][]{{"swor", "woo"}}, Material.WOOD_SWORD));
|
||||
items.add(new ItemInfo("Wooden Shovel", new String[][]{{"shov", "wo"}, {"spad", "wo"}}, Material.WOOD_SPADE));
|
||||
items.add(new ItemInfo("Wooden Pickaxe", new String[][]{{"pick", "woo"}}, Material.WOOD_PICKAXE));
|
||||
items.add(new ItemInfo("Wooden Axe", new String[][]{{"axe", "woo"}}, Material.WOOD_AXE));
|
||||
items.add(new ItemInfo("Stone Sword", new String[][]{{"swor", "sto"}}, Material.STONE_SWORD));
|
||||
items.add(new ItemInfo("Stone Shovel", new String[][]{{"shov", "sto"}, {"spad", "sto"}}, Material.STONE_SPADE));
|
||||
items.add(new ItemInfo("Stone Pickaxe", new String[][]{{"pick", "sto"}}, Material.STONE_PICKAXE));
|
||||
items.add(new ItemInfo("Stone Axe", new String[][]{{"axe", "sto"}}, Material.STONE_AXE));
|
||||
items.add(new ItemInfo("Diamond Sword", new String[][]{{"swor", "dia"}}, Material.DIAMOND_SWORD));
|
||||
items.add(new ItemInfo("Diamond Shovel", new String[][]{{"shov", "dia"}, {"spad", "dia"}}, Material.DIAMOND_SPADE));
|
||||
items.add(new ItemInfo("Diamond Pickaxe", new String[][]{{"pick", "dia"}}, Material.DIAMOND_PICKAXE));
|
||||
items.add(new ItemInfo("Diamond Axe", new String[][]{{"axe", "dia"}}, Material.DIAMOND_AXE));
|
||||
items.add(new ItemInfo("Stick", new String[][]{{"stic"}}, Material.STICK));
|
||||
items.add(new ItemInfo("Bowl", new String[][]{{"bo", "wl"}}, Material.BOWL));
|
||||
items.add(new ItemInfo("Mushroom Soup", new String[][]{{"soup"}}, Material.MUSHROOM_SOUP));
|
||||
items.add(new ItemInfo("Gold Sword", new String[][]{{"swor", "gol"}}, Material.GOLD_SWORD));
|
||||
items.add(new ItemInfo("Gold Shovel", new String[][]{{"shov", "gol"}, {"spad", "gol"}}, Material.GOLD_SPADE));
|
||||
items.add(new ItemInfo("Gold Pickaxe", new String[][]{{"pick", "gol"}}, Material.GOLD_PICKAXE));
|
||||
items.add(new ItemInfo("Gold Axe", new String[][]{{"axe", "gol"}}, Material.GOLD_AXE));
|
||||
items.add(new ItemInfo("String", new String[][]{{"stri"}}, Material.STRING));
|
||||
items.add(new ItemInfo("Feather", new String[][]{{"feat"}}, Material.FEATHER));
|
||||
items.add(new ItemInfo("Gunpowder", new String[][]{{"gun"}, {"sulph"}}, Material.SULPHUR));
|
||||
items.add(new ItemInfo("Wooden Hoe", new String[][]{{"hoe", "wo"}}, Material.WOOD_HOE));
|
||||
items.add(new ItemInfo("Stone Hoe", new String[][]{{"hoe", "sto"}}, Material.STONE_HOE));
|
||||
items.add(new ItemInfo("Iron Hoe", new String[][]{{"hoe", "iro"}}, Material.IRON_HOE));
|
||||
items.add(new ItemInfo("Diamond Hoe", new String[][]{{"hoe", "dia"}}, Material.DIAMOND_HOE));
|
||||
items.add(new ItemInfo("Gold Hoe", new String[][]{{"hoe", "go"}}, Material.GOLD_HOE));
|
||||
items.add(new ItemInfo("Seeds", new String[][]{{"seed"}}, Material.SEEDS));
|
||||
items.add(new ItemInfo("Wheat", new String[][]{{"whea"}}, Material.WHEAT));
|
||||
items.add(new ItemInfo("Bread", new String[][]{{"brea"}}, Material.BREAD));
|
||||
items.add(new ItemInfo("Leather Cap", new String[][]{{"cap", "lea"}, {"hat", "lea"}, {"helm", "lea"}}, Material.LEATHER_HELMET));
|
||||
items.add(new ItemInfo("Leather Tunic", new String[][]{{"tun", "lea"}, {"ches", "lea"}}, Material.LEATHER_CHESTPLATE));
|
||||
items.add(new ItemInfo("Leather Pants", new String[][]{{"pan", "lea"}, {"trou", "lea"}, {"leg", "lea"}}, Material.LEATHER_LEGGINGS));
|
||||
items.add(new ItemInfo("Leather Boots", new String[][]{{"boo", "lea"}}, Material.LEATHER_BOOTS));
|
||||
items.add(new ItemInfo("Chainmail Helmet", new String[][]{{"cap", "cha"}, {"hat", "cha"}, {"helm", "cha"}}, Material.CHAINMAIL_HELMET));
|
||||
items.add(new ItemInfo("Chainmail Chestplate", new String[][]{{"tun", "cha"}, {"ches", "cha"}}, Material.CHAINMAIL_CHESTPLATE));
|
||||
items.add(new ItemInfo("Chainmail Leggings", new String[][]{{"pan", "cha"}, {"trou", "cha"}, {"leg", "cha"}}, Material.CHAINMAIL_LEGGINGS));
|
||||
items.add(new ItemInfo("Chainmail Boots", new String[][]{{"boo", "cha"}}, Material.CHAINMAIL_BOOTS));
|
||||
items.add(new ItemInfo("Iron Helmet", new String[][]{{"cap", "ir"}, {"hat", "ir"}, {"helm", "ir"}}, Material.IRON_HELMET));
|
||||
items.add(new ItemInfo("Iron Chestplate", new String[][]{{"tun", "ir"}, {"ches", "ir"}}, Material.IRON_CHESTPLATE));
|
||||
items.add(new ItemInfo("Iron Leggings", new String[][]{{"pan", "ir"}, {"trou", "ir"}, {"leg", "ir"}}, Material.IRON_LEGGINGS));
|
||||
items.add(new ItemInfo("Iron Boots", new String[][]{{"boo", "ir"}}, Material.IRON_BOOTS));
|
||||
items.add(new ItemInfo("Diamond Helmet", new String[][]{{"cap", "dia"}, {"hat", "dia"}, {"helm", "dia"}}, Material.DIAMOND_HELMET));
|
||||
items.add(new ItemInfo("Diamond Chestplate", new String[][]{{"tun", "dia"}, {"ches", "dia"}}, Material.DIAMOND_CHESTPLATE));
|
||||
items.add(new ItemInfo("Diamond Leggings", new String[][]{{"pan", "dia"}, {"trou", "dia"}, {"leg", "dia"}}, Material.DIAMOND_LEGGINGS));
|
||||
items.add(new ItemInfo("Diamond Boots", new String[][]{{"boo", "dia"}}, Material.DIAMOND_BOOTS));
|
||||
items.add(new ItemInfo("Gold Helmet", new String[][]{{"cap", "go"}, {"hat", "go"}, {"helm", "go"}}, Material.GOLD_HELMET));
|
||||
items.add(new ItemInfo("Gold Chestplate", new String[][]{{"tun", "go"}, {"ches", "go"}}, Material.GOLD_CHESTPLATE));
|
||||
items.add(new ItemInfo("Gold Leggings", new String[][]{{"pan", "go"}, {"trou", "go"}, {"leg", "go"}}, Material.GOLD_LEGGINGS));
|
||||
items.add(new ItemInfo("Gold Boots", new String[][]{{"boo", "go"}}, Material.GOLD_BOOTS));
|
||||
items.add(new ItemInfo("Flint", new String[][]{{"flin"}}, Material.FLINT));
|
||||
items.add(new ItemInfo("Raw Porkchop", new String[][]{{"pork"}, {"ham"}}, Material.PORK));
|
||||
items.add(new ItemInfo("Cooked Porkchop", new String[][]{{"pork", "cook"}, {"baco"}}, Material.GRILLED_PORK));
|
||||
items.add(new ItemInfo("Paintings", new String[][]{{"paint"}}, Material.PAINTING));
|
||||
items.add(new ItemInfo("Golden Apple", new String[][]{{"appl", "go"}}, Material.GOLDEN_APPLE));
|
||||
items.add(new ItemInfo("Sign", new String[][]{{"sign"}}, Material.SIGN));
|
||||
items.add(new ItemInfo("Wooden Door", new String[][]{{"door", "wood"}, {"door"}}, Material.WOOD_DOOR));
|
||||
items.add(new ItemInfo("Bucket", new String[][]{{"buck"}, {"bukk"}}, Material.BUCKET));
|
||||
items.add(new ItemInfo("Water Bucket", new String[][]{{"water", "buck"}}, Material.WATER_BUCKET));
|
||||
items.add(new ItemInfo("Lava Bucket", new String[][]{{"lava", "buck"}}, Material.LAVA_BUCKET));
|
||||
items.add(new ItemInfo("Minecart", new String[][]{{"cart"}}, Material.MINECART));
|
||||
items.add(new ItemInfo("Saddle", new String[][]{{"sad"}, {"pig"}}, Material.SADDLE));
|
||||
items.add(new ItemInfo("Iron Door", new String[][]{{"door", "iron"}}, Material.IRON_DOOR));
|
||||
items.add(new ItemInfo("Redstone Dust", new String[][]{{"red", "ston", "dust"}, {"dust", "rs"}, {"dust", "red"}, {"reds"}}, Material.REDSTONE));
|
||||
items.add(new ItemInfo("Snowball", new String[][]{{"snow", "ball"}}, Material.SNOW_BALL));
|
||||
items.add(new ItemInfo("Boat", new String[][]{{"boat"}}, Material.BOAT));
|
||||
items.add(new ItemInfo("Leather", new String[][]{{"lea"}, {"hide"}}, Material.LEATHER));
|
||||
items.add(new ItemInfo("Milk Bucket", new String[][]{{"buck", "mil"}, {"milk"}}, Material.MILK_BUCKET));
|
||||
items.add(new ItemInfo("Clay Brick", new String[][]{{"bric", "cl"}, {"sin", "bric"}}, Material.CLAY_BRICK));
|
||||
items.add(new ItemInfo("Clay", new String[][]{{"clay"}}, Material.CLAY_BALL));
|
||||
items.add(new ItemInfo("Sugar Cane", new String[][]{{"reed"}, {"cane"}}, Material.SUGAR_CANE));
|
||||
items.add(new ItemInfo("Paper", new String[][]{{"pape"}}, Material.PAPER));
|
||||
items.add(new ItemInfo("Book", new String[][]{{"book"}}, Material.BOOK));
|
||||
items.add(new ItemInfo("Slimeball", new String[][]{{"slime"}}, Material.SLIME_BALL));
|
||||
items.add(new ItemInfo("Storage Minecart", new String[][]{{"cart", "sto"}, {"cart", "che"}, {"cargo"}}, Material.STORAGE_MINECART));
|
||||
items.add(new ItemInfo("Powered Minecart", new String[][]{{"cart", "pow"}, {"engine"}}, Material.POWERED_MINECART));
|
||||
items.add(new ItemInfo("Egg", new String[][]{{"egg"}}, Material.EGG));
|
||||
items.add(new ItemInfo("Compass", new String[][]{{"comp"}}, Material.COMPASS));
|
||||
items.add(new ItemInfo("Fishing Rod", new String[][]{{"rod"}, {"rod", "fish"}, {"pole", "fish"}}, Material.FISHING_ROD));
|
||||
items.add(new ItemInfo("Clock", new String[][]{{"cloc"}, {"watc"}}, Material.WATCH));
|
||||
items.add(new ItemInfo("Glowstone Dust", new String[][]{{"glow", "sto", "dus"}, {"glow", "dus"}, {"ligh", "dust"}}, Material.GLOWSTONE_DUST));
|
||||
items.add(new ItemInfo("Raw Fish", new String[][]{{"fish"}, {"fish", "raw"}}, Material.RAW_FISH));
|
||||
items.add(new ItemInfo("Cooked Fish", new String[][]{{"fish", "coo"}, {"kipper"}}, Material.COOKED_FISH));
|
||||
items.add(new ItemInfo("Ink Sac", new String[][]{{"ink"}, {"dye", "bla"}}, Material.INK_SACK));
|
||||
items.add(new ItemInfo("Red Dye", new String[][]{{"dye", "red"}, {"pain", "red"}, {"pet", "ros"}, {"pet", "red"}}, Material.INK_SACK, (short) 1));
|
||||
items.add(new ItemInfo("Cactus Green", new String[][]{{"cact", "gree"}, {"dye", "gree"}, {"pain", "gree"}}, Material.INK_SACK, (short) 2));
|
||||
items.add(new ItemInfo("Cocoa Beans", new String[][]{{"bean"}, {"choco"}, {"cocoa"}, {"dye", "bro"}, {"pain", "bro"}}, Material.INK_SACK, (short) 3));
|
||||
items.add(new ItemInfo("Lapis Lazuli", new String[][]{{"lapi", "lazu"}, {"dye", "lapi"}, {"dye", "blu"}, {"pain", "blu"}}, Material.INK_SACK, (short) 4));
|
||||
items.add(new ItemInfo("Purple Dye", new String[][]{{"dye", "pur"}, {"pain", "pur"}}, Material.INK_SACK, (short) 5));
|
||||
items.add(new ItemInfo("Cyan Dye", new String[][]{{"dye", "cya"}, {"pain", "cya"}}, Material.INK_SACK, (short) 6));
|
||||
items.add(new ItemInfo("Light Gray Dye", new String[][]{{"dye", "lig", "gra"}, {"dye", "lig", "grey"}, {"pain", "lig", "grey"}, {"pain", "lig", "grey"}}, Material.INK_SACK, (short) 7));
|
||||
items.add(new ItemInfo("Gray Dye", new String[][]{{"dye", "gra"}, {"dye", "grey"}, {"pain", "grey"}, {"pain", "grey"}}, Material.INK_SACK, (short) 8));
|
||||
items.add(new ItemInfo("Pink Dye", new String[][]{{"dye", "pin"}, {"pain", "pin"}}, Material.INK_SACK, (short) 9));
|
||||
items.add(new ItemInfo("Lime Dye", new String[][]{{"dye", "lim"}, {"pain", "lim"}, {"dye", "lig", "gree"}, {"pain", "lig", "gree"}}, Material.INK_SACK, (short) 10));
|
||||
items.add(new ItemInfo("Dandelion Yellow", new String[][]{{"dye", "yel"}, {"yel", "dan"}, {"pet", "dan"}, {"pet", "yel"}}, Material.INK_SACK, (short) 11));
|
||||
items.add(new ItemInfo("Light Blue Dye", new String[][]{{"dye", "lig", "blu"}, {"pain", "lig", "blu"}}, Material.INK_SACK, (short) 12));
|
||||
items.add(new ItemInfo("Magenta Dye", new String[][]{{"dye", "mag"}, {"pain", "mag"}}, Material.INK_SACK, (short) 13));
|
||||
items.add(new ItemInfo("Orange Dye", new String[][]{{"dye", "ora"}, {"pain", "ora"}}, Material.INK_SACK, (short) 14));
|
||||
items.add(new ItemInfo("Bone Meal", new String[][]{{"bonem"}, {"bone", "me"}, {"dye", "whi"}, {"pain", "whi"}}, Material.INK_SACK, (short) 15));
|
||||
items.add(new ItemInfo("Bone", new String[][]{{"bone"}, {"femur"}}, Material.BONE));
|
||||
items.add(new ItemInfo("Sugar", new String[][]{{"suga"}}, Material.SUGAR));
|
||||
items.add(new ItemInfo("Cake", new String[][]{{"cake"}}, Material.CAKE));
|
||||
items.add(new ItemInfo("Melon Slice", new String[][]{{"sli", "melo"}}, Material.MELON));
|
||||
items.add(new ItemInfo("Pumpkin Seed", new String[][]{{"seed", "pump"}}, Material.PUMPKIN_SEEDS));
|
||||
items.add(new ItemInfo("Melon Seed", new String[][]{{"seed", "melo"}}, Material.MELON_SEEDS));
|
||||
items.add(new ItemInfo("Raw Beef", new String[][]{{"beef", "raw"}}, Material.RAW_BEEF));
|
||||
items.add(new ItemInfo("Steak", new String[][]{{"steak"}, {"beef", "coo"}}, Material.COOKED_BEEF));
|
||||
items.add(new ItemInfo("Raw Chicken", new String[][]{{"chi", "raw"}}, Material.RAW_CHICKEN));
|
||||
items.add(new ItemInfo("Cooked Chicken", new String[][]{{"chi", "coo"}}, Material.COOKED_CHICKEN));
|
||||
items.add(new ItemInfo("Rotten Flesh", new String[][]{{"flesh"}, {"rott"}}, Material.ROTTEN_FLESH));
|
||||
items.add(new ItemInfo("Bed", new String[][]{{"bed"}}, Material.BED));
|
||||
items.add(new ItemInfo("Redstone Repeater", new String[][]{{"repe", "reds"}, {"diod"}, {"repeat"}}, Material.DIODE));
|
||||
items.add(new ItemInfo("Cookie", new String[][]{{"cooki"}}, Material.COOKIE));
|
||||
items.add(new ItemInfo("Map", new String[][]{{"map"}}, Material.MAP));
|
||||
items.add(new ItemInfo("Empty Map", new String[][]{{"empt", "ma"}}, Material.EMPTY_MAP));
|
||||
items.add(new ItemInfo("Shears", new String[][]{{"shea"}}, Material.SHEARS));
|
||||
items.add(new ItemInfo("Ender Pearl", new String[][]{{"end", "pear"}, {"pearl"}}, Material.ENDER_PEARL));
|
||||
items.add(new ItemInfo("Mycelium", new String[][]{{ "myc" }}, Material.MYCEL));
|
||||
items.add(new ItemInfo("Lily Pad", new String[][]{{"lil", "pad"}, {"lil", "wat"}}, Material.WATER_LILY));
|
||||
items.add(new ItemInfo("Cauldron Block", new String[][]{{ "bloc", "cauld"}}, Material.CAULDRON));
|
||||
items.add(new ItemInfo("Cauldron", new String[][]{{"cauld"}}, Material.CAULDRON_ITEM));
|
||||
items.add(new ItemInfo("Enchantment Table", new String[][]{{"ench", "tab"}}, Material.ENCHANTMENT_TABLE));
|
||||
items.add(new ItemInfo("Brewing Stand Block", new String[][] {{ "bloc", "brew", "stan" }, {"alch", "bloc"}}, Material.BREWING_STAND));
|
||||
items.add(new ItemInfo("Brewing Stand", new String[][] {{"brew", "stan"}, {"alch", "stand"}, {"alch", "tab"}}, Material.BREWING_STAND_ITEM));
|
||||
items.add(new ItemInfo("Nether Brick", new String[][] {{"neth", "bric"}}, Material.NETHER_BRICK));
|
||||
items.add(new ItemInfo("Nether Brick Stairs", new String[][] {{"neth", "stair"}, {"neth", "stai", "bric"}}, Material.NETHER_BRICK_STAIRS));
|
||||
items.add(new ItemInfo("Nether Brick Fence", new String[][]{{"neth", "fence"}, {"neth", "fence", "bric"}}, Material.NETHER_FENCE));
|
||||
items.add(new ItemInfo("Netherwarts", new String[][]{{"wart"}, {"neth", "war"}}, Material.NETHER_WARTS));
|
||||
items.add(new ItemInfo("Netherstalk", new String[][]{{"neth", "stalk"}}, Material.NETHER_STALK));
|
||||
items.add(new ItemInfo("End Portal", new String[][] {{"end", "port"}}, Material.ENDER_PORTAL));
|
||||
items.add(new ItemInfo("End Portal Frame", new String[][] {{"fram", "end", "port"}}, Material.ENDER_PORTAL_FRAME));
|
||||
items.add(new ItemInfo("End Stone", new String[][] {{"end", "ston"}}, Material.ENDER_STONE));
|
||||
items.add(new ItemInfo("Dragon Egg", new String[][] {{"drag", "egg"}}, Material.DRAGON_EGG));
|
||||
items.add(new ItemInfo("Blaze Rod", new String[][] {{"rod", "blaz"}}, Material.BLAZE_ROD));
|
||||
items.add(new ItemInfo("Ghast Tear", new String[][] {{"ghas", "tear"}}, Material.GHAST_TEAR));
|
||||
items.add(new ItemInfo("Gold Nugget", new String[][] {{"nugg", "gold"}}, Material.GOLD_NUGGET));
|
||||
items.add(new ItemInfo("Glass Bottle", new String[][] {{"bottl"}, {"glas", "bott"}, {"empt", "bott"}}, Material.GLASS_BOTTLE));
|
||||
items.add(new ItemInfo("Potion", new String[][] {{"potio"}}, Material.POTION));
|
||||
items.add(new ItemInfo("Water Bottle", new String[][] {{"wat", "bot"}}, Material.POTION, (short) 0));
|
||||
items.add(new ItemInfo("Awkward Potion", new String[][] {{"poti", "awk"}}, Material.POTION, (short) 16));
|
||||
items.add(new ItemInfo("Thick Potion", new String[][] {{"poti", "thic"}}, Material.POTION, (short) 32));
|
||||
items.add(new ItemInfo("Mundane Potion (Extended)", new String[][] {{"poti", "mund", "ext"}}, Material.POTION, (short) 64));
|
||||
items.add(new ItemInfo("Mundane Potion", new String[][] {{"poti", "mund"}}, Material.POTION, (short) 8192));
|
||||
items.add(new ItemInfo("Potion of Regeneration", new String[][] {{"poti", "rege"}}, Material.POTION, (short) 8193));
|
||||
items.add(new ItemInfo("Potion of Regeneration (Extended)", new String[][] {{"poti", "rege", "ext"}}, Material.POTION, (short) 8257));
|
||||
items.add(new ItemInfo("Potion of Regeneration II", new String[][] {{"poti", "rege", "2"}, {"poti", "rege", "ii"}}, Material.POTION, (short) 8225));
|
||||
items.add(new ItemInfo("Potion of Swiftness", new String[][] {{"poti", "swif"}, {"poti", "speed"}}, Material.POTION, (short) 8194));
|
||||
items.add(new ItemInfo("Potion of Swiftness (Extended)", new String[][] {{"poti", "swif", "ext"}, {"poti", "speed", "ext"}}, Material.POTION, (short) 8258));
|
||||
items.add(new ItemInfo("Potion of Swiftness II", new String[][] {{"poti", "swif", "2"}, {"poti", "swif", "ii"}, {"poti", "speed", "2"}, {"poti", "speed", "ii"}}, Material.POTION, (short) 8226));
|
||||
items.add(new ItemInfo("Potion of Fire Resistance", new String[][] {{"poti", "fire"}}, Material.POTION, (short) 8195));
|
||||
items.add(new ItemInfo("Potion of Fire Resistance (Extended)", new String[][] {{"poti", "fire", "ext"}}, Material.POTION, (short) 8259));
|
||||
items.add(new ItemInfo("Potion of Fire Resistance (Reverted)", new String[][] {{"poti", "fire", "rev"}}, Material.POTION, (short) 8227));
|
||||
items.add(new ItemInfo("Potion of Healing", new String[][] {{"poti", "heal"}}, Material.POTION, (short) 8197));
|
||||
items.add(new ItemInfo("Potion of Healing (Reverted)", new String[][] {{"poti", "heal", "rev"}}, Material.POTION, (short) 8261));
|
||||
items.add(new ItemInfo("Potion of Healing II", new String[][] {{"poti", "heal", "2"}, {"poti", "heal", "ii"}}, Material.POTION, (short) 8229));
|
||||
items.add(new ItemInfo("Potion of Strength", new String[][] {{"poti", "str"}}, Material.POTION, (short) 8201));
|
||||
items.add(new ItemInfo("Potion of Strength (Extended)", new String[][] {{"poti", "str", "ext"}}, Material.POTION, (short) 8265));
|
||||
items.add(new ItemInfo("Potion of Strength II", new String[][] {{"poti", "str", "2"}, {"poti", "str", "ii"}}, Material.POTION, (short) 8233));
|
||||
items.add(new ItemInfo("Potion of Poison", new String[][] {{"poti", "pois"}}, Material.POTION, (short) 8196));
|
||||
items.add(new ItemInfo("Potion of Poison (Extended)", new String[][] {{"poti", "pois", "ext"}}, Material.POTION, (short) 8260));
|
||||
items.add(new ItemInfo("Potion of Poison II", new String[][] {{"poti", "pois", "2"}, {"poti", "pois", "ii"}}, Material.POTION, (short) 8228));
|
||||
items.add(new ItemInfo("Potion of Weakness", new String[][] {{"poti", "weak"}}, Material.POTION, (short) 8200));
|
||||
items.add(new ItemInfo("Potion of Weakness (Extended)", new String[][] {{"poti", "weak", "ext"}}, Material.POTION, (short) 8264));
|
||||
items.add(new ItemInfo("Potion of Weakness (Reverted)", new String[][] {{"poti", "weak", "rev"}}, Material.POTION, (short) 8232));
|
||||
items.add(new ItemInfo("Potion of Slowness", new String[][] {{"poti", "slow"}}, Material.POTION, (short) 8202));
|
||||
items.add(new ItemInfo("Potion of Slowness (Extended)", new String[][] {{"poti", "slow", "ext"}}, Material.POTION, (short) 8266));
|
||||
items.add(new ItemInfo("Potion of Slowness (Reverted)", new String[][] {{"poti", "slow", "rev"}}, Material.POTION, (short) 8234));
|
||||
items.add(new ItemInfo("Potion of Harming", new String[][] {{"poti", "harm"}}, Material.POTION, (short) 8204));
|
||||
items.add(new ItemInfo("Potion of Harming (Reverted)", new String[][] {{"poti", "harm", "rev"}}, Material.POTION, (short) 8268));
|
||||
items.add(new ItemInfo("Potion of Harming II", new String[][] {{"poti", "harm", "2"}, {"poti", "harm", "ii"}}, Material.POTION, (short) 8236));
|
||||
items.add(new ItemInfo("Splash Mundane Potion", new String[][] {{"poti", "mund", "spl"}}, Material.POTION, (short) 16384));
|
||||
items.add(new ItemInfo("Splash Potion of Regeneration", new String[][] {{"poti", "rege", "spl"}}, Material.POTION, (short) 16385));
|
||||
items.add(new ItemInfo("Splash Potion of Regeneration (Extended)", new String[][] {{"poti", "rege", "spl", "ext"}}, Material.POTION, (short) 16449));
|
||||
items.add(new ItemInfo("Splash Potion of Regeneration II", new String[][] {{"poti", "rege", "spl", "2"}, {"poti", "rege", "spl", "ii"}}, Material.POTION, (short) 16417));
|
||||
items.add(new ItemInfo("Splash Potion of Swiftness", new String[][] {{"poti", "swif", "spl"}, {"poti", "speed", "spl"}}, Material.POTION, (short) 16386));
|
||||
items.add(new ItemInfo("Splash Potion of Swiftness (Extended)", new String[][] {{"poti", "swif", "spl", "ext"}, {"poti", "speed", "spl", "ext"}}, Material.POTION, (short) 16450));
|
||||
items.add(new ItemInfo("Splash Potion of Swiftness II", new String[][] {{"poti", "swif", "spl", "2"}, {"poti", "swif", "spl", "ii"}, {"poti", "speed", "spl", "2"}, {"poti", "speed", "spl", "ii"}}, Material.POTION, (short) 16418));
|
||||
items.add(new ItemInfo("Splash Potion of Fire Resistance", new String[][] {{"poti", "fire", "spl"}}, Material.POTION, (short) 16387));
|
||||
items.add(new ItemInfo("Splash Potion of Fire Resistance (Extended)", new String[][] {{"poti", "fire", "spl", "ext"}}, Material.POTION, (short) 16451));
|
||||
items.add(new ItemInfo("Splash Potion of Fire Resistance (Reverted)", new String[][] {{"poti", "fire", "spl", "rev"}}, Material.POTION, (short) 16419));
|
||||
items.add(new ItemInfo("Splash Potion of Healing", new String[][] {{"poti", "heal", "spl"}}, Material.POTION, (short) 16389));
|
||||
items.add(new ItemInfo("Splash Potion of Healing (Reverted)", new String[][] {{"poti", "heal", "spl", "rev"}}, Material.POTION, (short) 16453));
|
||||
items.add(new ItemInfo("Splash Potion of Healing II", new String[][] {{"poti", "heal", "spl", "2"}, {"poti", "heal", "spl", "ii"}}, Material.POTION, (short) 16421));
|
||||
items.add(new ItemInfo("Splash Potion of Strength", new String[][] {{"poti", "str", "spl"}}, Material.POTION, (short) 16393));
|
||||
items.add(new ItemInfo("Splash Potion of Strength (Extended)", new String[][] {{"poti", "str", "spl", "ext"}}, Material.POTION, (short) 16457));
|
||||
items.add(new ItemInfo("Splash Potion of Strength II", new String[][] {{"poti", "str", "spl", "2"}, {"poti", "str", "spl", "ii"}}, Material.POTION, (short) 16425));
|
||||
items.add(new ItemInfo("Splash Potion of Poison", new String[][] {{"poti", "pois", "spl"}}, Material.POTION, (short) 16388));
|
||||
items.add(new ItemInfo("Splash Potion of Poison (Extended)", new String[][] {{"poti", "pois", "spl", "ext"}}, Material.POTION, (short) 16452));
|
||||
items.add(new ItemInfo("Splash Potion of Poison II", new String[][] {{"poti", "pois", "spl", "2"}, {"poti", "pois", "spl", "ii"}}, Material.POTION, (short) 16420));
|
||||
items.add(new ItemInfo("Splash Potion of Weakness", new String[][] {{"poti", "weak", "spl"}}, Material.POTION, (short) 16392));
|
||||
items.add(new ItemInfo("Splash Potion of Weakness (Extended)", new String[][] {{"poti", "weak", "spl", "ext"}}, Material.POTION, (short) 16456));
|
||||
items.add(new ItemInfo("Splash Potion of Weakness (Reverted)", new String[][] {{"poti", "weak", "spl", "rev"}}, Material.POTION, (short) 16424));
|
||||
items.add(new ItemInfo("Splash Potion of Slowness", new String[][] {{"poti", "slow", "spl"}}, Material.POTION, (short) 16394));
|
||||
items.add(new ItemInfo("Splash Potion of Slowness (Extended)", new String[][] {{"poti", "slow", "spl", "ext"}}, Material.POTION, (short) 16458));
|
||||
items.add(new ItemInfo("Splash Potion of Slowness (Reverted)", new String[][] {{"poti", "slow", "spl", "rev"}}, Material.POTION, (short) 16426));
|
||||
items.add(new ItemInfo("Splash Potion of Harming", new String[][] {{"poti", "harm", "spl"}}, Material.POTION, (short) 16396));
|
||||
items.add(new ItemInfo("Splash Potion of Harming (Reverted)", new String[][] {{"poti", "harm", "spl", "rev"}}, Material.POTION, (short) 16460));
|
||||
items.add(new ItemInfo("Splash Potion of Harming II", new String[][] {{"poti", "harm", "spl", "2"}, {"poti", "harm", "spl", "ii"}}, Material.POTION, (short) 16428));
|
||||
items.add(new ItemInfo("Spider Eye", new String[][] {{"spid", "eye"}}, Material.SPIDER_EYE));
|
||||
items.add(new ItemInfo("Fermented Spider Eye", new String[][] {{"ferm", "spid", "eye"}}, Material.FERMENTED_SPIDER_EYE));
|
||||
items.add(new ItemInfo("Blaze Powder", new String[][] {{"powd", "blaz"}}, Material.BLAZE_POWDER));
|
||||
items.add(new ItemInfo("Magma Cream", new String[][] {{"crea", "magm"}}, Material.MAGMA_CREAM));
|
||||
items.add(new ItemInfo("Eye of Ender", new String[][] {{"end", "ey"}}, Material.EYE_OF_ENDER));
|
||||
items.add(new ItemInfo("Glistering Melon", new String[][] {{"melo", "glis"}}, Material.SPECKLED_MELON));
|
||||
items.add(new ItemInfo("Spawn Egg", new String[][] {{"spaw", "egg"}}, Material.MONSTER_EGG));
|
||||
items.add(new ItemInfo("Creeper Spawn Egg", new String[][] {{"creep", "egg"}}, Material.MONSTER_EGG, (short) 50));
|
||||
items.add(new ItemInfo("Skeleton Spawn Egg", new String[][] {{"skele", "egg"}}, Material.MONSTER_EGG, (short) 51));
|
||||
items.add(new ItemInfo("Spider Spawn Egg", new String[][] {{"spider", "egg"}}, Material.MONSTER_EGG, (short) 52));
|
||||
items.add(new ItemInfo("Zombie Spawn Egg", new String[][] {{"zombie", "egg"}}, Material.MONSTER_EGG, (short) 54));
|
||||
items.add(new ItemInfo("Slime Spawn Egg", new String[][] {{"slime", "egg"}}, Material.MONSTER_EGG, (short) 55));
|
||||
items.add(new ItemInfo("Ghast Spawn Egg", new String[][] {{"ghast", "egg"}}, Material.MONSTER_EGG, (short) 56));
|
||||
items.add(new ItemInfo("Zombie Pigman Spawn Egg", new String[][] {{"zomb", "pig", "egg"}}, Material.MONSTER_EGG, (short) 57));
|
||||
items.add(new ItemInfo("Enderman Spawn Egg", new String[][] {{"end", "man", "egg"}}, Material.MONSTER_EGG, (short) 58));
|
||||
items.add(new ItemInfo("Cave Spider Spawn Egg", new String[][] {{"cav", "spid", "egg"}}, Material.MONSTER_EGG, (short) 59));
|
||||
items.add(new ItemInfo("Silverfish Spawn Egg", new String[][] {{"silv", "fish", "egg"}}, Material.MONSTER_EGG, (short) 60));
|
||||
items.add(new ItemInfo("Blaze Spawn Egg", new String[][] {{"blaze", "egg"}}, Material.MONSTER_EGG, (short) 61));
|
||||
items.add(new ItemInfo("Magma Cube Spawn Egg", new String[][] {{"mag", "cub", "egg"}, {"neth", "slim", "egg"}}, Material.MONSTER_EGG, (short)62));
|
||||
items.add(new ItemInfo("Pig Spawn Egg", new String[][] {{"pig", "spa", "egg"}, {"pig", "egg"}}, Material.MONSTER_EGG, (short) 90));
|
||||
items.add(new ItemInfo("Sheep Spawn Egg", new String[][] {{"sheep", "egg"}}, Material.MONSTER_EGG, (short) 91));
|
||||
items.add(new ItemInfo("Cow Spawn Egg", new String[][] {{"cow", "spa", "egg"}, {"cow", "egg"}}, Material.MONSTER_EGG, (short) 92));
|
||||
items.add(new ItemInfo("Chicken Spawn Egg", new String[][] {{"chick", "egg"}}, Material.MONSTER_EGG, (short) 93));
|
||||
items.add(new ItemInfo("Squid Spawn Egg", new String[][] {{"squi", "spa", "egg"},{"squi", "egg"}}, Material.MONSTER_EGG, (short) 94));
|
||||
items.add(new ItemInfo("Wolf Spawn Egg", new String[][] {{"wolf", "spa", "egg"}, {"wolf", "egg"}}, Material.MONSTER_EGG, (short) 95));
|
||||
items.add(new ItemInfo("Mooshroom Spawn Egg", new String[][] {{"moo", "room", "egg"}, {"mush", "cow", "egg"}}, Material.MONSTER_EGG, (short) 96));
|
||||
items.add(new ItemInfo("Ocelot Spawn Egg", new String[][] {{"ocelo", "egg"}, {"ozelo", "egg"}}, Material.MONSTER_EGG, (short) 98));
|
||||
items.add(new ItemInfo("Villager Spawn Egg", new String[][] {{"villa", "egg"}}, Material.MONSTER_EGG, (short) 120));
|
||||
items.add(new ItemInfo("Bottle 'o Enchanting", new String[][] {{"bot", "ench"}, {"bot", "xp"}}, Material.EXP_BOTTLE));
|
||||
items.add(new ItemInfo("Fire Charge", new String[][] {{"fir", "char"}}, Material.FIREBALL));
|
||||
items.add(new ItemInfo("13 Disc", new String[][]{{"dis", "gol"}, {"rec", "gol"}, {"13", "disc"}, {"13", "reco"}}, Material.GOLD_RECORD));
|
||||
items.add(new ItemInfo("cat Disc", new String[][]{{"dis", "gre"}, {"rec", "gre"}, {"cat", "disc"}, {"cat", "reco"}}, Material.GREEN_RECORD));
|
||||
items.add(new ItemInfo("blocks Disc", new String[][] {{"block", "disc"}, {"block", "reco"}, {"3", "disc"}, {"3", "reco"}}, Material.RECORD_3));
|
||||
items.add(new ItemInfo("chirp Disc", new String[][] {{"chirp", "disc"}, {"chirp", "reco"}, {"4", "disc"}, {"4", "reco"}}, Material.RECORD_4));
|
||||
items.add(new ItemInfo("far Disc", new String[][] {{"far", "disc"}, {"far", "reco"}, {"5", "disc"}, {"5", "reco"}}, Material.RECORD_5));
|
||||
items.add(new ItemInfo("mall Disc", new String[][] {{"mall", "disc"}, {"mall", "reco"}, {"6", "disc"}, {"6", "reco"}}, Material.RECORD_6));
|
||||
items.add(new ItemInfo("mellohi Disc", new String[][] {{"mello", "disc"}, {"mello", "reco"}, {"7", "disc"}, {"7", "reco"}}, Material.RECORD_7));
|
||||
items.add(new ItemInfo("stahl Disc", new String[][] {{"stahl", "disc"}, {"stahl", "reco"}, {"8", "disc"}, {"8", "reco"}}, Material.RECORD_8));
|
||||
items.add(new ItemInfo("strad Disc", new String[][] {{"strad", "disc"}, {"strad", "reco"}, {"9", "disc"}, {"9", "reco"}}, Material.RECORD_9));
|
||||
items.add(new ItemInfo("ward Disc", new String[][] {{"ward", "disc"}, {"ward", "reco"}, {"10", "disc"}, {"10", "reco"}}, Material.RECORD_10));
|
||||
items.add(new ItemInfo("11 Disc", new String[][] {{"11", "disc"}, {"11", "reco"}}, Material.RECORD_11));
|
||||
items.add(new ItemInfo("wait Disc", new String[][] {{"12", "disc"}, {"wait", "disc"}, {"12", "reco"}, {"wait", "reco"}}, Material.RECORD_12));
|
||||
items.add(new ItemInfo("Redstone Lamp", new String[][] {{"lamp"}, {"lamp", "redst"}}, Material.REDSTONE_LAMP_OFF));
|
||||
items.add(new ItemInfo("Redstone Torch Off", new String[][] {{"off", "red", "sto", "tor"}}, Material.REDSTONE_TORCH_OFF));
|
||||
//1.3 Blocks & Items
|
||||
items.add(new ItemInfo("Emerald Ore", new String[][]{{"emer", "ore"}}, Material.EMERALD_ORE));
|
||||
items.add(new ItemInfo("Emerald", new String[][]{{"emer"}}, Material.EMERALD));
|
||||
items.add(new ItemInfo("Emerald Block", new String[][]{{"emer", "blo"}}, Material.EMERALD_BLOCK));
|
||||
items.add(new ItemInfo("Ender Chest", new String[][]{{"end", "ches"}}, Material.ENDER_CHEST));
|
||||
items.add(new ItemInfo("Tripwire Hook", new String[][]{{"hoo", "trip"}}, Material.TRIPWIRE_HOOK));
|
||||
items.add(new ItemInfo("Tripwire", new String[][]{{"trip"}}, Material.TRIPWIRE));
|
||||
items.add(new ItemInfo("Sandstone Stair", new String[][]{{"stair", "sand", "sto"}, {"stair", "sand"}}, Material.SANDSTONE_STAIRS));
|
||||
items.add(new ItemInfo("Double Oak Slab", new String[][]{{"doub", "slab", "oak"}, {"doub", "step", "oak"}}, Material.WOOD_DOUBLE_STEP));
|
||||
items.add(new ItemInfo("Double Spruce Slab", new String[][]{{"doub", "slab", "spru"}, {"doub", "step", "spru"}}, Material.WOOD_DOUBLE_STEP, (short) 1));
|
||||
items.add(new ItemInfo("Double Birch Slab", new String[][]{{"doub", "slab", "birc"}, {"doub", "step", "birc"}}, Material.WOOD_DOUBLE_STEP, (short) 2));
|
||||
items.add(new ItemInfo("Double Jungle Wood Slab", new String[][]{{"doub", "slab", "jungl"}, {"doub", "step", "jung"}}, Material.WOOD_DOUBLE_STEP, (short) 3));
|
||||
items.add(new ItemInfo("Oak Slab", new String[][]{{"slab", "oak"}, {"step", "oak"}}, Material.WOOD_STEP));
|
||||
items.add(new ItemInfo("Spruce Slab", new String[][]{{"slab", "spru"}, {"step", "spru"}}, Material.WOOD_STEP, (short) 1));
|
||||
items.add(new ItemInfo("Birch Slab", new String[][]{{"slab", "birc"}, {"step", "birc"}}, Material.WOOD_STEP, (short) 2));
|
||||
items.add(new ItemInfo("Jungle Wood Slab", new String[][]{{"jung", "wood", "sla"}, {"slab", "jung"}, {"step", "jung"}}, Material.WOOD_STEP, (short) 3));
|
||||
items.add(new ItemInfo("Book and Quill", new String[][]{{"qui", "book"}}, Material.BOOK_AND_QUILL));
|
||||
items.add(new ItemInfo("Written Book", new String[][]{{"wri", "book"}}, Material.WRITTEN_BOOK));
|
||||
items.add(new ItemInfo("Cocoa Pod", new String[][]{{"coco"}, {"coc", "pod"}}, Material.COCOA));
|
||||
//1.4 Blocks & Items
|
||||
items.add(new ItemInfo("Command Block", new String[][]{{"comm"}}, Material.COMMAND));
|
||||
items.add(new ItemInfo("Beacon Block", new String[][]{{"beac"}}, Material.BEACON));
|
||||
items.add(new ItemInfo("Anvil", new String[][]{{"anv"}}, Material.ANVIL));
|
||||
items.add(new ItemInfo("Slightly Damaged Anvil", new String[][]{{"dam", "anv"}, {"sli", "anv"}}, Material.ANVIL, (short) 1));
|
||||
items.add(new ItemInfo("Very Damaged Anvil", new String[][]{{"ver", "dam", "anv"}, {"ver", "anv"}}, Material.ANVIL, (short) 2));
|
||||
items.add(new ItemInfo("Flower Pot Block", new String[][]{{"blo", "flow", "pot"}}, Material.FLOWER_POT));
|
||||
items.add(new ItemInfo("Flower Pot", new String[][]{{"flow", "pot"}}, Material.FLOWER_POT_ITEM));
|
||||
items.add(new ItemInfo("Cobblestone Wall", new String[][]{{"cobble", "wall"}}, Material.COBBLE_WALL));
|
||||
items.add(new ItemInfo("Mossy Cobblestone Wall", new String[][]{{"mos", "cob", "wall"}}, Material.COBBLE_WALL, (short) 1));
|
||||
items.add(new ItemInfo("Item Frame", new String[][]{{"fram"}}, Material.ITEM_FRAME));
|
||||
items.add(new ItemInfo("Skeleton Skull", new String[][]{{"skel", "skul"}, {"skel", "hea"}}, Material.SKULL_ITEM));
|
||||
items.add(new ItemInfo("Wither Skeleton Skull", new String[][]{{"wither", "skul"}, {"with", "hea"}}, Material.SKULL_ITEM, (short) 1));
|
||||
items.add(new ItemInfo("Zombie Head", new String[][]{{"zomb", "hea"}, {"zomb", "skul"}}, Material.SKULL_ITEM, (short) 2));
|
||||
items.add(new ItemInfo("Human Head", new String[][]{{"huma", "skul"}, {"huma", "hea"}}, Material.SKULL_ITEM, (short) 3));
|
||||
items.add(new ItemInfo("Creeper Head", new String[][]{{"cree", "skul"}, {"cree", "hea"}}, Material.SKULL_ITEM, (short) 4));
|
||||
items.add(new ItemInfo("Carrot", new String[][]{{"carro"}}, Material.CARROT_ITEM));
|
||||
items.add(new ItemInfo("Golden Carrot", new String[][]{{"carr", "gol"}}, Material.GOLDEN_CARROT));
|
||||
items.add(new ItemInfo("Carrot Block", new String[][]{{"blo", "carr"}}, Material.CARROT));
|
||||
items.add(new ItemInfo("Carrot on a Stick", new String[][]{{"sti", "carr"}}, Material.CARROT_STICK));
|
||||
items.add(new ItemInfo("Potato", new String[][]{{"pota"}}, Material.POTATO_ITEM));
|
||||
items.add(new ItemInfo("Potato Block", new String[][]{{"blo", "pota"}}, Material.POTATO));
|
||||
items.add(new ItemInfo("Baked Potato", new String[][]{{"pota", "bak"}}, Material.BAKED_POTATO));
|
||||
items.add(new ItemInfo("Poisonous Potato", new String[][]{{"pota", "poi"}}, Material.POISONOUS_POTATO));
|
||||
items.add(new ItemInfo("Wood Button", new String[][]{{"woo", "butto"}}, Material.WOOD_BUTTON));
|
||||
items.add(new ItemInfo("Pumpkin Pie", new String[][]{{"pie"}, {"pumpk", "pie"}}, Material.PUMPKIN_PIE));
|
||||
items.add(new ItemInfo("Potion of Invisibility", new String[][] {{"poti", "invi"}}, Material.POTION, (short) 8206));
|
||||
items.add(new ItemInfo("Potion of Invisibility (Extended)", new String[][] {{"poti", "invi", "ext"}}, Material.POTION, (short) 8270));
|
||||
items.add(new ItemInfo("Potion of Night Vision", new String[][] {{"poti", "nigh", "visi"}, {"poti", "visio"}}, Material.POTION, (short) 8198));
|
||||
items.add(new ItemInfo("Potion of Night Vision (Extended)", new String[][] {{"poti", "nigh", "visi", "ext"}, {"poti", "visio", "ext"}}, Material.POTION, (short) 8262));
|
||||
items.add(new ItemInfo("Enchanted Book", new String[][]{{"ench", "boo"}}, Material.ENCHANTED_BOOK));
|
||||
items.add(new ItemInfo("Nether Star", new String[][]{{"star", "neth"}}, Material.NETHER_STAR));
|
||||
items.add(new ItemInfo("Firework Star", new String[][]{{"fire", "star"}}, Material.FIREWORK_CHARGE));
|
||||
items.add(new ItemInfo("Firework Rocket", new String[][]{{"rocket"}, {"firework"}}, Material.FIREWORK));
|
||||
items.add(new ItemInfo("White Firework Star", new String[][]{{"whi", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 1));
|
||||
items.add(new ItemInfo("Orange Firework Star", new String[][]{{"ora", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 2));
|
||||
items.add(new ItemInfo("Magenta Firework Star", new String[][]{{"mag", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 3));
|
||||
items.add(new ItemInfo("Light Blue Firework Star", new String[][]{{"blu", "lig", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 4));
|
||||
items.add(new ItemInfo("Yellow Firework Star", new String[][]{{"yell", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 5));
|
||||
items.add(new ItemInfo("Lime Firework Star", new String[][]{{"lim", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 6));
|
||||
items.add(new ItemInfo("Pink Firework Star", new String[][]{{"pin", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 7));
|
||||
items.add(new ItemInfo("Gray Firework Star", new String[][]{{"gra", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 8));
|
||||
items.add(new ItemInfo("Light Gray Firework Star", new String[][]{{"lig", "gra", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 9));
|
||||
items.add(new ItemInfo("Cyan Firework Star", new String[][]{{"cya", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 10));
|
||||
items.add(new ItemInfo("Purple Firework Star", new String[][]{{"pur", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 11));
|
||||
items.add(new ItemInfo("Blue Firework Star", new String[][]{{"blue", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 12));
|
||||
items.add(new ItemInfo("Brown Firework Star", new String[][]{{"bro", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 13));
|
||||
items.add(new ItemInfo("Green Firework Star", new String[][]{{"gre", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 14));
|
||||
items.add(new ItemInfo("Red Firework Star", new String[][]{{"red", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 15));
|
||||
items.add(new ItemInfo("Black Firework Star", new String[][]{{"bla", "fire", "star"}}, Material.FIREWORK_CHARGE, (short) 16));
|
||||
items.add(new ItemInfo("Dead Bush", new String[][]{{"dea", "bush"}}, Material.DEAD_BUSH));
|
||||
items.add(new ItemInfo("Nether Brick Slab", new String[][]{{"sla", "net", "bri"}, {"step", "net", "bri"}}, Material.STEP, (short) 6));
|
||||
//1.5 Blocks & Items
|
||||
items.add(new ItemInfo("Activator Rail", new String[][]{{"rail", "acti"}, {"trac", "acti"}, {"activ"}}, Material.ACTIVATOR_RAIL));
|
||||
items.add(new ItemInfo("Block of Redstone", new String[][]{{"block", "red"}, {"block", "rs"}}, Material.REDSTONE_BLOCK));
|
||||
items.add(new ItemInfo("Daylight Sensor", new String[][]{{"day", "sen"}, {"ligh", "sen"}}, Material.DAYLIGHT_DETECTOR));
|
||||
items.add(new ItemInfo("Dropper", new String[][]{{"drop"}}, Material.DROPPER));
|
||||
items.add(new ItemInfo("Hopper", new String[][]{{"hop", "item"}, {"hop"}}, Material.HOPPER));
|
||||
items.add(new ItemInfo("Explosive Minecart", new String[][]{{"cart", "tnt"}, {"cart", "exp"}}, Material.EXPLOSIVE_MINECART));
|
||||
items.add(new ItemInfo("Hopper Minecart", new String[][]{{"cart", "hop"}, {"hop"}}, Material.HOPPER_MINECART));
|
||||
items.add(new ItemInfo("Redstone Comparator", new String[][]{{"rs", "compara"}, {"red", "comparat"}, {"comparat"}}, Material.REDSTONE_COMPARATOR));
|
||||
items.add(new ItemInfo("Trapped Chest", new String[][]{{"tra", "ches"}}, Material.TRAPPED_CHEST));
|
||||
items.add(new ItemInfo("Nether Brick Item", new String[][]{{"neth", "bric", "it"}}, Material.NETHER_BRICK_ITEM));
|
||||
items.add(new ItemInfo("Nether Quartz", new String[][]{{"neth", "qua"}, {"qua"}}, Material.QUARTZ));
|
||||
items.add(new ItemInfo("Nether Quartz Ore", new String[][]{{"neth", "qua", "ore"}, {"qua", "ore"}}, Material.QUARTZ_ORE));
|
||||
items.add(new ItemInfo("Quartz Block", new String[][]{{"qua", "blo"}}, Material.QUARTZ_BLOCK));
|
||||
items.add(new ItemInfo("Quartz Slab", new String[][]{{"qua", "slab"}, {"qua", "step"}}, Material.STEP, (short) 7));
|
||||
items.add(new ItemInfo("Quartz Double Slab", new String[][]{{"qua", "dou", "sla"}, {"qua", "dou", "step"}}, Material.DOUBLE_STEP, (short) 7));
|
||||
items.add(new ItemInfo("Quartz Stairs", new String[][]{{"qua", "stair"}}, Material.QUARTZ_STAIRS));
|
||||
items.add(new ItemInfo("Chiseled Quartz", new String[][]{{"qua", "chis"}}, Material.QUARTZ_BLOCK, (short) 1));
|
||||
items.add(new ItemInfo("Quartz Pillar", new String[][]{{"qua", "pil"}}, Material.QUARTZ_BLOCK, (short) 2));
|
||||
items.add(new ItemInfo("Weighted Gold Plate", new String[][]{{"wei", "plat", "gol"}, {"pres", "plat", "gol"}}, Material.GOLD_PLATE));
|
||||
items.add(new ItemInfo("Weighted Iron Plate", new String[][]{{"wei", "plat", "iro"}, {"pres", "plat", "iro"}}, Material.IRON_PLATE));
|
||||
//1.6 Blocks and Items
|
||||
items.add(new ItemInfo("Horse Spawn Egg", new String[][] {{"horse", "egg"}}, Material.MONSTER_EGG, (short) 100));
|
||||
items.add(new ItemInfo("Diamond Horse Armor", new String[][] {{"dia", "horse", "arm"}, {"dia", "bard"}}, Material.DIAMOND_BARDING));
|
||||
items.add(new ItemInfo("Gold Horse Armor", new String[][] {{"gold", "horse", "arm"}, {"gold", "bard"}}, Material.GOLD_BARDING));
|
||||
items.add(new ItemInfo("Iron Horse Armor", new String[][] {{"iron", "horse", "arm"}, {"iron", "bard"}}, Material.IRON_BARDING));
|
||||
items.add(new ItemInfo("Leash", new String[][] {{"leas"}, {"lead"}}, Material.LEASH));
|
||||
items.add(new ItemInfo("Hay Bale", new String[][] {{"hay", "bale"}, {"hay", "block"}}, Material.HAY_BLOCK));
|
||||
items.add(new ItemInfo("Name Tag", new String[][] {{"name", "tag"}}, Material.NAME_TAG));
|
||||
items.add(new ItemInfo("Hardened Clay", new String[][]{{"hard", "clay"}}, Material.HARD_CLAY));
|
||||
items.add(new ItemInfo("Block of Coal", new String[][]{{"coal", "block"}}, Material.COAL_BLOCK));
|
||||
items.add(new ItemInfo("White Stained Clay", new String[][]{{"clay", "whit"}, {"stai", "clay"}, {"whi", "stain", "cla"}}, Material.STAINED_CLAY));
|
||||
items.add(new ItemInfo("Orange Stained Clay", new String[][]{{"clay", "ora"}, {"ora", "stain", "cla"}}, Material.STAINED_CLAY, (short) 1));
|
||||
items.add(new ItemInfo("Magenta Stained Clay", new String[][]{{"clay", "mag"}, {"mag", "stain", "cla"}}, Material.STAINED_CLAY, (short) 2));
|
||||
items.add(new ItemInfo("Light Blue Stained Clay", new String[][]{{"clay", "lig", "blue"}, {"lig", "blu", "stain", "cla"}}, Material.STAINED_CLAY, (short) 3));
|
||||
items.add(new ItemInfo("Yellow Stained Clay", new String[][]{{"clay", "yell"}, {"yell", "stain", "cla"}}, Material.STAINED_CLAY, (short) 4));
|
||||
items.add(new ItemInfo("Lime Stained Clay", new String[][]{{"clay", "lig", "gree"}, {"clay", "lime"}, {"lime", "stain", "cla"}}, Material.STAINED_CLAY, (short) 5));
|
||||
items.add(new ItemInfo("Pink Stained Clay", new String[][]{{"clay", "pink"}, {"pink", "stain", "cla"}}, Material.STAINED_CLAY, (short) 6));
|
||||
items.add(new ItemInfo("Gray Stained Clay", new String[][]{{"clay", "gray"}, {"clay", "grey"}, {"gra", "stain", "cla"}, {"gre", "stain", "cla"}}, Material.STAINED_CLAY, (short) 7));
|
||||
items.add(new ItemInfo("Light Gray Stained Clay", new String[][]{{"lig", "clay", "gra"}, {"lig", "clay", "gre"}, {"lig", "gra", "stain", "cla"}}, Material.STAINED_CLAY, (short) 8));
|
||||
items.add(new ItemInfo("Cyan Stained Clay", new String[][]{{"clay", "cya"}, {"cya", "stain", "cla"}}, Material.STAINED_CLAY, (short) 9));
|
||||
items.add(new ItemInfo("Purple Stained Clay", new String[][]{{"clay", "pur"}, {"pur", "stain", "cla"}}, Material.STAINED_CLAY, (short) 10));
|
||||
items.add(new ItemInfo("Blue Stained Clay", new String[][]{{"clay", "blue"}, {"blue", "stain", "cla"}}, Material.STAINED_CLAY, (short) 11));
|
||||
items.add(new ItemInfo("Brown Stained Clay", new String[][]{{"clay", "brown"}, {"brown", "stain", "cla"}}, Material.STAINED_CLAY, (short) 12));
|
||||
items.add(new ItemInfo("Green Stained Clay", new String[][]{{"clay", "gree"}, {"gree", "stain", "cla"}}, Material.STAINED_CLAY, (short) 13));
|
||||
items.add(new ItemInfo("Red Stained Clay", new String[][]{{"clay", "red"}, {"red", "stain", "cla"}}, Material.STAINED_CLAY, (short) 14));
|
||||
items.add(new ItemInfo("Black Stained Clay", new String[][]{{"clay", "bla"}, {"bla", "stain", "cla"}}, Material.STAINED_CLAY, (short) 15));
|
||||
items.add(new ItemInfo("White Carpet", new String[][]{{"carpet", "whit"}, {"carpet"}}, Material.CARPET));
|
||||
items.add(new ItemInfo("Orange Carpet", new String[][]{{"carpet", "ora"}}, Material.CARPET, (short) 1));
|
||||
items.add(new ItemInfo("Magenta Carpet", new String[][]{{"carpet", "mag"}}, Material.CARPET, (short) 2));
|
||||
items.add(new ItemInfo("Light Blue Carpet", new String[][]{{"carpet", "lig", "blue"}}, Material.CARPET, (short) 3));
|
||||
items.add(new ItemInfo("Yellow Carpet", new String[][]{{"carpet", "yell"}}, Material.CARPET, (short) 4));
|
||||
items.add(new ItemInfo("Light Green Carpet", new String[][]{{"carpet", "lig", "gree"}, {"carpet", "gree"}}, Material.CARPET, (short) 5));
|
||||
items.add(new ItemInfo("Pink Carpet", new String[][]{{"carpet", "pink"}}, Material.CARPET, (short) 6));
|
||||
items.add(new ItemInfo("Gray Carpet", new String[][]{{"carpet", "gray"}, {"carpet", "grey"}}, Material.CARPET, (short) 7));
|
||||
items.add(new ItemInfo("Light Gray Carpet", new String[][]{{"lig", "carpet", "gra"}, {"lig", "carpet", "gre"}}, Material.CARPET, (short) 8));
|
||||
items.add(new ItemInfo("Cyan Carpet", new String[][]{{"carpet", "cya"}}, Material.CARPET, (short) 9));
|
||||
items.add(new ItemInfo("Purple Carpet", new String[][]{{"carpet", "pur"}}, Material.CARPET, (short) 10));
|
||||
items.add(new ItemInfo("Blue Carpet", new String[][]{{"carpet", "blue"}}, Material.CARPET, (short) 11));
|
||||
items.add(new ItemInfo("Brown Carpet", new String[][]{{"carpet", "brow"}}, Material.CARPET, (short) 12));
|
||||
items.add(new ItemInfo("Dark Green Carpet", new String[][]{{"carpet", "dar", "gree"}, {"carpet", "gree"}}, Material.CARPET, (short) 13));
|
||||
items.add(new ItemInfo("Red Carpet", new String[][]{{"carpet", "red"}}, Material.CARPET, (short) 14));
|
||||
items.add(new ItemInfo("Black Carpet", new String[][]{{"carpet", "bla"}}, Material.CARPET, (short) 15));
|
||||
//1.7 Blocks and Items
|
||||
items.add(new ItemInfo("Grassless Dirt", new String[][]{{"less", "dirt"}}, Material.DIRT, (short) 1));
|
||||
items.add(new ItemInfo("Acacia Log", new String[][]{{"acac"}, {"log", "acac"}}, Material.LOG_2));
|
||||
items.add(new ItemInfo("Dark Oak Log", new String[][]{{"oak", "dar"}, {"log", "oak", "dar"}}, Material.LOG_2, (short) 1));
|
||||
items.add(new ItemInfo("Acacia Plank", new String[][]{{"acac", "plank"}, {"acac", "wood"}}, Material.WOOD, (short) 4));
|
||||
items.add(new ItemInfo("Dark Oak Plank", new String[][]{{"dar", "oak", "plank"}, {"dar", "oak", "wood"}}, Material.WOOD, (short) 5));
|
||||
items.add(new ItemInfo("Acacia Wood Stairs", new String[][]{{"stair", "wood", "acac"}, {"acac", "stair"}}, Material.ACACIA_STAIRS));
|
||||
items.add(new ItemInfo("Dark Oak Wood Stairs", new String[][]{{"stair", "wood", "dar", "oak"}, {"dar", "oak", "stair"}}, Material.DARK_OAK_STAIRS));
|
||||
items.add(new ItemInfo("Acacia Sapling", new String[][]{{"sapl", "acac"}}, Material.SAPLING, (short) 4));
|
||||
items.add(new ItemInfo("Dark Oak Sapling", new String[][]{{"sapl", "oak", "dar"}}, Material.SAPLING, (short) 5));
|
||||
items.add(new ItemInfo("Acacia Leaves", new String[][]{{"lea", "acac"}}, Material.LEAVES_2));
|
||||
items.add(new ItemInfo("Dark Oak Leaves", new String[][]{{"lea", "oak", "dar"}}, Material.LEAVES_2, (short) 1));
|
||||
items.add(new ItemInfo("Packed Ice", new String[][]{{"ice", "pac"}, {"ice", "opaq"}}, Material.PACKED_ICE));
|
||||
items.add(new ItemInfo("Podzol", new String[][]{{"podz"}, {"dirt", "pod"}}, Material.DIRT, (short) 2));
|
||||
items.add(new ItemInfo("Red Sand", new String[][]{{"red", "sand"}}, Material.SAND, (short) 1));
|
||||
items.add(new ItemInfo("Cobblestone Monster Egg", new String[][]{{"cobb","sto","mons","egg"},{"cobb","mons", "egg"}, {"hid", "silver", "cob"}}, Material.MONSTER_EGGS, (short) 1));
|
||||
items.add(new ItemInfo("Cracked Stone Brick Monster Egg", new String[][]{{"cra","sto","bri","mons", "egg"}, {"hid", "silver","cra","sto","bri"}}, Material.MONSTER_EGGS, (short) 4));
|
||||
items.add(new ItemInfo("Chiseled Stone Brick Monster Egg", new String[][]{{"chi","stone","bri","mons", "egg"}, {"hid", "silver","chi","sto","bri"}}, Material.MONSTER_EGGS, (short) 5));
|
||||
items.add(new ItemInfo("White Stained Glass", new String[][]{{"stai", "glas", "whit"}, {"stai", "glas"}}, Material.STAINED_GLASS));
|
||||
items.add(new ItemInfo("Orange Stained Glass", new String[][]{{"stai", "glas", "ora"}}, Material.STAINED_GLASS, (short) 1));
|
||||
items.add(new ItemInfo("Magenta Stained Glass", new String[][]{{"stai", "glas", "mag"}}, Material.STAINED_GLASS, (short) 2));
|
||||
items.add(new ItemInfo("Light Blue Stained Glass", new String[][]{{"stai", "glas", "lig", "blue"}}, Material.STAINED_GLASS, (short) 3));
|
||||
items.add(new ItemInfo("Yellow Stained Glass", new String[][]{{"stai", "glas", "yell"}}, Material.STAINED_GLASS, (short) 4));
|
||||
items.add(new ItemInfo("Light Green Stained Glass", new String[][]{{"stai", "glas", "lig", "gree"}, {"stai", "glas", "gree"}}, Material.STAINED_GLASS, (short) 5));
|
||||
items.add(new ItemInfo("Pink Stained Glass", new String[][]{{"stai", "glas", "pink"}}, Material.STAINED_GLASS, (short) 6));
|
||||
items.add(new ItemInfo("Gray Stained Glass", new String[][]{{"stai", "glas", "gra"}, {"stai", "glas", "gre"}}, Material.STAINED_GLASS, (short) 7));
|
||||
items.add(new ItemInfo("Light Gray Stained Glass", new String[][]{{"lig", "stai", "glas", "gra"}, {"lig", "stai", "glas", "gre"}}, Material.STAINED_GLASS, (short) 8));
|
||||
items.add(new ItemInfo("Cyan Stained Glass", new String[][]{{"stai", "glas", "cya"}}, Material.STAINED_GLASS, (short) 9));
|
||||
items.add(new ItemInfo("Purple Stained Glass", new String[][]{{"stai", "glas", "pur"}}, Material.STAINED_GLASS, (short) 10));
|
||||
items.add(new ItemInfo("Blue Stained Glass", new String[][]{{"stai", "glas", "blue"}}, Material.STAINED_GLASS, (short) 11));
|
||||
items.add(new ItemInfo("Brown Stained Glass", new String[][]{{"stai", "glas", "brow"}}, Material.STAINED_GLASS, (short) 12));
|
||||
items.add(new ItemInfo("Dark Green Stained Glass", new String[][]{{"stai", "glas", "dar", "gree"}, {"stai", "glas", "gree"}}, Material.STAINED_GLASS, (short) 13));
|
||||
items.add(new ItemInfo("Red Stained Glass", new String[][]{{"stai", "glas", "red"}}, Material.STAINED_GLASS, (short) 14));
|
||||
items.add(new ItemInfo("Black Stained Glass", new String[][]{{"stai", "glas", "bla"}}, Material.STAINED_GLASS, (short) 15));
|
||||
items.add(new ItemInfo("White Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "whit"}, {"stai", "glas", "pane"}}, Material.STAINED_GLASS_PANE));
|
||||
items.add(new ItemInfo("Orange Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "ora"}}, Material.STAINED_GLASS_PANE, (short) 1));
|
||||
items.add(new ItemInfo("Magenta Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "mag"}}, Material.STAINED_GLASS_PANE, (short) 2));
|
||||
items.add(new ItemInfo("Light Blue Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "lig", "blue"}}, Material.STAINED_GLASS_PANE, (short) 3));
|
||||
items.add(new ItemInfo("Yellow Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "yell"}}, Material.STAINED_GLASS_PANE, (short) 4));
|
||||
items.add(new ItemInfo("Light Green Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "lig", "gree"}, {"stai", "glas", "pane", "gree"}}, Material.STAINED_GLASS_PANE, (short) 5));
|
||||
items.add(new ItemInfo("Pink Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "pink"}}, Material.STAINED_GLASS_PANE, (short) 6));
|
||||
items.add(new ItemInfo("Gray Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "gra"}, {"stai", "glas", "pane", "gre"}}, Material.STAINED_GLASS_PANE, (short) 7));
|
||||
items.add(new ItemInfo("Light Gray Stained Glass Pane", new String[][]{{"lig", "stai", "glas", "pane", "gra"}, {"lig", "stai", "glas", "pane", "gre"}}, Material.STAINED_GLASS_PANE, (short) 8));
|
||||
items.add(new ItemInfo("Cyan Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "cya"}}, Material.STAINED_GLASS_PANE, (short) 9));
|
||||
items.add(new ItemInfo("Purple Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "pur"}}, Material.STAINED_GLASS_PANE, (short) 10));
|
||||
items.add(new ItemInfo("Blue Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "blue"}}, Material.STAINED_GLASS_PANE, (short) 11));
|
||||
items.add(new ItemInfo("Brown Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "brow"}}, Material.STAINED_GLASS_PANE, (short) 12));
|
||||
items.add(new ItemInfo("Dark Green Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "dar", "gree"}, {"stai", "glas", "pane", "gree"}}, Material.STAINED_GLASS_PANE, (short) 13));
|
||||
items.add(new ItemInfo("Red Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "red"}}, Material.STAINED_GLASS_PANE, (short) 14));
|
||||
items.add(new ItemInfo("Black Stained Glass Pane", new String[][]{{"stai", "glas", "pane", "bla"}}, Material.STAINED_GLASS_PANE, (short) 15));
|
||||
items.add(new ItemInfo("Poppy", new String[][]{{"flow", "red"}, {"rose"}, {"poppy"}}, Material.RED_ROSE));
|
||||
items.add(new ItemInfo("Blue Orchid", new String[][]{{"flow", "blue"}, {"orch", "blue"}}, Material.RED_ROSE, (short) 1));
|
||||
items.add(new ItemInfo("Allium", new String[][]{{"flow", "mag"}, {"alli"}}, Material.RED_ROSE, (short) 2));
|
||||
items.add(new ItemInfo("Azure Bluet", new String[][]{{"flow", "whit"}, {"azu", "blue"}}, Material.RED_ROSE, (short) 3));
|
||||
items.add(new ItemInfo("Red Tulip", new String[][]{{"tul", "red"}}, Material.RED_ROSE, (short) 4));
|
||||
items.add(new ItemInfo("Orange Tulip", new String[][]{{"tul", "ora"}}, Material.RED_ROSE, (short) 5));
|
||||
items.add(new ItemInfo("White Tulip", new String[][]{{"tul", "whit"}}, Material.RED_ROSE, (short) 6));
|
||||
items.add(new ItemInfo("Pink Tulip", new String[][]{{"tul", "pin"}}, Material.RED_ROSE, (short) 7));
|
||||
items.add(new ItemInfo("Oxeye Daisy", new String[][]{{"dais"}, {"oxe", "dais"}}, Material.RED_ROSE, (short) 8));
|
||||
items.add(new ItemInfo("Sunflower", new String[][]{{"flow", "sun"}}, Material.DOUBLE_PLANT, (short) 0));
|
||||
items.add(new ItemInfo("Lilac", new String[][]{{"flow", "lila"}, {"lila"}}, Material.DOUBLE_PLANT, (short) 1));
|
||||
items.add(new ItemInfo("Double Tallgrass", new String[][]{{"doub", "tall", "gras"}, {"doub", "long", "gras"}}, Material.DOUBLE_PLANT, (short) 2));
|
||||
items.add(new ItemInfo("Large Fern", new String[][]{{"larg", "fern"}, {"doub", "fern"}}, Material.DOUBLE_PLANT, (short) 3));
|
||||
items.add(new ItemInfo("Rose Bush", new String[][]{{"bush", "rose"}}, Material.DOUBLE_PLANT, (short) 4));
|
||||
items.add(new ItemInfo("Peony", new String[][]{{"flow", "peon"}, {"peon"}}, Material.DOUBLE_PLANT, (short) 5));
|
||||
items.add(new ItemInfo("Command Minecart", new String[][]{{"cart", "comm"}}, Material.COMMAND_MINECART));
|
||||
items.add(new ItemInfo("Potion of Water Breathing", new String[][] {{"poti", "wate", "breat"}}, Material.POTION, (short) 8205));
|
||||
items.add(new ItemInfo("Potion of Water Breathing (Reverted)", new String[][] {{"poti", "wate", "breat", "rev"}}, Material.POTION, (short) 8237));
|
||||
items.add(new ItemInfo("Potion of Water Breathing (Extended)", new String[][] {{"poti", "wate", "breat", "ext"}}, Material.POTION, (short) 8269));
|
||||
items.add(new ItemInfo("Splash Potion of Water Breathing", new String[][] {{"poti", "wate", "breat", "spl"}}, Material.POTION, (short) 16397));
|
||||
items.add(new ItemInfo("Splash Potion of Water Breathing (Reverted)", new String[][] {{"poti", "wate", "breat", "rev", "spl"}}, Material.POTION, (short) 16429));
|
||||
items.add(new ItemInfo("Splash Potion of Water Breathing (Extended)", new String[][] {{"poti", "wate", "breat", "ext", "spl"}}, Material.POTION, (short) 16461));
|
||||
items.add(new ItemInfo("Raw Salmon", new String[][]{{"salm"}, {"raw", "salm"}}, Material.RAW_FISH, (short) 1));
|
||||
items.add(new ItemInfo("Cooked Salmon", new String[][]{{"salm", "cook"}}, Material.COOKED_FISH, (short) 1));
|
||||
items.add(new ItemInfo("Clownfish", new String[][]{{"fish", "clow"}}, Material.RAW_FISH, (short) 2));
|
||||
items.add(new ItemInfo("Pufferfish", new String[][]{{"fish", "puff"}, {"fish", "blo"}, {"fish", "glob"}}, Material.RAW_FISH, (short) 3));
|
||||
items.add(new ItemInfo("Acacia Slab", new String[][]{{"slab", "aca"}, {"step", "aca"}}, Material.WOOD_STEP, (short) 4));
|
||||
items.add(new ItemInfo("Dark Oak Slab", new String[][]{{"slab", "dar", "oak"}, {"step", "dar", "oak"}}, Material.WOOD_STEP, (short) 5));
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public static ItemInfo itemById(int typeId) {
|
||||
return itemByType(Material.getMaterial(typeId), (short) 0);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public static ItemInfo itemById(int typeId, short subType) {
|
||||
return itemByType(Material.getMaterial(typeId), subType);
|
||||
}
|
||||
|
||||
/**
|
||||
* Searchs for an ItemInfo from the given ItemStack
|
||||
* @param itemStack to search on
|
||||
* @return ItemInfo found, or null
|
||||
*/
|
||||
public static ItemInfo itemByStack(ItemStack itemStack) {
|
||||
if (itemStack == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
for (ItemInfo item : items) {
|
||||
if (itemStack.getType().equals(item.getType()) && item.isDurable()) {
|
||||
return item;
|
||||
} else if (itemStack.getType().equals(item.getType()) && item.getSubTypeId() == itemStack.getDurability()) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ItemInfo itemByItem(ItemInfo item) {
|
||||
for (ItemInfo i : items) {
|
||||
if (item.equals(i)) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a relevant ItemInfo by it's Material
|
||||
* @param type of Material
|
||||
* @return ItemInfo record found or null if none
|
||||
*/
|
||||
public static ItemInfo itemByType(Material type) {
|
||||
return itemByType(type, (short) 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Searches for an ItemInfo record by Material and SubTypeID
|
||||
* @param type of Material
|
||||
* @param subType to check for
|
||||
* @return ItemInfo record found or null if none
|
||||
*/
|
||||
public static ItemInfo itemByType(Material type, short subType) {
|
||||
for (ItemInfo item : items) {
|
||||
if (item.getType() == type && item.getSubTypeId() == subType) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Search for an item from a given string, useful for user input. Uses 3 different types of reg-exp searching.
|
||||
* Checks first for an ItemID.
|
||||
* Checks second for ItemID:SubType
|
||||
* Last, it will run a by-name item search assuming the string is the name of an item.
|
||||
*
|
||||
* @param string to parse
|
||||
* @return ItemInfo found or null
|
||||
*/
|
||||
public static ItemInfo itemByString(String string) {
|
||||
|
||||
// int
|
||||
Pattern pattern = Pattern.compile("(?i)^(\\d+)$");
|
||||
Matcher matcher = pattern.matcher(string);
|
||||
if (matcher.find()) {
|
||||
int id = Integer.parseInt(matcher.group(1));
|
||||
return itemById(id);
|
||||
}
|
||||
|
||||
// int:int
|
||||
matcher.reset();
|
||||
pattern = Pattern.compile("(?i)^(\\d+):(\\d+)$");
|
||||
matcher = pattern.matcher(string);
|
||||
if (matcher.find()) {
|
||||
int id = Integer.parseInt(matcher.group(1));
|
||||
short type = Short.parseShort(matcher.group(2));
|
||||
return itemById(id, type);
|
||||
}
|
||||
|
||||
// name
|
||||
matcher.reset();
|
||||
pattern = Pattern.compile("(?i)^(.*)$");
|
||||
matcher = pattern.matcher(string);
|
||||
if (matcher.find()) {
|
||||
String name = matcher.group(1);
|
||||
return itemByName(name);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ItemInfo itemByName(ArrayList<String> search) {
|
||||
String searchString = join(search, " ");
|
||||
return itemByName(searchString);
|
||||
}
|
||||
|
||||
public static ItemInfo[] itemByNames(ArrayList<String> search, boolean multi) {
|
||||
String searchString = join(search, " ");
|
||||
return itemsByName(searchString, multi);
|
||||
}
|
||||
|
||||
/**
|
||||
* Multi-Item return search for dumping all items with the search string to the player
|
||||
*
|
||||
*
|
||||
* @param searchString to search for
|
||||
* @param multi whether to return a list of items or just the first
|
||||
* @return Array of items found
|
||||
*/
|
||||
public static ItemInfo[] itemsByName(String searchString, boolean multi) {
|
||||
if (multi == false) {
|
||||
return new ItemInfo[]{itemByName(searchString)};
|
||||
}
|
||||
|
||||
ItemInfo[] itemList = new ItemInfo[]{};
|
||||
|
||||
if (searchString.matches("\\d+:\\d+")) {
|
||||
// Match on integer:short to get typeId and subTypeId
|
||||
|
||||
// Retrieve/parse data
|
||||
String[] params = searchString.split(":");
|
||||
int typeId = Integer.parseInt(params[0]);
|
||||
short subTypeId = Short.parseShort(params[1]);
|
||||
|
||||
// Iterate through Items
|
||||
for (ItemInfo item : items) {
|
||||
// Test for match
|
||||
if (item.getId() == typeId && item.getSubTypeId() == subTypeId) {
|
||||
itemList[0] = item;
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else if (searchString.matches("\\d+")) {
|
||||
|
||||
// Retrieve/parse data
|
||||
int typeId = Integer.parseInt(searchString);
|
||||
|
||||
// Iterate through Items
|
||||
int i = 0;
|
||||
for (ItemInfo item : items) {
|
||||
// Test for match
|
||||
if (item.getId() == typeId) {
|
||||
itemList[i] = item;
|
||||
i++;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Else this must be a string that we need to identify
|
||||
|
||||
// Iterate through Items
|
||||
int i = 0;
|
||||
for (ItemInfo item : items) {
|
||||
// Look through each possible match criteria
|
||||
for (String[] attributes : item.search) {
|
||||
boolean match = false;
|
||||
// Loop through entire criteria strings
|
||||
for (String attribute : attributes) {
|
||||
if (searchString.toLowerCase().contains(attribute)) {
|
||||
match = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
// THIS was a match
|
||||
if (match) {
|
||||
itemList[i] = item;
|
||||
i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return itemList;
|
||||
}
|
||||
|
||||
/**
|
||||
* Single item search function, for when we only ever want to return 1 result
|
||||
*
|
||||
* @param searchString to search for
|
||||
* @return ItemInfo Object
|
||||
*/
|
||||
public static ItemInfo itemByName(String searchString) {
|
||||
ItemInfo matchedItem = null;
|
||||
int matchedItemStrength = 0;
|
||||
int matchedValue = 0;
|
||||
|
||||
if (searchString.matches("\\d+:\\d+")) {
|
||||
// Match on integer:short to get typeId and subTypeId
|
||||
|
||||
// Retrieve/parse data
|
||||
String[] params = searchString.split(":");
|
||||
int typeId = Integer.parseInt(params[0]);
|
||||
short subTypeId = Short.parseShort(params[1]);
|
||||
|
||||
// Iterate through Items
|
||||
for (ItemInfo item : items) {
|
||||
// Test for match
|
||||
if (item.getId() == typeId && item.getSubTypeId() == subTypeId) {
|
||||
matchedItem = item;
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else if (searchString.matches("\\d+")) {
|
||||
// Match an integer only, assume subTypeId = 0
|
||||
|
||||
// Retrieve/parse data
|
||||
int typeId = Integer.parseInt(searchString);
|
||||
short subTypeId = 0;
|
||||
|
||||
// Iterate through Items
|
||||
for (ItemInfo item : items) {
|
||||
// Test for match
|
||||
if (item.getId() == typeId && item.getSubTypeId() == subTypeId) {
|
||||
matchedItem = item;
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Else this must be a string that we need to identify
|
||||
|
||||
// Iterate through Items
|
||||
for (ItemInfo item : items) {
|
||||
// Look through each possible match criteria
|
||||
for (String[] attributes : item.search) {
|
||||
int val = 0;
|
||||
boolean match = false;
|
||||
// Loop through entire criteria strings
|
||||
for (String attribute : attributes) {
|
||||
if (searchString.toLowerCase().contains(attribute)) {
|
||||
val += attribute.length();
|
||||
match = true;
|
||||
} else {
|
||||
match = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// THIS was a match
|
||||
if (match) {
|
||||
if (matchedItem == null || val > matchedValue || attributes.length > matchedItemStrength) {
|
||||
matchedItem = item;
|
||||
matchedValue = val;
|
||||
matchedItemStrength = attributes.length;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return matchedItem;
|
||||
}
|
||||
|
||||
/**
|
||||
* Joins elements of a String array with the glue between them into a String.
|
||||
* @param array of elements to join together
|
||||
* @param glue what to put between each element
|
||||
* @return Concacted Array combined with glue
|
||||
*/
|
||||
public static String join(String[] array, String glue) {
|
||||
String joined = null;
|
||||
for (String element : array) {
|
||||
if (joined == null) {
|
||||
joined = element;
|
||||
} else {
|
||||
joined += glue + element;
|
||||
}
|
||||
}
|
||||
|
||||
if (joined == null) {
|
||||
return "";
|
||||
} else {
|
||||
return joined;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Joins elements of a String array with the glue between them into a String.
|
||||
* @param list of items to join together
|
||||
* @param glue what to put between each element
|
||||
* @return Concacted Array combined with glue
|
||||
*/
|
||||
public static String join(List<String> list, String glue) {
|
||||
String joined = null;
|
||||
for (String element : list) {
|
||||
if (joined == null) {
|
||||
joined = element;
|
||||
} else {
|
||||
joined += glue + element;
|
||||
}
|
||||
}
|
||||
|
||||
if (joined == null) {
|
||||
return "";
|
||||
} else {
|
||||
return joined;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,752 +0,0 @@
|
||||
/* This file is part of Vault.
|
||||
|
||||
Vault is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Vault is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with Vault. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package net.milkbowl.vault.permission;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import org.bukkit.OfflinePlayer;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.permissions.PermissionAttachment;
|
||||
import org.bukkit.permissions.PermissionAttachmentInfo;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
/**
|
||||
* The main Permission API - allows for group and player based permission tests
|
||||
*
|
||||
*/
|
||||
public abstract class Permission {
|
||||
|
||||
protected static final Logger log = Logger.getLogger("Minecraft");
|
||||
protected Plugin plugin = null;
|
||||
|
||||
/**
|
||||
* Gets name of permission method
|
||||
* @return Name of Permission Method
|
||||
*/
|
||||
abstract public String getName();
|
||||
|
||||
/**
|
||||
* Checks if permission method is enabled.
|
||||
* @return Success or Failure
|
||||
*/
|
||||
abstract public boolean isEnabled();
|
||||
|
||||
/**
|
||||
* Returns if the permission system is or attempts to be compatible with super-perms.
|
||||
* @return True if this permission implementation works with super-perms
|
||||
*/
|
||||
abstract public boolean hasSuperPermsCompat();
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerHas(String, OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean has(String world, String player, String permission) {
|
||||
if (world == null) {
|
||||
return playerHas((String) null, player, permission);
|
||||
}
|
||||
return playerHas(world, player, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerHas(String, OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean has(World world, String player, String permission) {
|
||||
if (world == null) {
|
||||
return playerHas((String) null, player, permission);
|
||||
}
|
||||
return playerHas(world.getName(), player, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if a CommandSender has a permission node.
|
||||
* This will return the result of bukkits, generic .hasPermission() method and is identical in all cases.
|
||||
* This method will explicitly fail if the registered permission system does not register permissions in bukkit.
|
||||
*
|
||||
* For easy checking of a commandsender
|
||||
* @param sender to check permissions on
|
||||
* @param permission to check for
|
||||
* @return true if the sender has the permission
|
||||
*/
|
||||
public boolean has(CommandSender sender, String permission) {
|
||||
return sender.hasPermission(permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if player has a permission node. (Short for playerHas(...)
|
||||
* @param player Player Object
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean has(Player player, String permission) {
|
||||
return player.hasPermission(permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerHas(String, OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public boolean playerHas(String world, String player, String permission);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerHas(String, OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean playerHas(World world, String player, String permission) {
|
||||
if (world == null) {
|
||||
return playerHas((String) null, player, permission);
|
||||
}
|
||||
return playerHas(world.getName(), player, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if player has a permission node.
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world String world name
|
||||
* @param player to check
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerHas(String world, OfflinePlayer player, String permission) {
|
||||
if (world == null) {
|
||||
return has((String) null, player.getName(), permission);
|
||||
}
|
||||
return has(world, player.getName(), permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if player has a permission node.
|
||||
* Defaults to world-specific permission check if the permission system supports it.
|
||||
* See {@link #playerHas(String, OfflinePlayer, String)} for explicit global or world checks.
|
||||
*
|
||||
* @param player Player Object
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerHas(Player player, String permission) {
|
||||
return has(player, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerAdd(String, OfflinePlayer, String)} instead.
|
||||
* Add permission to a player.
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public boolean playerAdd(String world, String player, String permission);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerAdd(String, OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean playerAdd(World world, String player, String permission) {
|
||||
if (world == null) {
|
||||
return playerAdd((String) null, player, permission);
|
||||
}
|
||||
return playerAdd(world.getName(), player, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add permission to a player.
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world String world name
|
||||
* @param player to add to
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerAdd(String world, OfflinePlayer player, String permission) {
|
||||
if (world == null) {
|
||||
return playerAdd((String) null, player.getName(), permission);
|
||||
}
|
||||
return playerAdd(world, player.getName(), permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add permission to a player ONLY for the world the player is currently on.
|
||||
* This is a world-specific operation, if you want to add global permission you must explicitly use NULL for the world.
|
||||
* See {@link #playerAdd(String, OfflinePlayer, String)} for global permission use.
|
||||
*
|
||||
* @param player Player Object
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerAdd(Player player, String permission) {
|
||||
return playerAdd(player.getWorld().getName(), player, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerAddTransient(OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean playerAddTransient(String player, String permission) throws UnsupportedOperationException {
|
||||
Player p = plugin.getServer().getPlayer(player);
|
||||
if (p == null) {
|
||||
throw new UnsupportedOperationException(getName() + " does not support offline player transient permissions!");
|
||||
}
|
||||
return playerAddTransient(p, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add transient permission to a player.
|
||||
* This implementation can be used by any subclass which implements a "pure" superperms plugin, i.e.
|
||||
* one that only needs the built-in Bukkit API to add transient permissions to a player.
|
||||
*
|
||||
* @param player to add to
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerAddTransient(OfflinePlayer player, String permission) throws UnsupportedOperationException {
|
||||
if (player.isOnline()) {
|
||||
return playerAddTransient((Player) player, permission);
|
||||
}
|
||||
throw new UnsupportedOperationException(getName() + " does not support offline player transient permissions!");
|
||||
}
|
||||
|
||||
/**
|
||||
* Add transient permission to a player.
|
||||
* This operation adds a permission onto the player object in bukkit via Bukkit's permission interface.
|
||||
*
|
||||
* @param player Player Object
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerAddTransient(Player player, String permission) {
|
||||
for (PermissionAttachmentInfo paInfo : player.getEffectivePermissions()) {
|
||||
if (paInfo.getAttachment() != null && paInfo.getAttachment().getPlugin().equals(plugin)) {
|
||||
paInfo.getAttachment().setPermission(permission, true);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
PermissionAttachment attach = player.addAttachment(plugin);
|
||||
attach.setPermission(permission, true);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a world specific transient permission to the player, may only work with some permission managers.
|
||||
* Defaults to GLOBAL permissions for any permission system that does not support world-specific transient permissions!
|
||||
*
|
||||
* @param worldName to check on
|
||||
* @param player to add to
|
||||
* @param permission to test
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerAddTransient(String worldName, OfflinePlayer player, String permission) {
|
||||
return playerAddTransient(worldName, player.getName(), permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a world specific transient permission to the player, may only work with some permission managers.
|
||||
* Defaults to GLOBAL permissions for any permission system that does not support world-specific transient permissions!
|
||||
*
|
||||
* @param worldName to check on
|
||||
* @param player to check
|
||||
* @param permission to check for
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerAddTransient(String worldName, Player player, String permission) {
|
||||
return playerAddTransient(player, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerAddTransient(String, OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean playerAddTransient(String worldName, String player, String permission) {
|
||||
Player p = plugin.getServer().getPlayer(player);
|
||||
if (p == null) {
|
||||
throw new UnsupportedOperationException(getName() + " does not support offline player transient permissions!");
|
||||
}
|
||||
return playerAddTransient(p, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerRemoveTransient(String, OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean playerRemoveTransient(String worldName, String player, String permission) {
|
||||
Player p = plugin.getServer().getPlayer(player);
|
||||
if (p == null)
|
||||
return false;
|
||||
|
||||
return playerRemoveTransient(p, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes a world specific transient permission from the player, may only work with some permission managers.
|
||||
* Defaults to GLOBAL permissions for any permission system that does not support world-specific transient permissions!
|
||||
*
|
||||
* @param worldName to remove for
|
||||
* @param player to remove for
|
||||
* @param permission to remove
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerRemoveTransient(String worldName, OfflinePlayer player, String permission) {
|
||||
return playerRemoveTransient(worldName, player.getName(), permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes a world specific transient permission from the player, may only work with some permission managers.
|
||||
* Defaults to GLOBAL permissions for any permission system that does not support world-specific transient permissions!
|
||||
*
|
||||
* @param worldName to check on
|
||||
* @param player to check
|
||||
* @param permission to check for
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerRemoveTransient(String worldName, Player player, String permission) {
|
||||
return playerRemoveTransient(worldName, (OfflinePlayer) player, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerRemove(String, OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public boolean playerRemove(String world, String player, String permission);
|
||||
|
||||
/**
|
||||
* Remove permission from a player.
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world World name
|
||||
* @param player OfflinePlayer
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerRemove(String world, OfflinePlayer player, String permission) {
|
||||
if (world == null) {
|
||||
return playerRemove((String) null, player.getName(), permission);
|
||||
}
|
||||
return playerRemove(world, player.getName(), permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove permission from a player.
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world World name
|
||||
* @param player Player name
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean playerRemove(World world, String player, String permission) {
|
||||
if (world == null) {
|
||||
return playerRemove((String) null, player, permission);
|
||||
}
|
||||
return playerRemove(world.getName(), player, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove permission from a player.
|
||||
* Will attempt to remove permission from the player on the player's current world. This is NOT a global operation.
|
||||
*
|
||||
* @param player Player Object
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerRemove(Player player, String permission) {
|
||||
return playerRemove(player.getWorld().getName(), player, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerRemoveTransient(OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean playerRemoveTransient(String player, String permission) {
|
||||
Player p = plugin.getServer().getPlayer(player);
|
||||
if (p == null)
|
||||
return false;
|
||||
|
||||
return playerRemoveTransient(p, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove transient permission from a player.
|
||||
* This implementation can be used by any subclass which implements a "pure" superperms plugin, i.e.
|
||||
* one that only needs the built-in Bukkit API to remove transient permissions from a player. Any subclass
|
||||
* implementing a plugin which provides its own API for this needs to override this method.
|
||||
*
|
||||
* @param player OfflinePlayer
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerRemoveTransient(OfflinePlayer player, String permission) {
|
||||
if (player.isOnline()) {
|
||||
return playerRemoveTransient((Player) player, permission);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove transient permission from a player.
|
||||
*
|
||||
* @param player Player Object
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerRemoveTransient(Player player, String permission) {
|
||||
for (PermissionAttachmentInfo paInfo : player.getEffectivePermissions()) {
|
||||
if (paInfo.getAttachment() != null && paInfo.getAttachment().getPlugin().equals(plugin)) {
|
||||
paInfo.getAttachment().unsetPermission(permission);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if group has a permission node.
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world World name
|
||||
* @param group Group name
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
abstract public boolean groupHas(String world, String group, String permission);
|
||||
|
||||
/**
|
||||
* Checks if group has a permission node.
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world World Object
|
||||
* @param group Group name
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean groupHas(World world, String group, String permission) {
|
||||
if (world == null) {
|
||||
return groupHas((String) null, group, permission);
|
||||
}
|
||||
return groupHas(world.getName(), group, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add permission to a group.
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world World name
|
||||
* @param group Group name
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
abstract public boolean groupAdd(String world, String group, String permission);
|
||||
|
||||
/**
|
||||
* Add permission to a group.
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world World Object
|
||||
* @param group Group name
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean groupAdd(World world, String group, String permission) {
|
||||
if (world == null) {
|
||||
return groupAdd((String) null, group, permission);
|
||||
}
|
||||
return groupAdd(world.getName(), group, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove permission from a group.
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world World name
|
||||
* @param group Group name
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
abstract public boolean groupRemove(String world, String group, String permission);
|
||||
|
||||
/**
|
||||
* Remove permission from a group.
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world World Object
|
||||
* @param group Group name
|
||||
* @param permission Permission node
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean groupRemove(World world, String group, String permission) {
|
||||
if (world == null) {
|
||||
return groupRemove((String) null, group, permission);
|
||||
}
|
||||
return groupRemove(world.getName(), group, permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerInGroup(String, OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public boolean playerInGroup(String world, String player, String group);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerInGroup(String, OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean playerInGroup(World world, String player, String group) {
|
||||
if (world == null) {
|
||||
return playerInGroup((String) null, player, group);
|
||||
}
|
||||
return playerInGroup(world.getName(), player, group);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if player is member of a group.
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world World Object
|
||||
* @param player to check
|
||||
* @param group Group name
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerInGroup(String world, OfflinePlayer player, String group) {
|
||||
if (world == null) {
|
||||
return playerInGroup((String) null, player.getName(), group);
|
||||
}
|
||||
return playerInGroup(world, player.getName(), group);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if player is member of a group.
|
||||
* This method will ONLY check groups for which the player is in that are defined for the current world.
|
||||
* This may result in odd return behaviour depending on what permission system has been registered.
|
||||
*
|
||||
* @param player Player Object
|
||||
* @param group Group name
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerInGroup(Player player, String group) {
|
||||
return playerInGroup(player.getWorld().getName(), player, group);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerAddGroup(String, OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public boolean playerAddGroup(String world, String player, String group);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerAddGroup(String, OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean playerAddGroup(World world, String player, String group) {
|
||||
if (world == null) {
|
||||
return playerAddGroup((String) null, player, group);
|
||||
}
|
||||
return playerAddGroup(world.getName(), player, group);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add player to a group.
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world String world name
|
||||
* @param player to add
|
||||
* @param group Group name
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerAddGroup(String world, OfflinePlayer player, String group) {
|
||||
if (world == null) {
|
||||
return playerAddGroup((String) null, player.getName(), group);
|
||||
}
|
||||
return playerAddGroup(world, player.getName(), group);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add player to a group.
|
||||
* This will add a player to the group on the current World. This may return odd results if the permission system
|
||||
* being used on the server does not support world-specific groups, or if the group being added to is a global group.
|
||||
*
|
||||
* @param player Player Object
|
||||
* @param group Group name
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerAddGroup(Player player, String group) {
|
||||
return playerAddGroup(player.getWorld().getName(), player, group);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerRemoveGroup(String, OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public boolean playerRemoveGroup(String world, String player, String group);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #playerRemoveGroup(String, OfflinePlayer, String)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean playerRemoveGroup(World world, String player, String group) {
|
||||
if (world == null) {
|
||||
return playerRemoveGroup((String) null, player, group);
|
||||
}
|
||||
return playerRemoveGroup(world.getName(), player, group);
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove player from a group.
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world World Object
|
||||
* @param player to remove
|
||||
* @param group Group name
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerRemoveGroup(String world, OfflinePlayer player, String group) {
|
||||
if (world == null) {
|
||||
return playerRemoveGroup((String) null, player.getName(), group);
|
||||
}
|
||||
return playerRemoveGroup(world, player.getName(), group);
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove player from a group.
|
||||
* This will add a player to the group on the current World. This may return odd results if the permission system
|
||||
* being used on the server does not support world-specific groups, or if the group being added to is a global group.
|
||||
*
|
||||
* @param player Player Object
|
||||
* @param group Group name
|
||||
* @return Success or Failure
|
||||
*/
|
||||
public boolean playerRemoveGroup(Player player, String group) {
|
||||
return playerRemoveGroup(player.getWorld().getName(), player, group);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #getPlayerGroups(String, OfflinePlayer)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public String[] getPlayerGroups(String world, String player);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #getPlayerGroups(String, OfflinePlayer)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public String[] getPlayerGroups(World world, String player) {
|
||||
if (world == null) {
|
||||
return getPlayerGroups((String) null, player);
|
||||
}
|
||||
return getPlayerGroups(world.getName(), player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the list of groups that this player has
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world String world name
|
||||
* @param player OfflinePlayer
|
||||
* @return Array of groups
|
||||
*/
|
||||
public String[] getPlayerGroups(String world, OfflinePlayer player) {
|
||||
return getPlayerGroups(world, player.getName());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a list of world-specific groups that this player is currently in. May return unexpected results if
|
||||
* you are looking for global groups, or if the registered permission system does not support world-specific groups.
|
||||
* See {@link #getPlayerGroups(String, OfflinePlayer)} for better control of World-specific or global groups.
|
||||
*
|
||||
* @param player Player Object
|
||||
* @return Array of groups
|
||||
*/
|
||||
public String[] getPlayerGroups(Player player) {
|
||||
return getPlayerGroups(player.getWorld().getName(), player);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #getPrimaryGroup(String, OfflinePlayer)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
abstract public String getPrimaryGroup(String world, String player);
|
||||
|
||||
/**
|
||||
* @deprecated As of VaultAPI 1.4 use {@link #getPrimaryGroup(String, OfflinePlayer)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public String getPrimaryGroup(World world, String player) {
|
||||
if (world == null) {
|
||||
return getPrimaryGroup((String) null, player);
|
||||
}
|
||||
return getPrimaryGroup(world.getName(), player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets players primary group
|
||||
* Supports NULL value for World if the permission system registered supports global permissions.
|
||||
* But May return odd values if the servers registered permission system does not have a global permission store.
|
||||
*
|
||||
* @param world String world name
|
||||
* @param player to get from
|
||||
* @return Players primary group
|
||||
*/
|
||||
public String getPrimaryGroup(String world, OfflinePlayer player) {
|
||||
return getPrimaryGroup(world, player.getName());
|
||||
}
|
||||
|
||||
/**
|
||||
* Get players primary group.
|
||||
* Defaults to the players current world, so may return only world-specific groups.
|
||||
* In most cases {@link #getPrimaryGroup(String, OfflinePlayer)} is preferable.
|
||||
*
|
||||
* @param player Player Object
|
||||
* @return Players primary group
|
||||
*/
|
||||
public String getPrimaryGroup(Player player) {
|
||||
return getPrimaryGroup(player.getWorld().getName(), player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a list of all known groups
|
||||
* @return an Array of String of all groups
|
||||
*/
|
||||
abstract public String[] getGroups();
|
||||
|
||||
/**
|
||||
* Returns true if the given implementation supports groups.
|
||||
* @return true if the implementation supports groups
|
||||
*/
|
||||
abstract public boolean hasGroupSupport();
|
||||
}
|
@ -1,86 +0,0 @@
|
||||
package net.milkbowl.vault.test;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
||||
import java.util.EnumSet;
|
||||
import java.util.Set;
|
||||
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.junit.Test;
|
||||
|
||||
import net.milkbowl.vault.item.ItemInfo;
|
||||
import net.milkbowl.vault.item.Items;
|
||||
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public class ItemTest {
|
||||
|
||||
// Static list of materials we shouldn't be testing for as they are now longer able to be help in inventory.
|
||||
private static final Set<Material> ignoreMats = EnumSet.noneOf(Material.class);
|
||||
{
|
||||
ignoreMats.add(Material.STATIONARY_WATER);
|
||||
ignoreMats.add(Material.STATIONARY_LAVA);
|
||||
ignoreMats.add(Material.PISTON_EXTENSION);
|
||||
ignoreMats.add(Material.PISTON_MOVING_PIECE);
|
||||
ignoreMats.add(Material.REDSTONE_WIRE);
|
||||
ignoreMats.add(Material.CROPS);
|
||||
ignoreMats.add(Material.BURNING_FURNACE);
|
||||
ignoreMats.add(Material.SIGN_POST);
|
||||
ignoreMats.add(Material.WOODEN_DOOR);
|
||||
ignoreMats.add(Material.WALL_SIGN);
|
||||
ignoreMats.add(Material.IRON_DOOR_BLOCK);
|
||||
ignoreMats.add(Material.GLOWING_REDSTONE_ORE);
|
||||
ignoreMats.add(Material.SUGAR_CANE_BLOCK);
|
||||
ignoreMats.add(Material.CAKE_BLOCK);
|
||||
ignoreMats.add(Material.DIODE_BLOCK_OFF);
|
||||
ignoreMats.add(Material.DIODE_BLOCK_ON);
|
||||
ignoreMats.add(Material.LOCKED_CHEST);
|
||||
ignoreMats.add(Material.PUMPKIN_STEM);
|
||||
ignoreMats.add(Material.MELON_STEM);
|
||||
ignoreMats.add(Material.REDSTONE_LAMP_ON);
|
||||
ignoreMats.add(Material.SKULL);
|
||||
ignoreMats.add(Material.REDSTONE_COMPARATOR_OFF);
|
||||
ignoreMats.add(Material.REDSTONE_COMPARATOR_ON);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testItems() {
|
||||
boolean failed = false;
|
||||
for (ItemInfo item : Items.getItemList()) {
|
||||
ItemInfo queriedInfo = Items.itemByString(item.getName());
|
||||
try {
|
||||
assertEquals(item, queriedInfo);
|
||||
} catch (AssertionError e) {
|
||||
e.printStackTrace();
|
||||
failed = true;
|
||||
}
|
||||
}
|
||||
assertEquals(false, failed);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testItemStacks() {
|
||||
boolean failed = false;
|
||||
for (ItemInfo item : Items.getItemList()) {
|
||||
ItemStack stack = item.toStack();
|
||||
try {
|
||||
assertEquals(item, Items.itemByStack(stack));
|
||||
} catch (AssertionError e) {
|
||||
e.printStackTrace();
|
||||
failed = true;
|
||||
}
|
||||
}
|
||||
assertEquals(false, failed);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void MissingMaterialtest() {
|
||||
for (Material mat : Material.values()) {
|
||||
if (ignoreMats.contains(mat)) continue;
|
||||
|
||||
assertNotNull("Missing " + mat.toString() + " in item search list", Items.itemByType(mat));
|
||||
}
|
||||
}
|
||||
}
|
574
stylesheet.css
Normal file
574
stylesheet.css
Normal file
@ -0,0 +1,574 @@
|
||||
/* Javadoc style sheet */
|
||||
/*
|
||||
Overall document style
|
||||
*/
|
||||
|
||||
@import url('resources/fonts/dejavu.css');
|
||||
|
||||
body {
|
||||
background-color:#ffffff;
|
||||
color:#353833;
|
||||
font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;
|
||||
font-size:14px;
|
||||
margin:0;
|
||||
}
|
||||
a:link, a:visited {
|
||||
text-decoration:none;
|
||||
color:#4A6782;
|
||||
}
|
||||
a:hover, a:focus {
|
||||
text-decoration:none;
|
||||
color:#bb7a2a;
|
||||
}
|
||||
a:active {
|
||||
text-decoration:none;
|
||||
color:#4A6782;
|
||||
}
|
||||
a[name] {
|
||||
color:#353833;
|
||||
}
|
||||
a[name]:hover {
|
||||
text-decoration:none;
|
||||
color:#353833;
|
||||
}
|
||||
pre {
|
||||
font-family:'DejaVu Sans Mono', monospace;
|
||||
font-size:14px;
|
||||
}
|
||||
h1 {
|
||||
font-size:20px;
|
||||
}
|
||||
h2 {
|
||||
font-size:18px;
|
||||
}
|
||||
h3 {
|
||||
font-size:16px;
|
||||
font-style:italic;
|
||||
}
|
||||
h4 {
|
||||
font-size:13px;
|
||||
}
|
||||
h5 {
|
||||
font-size:12px;
|
||||
}
|
||||
h6 {
|
||||
font-size:11px;
|
||||
}
|
||||
ul {
|
||||
list-style-type:disc;
|
||||
}
|
||||
code, tt {
|
||||
font-family:'DejaVu Sans Mono', monospace;
|
||||
font-size:14px;
|
||||
padding-top:4px;
|
||||
margin-top:8px;
|
||||
line-height:1.4em;
|
||||
}
|
||||
dt code {
|
||||
font-family:'DejaVu Sans Mono', monospace;
|
||||
font-size:14px;
|
||||
padding-top:4px;
|
||||
}
|
||||
table tr td dt code {
|
||||
font-family:'DejaVu Sans Mono', monospace;
|
||||
font-size:14px;
|
||||
vertical-align:top;
|
||||
padding-top:4px;
|
||||
}
|
||||
sup {
|
||||
font-size:8px;
|
||||
}
|
||||
/*
|
||||
Document title and Copyright styles
|
||||
*/
|
||||
.clear {
|
||||
clear:both;
|
||||
height:0px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.aboutLanguage {
|
||||
float:right;
|
||||
padding:0px 21px;
|
||||
font-size:11px;
|
||||
z-index:200;
|
||||
margin-top:-9px;
|
||||
}
|
||||
.legalCopy {
|
||||
margin-left:.5em;
|
||||
}
|
||||
.bar a, .bar a:link, .bar a:visited, .bar a:active {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
}
|
||||
.bar a:hover, .bar a:focus {
|
||||
color:#bb7a2a;
|
||||
}
|
||||
.tab {
|
||||
background-color:#0066FF;
|
||||
color:#ffffff;
|
||||
padding:8px;
|
||||
width:5em;
|
||||
font-weight:bold;
|
||||
}
|
||||
/*
|
||||
Navigation bar styles
|
||||
*/
|
||||
.bar {
|
||||
background-color:#4D7A97;
|
||||
color:#FFFFFF;
|
||||
padding:.8em .5em .4em .8em;
|
||||
height:auto;/*height:1.8em;*/
|
||||
font-size:11px;
|
||||
margin:0;
|
||||
}
|
||||
.topNav {
|
||||
background-color:#4D7A97;
|
||||
color:#FFFFFF;
|
||||
float:left;
|
||||
padding:0;
|
||||
width:100%;
|
||||
clear:right;
|
||||
height:2.8em;
|
||||
padding-top:10px;
|
||||
overflow:hidden;
|
||||
font-size:12px;
|
||||
}
|
||||
.bottomNav {
|
||||
margin-top:10px;
|
||||
background-color:#4D7A97;
|
||||
color:#FFFFFF;
|
||||
float:left;
|
||||
padding:0;
|
||||
width:100%;
|
||||
clear:right;
|
||||
height:2.8em;
|
||||
padding-top:10px;
|
||||
overflow:hidden;
|
||||
font-size:12px;
|
||||
}
|
||||
.subNav {
|
||||
background-color:#dee3e9;
|
||||
float:left;
|
||||
width:100%;
|
||||
overflow:hidden;
|
||||
font-size:12px;
|
||||
}
|
||||
.subNav div {
|
||||
clear:left;
|
||||
float:left;
|
||||
padding:0 0 5px 6px;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
ul.navList, ul.subNavList {
|
||||
float:left;
|
||||
margin:0 25px 0 0;
|
||||
padding:0;
|
||||
}
|
||||
ul.navList li{
|
||||
list-style:none;
|
||||
float:left;
|
||||
padding: 5px 6px;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
ul.subNavList li{
|
||||
list-style:none;
|
||||
float:left;
|
||||
}
|
||||
.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
.topNav a:hover, .bottomNav a:hover {
|
||||
text-decoration:none;
|
||||
color:#bb7a2a;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
.navBarCell1Rev {
|
||||
background-color:#F8981D;
|
||||
color:#253441;
|
||||
margin: auto 5px;
|
||||
}
|
||||
.skipNav {
|
||||
position:absolute;
|
||||
top:auto;
|
||||
left:-9999px;
|
||||
overflow:hidden;
|
||||
}
|
||||
/*
|
||||
Page header and footer styles
|
||||
*/
|
||||
.header, .footer {
|
||||
clear:both;
|
||||
margin:0 20px;
|
||||
padding:5px 0 0 0;
|
||||
}
|
||||
.indexHeader {
|
||||
margin:10px;
|
||||
position:relative;
|
||||
}
|
||||
.indexHeader span{
|
||||
margin-right:15px;
|
||||
}
|
||||
.indexHeader h1 {
|
||||
font-size:13px;
|
||||
}
|
||||
.title {
|
||||
color:#2c4557;
|
||||
margin:10px 0;
|
||||
}
|
||||
.subTitle {
|
||||
margin:5px 0 0 0;
|
||||
}
|
||||
.header ul {
|
||||
margin:0 0 15px 0;
|
||||
padding:0;
|
||||
}
|
||||
.footer ul {
|
||||
margin:20px 0 5px 0;
|
||||
}
|
||||
.header ul li, .footer ul li {
|
||||
list-style:none;
|
||||
font-size:13px;
|
||||
}
|
||||
/*
|
||||
Heading styles
|
||||
*/
|
||||
div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
|
||||
background-color:#dee3e9;
|
||||
border:1px solid #d0d9e0;
|
||||
margin:0 0 6px -8px;
|
||||
padding:7px 5px;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList li.blockList h3 {
|
||||
background-color:#dee3e9;
|
||||
border:1px solid #d0d9e0;
|
||||
margin:0 0 6px -8px;
|
||||
padding:7px 5px;
|
||||
}
|
||||
ul.blockList ul.blockList li.blockList h3 {
|
||||
padding:0;
|
||||
margin:15px 0;
|
||||
}
|
||||
ul.blockList li.blockList h2 {
|
||||
padding:0px 0 20px 0;
|
||||
}
|
||||
/*
|
||||
Page layout container styles
|
||||
*/
|
||||
.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
|
||||
clear:both;
|
||||
padding:10px 20px;
|
||||
position:relative;
|
||||
}
|
||||
.indexContainer {
|
||||
margin:10px;
|
||||
position:relative;
|
||||
font-size:12px;
|
||||
}
|
||||
.indexContainer h2 {
|
||||
font-size:13px;
|
||||
padding:0 0 3px 0;
|
||||
}
|
||||
.indexContainer ul {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
.indexContainer ul li {
|
||||
list-style:none;
|
||||
padding-top:2px;
|
||||
}
|
||||
.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
|
||||
font-size:12px;
|
||||
font-weight:bold;
|
||||
margin:10px 0 0 0;
|
||||
color:#4E4E4E;
|
||||
}
|
||||
.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
|
||||
margin:5px 0 10px 0px;
|
||||
font-size:14px;
|
||||
font-family:'DejaVu Sans Mono',monospace;
|
||||
}
|
||||
.serializedFormContainer dl.nameValue dt {
|
||||
margin-left:1px;
|
||||
font-size:1.1em;
|
||||
display:inline;
|
||||
font-weight:bold;
|
||||
}
|
||||
.serializedFormContainer dl.nameValue dd {
|
||||
margin:0 0 0 1px;
|
||||
font-size:1.1em;
|
||||
display:inline;
|
||||
}
|
||||
/*
|
||||
List styles
|
||||
*/
|
||||
ul.horizontal li {
|
||||
display:inline;
|
||||
font-size:0.9em;
|
||||
}
|
||||
ul.inheritance {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
ul.inheritance li {
|
||||
display:inline;
|
||||
list-style:none;
|
||||
}
|
||||
ul.inheritance li ul.inheritance {
|
||||
margin-left:15px;
|
||||
padding-left:15px;
|
||||
padding-top:1px;
|
||||
}
|
||||
ul.blockList, ul.blockListLast {
|
||||
margin:10px 0 10px 0;
|
||||
padding:0;
|
||||
}
|
||||
ul.blockList li.blockList, ul.blockListLast li.blockList {
|
||||
list-style:none;
|
||||
margin-bottom:15px;
|
||||
line-height:1.4;
|
||||
}
|
||||
ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
|
||||
padding:0px 20px 5px 10px;
|
||||
border:1px solid #ededed;
|
||||
background-color:#f8f8f8;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
|
||||
padding:0 0 5px 8px;
|
||||
background-color:#ffffff;
|
||||
border:none;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
|
||||
margin-left:0;
|
||||
padding-left:0;
|
||||
padding-bottom:15px;
|
||||
border:none;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
|
||||
list-style:none;
|
||||
border-bottom:none;
|
||||
padding-bottom:0;
|
||||
}
|
||||
table tr td dl, table tr td dl dt, table tr td dl dd {
|
||||
margin-top:0;
|
||||
margin-bottom:1px;
|
||||
}
|
||||
/*
|
||||
Table styles
|
||||
*/
|
||||
.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary {
|
||||
width:100%;
|
||||
border-left:1px solid #EEE;
|
||||
border-right:1px solid #EEE;
|
||||
border-bottom:1px solid #EEE;
|
||||
}
|
||||
.overviewSummary, .memberSummary {
|
||||
padding:0px;
|
||||
}
|
||||
.overviewSummary caption, .memberSummary caption, .typeSummary caption,
|
||||
.useSummary caption, .constantsSummary caption, .deprecatedSummary caption {
|
||||
position:relative;
|
||||
text-align:left;
|
||||
background-repeat:no-repeat;
|
||||
color:#253441;
|
||||
font-weight:bold;
|
||||
clear:none;
|
||||
overflow:hidden;
|
||||
padding:0px;
|
||||
padding-top:10px;
|
||||
padding-left:1px;
|
||||
margin:0px;
|
||||
white-space:pre;
|
||||
}
|
||||
.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link,
|
||||
.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link,
|
||||
.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover,
|
||||
.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover,
|
||||
.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active,
|
||||
.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active,
|
||||
.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited,
|
||||
.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited {
|
||||
color:#FFFFFF;
|
||||
}
|
||||
.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,
|
||||
.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span {
|
||||
white-space:nowrap;
|
||||
padding-top:5px;
|
||||
padding-left:12px;
|
||||
padding-right:12px;
|
||||
padding-bottom:7px;
|
||||
display:inline-block;
|
||||
float:left;
|
||||
background-color:#F8981D;
|
||||
border: none;
|
||||
height:16px;
|
||||
}
|
||||
.memberSummary caption span.activeTableTab span {
|
||||
white-space:nowrap;
|
||||
padding-top:5px;
|
||||
padding-left:12px;
|
||||
padding-right:12px;
|
||||
margin-right:3px;
|
||||
display:inline-block;
|
||||
float:left;
|
||||
background-color:#F8981D;
|
||||
height:16px;
|
||||
}
|
||||
.memberSummary caption span.tableTab span {
|
||||
white-space:nowrap;
|
||||
padding-top:5px;
|
||||
padding-left:12px;
|
||||
padding-right:12px;
|
||||
margin-right:3px;
|
||||
display:inline-block;
|
||||
float:left;
|
||||
background-color:#4D7A97;
|
||||
height:16px;
|
||||
}
|
||||
.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab {
|
||||
padding-top:0px;
|
||||
padding-left:0px;
|
||||
padding-right:0px;
|
||||
background-image:none;
|
||||
float:none;
|
||||
display:inline;
|
||||
}
|
||||
.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd,
|
||||
.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd {
|
||||
display:none;
|
||||
width:5px;
|
||||
position:relative;
|
||||
float:left;
|
||||
background-color:#F8981D;
|
||||
}
|
||||
.memberSummary .activeTableTab .tabEnd {
|
||||
display:none;
|
||||
width:5px;
|
||||
margin-right:3px;
|
||||
position:relative;
|
||||
float:left;
|
||||
background-color:#F8981D;
|
||||
}
|
||||
.memberSummary .tableTab .tabEnd {
|
||||
display:none;
|
||||
width:5px;
|
||||
margin-right:3px;
|
||||
position:relative;
|
||||
background-color:#4D7A97;
|
||||
float:left;
|
||||
|
||||
}
|
||||
.overviewSummary td, .memberSummary td, .typeSummary td,
|
||||
.useSummary td, .constantsSummary td, .deprecatedSummary td {
|
||||
text-align:left;
|
||||
padding:0px 0px 12px 10px;
|
||||
width:100%;
|
||||
}
|
||||
th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th,
|
||||
td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{
|
||||
vertical-align:top;
|
||||
padding-right:0px;
|
||||
padding-top:8px;
|
||||
padding-bottom:3px;
|
||||
}
|
||||
th.colFirst, th.colLast, th.colOne, .constantsSummary th {
|
||||
background:#dee3e9;
|
||||
text-align:left;
|
||||
padding:8px 3px 3px 7px;
|
||||
}
|
||||
td.colFirst, th.colFirst {
|
||||
white-space:nowrap;
|
||||
font-size:13px;
|
||||
}
|
||||
td.colLast, th.colLast {
|
||||
font-size:13px;
|
||||
}
|
||||
td.colOne, th.colOne {
|
||||
font-size:13px;
|
||||
}
|
||||
.overviewSummary td.colFirst, .overviewSummary th.colFirst,
|
||||
.overviewSummary td.colOne, .overviewSummary th.colOne,
|
||||
.memberSummary td.colFirst, .memberSummary th.colFirst,
|
||||
.memberSummary td.colOne, .memberSummary th.colOne,
|
||||
.typeSummary td.colFirst{
|
||||
width:25%;
|
||||
vertical-align:top;
|
||||
}
|
||||
td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
|
||||
font-weight:bold;
|
||||
}
|
||||
.tableSubHeadingColor {
|
||||
background-color:#EEEEFF;
|
||||
}
|
||||
.altColor {
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.rowColor {
|
||||
background-color:#EEEEEF;
|
||||
}
|
||||
/*
|
||||
Content styles
|
||||
*/
|
||||
.description pre {
|
||||
margin-top:0;
|
||||
}
|
||||
.deprecatedContent {
|
||||
margin:0;
|
||||
padding:10px 0;
|
||||
}
|
||||
.docSummary {
|
||||
padding:0;
|
||||
}
|
||||
|
||||
ul.blockList ul.blockList ul.blockList li.blockList h3 {
|
||||
font-style:normal;
|
||||
}
|
||||
|
||||
div.block {
|
||||
font-size:14px;
|
||||
font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
|
||||
}
|
||||
|
||||
td.colLast div {
|
||||
padding-top:0px;
|
||||
}
|
||||
|
||||
|
||||
td.colLast a {
|
||||
padding-bottom:3px;
|
||||
}
|
||||
/*
|
||||
Formatting effect styles
|
||||
*/
|
||||
.sourceLineNo {
|
||||
color:green;
|
||||
padding:0 30px 0 0;
|
||||
}
|
||||
h1.hidden {
|
||||
visibility:hidden;
|
||||
overflow:hidden;
|
||||
font-size:10px;
|
||||
}
|
||||
.block {
|
||||
display:block;
|
||||
margin:3px 10px 2px 0px;
|
||||
color:#474747;
|
||||
}
|
||||
.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink,
|
||||
.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel,
|
||||
.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink {
|
||||
font-weight:bold;
|
||||
}
|
||||
.deprecationComment, .emphasizedPhrase, .interfaceName {
|
||||
font-style:italic;
|
||||
}
|
||||
|
||||
div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase,
|
||||
div.block div.block span.interfaceName {
|
||||
font-style:normal;
|
||||
}
|
||||
|
||||
div.contentContainer ul.blockList li.blockList h2{
|
||||
padding-bottom:0px;
|
||||
}
|
Loading…
Reference in New Issue
Block a user