mirror of
https://github.com/MilkBowl/VaultAPI.git
synced 2024-11-15 06:55:14 +01:00
709 lines
46 KiB
HTML
709 lines
46 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>
|
|
<!-- Generated by javadoc -->
|
|
<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">
|
|
<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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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 then false will always 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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/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.15">hasAccount</a>(org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/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.21">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.26">getBalance</a>(org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/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.31">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.37">has</a>(org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/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.43">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.48">withdrawPlayer</a>(org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/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.53">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.58">depositPlayer</a>(org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/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.63">createBank</a>(<a href="https://docs.oracle.com/javase/8/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.68">isBankOwner</a>(<a href="https://docs.oracle.com/javase/8/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.73">isBankMember</a>(<a href="https://docs.oracle.com/javase/8/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.78">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.83">createPlayerAccount</a>(org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/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 then false will always 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, 2020</b></small></p>
|
|
</body>
|
|
</html>
|