tastybento
b2e68c22d4
Added Addon class unit tests.
2018-04-27 16:34:17 +09:00
tastybento
5cc71c2a2f
WIP AddonTest class
2018-04-27 11:29:15 +09:00
tastybento
8fb9512f16
Filled in a few more User class tests.
2018-04-27 10:26:50 +09:00
tastybento
a2a23d0771
Merge remote-tracking branch 'origin/develop' into develop
2018-04-27 09:21:03 +09:00
tastybento
ca5fdbd71d
Implemented User class JUnit tests.
...
Fixed some bugs in User, Notifier.
2018-04-27 09:20:51 +09:00
Florian CUNY
9639872685
cleaned PVPListener from "us.tastybento.bskyblock.lists.Flags"
2018-04-26 16:06:47 +02:00
Florian CUNY
ecb630fac3
Fixed some code smells
2018-04-25 13:48:58 +02:00
tastybento
135f35131c
Finished IslandCacheTest.
2018-04-24 14:22:33 -07:00
tastybento
bf5a30e7a1
Added IslandCacheTest WIP
...
Cleaned up IslandCache, IslandsManager and Island.
2018-04-24 13:18:22 -07:00
Florian CUNY
0e45aa664d
Finished and polished the Language Panel
2018-04-24 18:02:29 +02:00
Florian CUNY
175f832f41
Removed the sanity check, which could lead to weird issues
2018-04-24 17:04:29 +02:00
tastybento
0fe453c163
https://github.com/tastybento/bskyblock/issues/161
2018-04-23 16:51:18 -07:00
Florian CUNY
5ebbc2e374
Created the language panel. It is currently not localized.
2018-04-23 21:16:08 +02:00
Tastybento
45101901bd
Fixed loadObject for MySQL.
...
The uniqueKey needs to be enclosed in quotes "" to work.
2018-04-21 11:41:48 -07:00
Tastybento
6ff8c1a3d8
Added obsidian scooping.
...
In ordeer to test, I needed to change a few other classes.
2018-04-21 09:03:39 -07:00
Tastybento
e881a5bd2b
Removal of code smells.
...
Removed a lot of debug code.
Refactored some loops into lambas.
2018-04-18 19:07:20 -07:00
Tastybento
01aef76eb5
Removed debug from util.
2018-04-18 11:18:07 -07:00
Tastybento
1fd2b93ce8
Improved serialization and deserialization for flatfile db.
2018-04-18 10:51:32 -07:00
Tastybento
f98c5527bc
Improved accuracy of location - string conversion.
2018-04-18 10:47:20 -07:00
Tastybento
2e1c055cd7
Made BSBDatabase much easier to use for addons
...
Now obtaining the database handler is easy and understandable.
2018-04-15 17:30:42 -07:00
Tastybento
a5cc4c20ea
Updates due to Challenges development.
2018-04-08 19:54:37 -07:00
Tastybento
a95e869cc9
Now reads addon.yml as a YAML file
...
Also imports level 1 permissions, i.e., does not handle children.
2018-04-05 18:56:48 -07:00
Tastybento
0a9e9c2916
Removed stack print and added a test.
2018-04-04 19:25:13 -07:00
Tastybento
c49e2b07d3
Fixed issues with panels not scaling in size correctly.
2018-04-02 18:20:54 -07:00
Tastybento
e09cb30cb5
Made head getting async for panels.
2018-03-31 18:34:49 -07:00
Tastybento
f0d3a9ab5f
Added in requirement for BsbMongo Plugin
...
BSkyBlock will disable itself gracefully if this plugin does not exist
but the database is sent to MONGO.
Finishes up https://github.com/tastybento/bskyblock/issues/155
2018-03-31 15:33:48 -07:00
Tastybento
a19b8bf836
Fixes issue with saving documents.
...
MongoDB seems to work now.
2018-03-31 15:17:58 -07:00
Tastybento
db58e29ffb
Removed MongoDb shading.
...
Mongo users will need the BsbMongo plugin.
2018-03-31 09:24:00 -07:00
Tastybento
4100edd279
Adds support for MongoDB.
...
Needs more testing, but seems to work. The main problem is that it pulls
in the MongoDB Java driver which boosts the size of the JAR to 2.3MB. It
may be better to put the Mongo driver into an addon so that only Mongo
users have to have the larger JAR.
2018-03-18 21:54:24 -07:00
Tastybento
17ecb1c0d4
Tweaks to improve code.
2018-03-17 09:24:17 -07:00
Florian CUNY
b662080ffa
Changed the question mark head to an MHF_
2018-03-17 11:40:30 +01:00
Tastybento
3bdf029b1d
Added test for safe teleport.
2018-03-11 17:21:15 -07:00
Tastybento
b20fbd55a4
Cleaned up imports and unneeded exceptions
2018-03-11 15:59:03 -07:00
tastybento
8e97186caf
Fixed merge conflicts.
2018-03-12 05:11:02 +09:00
tastybento
eb4e086482
Renamed variable. Removed logger.
2018-03-12 04:41:45 +09:00
tastybento
c10f413173
Added PotionEffectTypeAdapter for GSON
2018-03-12 04:09:05 +09:00
tastybento
cf792779f9
Now using JSON-based data for MySQL
...
Large number of changes to improve database functions.
2018-03-12 04:08:19 +09:00
tastybento
6626a9a4b0
Merge branch 'develop' into jsondb
2018-03-10 16:08:17 +09:00
Florian CUNY
e1f3da9449
Minor changes to existing Flags
...
Splited TRAPDOOR from DOOR
Splited HURT_VILLAGERS from HURT_ANIMALS
Renamed HURT_MOBS to HURT_ANIMALS
Renamed MOB_SPAWN to ANIMAL_SPAWN
Made FIRE_SPREAD a SETTING type Flag
Fixed MobSpawnListener with mishandling of ANIMAL/MONSTER spawn
2018-03-02 15:37:01 +01:00
Florian CUNY
f511e54429
Unit testing is working greatly, fixed CompositeCommand
2018-03-01 15:12:31 +01:00
Florian CUNY
97b9543f15
Fixed some code smells
2018-03-01 14:57:35 +01:00
Florian CUNY
e4cedb58d0
Removed useless constructor in CompositeCommand + updated unit tests
2018-03-01 14:43:33 +01:00
Florian CUNY
6ba27eef4e
Moved User to its own package + added Notifier to avoid massive "Island protected" spam
2018-03-01 14:25:09 +01:00
Florian CUNY
1a233e3e83
Added test for glow() in PanelItemBuilder
2018-03-01 11:14:58 +01:00
Florian CUNY
4a86784535
Fixes bug with nextSlot() not taking care of size if it was set
2018-03-01 11:05:19 +01:00
Florian CUNY
c60f92b7b3
MAJOR changes to Panel API
...
All methods in PanelBuilder follow the Builder pattern (no more "set...")
nextSlot() now returns the first unoccupied slot
2018-03-01 11:02:11 +01:00
Tastybento
fcede01a11
WIP using JSON and GSON for database.
...
Causes stack overflow right now. In the middle of debugging, but I need
this in github so I can grab it elsewhere.
2018-02-28 08:38:56 -08:00
Florian CUNY
f648c936ad
Continued working on the SettingsPanel. Did minor fixes in PanelItemBuilder
2018-02-26 20:18:09 +01:00
Florian CUNY
c6c7e0b4ee
Removed FlagsManager#getFlagByIcon() as it is useless
2018-02-26 10:07:25 +01:00
Tastybento
e598fa7c93
Cleaned up a vunerability and some code smells.
2018-02-25 23:05:21 -08:00