راهنمای استفاده و توضیحات (README)
<h1><div class="ds-message _63c77b1" style="color: rgb(128, 0, 128); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 14px;="" font-variant-ligatures:="" no-contextual;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);="" --panel-width:="" 0px;"=""><div class="ds-markdown" style="--ds-md-zoom: 1.143; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" color:="" rgb(249,="" 250,="" 251);"=""><div class="ds-message _63c77b1" style="font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 14px;="" font-variant-ligatures:="" no-contextual;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);="" --panel-width:="" 0px;"=""><div class="ds-markdown" style="--ds-md-zoom: 1.143; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: normal; font-size: 16px; line-height: 28px; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" color:="" rgb(249,="" 250,="" 251);"=""><p class="ds-markdown-paragraph" style="margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"=""><span style="font-weight: 600;">EconomyAPI</span></p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"="">A complete economy system for PocketMine-MP API 5.0.0 with commands and developer API.</p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"=""><span style="font-weight: 600;">What does this plugin do?</span></p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"="">EconomyAPI provides a monetary system for your server. Players can check balance, pay each other, view top money, and admins can give, take, or set money.</p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"=""><span style="font-weight: 600;">Commands</span></p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"="">/mymoney - Shows your balance - permission: economyapi.command.mymoney<br>/pay <span class="ds-markdown-html" style="font-family: Menlo, Monaco, Consolas, " cascadia="" mono",="" "ubuntu="" "dejavu="" sans="" "liberation="" "jetbrains="" "fira="" code",="" cousine,="" "roboto="" "courier="" new",="" courier,="" sans-serif,="" system-ui;"=""player/player/span span class="ds-markdown-html" style="font-family: Menlo, Monaco, Consolas, " cascadia="" mono",="" "ubuntu="" "dejavu="" sans="" "liberation="" "jetbrains="" "fira="" code",="" cousine,="" "roboto="" "courier="" new",="" courier,="" sans-serif,="" system-ui;"=""></span> - Pays money to another player - permission: economyapi.command.pay<br>/seemoney <span class="ds-markdown-html" style="font-family: Menlo, Monaco, Consolas, " cascadia="" mono",="" "ubuntu="" "dejavu="" sans="" "liberation="" "jetbrains="" "fira="" code",="" cousine,="" "roboto="" "courier="" new",="" courier,="" sans-serif,="" system-ui;"=""player/player/span - Shows another player's balance - permission: economyapi.command.seemoneybr/topmoney - Lists richest players - permission: economyapi.command.topmoneybr/mystatus - Shows financial status - permission: economyapi.command.mystatusbr/setlang span class="ds-markdown-html" style="font-family: Menlo, Monaco, Consolas, " cascadia="" mono",="" "ubuntu="" "dejavu="" sans="" "liberation="" "jetbrains="" "fira="" code",="" cousine,="" "roboto="" "courier="" new",="" courier,="" sans-serif,="" system-ui;"=""></span> - Changes your language - permission: economyapi.command.setlang<br>/givemoney <span class="ds-markdown-html" style="font-family: Menlo, Monaco, Consolas, " cascadia="" mono",="" "ubuntu="" "dejavu="" sans="" "liberation="" "jetbrains="" "fira="" code",="" cousine,="" "roboto="" "courier="" new",="" courier,="" sans-serif,="" system-ui;"=""player/player/span span class="ds-markdown-html" style="font-family: Menlo, Monaco, Consolas, " cascadia="" mono",="" "ubuntu="" "dejavu="" sans="" "liberation="" "jetbrains="" "fira="" code",="" cousine,="" "roboto="" "courier="" new",="" courier,="" sans-serif,="" system-ui;"=""></span> - Gives money (OP only) - permission: economyapi.command.givemoney<br>/takemoney <span class="ds-markdown-html" style="font-family: Menlo, Monaco, Consolas, " cascadia="" mono",="" "ubuntu="" "dejavu="" sans="" "liberation="" "jetbrains="" "fira="" code",="" cousine,="" "roboto="" "courier="" new",="" courier,="" sans-serif,="" system-ui;"=""player/player/span span class="ds-markdown-html" style="font-family: Menlo, Monaco, Consolas, " cascadia="" mono",="" "ubuntu="" "dejavu="" sans="" "liberation="" "jetbrains="" "fira="" code",="" cousine,="" "roboto="" "courier="" new",="" courier,="" sans-serif,="" system-ui;"=""></span> - Takes money (OP only) - permission: economyapi.command.takemoney<br>/setmoney <span class="ds-markdown-html" style="font-family: Menlo, Monaco, Consolas, " cascadia="" mono",="" "ubuntu="" "dejavu="" sans="" "liberation="" "jetbrains="" "fira="" code",="" cousine,="" "roboto="" "courier="" new",="" courier,="" sans-serif,="" system-ui;"=""player/player/span span class="ds-markdown-html" style="font-family: Menlo, Monaco, Consolas, " cascadia="" mono",="" "ubuntu="" "dejavu="" sans="" "liberation="" "jetbrains="" "fira="" code",="" cousine,="" "roboto="" "courier="" new",="" courier,="" sans-serif,="" system-ui;"=""></span> - Sets exact balance (OP only) - permission: economyapi.command.setmoney</p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"=""><span style="font-weight: 600;">Permissions</span></p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"="">economyapi.command.mymoney - default: true - Use /mymoney<br>economyapi.command.pay - default: true - Use /pay<br>economyapi.command.seemoney - default: true - Use /seemoney<br>economyapi.command.topmoney - default: true - Use /topmoney<br>economyapi.command.mystatus - default: true - Use /mystatus<br>economyapi.command.setlang - default: true - Use /setlang<br>economyapi.command.givemoney - default: op - Use /givemoney<br>economyapi.command.takemoney - default: op - Use /takemoney<br>economyapi.command.setmoney - default: op - Use /setmoney</p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"=""><span style="font-weight: 600;">API Usage (for developers)</span></p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"="">Get instance: EconomyAPI::getInstance()<br>Methods: myMoney(), addMoney(), reduceMoney(), setMoney(), getRank(), getAllMoney()<br>Return constants: RET_SUCCESS, RET_NO_MONEY, RET_INVALID_AMOUNT, RET_PLAYER_NOT_FOUND, RET_CANCELLED</p><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"=""><span style="font-weight: 600;">Installation</span></p><ol start="1" style="margin-top: 16px; margin-bottom: 16px; padding-left: 18px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"=""><li><p class="ds-markdown-paragraph">Download EconomyAPI_v5.7.3.phar.</p></li><li style="margin-top: 6px;"><p class="ds-markdown-paragraph">Put the .phar into the plugins folder.</p></li><li style="margin-top: 6px;"><p class="ds-markdown-paragraph">Restart the server.</p></li><li style="margin-top: 6px;"><p class="ds-markdown-paragraph">Edit plugin_data/EconomyAPI/economy.yml to change starting money or language.</p></li></ol><p class="ds-markdown-paragraph" style="margin-top: 16px; margin-bottom: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"=""><span style="font-weight: 600;">Requirements</span></p><ul style="margin-top: 16px; margin-bottom: 16px; padding-left: 18px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"=""><li><p class="ds-markdown-paragraph">PocketMine-MP API 5.0.0</p></li><li style="margin-top: 6px;"><p class="ds-markdown-paragraph">PHP 8.0+</p></li></ul><p class="ds-markdown-paragraph" style="margin-top: 16px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, " segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" background-color:="" rgb(21,="" 21,="" 23);"=""><span style="font-weight: 600;">Version</span> 5.7.3 – by onebone & Mathchat.</p></div></div><div class="ds-theme" style="--ds-input-height-l: 44px; --ds-input-height-m: 34px; --ds-input-height-s: 30px; --ds-input-height-xs: 26px; --ds-font-weight-strong: 500; --ds-font-size-l: 16px; --ds-line-height-l: 28px; --ds-font-size-m: 14px; --ds-line-height-m: 25px; --ds-font-size-sp: 13px; --ds-line-height-sp: 23px; --ds-font-size-s: 12px; --ds-line-height-s: 21px; --ds-font-size-xsp: 11px; --ds-line-height-xsp: 19.5px; --ds-font-size-xs: 10px; --ds-line-height-xs: 18px; --ds-ease-in-out: cubic-bezier(.4,0,.2,1); --ds-ease-in: cubic-bezier(.4,0,1,1); --ds-ease-out: cubic-bezier(0,0,.2,1); --ds-font-family-code: Menlo,Monaco,Consolas," cascadia="" mono","ubuntu="" mono","dejavu="" sans="" mono","liberation="" mono","jetbrains="" mono","fira="" code",cousine,"roboto="" mono","courier="" new",courier,sans-serif,system-ui;="" --ds-transition-duration:="" .2s;="" --ds-transition-duration-fast:="" .1s;="" --ds-transition-duration-slow:="" .3s;="" --wip-ds-font-size-2xs:="" 12px;="" --wip-ds-line-height-2xs-compact:="" 1.5;="" --wip-ds-color-bg-tooltip:="" #43454a;="" --ds-rgb-info:="" 59="" 130="" 246;="" --ds-rgb-primary:="" 78="" 107="" 245;="" --ds-rgb-primary-foreground:="" 255="" 255;="" --ds-rgb-label-1:="" 248="" 250="" --ds-rgb-label-2:="" #bbb;="" --ds-rgb-label-3:="" 115="" 115;="" --ds-rgb-error:="" 239="" 68="" 68;="" --ds-rgb-warning:="" 245="" 158="" 11;="" --ds-rgb-success:="" 34="" 197="" 94;="" --ds-rgba-transparent:="" 0;="" --ds-rgb-bg-base:="" 0="" --ds-rgb-elevated:="" 64="" 64;="" --ds-rgb-track:="" --ds-rgb-hover:="" 77;="" --ds-rgb-header:="" 40="" 40;="" --ds-rgb-separator:="" --ds-rgb-separator-strong:="" 82="" 82;="" --ds-rgb-input:="" 85="" 98;="" --ds-rgb-input-strong:="" --ds-rgb-input-focus:="" 58="" 70;="" --ds-rgb-link:="" --ds-rgb-tag:="" --ds-rgb-segmented:="" --ds-rgb-segmented-button:="" --ds-rgb-segmented-separator:="" --ds-rgb-thumb:="" 229="" 229;="" color:="" rgb(128,="" 0,="" 128);="" font-family:="" quote-cjk-patch,="" inter,="" system-ui,="" -apple-system,="" blinkmacsystemfont,="" "segoe="" ui",="" roboto,="" oxygen,="" ubuntu,="" cantarell,="" "open="" sans",="" "helvetica="" neue",="" sans-serif;="" font-size:="" 14px;="" font-style:="" normal;="" font-variant-ligatures:="" no-contextual;="" font-variant-caps:="" font-weight:="" 400;="" letter-spacing:="" orphans:="" 2;="" text-align:="" start;="" text-indent:="" 0px;="" text-transform:="" none;="" widows:="" word-spacing:="" -webkit-text-stroke-width:="" white-space:="" background-color:="" rgb(21,="" 21,="" 23);="" text-decoration-thickness:="" initial;="" text-decoration-style:="" text-decoration-color:="" --ds-bordered-secondary-button-color:="" rgb(228="" 228="" 231);="" --ds-input-prefix-color:="" --ds-modal-content-color:="" #3a3a46;="" --ds-text-primary-button-color:="" #6780fe;="" --ds-tabs-active-color:="" #6780fe;"=""></div></div></div></h1>