br.net.fabiozumbi12.translationapi.database.LangDB Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of TranslationAPI Show documentation
Show all versions of TranslationAPI Show documentation
Plugin for realtime item, chat and custom translations
The newest version!
package br.net.fabiozumbi12.translationapi.database;
import org.bukkit.Material;
import org.bukkit.entity.EntityType;
public interface LangDB {
String getText(String key);
void setText(String key, String translation);
String getCustom(String category, String key);
void setCustom(String category, String key, String translation);
String getItemName(Material material);
void setItemName(Material material, String translation);
String getEntityName(EntityType entityType);
void setEntityName(EntityType entityType, String translation);
String getCustomType(String typeName);
void setCustomType(String typeName, String translation);
void save();
void closeConn();
}