12.0 Innovation and Eco API change
The API for Economy has been rebuilt. - - Class renamed: net.t2code.lib.Spigot.Lib.vault.Vault -> net.t2code.lib.Spigot.Lib.eco.Eco - Methods renamed: - buy(String prefix, Player p, Double price) -> moneyRemove(String prefix, Player player, Double price) - addMoney(String prefix, Player p, Double price) -> moneyAdd(String prefix, Player player, Double price) - New methods: - itemRemove(Player player, String item, int amount) - itemAdd(Player player, String item, int amount) - votePointsRemove(String prefix, Player player, Integer amount) (for VotingPlugin) - votePointsAdd(String prefix, Player player, Integer amount) (for VotingPlugin) - VotingPlugin added to PluginCheck
This commit is contained in:
@@ -6,8 +6,8 @@ prefix: T2CodeLib
|
||||
authors: [ JaTiTV, Jkobs ]
|
||||
description: Library from T2Code Plugins
|
||||
website: T2Code.net
|
||||
load: STARTUP
|
||||
softdepend: [ PlaceholderAPI, PlotSquared, CMI, CMILib, Vault, Economy, XConomy ]
|
||||
|
||||
softdepend: [ PlaceholderAPI, VotingPlugin, PlotSquared, CMI, CMILib, Vault, Economy, XConomy ]
|
||||
loadbefore: [ T2C-Alias ]
|
||||
|
||||
commands:
|
||||
|
Reference in New Issue
Block a user