You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 1, 2025. It is now read-only.
importcom.github.grassproject.grassLib.economy.EconManager;
EconManager.setupEcon(JavaPlugin); // setup economyEconomyecon= EconManager.getEcon(); // get economyEconManager.getBalance(OfflinePlayer); // get money from playerEconManager.takeMoney(OfflinePlayer, double); // take money from playerEconManager.giveMoney(OfflinePlayer, double); // give money to playerEconManager.sendMoney(OfflinePlayer, OfflinePlayer, double); // send money to player
importcom.github.grassproject.grassLib.utilities.PlayerUtil;
Player.performCommandAsOP(String) // perform command as opPlayer.takeItem(ItemStack, amount) // take item from playerPlayerInvenotory.full() // check inventory is full
ItemStack.onInteraction(JavaPlugin) {player, item, e ->
// Event Action
}
ConfigManager
ConfigManager.getConfigFile(JavaPlugin, String); // get config fileConfigManager.getConfig(file); // get configConfigManager.setValue(file, path, value); // set value to configConfigManager.createFile(JavaPlugin, string) // create file