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.
My server has 4 worlds, 2 worlds share the same economy while the other 2 an individual. Does your plugin allow for me to declare that these 2 worlds can use the same money?
Also, I use this plugin currently: http://dev.bukkit.org/bukkit-plugins/multieco/
But support has been dropped. Is there a way to import the balances there to your plugin?
Thanks, Oscar
Edit just saw this comment below: http://dev.bukkit.org/bukkit-plugins/multi-world-money/?comment=31
So, if I wanted to share it with other worlds, I would just add them into the same group?
@thesgtdylan
I posted a file for you in the ticket here. Try that and let me know if it works for you. You should use capital letters in the world names if they have them.
Hey tastybento i got it to work by naming worlds without caps, but now it duplicates money from spawn to skyblocks if i do /spawn from the world then go threw portal it does it then, i think its something to with caps as you where saying so ill try again once update comes
@ZuGo12321
Post a ticket with some more info on what your setup is and I'll check into it. I can't replicate what you say - fresh install creates the files okay, but maybe I missed something. The most likely reason that the files are not being made is that Vault is not installed. Check the Installation instructions above.
Hello owner of this plugin.
I'm sorry to say that your plugin does not work as you say. it don't make the group.yml and the commands doesn't work
@thesgtdylan
Hi, below is an example groups.yml file. If you change the groups.yml file do not forget to reload by typing /mwm reload. If you still have a problem, please file a ticket along with your groups.yml file contents and I'll try and replicate your problem.
Hello creator of this plugin or anyone the only problem i'm having is i cant seem to find out the way to do groups, i've got mutliInv to work fine and grouped the worlds i needed grouped perfect, but no matter what i've tried so far it wont group the worlds i want grouped, so i ask please can you paste in comments or email [email protected] so i can get this sorted please much luv MrAussieCreeper p.s im not a newbie hehehe
Thanks for the error reports guys. I found the bugs and uploaded a new version that should be approved soon.
@sucas
I can't replicate right now based on the info you've given me. Can you share the following files?
Ihave created a ticket to track this item here. Please use it because I may need some follow up info.
@tastybento
I use essentials and perworldplugins. If a player goes from one world to another, money doubles and has twice. Random money is also generated in other worlds.
image: http://i.imgur.com/WtP3rni.png
Had the same money on survival and minigames. Moving from minigames to survival, the money doubled in survival.
Fix please...
@sucas
Hmm, sorry to hear that. What economy plugin are you using? If you can share any other info about what happened that'd be useful.
This plugin generates random money to all players and cloned money going from one world to another. :S
@Suggestion Can you give worlds a nickname? So like world you can call that survival and the player see when he does /balance its survival?
New player automatic gave random money.. :O And /pay bugged.. I create Ticket.
@OfficalWarforgedNetwork
Yes. Just put both the worlds into the same group. You can make groups by editing the groups.yml file. If both worlds are in the same group, then there will be only one balance between the two (or three or four).
So for example, if you want world, world_nether and world_the_end to all use the same money/balance, put them all into a group, e.g. default.
Can you have two world's with the same amount?
@CamSFGiant
Yes, that is available in the latest version 1.7.4c. Enjoy!
@tastybento
Cool, no problem. Were messages when entering worlds going to be customizable in the future?
@CamSFGiant
I looked into this some more and I see that the permissions for /balance are not in V1.7.4. so the command is available to everyone by default if the plugin is installed. I updated the description above to reflect that - thanks for the prompt.
@nick331999
I'll add them to the To Do list!