Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
AAAB-Plugin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ATVG-Studios
AAAB Project
AAAB-Plugin
Commits
ce7ab354
Verified
Commit
ce7ab354
authored
Jun 16, 2019
by
AtjonTV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hotfix 3.6.3
parent
13f1ecc9
Pipeline
#2266
canceled with stages
Changes
8
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
35 additions
and
7 deletions
+35
-7
CHANGELOG.md
CHANGELOG.md
+6
-0
build.gradle
build.gradle
+1
-1
src/main/kotlin/com/atvgstudios/aaab/Config.kt
src/main/kotlin/com/atvgstudios/aaab/Config.kt
+2
-2
src/main/kotlin/com/atvgstudios/aaab/Plugin.kt
src/main/kotlin/com/atvgstudios/aaab/Plugin.kt
+1
-1
src/main/kotlin/com/atvgstudios/aaab/api/Profile.kt
src/main/kotlin/com/atvgstudios/aaab/api/Profile.kt
+3
-1
src/main/kotlin/com/atvgstudios/aaab/api/RemoteManage.kt
src/main/kotlin/com/atvgstudios/aaab/api/RemoteManage.kt
+19
-0
src/main/kotlin/com/atvgstudios/aaab/api/UserAPI.kt
src/main/kotlin/com/atvgstudios/aaab/api/UserAPI.kt
+2
-1
src/main/resources/plugin.yml
src/main/resources/plugin.yml
+1
-1
No files found.
CHANGELOG.md
View file @
ce7ab354
...
...
@@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
### Security
## [3.6.3] - 16.06.2019
### Added
-
Support for random multi-remote connections
-
Adding in our Proxy 1 as possible Remote
## [3.6.2] - 09.06.2019
### Fixed
...
...
build.gradle
View file @
ce7ab354
...
...
@@ -13,7 +13,7 @@ plugins {
}
group
'com.atvgstudios'
version
'3.6.
2
'
version
'3.6.
3
'
repositories
{
mavenCentral
()
...
...
src/main/kotlin/com/atvgstudios/aaab/Config.kt
View file @
ce7ab354
package
com.atvgstudios.aaab
import
com.atvgstudios.aaab.api.
UserAPI
import
com.atvgstudios.aaab.api.
RemoteManage
import
klib.objects.Konfig
import
java.io.File
...
...
@@ -16,7 +16,7 @@ object Config {
}
if
(
"remote"
in
configs
)
{
UserAPI
.
r
emote
=
configs
[
"remote"
]
as
String
RemoteManage
.
customR
emote
=
configs
[
"remote"
]
as
String
}
if
(
"refresh_limit"
in
configs
)
{
...
...
src/main/kotlin/com/atvgstudios/aaab/Plugin.kt
View file @
ce7ab354
...
...
@@ -14,7 +14,7 @@ import java.util.TimerTask
class
Plugin
:
JavaPlugin
()
{
companion
object
{
val
version
=
SemVer
(
3
,
6
,
2
)
val
version
=
SemVer
(
3
,
6
,
3
)
const
val
prefix
=
"AAAB-v3 »"
}
...
...
src/main/kotlin/com/atvgstudios/aaab/api/Profile.kt
View file @
ce7ab354
...
...
@@ -3,4 +3,6 @@ package com.atvgstudios.aaab.api
class
Profile
(
val
id
:
String
,
val
name
:
String
)
\ No newline at end of file
)
{
override
fun
toString
()
=
"{\"id\":\"$id\",\"name\":\"$name\"}"
}
\ No newline at end of file
src/main/kotlin/com/atvgstudios/aaab/api/RemoteManage.kt
0 → 100644
View file @
ce7ab354
package
com.atvgstudios.aaab.api
import
com.github.kittinunf.fuel.Fuel
object
RemoteManage
{
private
val
remoteList
=
listOf
(
"https://aaab-online.xyz"
,
"https://p1.aaab-online.xyz"
)
var
customRemote
=
""
fun
getWorkingRemote
():
String
{
if
(
customRemote
.
isNotEmpty
())
return
customRemote
for
(
remote
in
remoteList
.
shuffled
())
{
val
connection
=
Fuel
.
get
(
"$remote/s"
).
responseString
()
if
(
connection
.
second
.
statusCode
==
200
)
{
return
remote
}
}
return
customRemote
}
}
\ No newline at end of file
src/main/kotlin/com/atvgstudios/aaab/api/UserAPI.kt
View file @
ce7ab354
...
...
@@ -9,7 +9,8 @@ import com.google.gson.reflect.TypeToken
import
klib.kLibInf
object
UserAPI
{
var
remote
=
"https://aaab-online.xyz"
val
remote
:
String
get
()
=
RemoteManage
.
getWorkingRemote
()
fun
isBanned
(
uuid
:
String
):
Boolean
{
val
f
=
Fuel
.
get
(
"$remote/i/$uuid"
)
...
...
src/main/resources/plugin.yml
View file @
ce7ab354
...
...
@@ -2,7 +2,7 @@ main: com.atvgstudios.aaab.Plugin
name
:
AAAB-v3
description
:
This is the third generation of AAAB that uses a completly new online API and is more performant.
author
:
Thomas Obernosterer <thomas.obernosterer@atvg-studios.com>
version
:
3.6.
2
version
:
3.6.
3
website
:
https://aaab-online.xyz
commands
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment