Poslovitch
77b3653547
Restructured database
2017-05-31 16:32:36 +02:00
tastybento
aa93c11080
Added MySQL insert code. POJO's can be saved now.
...
Next job is to write the select code so POJO's can be read.
POJO = Plain Old Java Object.
2017-05-29 19:02:43 -07:00
tastybento
3cff4277b3
Added some serialization to the read/write to MySQL tables.
...
Still a WIP. Needs to have the collections added and needs to be tested.
2017-05-27 16:55:53 -07:00
tastybento
6be730f747
MySQL database will now store Collections in additional tables.
2017-05-27 16:38:32 -07:00
tastybento
c6d41ba1ee
Made MySQL work. Tested. Still needs to implement collections.
2017-05-26 08:15:53 -07:00
tastybento
19865969d2
Added a lot of MySQL stuff. WIP, not tested at all. Beware test conde on
...
onEnable().
2017-05-25 22:54:04 -07:00
tastybento
b5430c0aab
Merge remote-tracking branch 'origin/database'
...
Conflicts:
src/main/java/us/tastybento/bskyblock/BSkyBlock.java
2017-05-25 08:26:40 -07:00
tastybento
c1197b813e
Merge branch 'master' of https://github.com/tastybento/bskyblock.git
2017-05-25 08:24:00 -07:00
tastybento
ee80f616ff
Merge branch 'database' of https://github.com/tastybento/bskyblock.git
...
into database
Conflicts:
src/main/java/us/tastybento/bskyblock/database/objects/Island.java
2017-05-24 23:11:14 -07:00
tastybento
fb7768e964
Database done, compiles, runs without bugs so far.
...
This implements flat file database. MySQL is still to do. IslandManager
now uses this. PlayerManager is still to convert.
2017-05-24 23:09:09 -07:00
Poslovitch
6092217b46
Added basic Placeholders support
2017-05-24 22:23:20 +02:00
Florian CUNY
3c86c3e99a
Fixed pom.xml
...
Description and locales resource path were incorrect
2017-05-24 17:23:38 +02:00
Poslovitch
a69e053229
Started configuration loading and errors; changes to locales
...
Worked on PluginConfig.loadPluginConfig(). Changed the NotSetup
processing : when loading config, it will store errors and if there are,
it will run the plugin as "NotSetup" and send to users what is wrong and
why. Major parts are still remaining as it is a "preview" of an
unfinished and "waiting-for-improvements" work.
2017-05-24 17:10:49 +02:00
Florian CUNY
e00b925447
Changed checkVersion() to getNMSHandler() & fixed it
2017-05-24 11:48:32 +02:00
Florian CUNY
a9e3b064a6
Added DYEING protection flag : toggle sheep dyeing
2017-05-24 11:31:41 +02:00
tastybento
20d74e19c9
Added a concept of UUID to the class that is to be saved.
...
If the class to be saved does not define its own uuid, then one will be
generated at random by the database manager. For flat file databases,
the UUID is used for filenames. For other databases, it's an index
record. If the class defines a UUID then the same record will be
replaced again and again. i.e., it's like a config file.
2017-05-23 22:41:05 -07:00
Florian C
38ea97718a
Removed "breedingLimit" setting
2017-05-23 16:29:09 +02:00
Florian C
a0aea999f1
Removed "animal-breeding-limit" - it is useless
2017-05-23 16:26:49 +02:00
tastybento
aa170f8563
WIP: Island class - saving to flat file.
...
This works but not all the data types in the class are serialized
correctly yet. To enable true generic type saving will take more work.
2017-05-21 21:37:10 -07:00
tastybento
960993108d
Flat file database is now writing and reading correctly with various
...
data types.
2017-05-21 18:18:02 -07:00
tastybento
9ef9d931af
Merge remote-tracking branch 'origin/master' into database
2017-05-21 16:53:48 -07:00
tastybento
edc5c9c642
Database additions
2017-05-21 16:53:17 -07:00
tastybento
297062259d
Fixed package name to bskyblock
2017-05-21 16:51:02 -07:00
Poslovitch
c50fabe827
Split Level from core plugin
2017-05-21 10:28:22 +02:00
Poslovitch
251c2e92f2
Fixed conflicts. Removed "y" variable in Island as it is useless.
2017-05-21 10:20:07 +02:00
Poslovitch
6d0611f717
Added config.yml and Settings variables
...
This build won't run because of conflicts between the latest commit and
mine. I will fix it later.
2017-05-21 10:08:27 +02:00
tastybento
521e4b8b83
Changed checkPerm to hasPerm.
...
Cleaned up imports.
2017-05-21 00:17:20 -07:00
tastybento
ed114a4333
Merge remote-tracking branch 'origin/master'
...
Conflicts:
src/main/java/us/tastybento/bskyblock/database/ASBDatabase.java
src/main/java/us/tastybento/bskyblock/database/IslandsManager.java
src/main/java/us/tastybento/bskyblock/database/PlayersManager.java
src/main/java/us/tastybento/bskyblock/database/flatfile/FlatFileDatabase.java
src/main/java/us/tastybento/bskyblock/database/mysql/MySQLDatabase.java
src/main/java/us/tastybento/bskyblock/database/sqlite/SQLiteDatabase.java
2017-05-21 00:08:38 -07:00
tastybento
679b511178
Added methods to PlayerManager and IslandManager.
2017-05-20 23:53:03 -07:00
Poslovitch
ba9a59df16
Changed ASBCommand to BSBCommand
2017-05-21 08:06:26 +02:00
Poslovitch
3e381ec1f6
Changed ASB classes prefix to BSB
2017-05-21 08:03:17 +02:00
Ben
7e8ffea32b
We can use the issues on this project because we are both collaborators.
2017-05-20 22:04:52 -07:00
Florian C
85044fdb09
Describe what is BSkyblock in comparison to ASkyBlock
2017-05-21 00:06:05 +02:00
tastybento
c74b6720e9
Renamed Player to APlayer to avoid conflict with bukkit Player class.
2017-05-20 14:57:36 -07:00
tastybento
4be12da452
Changed everything to BSkyBlock
2017-05-20 14:52:52 -07:00
tastybento
7ea88aa0e0
Added Build Status to readme.md
2017-05-20 14:40:11 -07:00
tastybento
f1e31c3c72
Added Travis CI
2017-05-20 14:33:53 -07:00
tastybento
712d2a179f
Mavenized
...
Renamed to be BSkyBlock
2017-05-20 14:30:12 -07:00
tastybento
7500c7ad19
Initial commit from @Poslovitch
2017-05-20 14:09:53 -07:00
tastybento
e07ab74b22
Initial commit
2017-05-20 14:05:15 -07:00