Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CODE!----------------------------------------------------------------------------------------------------------------------------------
- package me.remadyretunrs.mute_leben;
- import java.io.File;
- import java.io.IOException;
- import java.util.ArrayList;
- import java.util.List;
- import org.bukkit.Bukkit;
- import org.bukkit.configuration.file.FileConfiguration;
- import org.bukkit.configuration.file.YamlConfiguration;
- import org.bukkit.event.Listener;
- import org.bukkit.plugin.java.JavaPlugin;
- import me.remadyretunrs.mute_leben.commands.MuteCommand;
- import me.remadyretunrs.mute_leben.commands.UnmuteCommand;
- public class main extends JavaPlugin implements Listener{
- public static File cfg;
- public static FileConfiguration Config;
- public static File ordner;
- public static String pf = "§8[§cFLAMED§8] §7 ";
- public static String nop = "§8[§cFLAMED§8] §7Du hast keine Rechte dazu!";
- public static String pno = "§8[§cFLAMED§8] §7Du musst ein Spieler sein!";
- public static String pv = "§8[§cFLAMED§8] §7Dieser Spieler ist bereits ";
- public static List<String> muted = new ArrayList<>();
- public void onEnable(){
- cfg = new File("plugins/FLAMED" , "config.yml");
- Config = YamlConfiguration.loadConfiguration(cfg);
- ordner = new File("plugins/FLAMED");
- if(!cfg.exists()){
- try {
- cfg.createNewFile();
- System.out.println("Die Config von FLAMED wurde erstellt!");
- } catch (IOException e) {
- System.out.println("Config von FLAMED geladen!");
- e.printStackTrace();
- }
- if(!ordner.exists()){
- ordner.mkdir();
- }
- muted = Config.getStringList("muted");
- }
- getCommand("mute").setExecutor(new MuteCommand());
- getCommand("umute").setExecutor(new UnmuteCommand());
- Bukkit.getPluginManager().registerEvents(new MuteCommand(), this);
- Bukkit.getPluginManager().registerEvents(this, this);
- }
- }
- FEHLER!--------------------------------------------------------------------------------------------------------------------------------
- [23:07:15] [Server thread/INFO]: Starting minecraft server version 1.10
- [23:07:15] [Server thread/INFO]: Loading properties
- [23:07:15] [Server thread/INFO]: Default game type: SURVIVAL
- [23:07:16] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-6016ac7-10c10b3 (MC: 1.10) (Implementing API version 1.10-R0.1-SNAPSHOT)
- [23:07:16] [Server thread/INFO]: Debug logging is disabled
- [23:07:16] [Server thread/INFO]: Server Ping Player Sample Count: 12
- [23:07:16] [Server thread/INFO]: Using 4 threads for Netty based IO
- [23:07:16] [Server thread/INFO]: Generating keypair
- [23:07:17] [Server thread/INFO]: Starting Minecraft server on *:29876
- [23:07:17] [Server thread/INFO]: Using default channel type
- [23:07:17] [Server thread/INFO]: Set PluginClassLoader as parallel capable
- [23:07:18] [Server thread/INFO]: [MuteLeben] Loading MuteLeben v1.0
- [23:07:18] [Server thread/INFO]: [ViaVersion] Loading ViaVersion v1.0.1
- [23:07:18] [Server thread/INFO]: [ViaVersion] ViaVersion 1.0.1 is now loaded, injecting!
- [23:07:18] [Server thread/INFO]: **** Beginning UUID conversion, this may take A LONG time ****
- [23:07:18] [Server thread/INFO]: Preparing level "world"
- [23:07:18] [Server thread/INFO]: -------- World Settings For [world] --------
- [23:07:18] [Server thread/INFO]: Arrow Despawn Rate: 1200
- [23:07:18] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
- [23:07:18] [Server thread/INFO]: Item Merge Radius: 2.5
- [23:07:18] [Server thread/INFO]: Item Despawn Rate: 6000
- [23:07:18] [Server thread/INFO]: View Distance: 10
- [23:07:18] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
- [23:07:18] [Server thread/INFO]: Experience Merge Radius: 3.0
- [23:07:18] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
- [23:07:18] [Server thread/INFO]: Max Entity Collisions: 8
- [23:07:18] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
- [23:07:18] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
- [23:07:18] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
- [23:07:18] [Server thread/INFO]: Mob Spawn Range: 4
- [23:07:18] [Server thread/INFO]: Cactus Growth Modifier: 100%
- [23:07:18] [Server thread/INFO]: Cane Growth Modifier: 100%
- [23:07:18] [Server thread/INFO]: Melon Growth Modifier: 100%
- [23:07:18] [Server thread/INFO]: Mushroom Growth Modifier: 100%
- [23:07:18] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
- [23:07:18] [Server thread/INFO]: Sapling Growth Modifier: 100%
- [23:07:18] [Server thread/INFO]: Wheat Growth Modifier: 100%
- [23:07:18] [Server thread/INFO]: NetherWart Growth Modifier: 100%
- [23:07:18] [Server thread/INFO]: Structure Info Saving: true
- [23:07:18] [Server thread/INFO]: Random Lighting Updates: false
- [23:07:18] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
- [23:07:18] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
- [23:07:18] [Server thread/INFO]: Max TNT Explosions: 100
- [23:07:19] [Server thread/INFO]: -------- World Settings For [world_nether] --------
- [23:07:19] [Server thread/INFO]: Arrow Despawn Rate: 1200
- [23:07:19] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
- [23:07:19] [Server thread/INFO]: Item Merge Radius: 2.5
- [23:07:19] [Server thread/INFO]: Item Despawn Rate: 6000
- [23:07:19] [Server thread/INFO]: View Distance: 10
- [23:07:19] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
- [23:07:19] [Server thread/INFO]: Experience Merge Radius: 3.0
- [23:07:19] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
- [23:07:19] [Server thread/INFO]: Max Entity Collisions: 8
- [23:07:19] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
- [23:07:19] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
- [23:07:19] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
- [23:07:19] [Server thread/INFO]: Mob Spawn Range: 4
- [23:07:19] [Server thread/INFO]: Cactus Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: Cane Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: Melon Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: Mushroom Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: Sapling Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: Wheat Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: NetherWart Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: Structure Info Saving: true
- [23:07:19] [Server thread/INFO]: Random Lighting Updates: false
- [23:07:19] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
- [23:07:19] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
- [23:07:19] [Server thread/INFO]: Max TNT Explosions: 100
- [23:07:19] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
- [23:07:19] [Server thread/INFO]: Arrow Despawn Rate: 1200
- [23:07:19] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
- [23:07:19] [Server thread/INFO]: Item Merge Radius: 2.5
- [23:07:19] [Server thread/INFO]: Item Despawn Rate: 6000
- [23:07:19] [Server thread/INFO]: View Distance: 10
- [23:07:19] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
- [23:07:19] [Server thread/INFO]: Experience Merge Radius: 3.0
- [23:07:19] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
- [23:07:19] [Server thread/INFO]: Max Entity Collisions: 8
- [23:07:19] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
- [23:07:19] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
- [23:07:19] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
- [23:07:19] [Server thread/INFO]: Mob Spawn Range: 4
- [23:07:19] [Server thread/INFO]: Cactus Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: Cane Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: Melon Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: Mushroom Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: Sapling Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: Wheat Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: NetherWart Growth Modifier: 100%
- [23:07:19] [Server thread/INFO]: Structure Info Saving: true
- [23:07:19] [Server thread/INFO]: Random Lighting Updates: false
- [23:07:19] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
- [23:07:19] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
- [23:07:19] [Server thread/INFO]: Max TNT Explosions: 100
- [23:07:20] [Server thread/INFO]: Preparing start region for level 0 (Seed: -7271937898445544145)
- [23:07:22] [Server thread/INFO]: Preparing spawn area: 0%
- [23:07:23] [Server thread/INFO]: Preparing spawn area: 6%
- [23:07:24] [Server thread/INFO]: Preparing spawn area: 13%
- [23:07:25] [Server thread/INFO]: Preparing spawn area: 39%
- [23:07:26] [Server thread/INFO]: Preparing spawn area: 72%
- [23:07:27] [Server thread/INFO]: Preparing start region for level 1 (Seed: -7271937898445544145)
- [23:07:28] [Server thread/INFO]: Preparing spawn area: 2%
- [23:07:29] [Server thread/INFO]: Preparing spawn area: 22%
- [23:07:30] [Server thread/INFO]: Preparing spawn area: 40%
- [23:07:31] [Server thread/INFO]: Preparing spawn area: 49%
- [23:07:32] [Server thread/INFO]: Preparing spawn area: 94%
- [23:07:32] [Server thread/INFO]: Preparing start region for level 2 (Seed: -7271937898445544145)
- [23:07:34] [Server thread/INFO]: Preparing spawn area: 48%
- [23:07:34] [Server thread/INFO]: [MuteLeben] Enabling MuteLeben v1.0
- [23:07:34] [Server thread/INFO]: Config von FLAMED geladen!
- [23:07:34] [Server thread/WARN]: java.io.IOException: Das System kann den angegebenen Pfad nicht finden
- [23:07:34] [Server thread/WARN]: at java.io.WinNTFileSystem.createFileExclusively(Native Method)
- [23:07:34] [Server thread/WARN]: at java.io.File.createNewFile(Unknown Source)
- [23:07:34] [Server thread/WARN]: at me.remadyretunrs.mute_leben.main.onEnable(main.java:36)
- [23:07:34] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292)
- [23:07:34] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)
- [23:07:34] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
- [23:07:34] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugin(CraftServer.java:362)
- [23:07:34] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_10_R1.CraftServer.enablePlugins(CraftServer.java:322)
- [23:07:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.t(MinecraftServer.java:416)
- [23:07:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.l(MinecraftServer.java:381)
- [23:07:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.a(MinecraftServer.java:336)
- [23:07:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:270)
- [23:07:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:539)
- [23:07:34] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
- [23:07:34] [Server thread/ERROR]: Error occurred while enabling MuteLeben v1.0 (Is it up to date?)
- java.lang.NullPointerException
- at me.remadyretunrs.mute_leben.main.onEnable(main.java:50) ~[?:?]
- at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) ~[spigot.jar:git-Spigot-6016ac7-10c10b3]
- at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot.jar:git-Spigot-6016ac7-10c10b3]
- at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-6016ac7-10c10b3]
- at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugin(CraftServer.java:362) [spigot.jar:git-Spigot-6016ac7-10c10b3]
- at org.bukkit.craftbukkit.v1_10_R1.CraftServer.enablePlugins(CraftServer.java:322) [spigot.jar:git-Spigot-6016ac7-10c10b3]
- at net.minecraft.server.v1_10_R1.MinecraftServer.t(MinecraftServer.java:416) [spigot.jar:git-Spigot-6016ac7-10c10b3]
- at net.minecraft.server.v1_10_R1.MinecraftServer.l(MinecraftServer.java:381) [spigot.jar:git-Spigot-6016ac7-10c10b3]
- at net.minecraft.server.v1_10_R1.MinecraftServer.a(MinecraftServer.java:336) [spigot.jar:git-Spigot-6016ac7-10c10b3]
- at net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:270) [spigot.jar:git-Spigot-6016ac7-10c10b3]
- at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:539) [spigot.jar:git-Spigot-6016ac7-10c10b3]
- at java.lang.Thread.run(Unknown Source) [?:1.8.0_111]
- [23:07:34] [Server thread/INFO]: [ViaVersion] Enabling ViaVersion v1.0.1
- [23:07:34] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
- [23:07:34] [Server thread/INFO]: Done (16,387s)! For help, type "help" or "?"
- [23:07:35] [Server thread/INFO]: [ViaVersion] ViaVersion detected server version: 1.10(210)
- [23:12:55] [User Authenticator #1/INFO]: UUID of player RemadyReturns is 22b3ea68-bcc9-4613-8508-466bab7446b4
- [23:13:03] [Server thread/INFO]: RemadyReturns[/127.0.0.1:51503] logged in with entity id 260 at ([world]-0.7101399559525784, 74.0, -0.5)
- [23:13:32] [Server thread/INFO]: RemadyReturns issued server command: /plugins
- [23:13:36] [Server thread/INFO]: RemadyReturns issued server command: /mute
- [23:13:46] [Server thread/INFO]: RemadyReturns issued server command: /mute remadyret
- [23:14:03] [Async Chat Thread - #0/INFO]: <RemadyReturns> .[m
- [23:14:07] [Server thread/INFO]: RemadyReturns lost connection: Disconnected
- [23:14:08] [Server thread/INFO]: RemadyReturns left the game.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement