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.
@CamSFGiant
Hi there - the command is actually just /balance - it's meant to replace the standard /balance command. I plan to add an explicit /mwm balance <player> in the future for admins that will show player balances.
@tastybento
Thanks a lot! It is a really useful command and it also works perfectly on my server.
Two more similar commands you should add are
'/mwm give <player> $50 <world>'
and
'/mwm take <player> $50 <world>'
The give wouldn't just transfer money from an account but actually create the money. The take would simply take money from an account. It would be nice if they could both be executed from the console.
Thanks! It would be great if you could add this!
commands I believe don't work only the command /multiworldmoney:balance. Also do you think you can add a option in config to change the message when entering worlds?
@rohanmcdermott1
I just uploaded a new version 1.7.4 that adds functionality. I'm marking it as Beta as I've done a fair amount of testing, but if there are no issues after a while, it'll be a release.
@MaybeOneDayiCan
Yes! It's in the new version I just uploaded and should become available in a few days after bukkit approval. Let me know if you have any problems.
@nick331999
I added this command in the new version along with world groups. It should become available soon after approval. It was surprisingly complex to do, especially when combined with world groups, but it's done. Let me know if you find any problems.
Hi, this plugin is great! I love it! It works great too. Something you should add to your to do list is a /pay command but with a world parameter. That we we can pay users money for a certain world. (/mwm pay user123 100 world_pvp) This is something I think would be really useful.
Thanks for the plugin,
-Nick
Is there an estimated date of release? I need this for my new server. Its the last thing i need to finish the server. :) Great idea btw!
Could you add groups config like a multinv?
@YapZiYang
No, it works find with Essentials. That's what I used when I wrote it.
@tastybento
Will this be incompatible with Essentials Economy?
@elkidz
Interesting... by blacklist do you mean that the plugin would ignore those worlds?
Can you update this plugin and add a new feature: Blacklist worlds.
You should remove stupid permission because permisson.ylm and group manager can't load it!!!
Great Idea! :)