Commit Graph

7 Commits

Author SHA1 Message Date
Rsl1122
b7b6a0f05a Optimization, Some Javadocs, Bugfixes [2.0.0-DEV]
- Optimized GamemodeTimes table.
- Added LastPlayed to the users table.

Fixed bugs:
- Last Played now handling correctly

Known bugs:
- Locations not saved when player moves
- Times don't update on inspect
2017-01-07 18:37:01 +02:00
Rsl1122
0885ea4db1 More Bugfixes, API calls fixed, Deprecated API that moves to PlanLite
Fixed bugs:
- Logintimes now 1 instead of 2 after first login.
- Location ID now primary key
- Database now saves UserID correctly, might have been old database file
causing the error.
- Confirmed that database doesn't save multiples of entries
- API now handling deprecated methods through PlanLiteHook
- Optimized GamemodeTimesHandler code

Other:
- GameModeTimes Table is optimizable: Can save all entries on one line
instead of 4.
- OP and Banned are not checked yet.

Known bugs:
- LastPlayed is handling weird (0 on logout)
-> PlayTime is getting assigned wrong value
-> GamemodeTimes are getting assigned wrong value
- Locations not saved when player moves
2017-01-06 20:56:06 +02:00
Rsl1122
7758c5c581 More Bugfixes (2) [2.0.0-DEV]
Fixed Bugs:
- LastGameMode no longer null (PlayerLoginEvent > PlayerJoinEvent)
- Playtime no longer negative
- Logintimes now updated
- Serverdata now updating properly (PlayerLoginEvent > PlayerJoinEvent)

Known bugs:
- !! Database UserID is null when saving
- (GamemodeTimes is handling weird)
- (LastPlayed might be handling weird)
- (Database saves multiples of known things.)
- Locations not saved when player moves (UserID faulty)
- !! Location ID not primary key
2017-01-05 11:34:55 +02:00
Rsl1122
6ae61230df More Bugfixes [2.0.0-DEV]
Fixed Bugs:
- database now contains LoginTimes
- Commandlistener now gives proper command.
- Logintimes no longer null on inspect
- ServerData load SQL format fixed
- NickList and IpList changed to Set

Known bugs:
- (Id while saving might be faulty)
- (Database saves multiples of known things.)
- LastGameMode is set to null when player joins
- (Playtime is negative)
- ServerData not updating properly
- (DataBase saves non-existent ids)
- (LoginTimes is not updated)
- Locations not saved when player moves
- Location ID not primary key
2016-12-31 22:41:10 +02:00
Rsl1122
fa776d30fd Bugfixes & Two more listeners [2.0.0-DEV]
- Async tasks for database.
- Proper save on disable.
- Debugging with inspect command.
- Database now manages to save and load data, data needs to be debugged.

Known bugs:
- CommandListener things every command is /
- LastGameMode is set to null when player joins
- NullPointerException: LoginTimes when player not online on inspect
- Some values are negative (Probably times)
- ServerData not updating properly
- (DataBase saves non-existent ids)
- LoginTimes is not updated
- LoginTimes not found from database with sqlite3
2016-12-31 16:41:28 +02:00
Rsl1122
e903a5ac25 Finished first version of 2.0.0 Data Structure (SQL, Handlers, Listeners) + other
- Renamed old Plan to PlanLite with refractor
- Deprecated PlanLite API classes in Plan (Hook, DataPoint, DataType)
- API not yet changed
- extra hook calls passed onto PlanLite
- Created the new data structure that saves all the information needed
by analysis. (Not Bugtested)
- Refractored PlanDemographics code into DemographicsHandler
- Added Gender Enum
- Added Phrase Enum (plugin messages)

TODO:
- Bugtest SQL
- Bugtest UserData
- Bugtest ServerData
- Inspect command
- Analysis
- Search command (No clue yet)
- Bugtest Listeners
- Bugtest Handlers
- Command listener
- ServerData newPlayers / day reset
- Config
- html webserver for results
2016-12-31 00:39:11 +02:00
Rsl1122
df8e9dcd77 Preparations for complete rewrite of the plugin
Created two copies of the project, and left plugin yml with version so
version checking on current versions will not break.

Plan Lite:
- Current version
- Uses plugins to get the data

Plan Advanced:
- Will be almost complete rewrite of the plugin.
- Will be released as Plan 2.0.0 when ready
- Current Plan will be released as Plan Lite 1.6.3 when rewrite is
complete.
- Will gather data and save it
- Better consistency and Time axis to analysis.
- Better analysis, possibly web page creation for results
- Support for Plan Lite
- More options
2016-12-29 19:44:35 +02:00