
HyperEconomy
HyperScript addon for Vault: makes a currency of your scripts the server's money, so every plugin that pays through Vault pays in it.
HyperEconomy
One money for your scripts and your plugins. HyperEconomy hands Vault an economy whose balances are a HyperScript currency, so a shop plugin and a script count the same coins.
currency "coins":
start: 100
on economy deposit:
send "&a+%economy format of _amount%" to player
What it adds
- A Vault economy: every plugin that pays through Vault pays in the currency you name in the config. No other economy plugin is needed
- The currency's own rules: what a new player starts with and the most anybody can have, for other plugins too
- Events:
on economy deposit:andon economy withdraw:when another plugin moves money, with the amount and the new balance - Amounts:
economy format of 1250gives1,250 coins;economy currencynames the currency - Switching:
set economy currency to "gems"
Balances are kept by HyperScript with its other variables, and are there for players who are offline.
Requirements
- HyperScript 1.7.29 or newer
- Vault
- Paper or Spigot 1.16.5+, Java 8+
Documentation
Every statement, with examples that are checked to load: https://hyperscript.monoforge.net/addons.html
HyperEconomy is an addon for HyperScript, a scripting language for Paper and Spigot servers. MIT licence.
Сервер для плагина HyperEconomy - как у профи
Плагин HyperEconomy создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином HyperEconomy для друзей можно за пару минут - BungeeHost всё уже подготовил.
