Fixed everything

This commit is contained in:
Auxilor
2021-04-16 16:37:13 +01:00
parent 8b5139a1b0
commit 17ef81268e
4 changed files with 115 additions and 12 deletions

View File

@@ -49,7 +49,7 @@ allprojects {
}
dependencies {
compileOnly 'com.willfp:eco:5.2.0'
compileOnly 'com.willfp:eco:5.0.0'
compileOnly 'org.jetbrains:annotations:19.0.0'

View File

@@ -2,6 +2,7 @@ group 'com.willfp'
version rootProject.version
dependencies {
compileOnly project(":eco-core:core-proxy")
compileOnly 'org.spigotmc:spigot:1.16.4-R0.1-SNAPSHOT'
compileOnly 'commons-io:commons-io:2.8.0'
compileOnly 'com.comphenix.protocol:ProtocolLib:4.6.0-SNAPSHOT'

View File

@@ -1,6 +1,6 @@
name: EcoSkills
name: EcoEnchants
version: ${projectVersion}
main: com.willfp.ecoskills.EcoSkillsPlugin
main: com.willfp.ecoenchants.EcoEnchantsPlugin
api-version: 1.16
authors: [ Auxilor ]
website: willfp.com
@@ -8,20 +8,103 @@ load: STARTUP
depend:
- eco
- ProtocolLib
softdepend: []
softdepend:
- WorldGuard
- GriefPrevention
- Towny
- FactionsUUID
- Lands
- Kingdoms
- NoCheatPlus
- AAC
- Matrix
- Spartan
- Essentials
- PlaceholderAPI
- mcMMO
commands:
esreload:
ecoreload:
description: Reloads config
permission: ecoskills.reload
permission: ecoenchants.reload
ecodebug:
description: Debug information
permission: ecoenchants.ecodebug
enchantinfo:
description: Show information about an enchantment
permission: ecoenchants.enchantinfo
randomenchant:
description: Adds a random enchantment to an item
permission: ecoenchants.randomenchant
giverandombook:
description: Gives a book containing a random enchantment
permission: ecoenchants.randombook
permissions:
ecoskills.*:
description: All ecoskills permissions
ecoenchants.*:
description: All ecoenchants permissions
default: op
children:
ecoenchants.fromtable.*: true
ecoenchants.reload: true
ecoenchants.updateannounce: true
ecoenchants.enchantinfo: true
ecoenchants.ecodebug: true
ecoenchants.randomenchant: true
ecoenchants.randomenchant.bypasshardcap: true
ecoenchants.randombook: true
ecoenchants.anvil.*: true
ecoenchants.anvil.*:
description: Allows all anvil permissions
default: op
children:
ecoenchants.anvil.bypasshardcap: true
ecoenchants.anvil.color: true
ecoenchants.fromtable.*:
description: Allows getting all enchantments from an enchanting table
default: true
ecoskills.reload:
ecoenchants.updateannounce:
description: Informs admins of a new update
default: op
ecoenchants.reload:
description: Allows reloading the config
default: op
default: op
ecoenchants.ecodebug:
description: Allows the use of /ecodebug to print verbose debug information to console
default: op
ecoenchants.enchantinfo:
description: Allows the use of /enchantinfo to show enchant info
default: true
ecoenchants.randombook:
description: Allows the use of /giverandombook to give a book with a random enchantment
default: op
ecoenchants.randomenchant:
description: Allows the use of /randomenchant to apply a random enchantment to an item
default: op
ecoenchants.randomenchant.others:
description: Allows the use of /randomenchant to apply a random enchantment to an item for another player
default: op
ecoenchants.randomenchant.bypasshardcap:
description: Allows /randomenchant bypassing the anvil hard cap
default: op
ecoenchants.anvil.bypasshardcap:
description: Allows bypassing the anvil hard cap
default: op
ecoenchants.anvil.color:
description: Allows color from anvil renames
default: op
# Perks
ecoenchants.cooldowntime.half:
description: Halves the cooldown time on spells
default: false
ecoenchants.cooldowntime.third:
description: Thirds the cooldown time on spells
default: false
ecoenchants.cooldowntime.quarter:
description: Quarters the cooldown time on spells
default: false
ecoenchants.cooldowntime.75:
description: Reduces the cooldown time on spells by 25%
default: false

View File

@@ -1,5 +1,24 @@
rootProject.name = 'EcoSkills'
rootProject.name = 'EcoEnchants'
// Core
include ':eco-core'
include ':eco-core:core-plugin'
include ':eco-core:core-nms'
include ':eco-core:core-nms:v1_16_R1'
include ':eco-core:core-nms:v1_16_R2'
include ':eco-core:core-nms:v1_16_R3'
include ':eco-core:core-proxy'
include ':eco-core:core-plugin'
// Extensions
include ':eco-extensions'
include ':eco-extensions:alchemy'
include ':eco-extensions:biomes'
include ':eco-extensions:effects'
include ':eco-extensions:endershot'
include ':eco-extensions:firewand'
//include ':eco-extensions:mmo'
include ':eco-extensions:precision'
include ':eco-extensions:rainbow'
include ':eco-extensions:sprint-artifacts'
include ':eco-extensions:summoning'
include ':eco-extensions:xray'