Update to BentoBox 1.14 API

Shorter table names for SQL DBs. Async db saving.
This commit is contained in:
tastybento 2020-06-10 20:58:07 -07:00
parent 2329e2c61e
commit 4ca3455d5b
4 changed files with 11 additions and 7 deletions

View File

@ -58,13 +58,13 @@
<powermock.version>2.0.2</powermock.version>
<!-- More visible way how to change dependency versions -->
<spigot.version>1.15.2-R0.1-SNAPSHOT</spigot.version>
<bentobox.version>1.13.1</bentobox.version>
<bentobox.version>1.14.0-SNAPSHOT</bentobox.version>
<!-- Revision variable removes warning about dynamic version -->
<revision>${build.version}-SNAPSHOT</revision>
<!-- Do not change unless you want different name for local builds. -->
<build.number>-LOCAL</build.number>
<!-- This allows to change between versions. -->
<build.version>1.13.0</build.version>
<build.version>1.14.0</build.version>
</properties>
<!-- Profiles will allow to automatically change build version. -->

View File

@ -7,11 +7,13 @@ import java.util.UUID;
import com.google.gson.annotations.Expose;
import world.bentobox.bentobox.database.objects.DataObject;
import world.bentobox.bentobox.database.objects.Table;
/**
* @author tastybento
*
*/
@Table(name = "EntityLimits")
public class EntityLimitsDO implements DataObject {
@Expose

View File

@ -9,11 +9,13 @@ import org.bukkit.entity.EntityType;
import com.google.gson.annotations.Expose;
import world.bentobox.bentobox.database.objects.DataObject;
import world.bentobox.bentobox.database.objects.Table;
/**
* @author tastybento
*
*/
@Table(name = "IslandBlockCount")
public class IslandBlockCount implements DataObject {
@Expose

View File

@ -1,7 +1,7 @@
name: Limits
main: world.bentobox.limits.Limits
version: ${version}${build.number}
api-version: 1.13
api-version: 1.14
authors: tastybento