Minecraft AutoMessage [GERMAN/100% CONFIG] 1.0

Automessage plugin für 1.8 100% Config

  1. WolFix_HD
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    Source Code:
    http://radyonation.net/_wolfix/
    Contributors:
    _WolFix
    Languages Supported:
    Deutsch
    [​IMG]
    Features
    • 100 % Config
    • Alle 2 Minuten Nachricht
    • Random
    Code (Text):
        private void createDefaults() {
            if(config.contains(ROOT)) return;
            List<String> defaults = new ArrayList<>();
            for(int i = 0; i < 3; i++)
                defaults.add("&6TestNachricht Nr. " + i);
            config.set(ROOT, defaults);
            plugin.saveConfig();
        }
     
        private String pickMessage() {
            List<String> messages = config.getStringList(ROOT);
            int random = new Random().nextInt(messages.size());
            return messages.get(random);
         
        }

    Code (Text):
    BroadcastMessages:
    - '&6TestNachricht Nr. 0'
    - '&6TestNachricht Nr. 1'
    - '&6TestNachricht Nr. 2'
     

    Images

    1. pack.png