Ardas-Legends-Development-Team / AL_Base_Plugin

The AL_Base_Plugin is a plugin meant to integrate the Ardas Legends Minecraft Server with the backend software running the system.
European Union Public License 1.2
1 stars 1 forks source link

Command Inactive Fac-Leader #19

Closed MoritzRohleder closed 9 months ago

MoritzRohleder commented 11 months ago

A Command for staff to run on console and ingame, in order to check for faction leaders that have been offline for over 2 weeks/14 days, the number of days should be configurable in the config.yml

Acceptance Criteria:

MoritzRohleder commented 10 months ago

We need a list of all Faction Leader IGNs and just check the last seen date, return a list of all faction leaders, that haven´t player for longer than 2 weeks in a msg to the staff later on

MoritzRohleder commented 10 months ago

onPlayerLeave(PlayerDisconnectEvent e){

onDisable(){

onEnable() {

MoritzRohleder commented 9 months ago

Due to not overcomplicating stuff for now, the command now works as follows: