fixed task duplication by refactoring how tasks are managed through tasks or command

This commit is contained in:
2025-01-30 12:10:08 +01:00
parent d22ac3d22a
commit c853f7a433
3 changed files with 51 additions and 2 deletions

39
config.yml Normal file
View File

@ -0,0 +1,39 @@
# general
prefix: null
minplayers: 2
maxplayers: 4
# The language selected here can only be changed by reloading the plugin
# the language must equal the language file in ../lang
# by default avaiable are: de-ger, en-us
language: "en-us"
autorestart: false
lobby-auto-queue: true
force-on-spawn: true
lobby-server: "lobby"
# scoreboard
scoreboard:
lobby:
player: "Player:"
timeleft: "Starting in:"
server: "your.server.ip"
ingame:
timeleft: "Time:"
player: "Player:"
alive: "Alive:"
kills: "kills:"
server: "your.server.ip"
# spawn points
lobby: null
arena: null
# Permissions
admin:
all: "tw.admin"
setlocation:
all: "tw.admin.setlocation"
lobby: "tw.admin.setlocation.lobby"
arena: "tw.admin.setlocation.arena"
start: "tw.admin.start"
stop: "tw.admin.stop"