mirror of
https://github.com/MilkBowl/VaultAPI.git
synced 2024-11-15 15:05:14 +01:00
633 lines
44 KiB
HTML
633 lines
44 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
|
|
<title>AbstractEconomy (Vault)</title>
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="AbstractEconomy (Vault)";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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="strong">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="overviewSummary" 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><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#AbstractEconomy()">AbstractEconomy</a></strong>()</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span>Methods</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>
|
|
<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"><code><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#createBank(java.lang.String,%20org.bukkit.OfflinePlayer)">createBank</a></strong>(<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="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#createPlayerAccount(org.bukkit.OfflinePlayer)">createPlayerAccount</a></strong>(org.bukkit.OfflinePlayer player)</code>
|
|
<div class="block">Attempts to create a player account for the given player</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#createPlayerAccount(org.bukkit.OfflinePlayer,%20java.lang.String)">createPlayerAccount</a></strong>(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 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><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#depositPlayer(org.bukkit.OfflinePlayer,%20double)">depositPlayer</a></strong>(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"><code><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#depositPlayer(org.bukkit.OfflinePlayer,%20java.lang.String,%20double)">depositPlayer</a></strong>(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="rowColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#getBalance(org.bukkit.OfflinePlayer)">getBalance</a></strong>(org.bukkit.OfflinePlayer player)</code>
|
|
<div class="block">Gets balance of a player</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#getBalance(org.bukkit.OfflinePlayer,%20java.lang.String)">getBalance</a></strong>(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 class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#has(org.bukkit.OfflinePlayer,%20double)">has</a></strong>(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 class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#has(org.bukkit.OfflinePlayer,%20java.lang.String,%20double)">has</a></strong>(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 class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#hasAccount(org.bukkit.OfflinePlayer)">hasAccount</a></strong>(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 class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#hasAccount(org.bukkit.OfflinePlayer,%20java.lang.String)">hasAccount</a></strong>(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 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><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#isBankMember(java.lang.String,%20org.bukkit.OfflinePlayer)">isBankMember</a></strong>(<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"><code><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#isBankOwner(java.lang.String,%20org.bukkit.OfflinePlayer)">isBankOwner</a></strong>(<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"><code><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#withdrawPlayer(org.bukkit.OfflinePlayer,%20double)">withdrawPlayer</a></strong>(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"><code><strong><a href="../../../../net/milkbowl/vault/economy/AbstractEconomy.html#withdrawPlayer(org.bukkit.OfflinePlayer,%20java.lang.String,%20double)">withdrawPlayer</a></strong>(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,%20int)" 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,%20double)">bankDeposit</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#bankHas(java.lang.String,%20double)">bankHas</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#bankWithdraw(java.lang.String,%20double)">bankWithdraw</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#createBank(java.lang.String,%20java.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,%20java.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,%20double)">depositPlayer</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer(java.lang.String,%20java.lang.String,%20double)">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,%20java.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,%20double)">has</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#has(java.lang.String,%20java.lang.String,%20double)">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,%20java.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,%20java.lang.String)">isBankMember</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#isBankOwner(java.lang.String,%20java.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,%20double)">withdrawPlayer</a>, <a href="../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer(java.lang.String,%20java.lang.String,%20double)">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#hasAccount(org.bukkit.OfflinePlayer)">Economy</a></code></strong></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><strong>Specified by:</strong></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="strong">Parameters:</span></dt><dd><code>player</code> - to check</dd>
|
|
<dt><span class="strong">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#hasAccount(org.bukkit.OfflinePlayer,%20java.lang.String)">Economy</a></code></strong></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><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#hasAccount(org.bukkit.OfflinePlayer,%20java.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="strong">Parameters:</span></dt><dd><code>player</code> - to check in the world</dd><dd><code>worldName</code> - world-specific account</dd>
|
|
<dt><span class="strong">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#getBalance(org.bukkit.OfflinePlayer)">Economy</a></code></strong></div>
|
|
<div class="block">Gets balance of a player</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></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="strong">Parameters:</span></dt><dd><code>player</code> - of the player</dd>
|
|
<dt><span class="strong">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#getBalance(org.bukkit.OfflinePlayer,%20java.lang.String)">Economy</a></code></strong></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><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#getBalance(org.bukkit.OfflinePlayer,%20java.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="strong">Parameters:</span></dt><dd><code>player</code> - to check</dd><dd><code>world</code> - name of the world</dd>
|
|
<dt><span class="strong">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#has(org.bukkit.OfflinePlayer,%20double)">Economy</a></code></strong></div>
|
|
<div class="block">Checks if the player account has the amount - DO NOT USE NEGATIVE AMOUNTS</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#has(org.bukkit.OfflinePlayer,%20double)">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="strong">Parameters:</span></dt><dd><code>player</code> - to check</dd><dd><code>amount</code> - to check for</dd>
|
|
<dt><span class="strong">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#has(org.bukkit.OfflinePlayer,%20java.lang.String,%20double)">Economy</a></code></strong></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><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#has(org.bukkit.OfflinePlayer,%20java.lang.String,%20double)">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="strong">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="strong">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer(org.bukkit.OfflinePlayer,%20double)">Economy</a></code></strong></div>
|
|
<div class="block">Withdraw an amount from a player - DO NOT USE NEGATIVE AMOUNTS</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer(org.bukkit.OfflinePlayer,%20double)">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="strong">Parameters:</span></dt><dd><code>player</code> - to withdraw from</dd><dd><code>amount</code> - Amount to withdraw</dd>
|
|
<dt><span class="strong">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer(org.bukkit.OfflinePlayer,%20java.lang.String,%20double)">Economy</a></code></strong></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><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#withdrawPlayer(org.bukkit.OfflinePlayer,%20java.lang.String,%20double)">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="strong">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="strong">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer(org.bukkit.OfflinePlayer,%20double)">Economy</a></code></strong></div>
|
|
<div class="block">Deposit an amount to a player - DO NOT USE NEGATIVE AMOUNTS</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer(org.bukkit.OfflinePlayer,%20double)">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="strong">Parameters:</span></dt><dd><code>player</code> - to deposit to</dd><dd><code>amount</code> - Amount to deposit</dd>
|
|
<dt><span class="strong">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer(org.bukkit.OfflinePlayer,%20java.lang.String,%20double)">Economy</a></code></strong></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><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#depositPlayer(org.bukkit.OfflinePlayer,%20java.lang.String,%20double)">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="strong">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="strong">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#createBank(java.lang.String,%20org.bukkit.OfflinePlayer)">Economy</a></code></strong></div>
|
|
<div class="block">Creates a bank account with the specified name and the player as the owner</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#createBank(java.lang.String,%20org.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="strong">Parameters:</span></dt><dd><code>name</code> - of account</dd><dd><code>player</code> - the account should be linked to</dd>
|
|
<dt><span class="strong">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#isBankOwner(java.lang.String,%20org.bukkit.OfflinePlayer)">Economy</a></code></strong></div>
|
|
<div class="block">Check if a player is the owner of a bank account</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#isBankOwner(java.lang.String,%20org.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="strong">Parameters:</span></dt><dd><code>name</code> - of the account</dd><dd><code>player</code> - to check for ownership</dd>
|
|
<dt><span class="strong">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#isBankMember(java.lang.String,%20org.bukkit.OfflinePlayer)">Economy</a></code></strong></div>
|
|
<div class="block">Check if the player is a member of the bank account</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#isBankMember(java.lang.String,%20org.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="strong">Parameters:</span></dt><dd><code>name</code> - of the account</dd><dd><code>player</code> - to check membership</dd>
|
|
<dt><span class="strong">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#createPlayerAccount(org.bukkit.OfflinePlayer)">Economy</a></code></strong></div>
|
|
<div class="block">Attempts to create a player account for the given player</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></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="strong">Parameters:</span></dt><dd><code>player</code> - OfflinePlayer</dd>
|
|
<dt><span class="strong">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"><strong>Description copied from interface: <code><a href="../../../../net/milkbowl/vault/economy/Economy.html#createPlayerAccount(org.bukkit.OfflinePlayer,%20java.lang.String)">Economy</a></code></strong></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><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../net/milkbowl/vault/economy/Economy.html#createPlayerAccount(org.bukkit.OfflinePlayer,%20java.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="strong">Parameters:</span></dt><dd><code>player</code> - OfflinePlayer</dd><dd><code>worldName</code> - String name of the world</dd>
|
|
<dt><span class="strong">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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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="strong">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>
|