ljacqu
364583e7db
Change use of String permissions to the permission enums
2015-11-28 21:59:29 +01:00
ljacqu
b916a38d80
Fix UtilsTest and replace the last test setups not to use reflections
2015-11-28 17:13:33 +01:00
ljacqu
77f2f80eaf
Testing - start change to non-reflection WrapperMock test setup
2015-11-26 22:25:02 +01:00
ljacqu
93cddb7a5c
Merge enum branch into master
2015-11-26 21:45:06 +01:00
DNx5
0601ab0e40
Remove unauthenticated chat recipients
...
only authenticated players can see the chat
2015-11-26 07:03:22 +07:00
ljacqu
498c3342f2
Create Wrapper as singleton; fix UtilsTest
2015-11-25 22:34:27 +01:00
ljacqu
0065a6a827
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into enums
2015-11-24 23:32:54 +01:00
Gabriele C
2c0d140da9
Try to fix NPC issues
2015-11-24 23:23:51 +01:00
ljacqu
72fe710b8c
Fix UtilsTest, create MessageKeyTest
2015-11-24 22:21:36 +01:00
ljacqu
e4c82e04ff
Merge upstream/master into ljacqu/enums
2015-11-24 21:59:55 +01:00
Gabriele C
fb6ddb4b59
Cleanup
2015-11-24 17:47:10 +01:00
DNx5
e39ab8a644
removed old GeoIP data check.
2015-11-24 22:08:09 +07:00
DNx5
5be476e2d6
ignore yaw changes in player move event.
2015-11-24 21:55:55 +07:00
DNx5
8e9bfc6299
update playerloginevent and some listener.
...
i hope it will fix the lag issues.
2015-11-24 07:15:58 +07:00
ljacqu
16a69d4126
Merge upstream/master into ljacqu/enums
2015-11-23 23:31:26 +01:00
ljacqu
6422f90114
Create Wrapper for instances / revise MockUtils
...
- Add test resources folder
- Create basic test for Messages (todo: add concrete tests)
- Create WrapperMock
- Change UtilsTest (todo: make it work)
2015-11-23 23:25:03 +01:00
Tim Visée
09067ddbd1
Removed redundant code, fixed some warnings, other minor fixes
2015-11-23 22:18:04 +01:00
Tim Visée
82bf0f45ca
Finalized some fields, removed redundant code, various other fixes
2015-11-23 22:14:03 +01:00
Tim Visée
36c50c4507
Reformatted code with new code style
2015-11-23 21:46:34 +01:00
Tim Visée
2e868c7492
Reformatted all code files, cleaned up the project
2015-11-23 21:33:08 +01:00
AuthMe-Team
9ec2d6d059
Stuff from the common floobits workspace
...
Author: AuthMe-Team <AuthMeTeam@123NoEmail.com>
2015-11-23 20:23:52 +01:00
Gabriele C
69a09aec17
cleanup
2015-11-22 21:06:08 +01:00
ljacqu
e456203fc6
Refactor Utils#getOnlinePlayers and add background info
2015-11-22 01:30:07 +01:00
ljacqu
fc3f685de0
Create UtilsTest
...
Had to create a getGameServer() method in AuthMe in order to be able to catch this call in tests and replace it with a mock implementation of the actual server. The supertype method getServer() is declared as final, which makes it impossible to mock with Mockito.
While there are frameworks that manipulate the bytecode to mock final calls, it is much easier and less risky to simply delegate the server retrieval through another method.
2015-11-21 23:09:04 +01:00
Tim Visée
e45aa88504
Fixed result not being returned
2015-11-21 21:03:50 +01:00
Tim Visée
89b5444d69
Fixed addNormal method, updated it's JavaDocs
2015-11-21 20:50:12 +01:00
Tim Visée
7902cd87bb
Added return statement for setGroup method, updated it's JavaDocs
2015-11-21 20:47:56 +01:00
Tim Visée
6dc4066563
Added group support check to setGroups method in Utils class
2015-11-21 16:08:41 +01:00
Tim Visée
69d6518b30
Improved setGroup method in Utils class, to replace legacy permissions code
2015-11-21 16:03:00 +01:00
Gabriele C
bd1f868c6d
standard javadoc
2015-11-21 01:31:18 +01:00
Gabriele C
118c79401a
Prepare the project for javadocs
2015-11-21 01:27:06 +01:00
Gabriele C
d6355adb51
cleanup
2015-11-20 23:52:20 +01:00
Tim Visée
3500ee6fb7
Replaced code that used legacy deprecated permissions methods
2015-11-20 20:23:03 +01:00
DNx5
9a79332933
add getPlayer method into Utils class
2015-11-17 09:32:33 +07:00
DNx5
1af937651c
fix geoip lagging if server cant download the file.
2015-11-15 04:24:36 +07:00
Gabriele C
8a4f2c5ef8
I love to clean code and stuff
2015-11-10 19:28:17 +01:00
Gabriele C
ddda62aa14
cleaup
2015-11-07 00:13:29 +01:00
DNx5
3ede8f0dae
let bukkit load the chunk
2015-11-03 03:56:20 +07:00
DNx5
872856e729
create teleportTospawn method in Utils class
2015-11-03 03:42:02 +07:00
Gabriele C
5e7c5560cf
Cleanup2: The Revenge
2015-11-02 00:09:40 +01:00
Tim Visée
3643afdea3
Moved Utils class to util package
2015-11-01 23:29:47 +01:00