Skip to content

Multiworld

William Lebel edited this page Jun 25, 2015 · 1 revision

Multiworld currency is quite easy with Craftconomy. Unfortunatly, it only works with Craftconomy own commands or plugins hooking directly in the API. If you are hooking to Craftconomy through Vault, it is possible to know the world if only the other plugin (Example the shop plugin), gives the world.

Let's say you have 2 worlds named worldA and worldB. To have a seperate balance between those worlds, I would type those commands:

/ccgroup create worldBbalance - The name can be whatever you want. It's only for administrative usage.

/ccgroup addworld worldBbalance worldB - This will add worldB to the worldBbalance group.

And that's it! The 2 worlds now have seperate wallet!

Now, let's say you created worldC and you want to add it to the worldB group. Simply do this command: /ccgroup addworld worldBbalance worldC. Now, with those settings, worldA will use the default wallet while worldB & worldC will share the same wallet!

Finally, you think it would be better worldC to be with the default balance? Simply type /ccgroup delworld worldC. This will make worldC use the default balance. worldB will now have his own wallet alone while worldA & worldC share the default wallet.

Clone this wiki locally