Melledy
23d7ef8378
Migrate battlepass to its own db collection
2022-06-21 07:59:10 -07:00
诗音澄鸢 镜苑芳依
d8f2421832
implement BattlePass (Except missions) ( #1316 )
...
* BattlePass
* BattlePass
2022-06-21 07:18:13 -07:00
Yazawazi
1ebd8f6810
feat(ban): Implementing ban.
...
Rough code, not based on permission.
2022-06-17 19:42:42 -07:00
Melledy
141b1913cb
Refactor accounts to not use a player uid
2022-05-27 00:22:55 -07:00
xtaodada
003e28e3f8
Enhance the default permissions logic
2022-05-16 21:55:47 -07:00
muhammadeko
f2e9845421
remove log
2022-05-13 22:12:07 -07:00
muhammadeko
c0d79aa75b
fix logic and some cleaning
2022-05-13 22:12:07 -07:00
muhammadeko
c7849c0462
add negative permission check
2022-05-13 22:12:07 -07:00
KingRainbow44
6894ab8aae
Convert to the far superior config system
2022-05-11 00:30:07 -04:00
Secretboy
b133825dd4
add /language command ( #780 )
...
* Fix the following issues:
1. HashMap non-thread-safe issus
2. Fix the same problem in pr621, but use a better implementation
Add the following functions:
1. There is now a language cache inside getLanguage to prepare for different languages corresponding to different time zones where the accounts in the server are located
* add /language command,each account has their own Locate
2022-05-10 05:33:45 -07:00
AnimeGitB
d03f1ca5d1
Account permission wildcards
2022-05-09 01:12:47 -07:00
4Benj_
d484ba7ed6
Cleaned up dispatch iOS fixes ( #396 )
...
* Attempting to fix crashing on iOS devices
plus I forgot a thing in string.format
* Removed unnecessary things
2022-04-30 23:31:39 -07:00
lhhxxxxx
f31fda2e16
Update Account.hasPermission()
...
Add wildcard characters to permission nodes under the same namespace. (simple implementation)
2022-04-30 01:30:38 -07:00
Melledy
17abf321a2
Merge branch 'development' into java-16
2022-04-22 19:23:32 -07:00
KingRainbow44
cc231b812d
why is Account#onLoad THE DAMN REASON FOR HOURS OF TESTING
2022-04-21 02:07:05 -04:00
Melledy
75cea5bc48
More refactoring (player id -> player uid)
2022-04-20 21:50:33 -07:00
KingRainbow44
d7ffcd1636
Update Morphia to 2.x
2022-04-20 21:11:57 -04:00
Benjamin Elsdon
ceaedca209
Admin cmds, perms and descriptions for all cmds +
...
Additonal stuff: Fixed + refactored help command. Removed 'Usage: ' from all commands. Created 'player.hasPermission(permission)' function. Created default for Usage annotation. Created hashmap version of 'getHandlers' and renamed the original to getHandlersAsList()
2022-04-19 18:17:19 +08:00
Melledy
5c71c97108
Grant superuser permissions to accounts created before the permissions update
2022-04-18 22:00:01 -07:00
Melledy
efe183ecf7
Fix permissions not saving
2022-04-18 21:38:38 -07:00
KingRainbow44
87a9d0c590
Implement basic permission system
2022-04-18 23:46:04 -04:00
Melledy
3b45ff7d46
Initial commit
2022-04-17 05:43:07 -07:00