Skip to content

Commit

Permalink
Update to paper-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
0ffz committed Oct 22, 2023
1 parent d3baee9 commit 2e2bcf9
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 10 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
group=com.mineinabyss
version=0.9
idofrontVersion=0.19.14
idofrontVersion=0.20.1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import com.mineinabyss.deeperworld.synchronization.SectionSyncListener
import com.mineinabyss.deeperworld.world.WorldManagerImpl
import com.mineinabyss.idofront.config.config
import com.mineinabyss.idofront.di.DI
import com.mineinabyss.idofront.platforms.Platforms
import com.mineinabyss.idofront.plugin.listeners
import com.mineinabyss.idofront.plugin.service
import com.mineinabyss.idofront.time.ticks
Expand All @@ -27,10 +26,6 @@ import org.bukkit.plugin.java.JavaPlugin
val protocolManager: ProtocolManager = ProtocolLibrary.getProtocolManager()

class DeeperWorldPlugin : JavaPlugin() {
override fun onLoad() {
Platforms.load(this, "mineinabyss")
}

override fun onEnable() {
createDeeperWorldContext()
service<WorldManager>(WorldManagerImpl())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ description: A plugin for letting you create a deeper world. Or at least fake it

softdepend: [Multiverse-Core, BlockLocker, ProtocolLib, FastAsyncWorldEdit]

commands:
deeperworld:
aliases: [ dw ]

permissions:
deeperworld.*:
description: Gives access to all commands
Expand All @@ -19,3 +15,26 @@ permissions:
deeperworld.admin:
description: Have power to use admin comands
default: op

dependencies:
server:
Idofront:
required: true
load: BEFORE
join-classpath: true
BlockLocker:
required: false
load: BEFORE
join-classpath: true
ProtocolLib:
required: false
load: BEFORE
join-classpath: true
FastAsyncWorldEdit:
required: false
load: BEFORE
join-classpath: true
Multiverse-Core:
required: false
load: BEFORE
join-classpath: false

0 comments on commit 2e2bcf9

Please sign in to comment.