Remove legacy modules, add language & scoreboard
Large refactor removing many legacy subsystems (abilities, kit system, database repos, recraft, world manager, extensive config classes, lunar/luckperms integrations and various listeners/commands). Introduces a lightweight LanguageManager, AntiRunningManager, ScoreboardManager, ConnectListener and a SoupListener; simplifies the main SpeedHG plugin to initialize these components and register the connection listener. Build changes: update Gradle wrapper to 8.10, remove paperweight and several external dependencies, add fr.mrmicky:fastboard and simplify shadowJar/build task configuration. Adds default language resource (languages/en_US.yml) and updates plugin/config resources. Purpose: simplify and decouple the plugin, reduce dependency surface and prepare for a leaner, modular rewrite.
This commit is contained in:
@@ -1,94 +1,21 @@
|
||||
#
|
||||
# |-----| |-----| |-----| |-----| |---\ | | |-----|
|
||||
# | | | | | | \ | | |
|
||||
# |-----| |-----| |---| |---| | | |-----| | |--|
|
||||
# | | | | | / | | | |
|
||||
# |-----| | |-----| |-----| |---/ | | |-----|
|
||||
# v1.0.0 by TDSTOS
|
||||
# SpeedHG v1.0.0 by McScrims-Network
|
||||
# https://github.com/McScrims-Network
|
||||
#
|
||||
# Organization: McScrims-Network (https://github.com/McScrims-Network/)
|
||||
# Owner: TDSTOS (https://github.com/TDSTOS)
|
||||
# Contributors: stavgun (https://github.com/stavgun)
|
||||
#
|
||||
|
||||
debug: false
|
||||
language: 'en_US'
|
||||
|
||||
restart_time: 3
|
||||
|
||||
network:
|
||||
enabled: false
|
||||
serverId: 'server-1'
|
||||
type: REDIS
|
||||
redis:
|
||||
host: 'localhost'
|
||||
port: 6379
|
||||
user: 'default'
|
||||
password: ''
|
||||
database: 0
|
||||
timeout: 5000
|
||||
poolSize: 10
|
||||
|
||||
cooldown: 30
|
||||
needed_hits: 15
|
||||
|
||||
world:
|
||||
name: 'Default'
|
||||
border:
|
||||
size: 1000.0
|
||||
warning_distance: 5.0
|
||||
damage: 5.0
|
||||
decrease: 100.0
|
||||
|
||||
game:
|
||||
name: 'SpeedHG'
|
||||
variantName: 'Solo - Single Kit'
|
||||
min-players: 2
|
||||
lobby-time: 60
|
||||
invincibility-time: 60
|
||||
border-start: 300.0
|
||||
border-end: 20.0
|
||||
border-shrink-time: 600 # 10 Minuten
|
||||
|
||||
minimumPlayers: 8
|
||||
|
||||
competitiveGame: false
|
||||
competitiveCommands:
|
||||
- 'server'
|
||||
- 'servers'
|
||||
- 'hub'
|
||||
- 'lobby'
|
||||
- 'l'
|
||||
|
||||
playerStates:
|
||||
waiting:
|
||||
scoreboard: 'Waiting - %time%'
|
||||
duration: "FIXED:-1"
|
||||
preStart:
|
||||
scoreboard: 'Waiting - %time%'
|
||||
duration: "FIXED:300"
|
||||
immunity:
|
||||
scoreboard: 'Playing - %time%'
|
||||
duration: "FIXED:90"
|
||||
battle:
|
||||
scoreboard: 'Playing - %time%'
|
||||
duration: "INCREASING"
|
||||
feast:
|
||||
scoreboard: 'Playing - %time%'
|
||||
duration: "FIXED:300"
|
||||
deathmatch:
|
||||
scoreboard: 'Playing - %time%'
|
||||
duration: "INCREASING"
|
||||
end:
|
||||
scoreboard: 'Ending - %time%'
|
||||
duration: "FIXED:60"
|
||||
|
||||
recraftNerf:
|
||||
enabled: false
|
||||
maxAmount: 64
|
||||
beforeState: 'FEAST'
|
||||
|
||||
teams:
|
||||
enabled: false
|
||||
maximumPlayers: 2
|
||||
|
||||
blockedKits: []
|
||||
|
||||
blockedPerks: []
|
||||
|
||||
perks:
|
||||
maximumAmount: 2
|
||||
anti-runner:
|
||||
enabled: true
|
||||
check-radius: 20.0
|
||||
warn-time: 15
|
||||
punish-time: 25
|
||||
# Einstellungen für die Cave-Erkennung
|
||||
ignore-vertical-distance: 15.0 # Wenn Höhenunterschied > 15, Timer ignorieren
|
||||
ignore-cave-surface-mix: true # Ignorieren, wenn einer Sonne hat und der andere nicht
|
||||
Reference in New Issue
Block a user