How do i change the money system to {cash::%player's uuid%} #1753
-
So i have my own economy how do i change your economy to my economy. What im trying to say is how would i switch my economy over to yours? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 5 replies
-
this is about the plugin Superiorskyblock2 |
Beta Was this translation helpful? Give feedback.
-
You can do that using the API and register a custom EconomyProvider (Implement your own one and then register it) |
Beta Was this translation helpful? Give feedback.
-
Implement your own EconomyProvider in your plugin. |
Beta Was this translation helpful? Give feedback.
-
i feel stupid how would i do that cause im also on xbox would i go to the plugin on minehut then go to upgrades or what or if i send you the cash uuid can you do it for me and send the file pls |
Beta Was this translation helpful? Give feedback.
-
Where would i go to do that would i edit that actual file before installing it on my server? Or would i do it when it is installed?
On Friday, June 23, 2023 at 05:12:14 AM PDT, Ome_R ***@***.***> wrote:
Implement your own EconomyProvider in your plugin.
Then, when your plugin is enabled, check if SSB is enabled. If so, use SuperiorSkyblockAPI.getProviders#setEconomyProvider
This will make it so your custom economy provider will be used for warps charges, upgrades, etc.
For bank interactions (deposit or withdraw), use setBankEconomyProvider instead.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
i found out how to do it