Multi World Money
Multi World Money
Version: 2.2
Keeps money localized to worlds
This plugin is for multi-world servers that want to keep money separate between worlds. For example, you have a server with the following worlds:
- Survival
- Creative
- A Skyblock
- Acid Island
- Prison
- PvP
MultiWorldMoney will give players a separate balance in each world! Teleport between them and the player's balance will change. Players can check their balance using the /balance command and see what they have in each world. Players can also /pay each other and money will stay in the world they pay from.
This plugin is tiny (35K) and works with economies like Essentials. If your multi-inventory plugin already separates money by world or you are using a multi-world capable economy, then you do not need this plugin.
Note: This plugin cannot prevent other plugins from changing player's balances, e.g., chest shops. If you allow players to sell items, the chest shop will credit them in the world they are in (online or offline). Therefore, this plugin is best for servers where players buy items, but not sell them. (See Known Limitations section below)
Features
- Separates money between worlds
- /pay command that pays players within a world
- Administrator give, take and set commands
- /mwm reload reloads the config and groups files from in game
- Displays world aliases from Multiverse if it is installed
- Support for world grouping (edit groups.yml)
- Configure the message shown when changing world via the config.yml file
How It Works
Player Commands
- /balance - Shows balances across all worlds and sum total
- /pay <player> <amount> - Allows a player to pay another within one world. Money stays in the payee's world.
Admin Commands
- /balance <player> - Shows the balances of <player>
- /mwm give <user> <amount> <world> - increases the player's balance by amount in world. Online players only.
- /mwm take <user> <amount> <world> - decreases the player's balance by amount in world. Online players only.
- /mwm set <user> <amount> <world> - sets the player's balance to amount in world. Online players only.
- /mwm reload - Reloads the config.yml and groups.yml file
Permissions
mwm.balance: description: Gives access to the balance command default: true mwm.pay: description: Allows players to pay each other in-world default: true mwm.playerbalance: description: Enables checking of other player’s balances default: op mwm.admin: description: Access to admin commands default: op
Required Plugins
- Vault - make sure you use the latest version!
- Some kind of Economy Plugin, like Essentials
Optional Plugin
- Multiverse-Core - will use the world aliases if used
Compatibility
- Required UUID's so 1.7.9 onwards
Installation and Configuration
- Stop server
- Download and install Vault and an economy plugin like Essentials if you haven't done so
- Download and install Multiverse-Core (Optional but recommended)
- Download the plugin and place into your plugins folder
- Restart your server
- The plugin will make a folder called MultiWorldMoney. Open that folder.
- Check config.yml
- Edit the groups.yml file to match the world grouping you want.
- Type /mwm reload in the game to reload the config and group files.
Known Limitations
- Money given to a user by another plugin or via an economy /pay command will be deposited in the world they are in now or when they logged out. To avoid this disable the economy /pay command via permissions and use MultiWorldMoney's /pay instead.
- This includes money from chest shop sales.
Source Code
The latest source is always available here: GitHub multiworldmoney Source Code
Problems
Please file a ticket if you find a bug.
Stats Disclosure
This plugin utilizes a plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Visit mcstats.org if you would like to learn more about the stats collected. Go into /plugins/PluginMetrics/config.yml to disable stat collecting if you wish.
So is there a way to View Like top player value?
Would be nice to see this, to catch explots. and whatnot
@brewerbjb
Have you tried removing that players profile?
Also, just to point out, US spellings are not the only format for english speaking countries!
http://www.thefreedictionary.com/recognised
I keep getting the issue 'BrewingMinecraft is not a recognised player" (also recognized is spelled wrong)
Under MultiWorldMoney/userdata there are users files with different spellings (capitalised and non-capitalised) with different data in them. Is this on purpose/hardcoded or can this be changed?
Due to the following it means McMyAdmin won't back them up as it can't differentiate between the PlayerOne.yml and playerone.yml
I would like to make the suggestion for it to be changed, for example:
Capitalised:
1) PlayerOne-playerinfo
2) PlayerOne-worldinfo
Non capitalised:
1) playerone-playerinfo
2) playerone-worldinfo
Also a separate thing, I use MultiWorld and not Multiverse, are you able to account for the below as I see the following on server start-up?
WARN]: [MultiWorldMoney] Multiverse-Core not found.
Is there a balance top feature to this?
@CadeCEB
This is already a feature (it's basically the foundation of the plugin!)
"Support for world grouping (edit groups.yml)"
Can you add a world-group system?(e.g. a player in both "world" and "world_1" would have the same bank account)
@littleboy8399
It's hard to say when it happened as my players were 'vague', and asking them to outline when /how is a bit like asking them them to describe quantum mechanics! I haven't had time/chance to try and recreate in test. My only changed variable was the addition of the pay command to their group
@frizzbee30
I had some people's balances get wiped as well, and I have created a ticket about it, because some of my players are upset about it. I don't think I provided much information for him to solve the problem, and since I really need this problem solved... do you think you could give some info about how and when it happens in a ticket? Thanks.
@roracle
I would, we ran great and it is an amazing plugin, only had issues after pay support was put in and restricted to world. I just haven t got around to amending the multiple pay permission nodes yet. We run multiworld and have multiple ranks, so it's a bit tricky .especially with YAML checking the group manager files.
@frizzbee30
You think I should just use mvm pay to avoid that situation all together? I've not got a stable server up yet, so I don't mind wipes during testing, so any info is welcome. :)
@roracle
pay does work, although to be honest since I added it back in, had one or two balance wipes for some reason
Should I just remove the "pay" command in default economy permissions, all other default econ commands should work fine? (ie: pay is the only odd man out?)
Hi There , i've been searching for a plugin for a very very long time and i couldnt get what i wanted. But this plugin is the closest that i was searching for.
Unfortunately , i saw this
Note: This plugin cannot prevent plugins that give or take money, e.g., chest shops, from crediting or debiting the player when they are in another world (online or offline). (See Known Limitations section below)
Its because players in my prison world we use chestshop to sell and buy items . So when a player is in a skyblock world , and when someone buys something from their shop in prison world , the money automatically goes to skyblock . So i hope you can give me a idea on how to solve this problem.
@Cmoor
I would also love to add a feature to message a player when someone pays them. No one knows when or who pays them without watching their balance closely.
Waiting for more updates and features before i install this plugin :?
@Cmoor
Not a bad request. Tracking in this ticket.
@daycraft
For bugs, please file a ticket with a list of what economy you use and other plugins. Thanks.
this plugin got a bug, when i add this plugin into a world
example: playerA do /pay playerB money , and playerA relog, the money will back to playerA, and the playerB still get the money! that mean they have infinity money to transfer!
Do you think you can add the feature where it shows a player paying a player. no one knows when they get payed other than what i see in the console and i have /pay in the socialspy feature of esssentials so my staff know when as well. maybe i did something wrong but if not that would be a good thing to add, thanks