9
0
mirror of https://github.com/Auxilor/EcoSkills.git synced 2026-01-03 14:22:17 +00:00

Wrote an entire class of TODOs

This commit is contained in:
Auxilor
2021-09-20 12:45:48 +01:00
parent a97f01e488
commit ea59ee4bf7
4 changed files with 44 additions and 1 deletions

View File

@@ -7,6 +7,9 @@ dependencies {
compileOnly 'com.comphenix.protocol:ProtocolLib:4.7.0'
compileOnly 'com.willfp:EcoEnchants:8.2.0'
compileOnly 'net.essentialsx:EssentialsX:2.19.0'
compileOnly 'org.jetbrains.exposed:exposed-core:0.34.1'
compileOnly 'org.jetbrains.exposed:exposed-dao:0.34.1'
compileOnly 'org.jetbrains.exposed:exposed-jdbc:0.34.1'
}
build.dependsOn publishToMavenLocal

View File

@@ -0,0 +1,29 @@
package com.willfp.ecoskills.data.storage
import com.willfp.ecoskills.EcoSkillsPlugin
import java.util.*
@Suppress("UNCHECKED_CAST")
class SQLDataHandler(
private val plugin: EcoSkillsPlugin
) : DataHandler {
override fun save() {
TODO()
}
override fun <T> write(uuid: UUID, key: String, value: T) {
TODO()
}
override fun readInt(uuid: UUID, key: String): Int {
TODO()
}
override fun readDouble(uuid: UUID, key: String): Double {
TODO()
}
override fun readString(uuid: UUID, key: String, default: String): String {
TODO()
}
}

View File

@@ -3,6 +3,14 @@
# by Auxilor
#
database:
use-db: false # If database storage should be used. Set to false, data.yml will be used instead.
host: localhost
port: 3306
database: db
user: username
password: passy
gui:
rows: 6

View File

@@ -12,7 +12,10 @@ softdepend:
- HolographicDisplays
- Essentials
libraries:
- org.jetbrains.kotlin:kotlin-stdlib:1.5.21
- 'org.jetbrains.kotlin:kotlin-stdlib:1.5.21'
- 'org.jetbrains.exposed:exposed-core:0.34.1'
- 'org.jetbrains.exposed:exposed-dao:0.34.1'
- 'org.jetbrains.exposed:exposed-jdbc:0.34.1'
commands:
ecoskills: