EconomyPShop
No funciona (falla al cargar) — Could not load plugin 'EconomyPShop_2.0.4.phar': Invalid plugin manifest: Invalid Plugin "permissions": Nested permission declarations are no longer supported. Declare each permission separately. · Probado en PocketMine-MP 5.50.0 (PHP 8.4.27).
General
A complete suite of Economy plugins by onebone:
-
User oriented plugin
-
EconomyAPI Individual language support
-
Economy API support
-
Direct accessible API
-
Lots of configurations
-
Lots of events to handle
-
Fast processing with massive features
IMPORTANT: You MUST install EconomyAPI to use ANY of the EconomyS plugins
EconomyS
EconomyAPI - Main of the €conom¥$ - All plugins below requires this plugin
EconomyShop - Buy items
EconomySell - Sell items
EconomyAirport - Teleport by money
EconomyJob - Provide job system into your server
EconomyTax - Helps your server balancing money
EconomyLand - Helps your server manage lands
EconomyPShop - Shops for non-op players - requires ItemCloud plugin
EconomyAuction - Open your auction!
EconomyCasino - Do casino in your server!
EconomyProperty - Buy your land with signs - requires EconomyLand
EconomyUsury - Create your usury host and take a loan from host
EconomyAPI
Commands
Default command Parameter Description Default Permission
/mymoney
Shows your money All
/mydebt
Shows your debt All
/takedebt
/returndebt
/topmoney
/moneysave
Saves data to your hardware Console
/moneyload
Loads data from your hardware Console
/setmoney
Sets
OP Console
/economys
Shows plugin which are using EconomyAPI All
/givemoney
Gives $
OP Console
/takemoney
Takes $
OP Console
/seemoney
/bank deposit
/bank withdraw
/bank mymoney
Shows your money from your account All
/mystatus
Shows your money status All
/bankadmin takemoney
Takes $
OP Console
/bankadmin givemoney
Gives $
OP Console
Configuration
File : plugins/EconomyAPI/economy.properties
Key Description Available Value Default Value
show-using-economy Changes server name to [EconomyS] SERVER NAME on : Change off : Don't change
on off
on
once-debt-limit Limits borrowing debt at once All integers 100
debt-limit Limits available debt All integers 500
add-op-at-rank Shows OP at top money rank on : Shows OP off : Don't shows OP
on off
off
default-money Sets default money All integers 1000
default-debt Sets default debt All integers 0
time-for-increase-debt Sets how long will take for debt increase All integers 10
percent-of-increase-debt Sets percentage of increasing debt All integers 5
default-bank-money Sets default bank money All integers 0
time-for-increase-money Sets how long will take for credit increase All integers 10
bank-increase=money-rate Sets percentage of increasing credit All integers 5
debug Money debugging preferences on : yes off : no
on off
on
EconomyLand
EconomyLand provides your players a land protection system. If the player buys land, the land will protected for the bought player.
Commands
List of commands :
/land <list | here | move | invite | invitee | give | buy | whose>
/landsell <here | land number>
Instructions for /land command :
/startp : Sets the start position.
/endp : Sets the end position.
/land list [page] : Shows the list of land.
/land here : Shows the land where you are standing on.
/land move
/land invite
/land invitee
/land give
/land buy : Buys land.
/land whose
/landsell here : Sells land where you're standing on.
/landsell
If you use /startp and /endp commands you'll set the position where you'll buy. Then, you can use /land buy command to buy the land.
The land id is the land ID that shows in /land list command.
EconomyLand will ignore Y axis. It will protect all of Y axis which is in area.
Permissions
economyland.* economyland.land.* economyland.land.modify.others economyland.land.modify.whiteland economyland.land.modify.others economyland.landsell.* economyland.landsell.others economyland.command.* economyland.command.startp economyland.command.endp economyland.command.land.buy economyland.command.land.move economyland.command.land.list economyland.command.land.whose economyland.command.land.give economyland.command.land.here economyland.command.landsell economyland.command.landsell.here economyland.command.landsell.number
EconomyShop
Commands
/shop create <create|remove|list> [item[:damage]] [amount] [price] [side] - Tap to activate SHOP signs | OP |
Shop are created with /shop then tapping any block to activate it. For example to make a shop selling a Diamond Sword for 500$:
/shop create 276 1 500 then tap a block/sign.
Sell Center in EconomySell can be created in same way with /sell create 276 1 500. And also Player's Shop in EconomyPShop
Configuration
File : plugins/EconomyShop/shop.properties
Key Description Available Value Default Value
handler-priority The priority of handling shop touches Integer 5
EconomyPShop
EconomyPShop is the system that lets non-OP players to open their own shop.
Important: EconomyPShop requires ItemCloud
First, you have to register and upload your item. Then, you'll create the PShop (Player shop). Second, other players will tap your pshop sign/block twice to buy your item. Then, your item in ItemCloud will be removed.
Commands
/pshop create <create|remove|list> [item[:damage]] [amount] [price] [side] - Tap to activate SHOP signs | OP |
EconomyJob
Instructions for jobs.yml configuration
tree-cutter: "17:0:break": 10
This is one of the config items in jobs.yml.
'tree-cutter' is name of the job,
In "17:0:break" - 17 is item code, 0 is damage of item, break is the method and the 10 on the far right side is the money earned.
So
"18:0:place": 10
Means : If I place a block with ID 18 and damage 0 I will earn $10.
Instructions for config.yml configuration
refresh-time: The time of changing price of item, Integer
broadcast-refresh: Whether to broadcast the item has refreshed the price, true/false
max-change-rate: The maximum rate of changing money, Integer
Permissions
economyjob.command.* economyjob.command.job.join economyjob.command.job.reture economyjob.command.job.list economyjob.command.job.me
EconomyAirport
File : %CONFIG_PATH%/DepartureSign.yml File : %CONFIG_PATH%/ArrivalSign.yml File : %CONFIG_PATH%/Identifier.yml
This documentation is focused on default configuration.
Line1 Line2 Line3 Line4
<international airport>
<arrival departure>
Example:
Line1: airport Line2: departure Line3: 10 Line4: onebone
Takes $10 to go to onebone airport
Line1: airport Line2: arrival Line3: onebone Line4:
Arrival sign : onebone airport
If there's no target airport to fly, it aborts riding a flight.
For Developers
You can access to EconomyAPI by using EconomyAPI::getInstance()
Example:
EconomyAPI::getInstance()->addMoney(amount);
License
EconomyS, the massive economy plugin with many features for PocketMine-MP Copyright (C) 2013-2017 onebone [email protected]
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.