mirror of
https://github.com/Auxilor/EcoMobs.git
synced 2025-12-20 07:29:21 +00:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b798a8ed7 | ||
|
|
bc73201ec5 | ||
|
|
b1365855af | ||
|
|
1ce50cb0b9 | ||
|
|
2a50868624 | ||
|
|
0a0e7a9661 | ||
|
|
8cd4ccdbd7 | ||
|
|
429bc6a61f | ||
|
|
b92ea06667 |
@@ -41,7 +41,7 @@ allprojects {
|
|||||||
compileOnly("org.jetbrains:annotations:23.0.0")
|
compileOnly("org.jetbrains:annotations:23.0.0")
|
||||||
compileOnly("org.jetbrains.kotlin:kotlin-stdlib:1.7.10")
|
compileOnly("org.jetbrains.kotlin:kotlin-stdlib:1.7.10")
|
||||||
|
|
||||||
implementation("com.willfp:libreforge:3.107.0")
|
implementation("com.willfp:libreforge:3.112.1")
|
||||||
implementation("org.joml:joml:1.10.4")
|
implementation("org.joml:joml:1.10.4")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,10 @@ package com.willfp.ecobosses.commands
|
|||||||
|
|
||||||
import com.willfp.eco.core.command.impl.PluginCommand
|
import com.willfp.eco.core.command.impl.PluginCommand
|
||||||
import com.willfp.ecobosses.EcoBossesPlugin
|
import com.willfp.ecobosses.EcoBossesPlugin
|
||||||
|
import com.willfp.ecobosses.bosses.Bosses
|
||||||
|
import com.willfp.libreforge.lrcdb.CommandExport
|
||||||
|
import com.willfp.libreforge.lrcdb.CommandImport
|
||||||
|
import com.willfp.libreforge.lrcdb.ExportableConfig
|
||||||
import org.bukkit.command.CommandSender
|
import org.bukkit.command.CommandSender
|
||||||
|
|
||||||
class CommandEcobosses(plugin: EcoBossesPlugin) : PluginCommand(
|
class CommandEcobosses(plugin: EcoBossesPlugin) : PluginCommand(
|
||||||
@@ -22,5 +26,14 @@ class CommandEcobosses(plugin: EcoBossesPlugin) : PluginCommand(
|
|||||||
.addSubcommand(CommandKillall(plugin))
|
.addSubcommand(CommandKillall(plugin))
|
||||||
.addSubcommand(CommandSpawn(plugin))
|
.addSubcommand(CommandSpawn(plugin))
|
||||||
.addSubcommand(CommandGive(plugin))
|
.addSubcommand(CommandGive(plugin))
|
||||||
|
.addSubcommand(CommandImport("bosses", plugin))
|
||||||
|
.addSubcommand(CommandExport(plugin) {
|
||||||
|
Bosses.values().map {
|
||||||
|
ExportableConfig(
|
||||||
|
it.id,
|
||||||
|
it.config
|
||||||
|
)
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,8 +8,9 @@
|
|||||||
# View an explanation for this system here: https://plugins.auxilor.io/all-plugins/the-entity-lookup-system
|
# View an explanation for this system here: https://plugins.auxilor.io/all-plugins/the-entity-lookup-system
|
||||||
mob: iron_golem attack-damage:90 movement-speed:1.5 follow-range:16 health:1200
|
mob: iron_golem attack-damage:90 movement-speed:1.5 follow-range:16 health:1200
|
||||||
|
|
||||||
# If you're using model engine, you can specify the ID here
|
# If you're using model engine, you can specify the ID and animation here. You can also specify these in the mob with the lookup system.
|
||||||
model-engine-id: ""
|
model-engine-id: ""
|
||||||
|
model-engine-animation: ""
|
||||||
|
|
||||||
# Supported placeholders: %health%, %time% (formats as minutes:seconds, eg 1:56)
|
# Supported placeholders: %health%, %time% (formats as minutes:seconds, eg 1:56)
|
||||||
display-name: "&8Steel Golem &7| &c%health%♥ &7| &e%time%"
|
display-name: "&8Steel Golem &7| &c%health%♥ &7| &e%time%"
|
||||||
|
|||||||
@@ -46,5 +46,3 @@ potions:
|
|||||||
particles:
|
particles:
|
||||||
permanent: false
|
permanent: false
|
||||||
triggered: true
|
triggered: true
|
||||||
|
|
||||||
share-configs: true # If your configs are allowed to be used to gather data and improve the plugin. Nothing identifying (IP, Name, etc) is shared.
|
|
||||||
@@ -19,5 +19,12 @@ messages:
|
|||||||
cannot-afford: "&cYou can't afford to do this! &fCost: &a$$%cost%"
|
cannot-afford: "&cYou can't afford to do this! &fCost: &a$$%cost%"
|
||||||
cannot-afford-type: "&cYou can't afford to do this! &fCost: &a%cost% %type%"
|
cannot-afford-type: "&cYou can't afford to do this! &fCost: &a%cost% %type%"
|
||||||
cannot-transmit: "&cYou can't transmit here!"
|
cannot-transmit: "&cYou can't transmit here!"
|
||||||
|
must-specify-lrcdb-id: "&cYou must specify the ID of the config to download! Not sure what this means? Go to &alrcdb.auxilor.io"
|
||||||
|
lrcdb-import-error: "&cError importing config: &f%message%"
|
||||||
|
lrcdb-import-success: "&fImported &a%name%&f! Reload the plugin to install it"
|
||||||
|
must-specify-config-name: "&cYou must specify the config name!"
|
||||||
|
invalid-config-name: "&cInvalid config name!"
|
||||||
|
lrcdb-export-error: "&cError exporting config: &f%message%"
|
||||||
|
lrcdb-export-success: "&fExported &a%name%&f! View it on &alrcdb.auxilor.io&f, or share your config ID: &f%id%"
|
||||||
|
|
||||||
na: "N/A"
|
na: "N/A"
|
||||||
19
eco-core/core-plugin/src/main/resources/lrcdb.yml
Normal file
19
eco-core/core-plugin/src/main/resources/lrcdb.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Options for lrcdb (https://lrcdb.auxilor.io), a website to share configs
|
||||||
|
# with other server owners, so you can get more configs without making them
|
||||||
|
# yourself!
|
||||||
|
|
||||||
|
author: "Unknown Author" # The name attached to configs you export
|
||||||
|
|
||||||
|
# Options about automatically sharing configs you create
|
||||||
|
share-configs:
|
||||||
|
# If you want all your configs to automatically be publicly available,
|
||||||
|
# set this to true. This really helps out other users!
|
||||||
|
publicly: false
|
||||||
|
|
||||||
|
# If you don't want your configs to be usable to gather information about
|
||||||
|
# plugin usage or to improve the plugins in the future, disable this.
|
||||||
|
# Nothing identifying is shared.
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
# If you disable share-configs, you can still share select configs publicly
|
||||||
|
# with /ecobosses export <config>.
|
||||||
@@ -42,6 +42,8 @@ permissions:
|
|||||||
ecobosses.command.reload: true
|
ecobosses.command.reload: true
|
||||||
ecobosses.command.spawn: true
|
ecobosses.command.spawn: true
|
||||||
ecobosses.command.give: true
|
ecobosses.command.give: true
|
||||||
|
ecobosses.command.import: true
|
||||||
|
ecobosses.command.export: true
|
||||||
|
|
||||||
ecobosses.command.ecobosses:
|
ecobosses.command.ecobosses:
|
||||||
description: Allows the use of /ecobosses
|
description: Allows the use of /ecobosses
|
||||||
@@ -62,3 +64,11 @@ permissions:
|
|||||||
ecobosses.command.reload:
|
ecobosses.command.reload:
|
||||||
description: Allows the use of /ecobosses reload
|
description: Allows the use of /ecobosses reload
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
|
ecobosses.command.import:
|
||||||
|
description: Allows the use of /ecobosses import
|
||||||
|
default: op
|
||||||
|
|
||||||
|
ecobosses.command.export:
|
||||||
|
description: Allows the use of /ecobosses export
|
||||||
|
default: op
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#libreforge-updater
|
#libreforge-updater
|
||||||
#Sun Oct 02 14:58:47 BST 2022
|
#Sun Oct 16 23:27:19 BST 2022
|
||||||
version=8.93.0
|
version=8.98.1
|
||||||
plugin-name=EcoBosses
|
plugin-name=EcoBosses
|
||||||
|
|||||||
Reference in New Issue
Block a user