Antwort auf: Missile Wars Fight-Night | 30. Januar 2021

Startseit Foren Minecraft Missile Wars Fight-Night | 30. Januar 2021 Antwort auf: Missile Wars Fight-Night | 30. Januar 2021

#2137
Lixfel
Developer
/* 
    This file is a part of the SteamWar devteam.
    
    Copyright (C) 2021  SteamWar.de-Developerteam

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see
    <https://steamwar.de/devlabs/SteamWar/MissileWars/src/branch/master/LICENSE.txt>.
*/

package de.steamwar.developer;

import de.alessio2000.*;

public class Anmeldung{

    public static void main(String[] args){
        MWEvent event = MWEvent.get("Missile Wars Fight-Night | 30. Januar 2021");
        if(event == null)
            throw new SecurityException("Wer hat das Turnier abgesagt?!?!");
        MWTeam devteam = new MWTeam("418 I'm a teapot");
        devteam.setDescription("Möge das Plugin mit uns sein und wenn nicht, "
                               + "dann ändern wir das!");
        devteam.setMissiles(Schematic.getAll(SchematicType.WarShip).convertToMissiles());
        devteam.addMember("Lixfel");
        devteam.addMember("YoyoNow");
        devteam.addMember("Chaoscaot");
        devteam.setLeader("Lixfel");
        if(!event.register(devteam))
            throw new SecurityException("Wer hat uns schon angemeldet? YOYONOW!");
    }
}