You are not logged in.

  • Login
Bitte besucht unser neues Forum unter https://forum.nitrado.net | Please visit our new Forum at https://forum.nitrado.net

Dear visitor, welcome to Nitrado.net Prepaid Gameserver Community-Support - Archiv. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

baume04

User / Kunde

  • "baume04" started this thread

Posts: 11

  • Send private message

1

Saturday, August 27th 2016, 7:34pm

Hilfe bei Spigot Plugin

Minecraft-Version: 1.8

Arbeitsspeicher/RAM: 12GB

Problembeschreibung: Mein Plugin gibt Errors ab keine Ahnung warum :/
PlayerJoinEvent:

package listener;

import main.main;

import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;

import ru.tehkode.permissions.PermissionUser;
import ru.tehkode.permissions.bukkit.PermissionsEx;

public class teamjoin implements Listener{


@EventHandler
public void onTeamJoin(PlayerJoinEvent e){
Player p = e.getPlayer();


PermissionUser user = PermissionsEx.getUser(p);

e.setJoinMessage(null);


if (user.inGroup("ProbeSupporter", false)) {
Bukkit.broadcastMessage(main.prefix + "§6Der §a§lProbeSupporter §e" + p.getName()
+ " §6ist nun §a§lOnline§6!");

}

if (user.inGroup("Supporter", false)) {
Bukkit.broadcastMessage(main.prefix + "§6Der §a§lSupporter §e" + p.getName()
+ " §6ist nun §a§lOnline§6!");

}
if (user.inGroup("Moderator", false)) {
Bukkit.broadcastMessage(main.prefix + "§6Der §5§lModerator §e" + p.getName()
+ " §6ist nun §a§lOnline§6!");

}
if (user.inGroup("Developer", false)) {
Bukkit.broadcastMessage(main.prefix + "§6Der §3§l§oDeveloper §e§o" + p.getName()
+ " §6ist nun §a§lOnline§6!");

}
if (user.inGroup("Admin", false)) {
Bukkit.broadcastMessage(main.prefix + "§6Der §c§lAdmin §e" + p.getName()
+ " §6ist nun §a§lOnline§6!");

}

if (user.inGroup("Owner", false)) {
Bukkit.broadcastMessage(main.prefix + "§6Der §4§lOwner §e" + p.getName()
+ " §6ist nun §a§lOnline§6!");

}
if (user.inGroup("default", false)) {
e.setJoinMessage(null);
}






}
}
baume04 has attached the following file:
  • latest.log (28.56 kB - 4 times downloaded - latest: Aug 28th 2016, 7:25pm)

mcf_

User / Kunde

Posts: 1,363

Thanks: 22

  • Send private message

2

Saturday, August 27th 2016, 8:00pm

Hallo baume04,
in der Fehlermeldung siehst du folgendes:

Source code

1
2
Caused by: java.lang.NullPointerException
	at listener.tab.onJoin(tab.java:42) ~[?:?]


Das heißt, dass du eine NullPointerException in deiner onJoin-Methode in der Klasse tab.java in der Zeile 42 hast. Schaue dort nach ob du den Fehler korrigieren kannst. Falls du Hilfe brauchst poste den Code deiner tab.java in einem [code] Tag hier im Thread oder lade es auf eine Plattform wie http://pastebin.com/ hoch.



ketrwu

Moderator

  • "ketrwu" is male

Posts: 1,430

Thanks: 2

  • Send private message

3

Saturday, August 27th 2016, 8:04pm


baume04

User / Kunde

  • "baume04" started this thread

Posts: 11

  • Send private message

4

Saturday, August 27th 2016, 8:06pm

Hallo baume04,
in der Fehlermeldung siehst du folgendes:

Source code

1
2
Caused by: java.lang.NullPointerException
	at listener.tab.onJoin(tab.java:42) ~[?:?]


Das heißt, dass du eine NullPointerException in deiner onJoin-Methode in der Klasse tab.java in der Zeile 42 hast. Schaue dort nach ob du den Fehler korrigieren kannst. Falls du Hilfe brauchst poste den Code deiner tab.java in einem [code] Tag hier im Thread oder lade es auf eine Plattform wie http://pastebin.com/ hoch.
http://hastebin.com/saferasaco.avrasm

mcf_

User / Kunde

Posts: 1,363

Thanks: 22

  • Send private message

5

Saturday, August 27th 2016, 8:14pm

Du versuchst in Zeile 42 dem Spieler einem Team hinzuzufügen bevor du überprüfst ob das Team existiert oder nicht und das Team existiert anscheinend noch nicht. Weil du in den nächsten Zeilen alles mit einer if Anweisung abdeckst kannst du Zeile 42 löschen. Das trifft auch bei deinem Code bei den anderen Gruppen zu



baume04

User / Kunde

  • "baume04" started this thread

Posts: 11

  • Send private message

6

Saturday, August 27th 2016, 8:21pm

Du versuchst in Zeile 42 dem Spieler einem Team hinzuzufügen bevor du überprüfst ob das Team existiert oder nicht und das Team existiert anscheinend noch nicht. Weil du in den nächsten Zeilen alles mit einer if Anweisung abdeckst kannst du Zeile 42 löschen. Das trifft auch bei deinem Code bei den anderen Gruppen zu
Naja hab das grad versucht, hat aber net funktioniert :/

mcf_

User / Kunde

Posts: 1,363

Thanks: 22

  • Send private message

7

Saturday, August 27th 2016, 8:25pm

Dann poste deinen aktualisierten Code und die Fehlermeldung hier



baume04

User / Kunde

  • "baume04" started this thread

Posts: 11

  • Send private message

8

Saturday, August 27th 2016, 8:35pm

Dann poste deinen aktualisierten Code und die Fehlermeldung hier
Code:

package listener;

import java.util.Arrays;
import java.util.List;

import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.scoreboard.Scoreboard;
import org.bukkit.scoreboard.Team;

import ru.tehkode.permissions.PermissionUser;
import ru.tehkode.permissions.bukkit.PermissionsEx;

public class tab implements Listener{


Scoreboard board = Bukkit.getScoreboardManager().getMainScoreboard();


@EventHandler(priority = EventPriority.MONITOR)
public void onJoin(PlayerJoinEvent e) {
Player p = (Player) e.getPlayer();












PermissionUser user = PermissionsEx.getUser(p);
if (user.inGroup("Developer", false)) {
if(board.getTeam("b") != null){
Team DEV = board.getTeam("b");
DEV.addPlayer(p);
}else{
Team DEV = board.registerNewTeam("b");
DEV.setPrefix("§3Dev §7| ");
DEV.addPlayer(p);
}

}

if (user.inGroup("Owner", false)) {
board.getTeam("a").addPlayer(p);

if(board.getTeam("a") != null){
Team DEV = board.getTeam("a");
DEV.addPlayer(p);

}else{
Team OWNER = board.registerNewTeam("a");
OWNER.setPrefix("§4O §7| ");
OWNER.addPlayer(p);
}


}

if (user.inGroup("Admin", false)) {


if(board.getTeam("c") != null){
Team ADMIN = board.getTeam("c");
ADMIN.addPlayer(p);

}else{
Team ADMIN = board.registerNewTeam("c");
ADMIN.setPrefix("§cA §7| ");
ADMIN.addPlayer(p);
}

}

if (user.inGroup("Moderator", false)) {

if(board.getTeam("d") != null){
Team MOD = board.getTeam("d");
MOD.addPlayer(p);

}else{
Team MOD = board.registerNewTeam("d");
MOD.setPrefix("§5Mod §7| ");
MOD.addPlayer(p);
}

}

if (user.inGroup("Supporter", false)) {
if(board.getTeam("e") != null){
Team SUPP = board.getTeam("e");
SUPP.addPlayer(p);
}else{
Team SUPP = board.registerNewTeam("e");
SUPP.setPrefix("§aSupp §7| ");
SUPP.addPlayer(p);
}

}

if (user.inGroup("ProbeSupporter", false)) {
if(board.getTeam("f") != null){
Team PRSUPP = board.getTeam("f");
PRSUPP.addPlayer(p);

}else{
Team PRSUPP = board.registerNewTeam("f");
PRSUPP.setPrefix("§aPSupp §7| ");
PRSUPP.addPlayer(p);
}

}
if (user.inGroup("default", false) || user.inGroup("Premium", false) || user.inGroup("Youtuber", false)) {

if(board.getTeam("i") != null){
Team DEFAULT = board.getTeam("i");
DEFAULT.addPlayer(p);

}else{
Team DEFAULT = board.registerNewTeam("i");
DEFAULT.setPrefix("§7");
DEFAULT.addPlayer(p);
}

}
if (user.inGroup("Architekt", false)) {
if(board.getTeam("g") != null){
Team ARCHI = board.getTeam("g");
ARCHI.setPrefix("§6Archi §7| ");
ARCHI.addPlayer(p);

}else{
Team ARCHI = board.registerNewTeam("g");
ARCHI.setPrefix("§6Archi §7| ");
ARCHI.addPlayer(p);
}

}
if(user.inGroup("youtubepartner", false)){
if(board.getTeam("h") != null){
Team YTPARTNER = board.getTeam("h");
YTPARTNER.addPlayer(p);


}else{
Team YTPARTNER = board.registerNewTeam("h");
YTPARTNER.setPrefix("§d");
YTPARTNER.addPlayer(p);
}
}


}



}

Fehlermeldung:


[18:34:50] [Server thread/INFO]: Starting minecraft server version 1.8.8
[18:34:50] [Server thread/INFO]: Loading properties
[18:34:50] [Server thread/INFO]: Default game type: SURVIVAL
[18:34:50] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-db6de12-18fbb24 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
[18:34:51] [Server thread/INFO]: Server Ping Player Sample Count: 12
[18:34:51] [Server thread/INFO]: Using 4 threads for Netty based IO
[18:34:51] [Server thread/INFO]: Debug logging is disabled
[18:34:51] [Server thread/INFO]: Generating keypair
[18:34:51] [Server thread/INFO]: Starting Minecraft server on *:25565
[18:34:51] [Server thread/INFO]: Using epoll channel type
[18:34:51] [Server thread/INFO]: Set PluginClassLoader as parallel capable
[18:34:52] [Server thread/INFO]: [PermissionsEx] Loading PermissionsEx v1.22.7-SNAPSHOT
[18:34:52] [Server thread/INFO]: [pvp_cubed] Loading pvp_cubed v0.1
[18:34:52] [Server thread/INFO]: [HolographicDisplays] Loading HolographicDisplays v2.2
[18:34:52] [Server thread/INFO]: [Essentials] Loading Essentials vTeamCity
[18:34:52] [Server thread/INFO]: [Votifier] Loading Votifier v1.8
[18:34:52] [Server thread/INFO]: **** Beginning UUID conversion, this may take A LONG time ****
[18:34:52] [Server thread/INFO]: Preparing level "world"
[18:34:52] [Server thread/INFO]: -------- World Settings For [world] --------
[18:34:52] [Server thread/INFO]: Anti X-Ray: true
[18:34:52] [Server thread/INFO]: Engine Mode: 1
[18:34:52] [Server thread/INFO]: Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
[18:34:52] [Server thread/INFO]: Replace Blocks: [1, 5]
[18:34:52] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[18:34:52] [Server thread/INFO]: Cactus Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Cane Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Melon Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Sapling Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Wheat Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Mob Spawn Range: 4
[18:34:52] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
[18:34:52] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[18:34:52] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
[18:34:52] [Server thread/INFO]: Random Lighting Updates: false
[18:34:52] [Server thread/INFO]: Structure Info Saving: true
[18:34:52] [Server thread/INFO]: Sending up to 10 chunks per packet
[18:34:52] [Server thread/INFO]: Max Entity Collisions: 8
[18:34:52] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
[18:34:52] [Server thread/INFO]: Max TNT Explosions: 100
[18:34:52] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[18:34:52] [Server thread/INFO]: Item Despawn Rate: 6000
[18:34:52] [Server thread/INFO]: Item Merge Radius: 2.5
[18:34:52] [Server thread/INFO]: Arrow Despawn Rate: 1200
[18:34:52] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[18:34:52] [Server thread/INFO]: View Distance: 10
[18:34:52] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[18:34:52] [Server thread/INFO]: Chunks to Grow per Tick: 650
[18:34:52] [Server thread/INFO]: Clear tick list: false
[18:34:52] [Server thread/INFO]: Experience Merge Radius: 3.0
[18:34:52] [Server thread/INFO]: -------- World Settings For [world_nether] --------
[18:34:52] [Server thread/INFO]: Anti X-Ray: true
[18:34:52] [Server thread/INFO]: Engine Mode: 1
[18:34:52] [Server thread/INFO]: Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
[18:34:52] [Server thread/INFO]: Replace Blocks: [1, 5]
[18:34:52] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[18:34:52] [Server thread/INFO]: Cactus Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Cane Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Melon Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Sapling Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Wheat Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Mob Spawn Range: 4
[18:34:52] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
[18:34:52] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[18:34:52] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
[18:34:52] [Server thread/INFO]: Random Lighting Updates: false
[18:34:52] [Server thread/INFO]: Structure Info Saving: true
[18:34:52] [Server thread/INFO]: Sending up to 10 chunks per packet
[18:34:52] [Server thread/INFO]: Max Entity Collisions: 8
[18:34:52] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
[18:34:52] [Server thread/INFO]: Max TNT Explosions: 100
[18:34:52] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[18:34:52] [Server thread/INFO]: Item Despawn Rate: 6000
[18:34:52] [Server thread/INFO]: Item Merge Radius: 2.5
[18:34:52] [Server thread/INFO]: Arrow Despawn Rate: 1200
[18:34:52] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[18:34:52] [Server thread/INFO]: View Distance: 10
[18:34:52] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[18:34:52] [Server thread/INFO]: Chunks to Grow per Tick: 650
[18:34:52] [Server thread/INFO]: Clear tick list: false
[18:34:52] [Server thread/INFO]: Experience Merge Radius: 3.0
[18:34:52] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
[18:34:52] [Server thread/INFO]: Anti X-Ray: true
[18:34:52] [Server thread/INFO]: Engine Mode: 1
[18:34:52] [Server thread/INFO]: Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
[18:34:52] [Server thread/INFO]: Replace Blocks: [1, 5]
[18:34:52] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[18:34:52] [Server thread/INFO]: Cactus Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Cane Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Melon Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Sapling Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Wheat Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[18:34:52] [Server thread/INFO]: Mob Spawn Range: 4
[18:34:52] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
[18:34:52] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[18:34:52] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
[18:34:52] [Server thread/INFO]: Random Lighting Updates: false
[18:34:52] [Server thread/INFO]: Structure Info Saving: true
[18:34:52] [Server thread/INFO]: Sending up to 10 chunks per packet
[18:34:52] [Server thread/INFO]: Max Entity Collisions: 8
[18:34:52] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
[18:34:52] [Server thread/INFO]: Max TNT Explosions: 100
[18:34:52] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[18:34:52] [Server thread/INFO]: Item Despawn Rate: 6000
[18:34:52] [Server thread/INFO]: Item Merge Radius: 2.5
[18:34:52] [Server thread/INFO]: Arrow Despawn Rate: 1200
[18:34:52] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[18:34:52] [Server thread/INFO]: View Distance: 10
[18:34:52] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[18:34:52] [Server thread/INFO]: Chunks to Grow per Tick: 650
[18:34:52] [Server thread/INFO]: Clear tick list: false
[18:34:52] [Server thread/INFO]: Experience Merge Radius: 3.0
[18:34:52] [Server thread/INFO]: Preparing start region for level 0 (Seed: -1181719610089848784)
[18:34:53] [Server thread/INFO]: Preparing start region for level 1 (Seed: -5712792796462392599)
[18:34:54] [Server thread/INFO]: Preparing start region for level 2 (Seed: -5712792796462392599)
[18:34:54] [Server thread/INFO]: [PermissionsEx] Enabling PermissionsEx v1.22.7-SNAPSHOT
[18:34:54] [Server thread/INFO]: [PermissionsEx] Initializing file backend
[18:34:54] [Server thread/INFO]: [PermissionsEx] Permissions file successfully reloaded
[18:34:54] [Server thread/INFO]: [pvp_cubed] Enabling pvp_cubed v0.1
[18:34:54] [Server thread/INFO]: [HolographicDisplays] Enabling HolographicDisplays v2.2
[18:34:54] [Server thread/INFO]: [Essentials] Enabling Essentials vTeamCity
[18:34:54] [Server thread/INFO]: Bukkit version format changed. Version not checked.
[18:34:54] [Server thread/INFO]: git-Spigot-db6de12-18fbb24 (MC: 1.8.8)
[18:34:54] [Server thread/INFO]: 1.8.8-R0.1-SNAPSHOT
[18:34:54] [Server thread/INFO]: Using locale de
[18:34:55] [Server thread/INFO]: Using locale de
[18:34:55] [Server thread/INFO]: Essentials: Using PermissionsEx based permissions.
[18:34:55] [Server thread/INFO]: [Votifier] Enabling Votifier v1.8
[18:34:55] [Server thread/INFO]: [Votifier] Votifier enabled.
[18:34:55] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[18:34:55] [Server thread/INFO]: Done (3.857s)! For help, type "help" or "?"
[18:34:56] [Thread-7/WARN]: [PermissionsEx] The updater could not find any files for the project id 31279
[18:35:03] [User Authenticator #1/INFO]: UUID of player KompetenzBaume is 7294226d-a50b-43a2-8a52-6c49b7343e85
[18:35:03] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to pvp_cubed v0.1
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:298) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:157) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:814) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-db6de12-18fbb24]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
Caused by: java.lang.NullPointerException
at listener.tab.onJoin(tab.java:128) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
... 14 more
[18:35:04] [Server thread/INFO]: KompetenzBaume[/212.46.184.233:53499] logged in with entity id 31 at ([world]5.959676229798419, 146.0, 2.6826202215620367)
[18:35:08] [Server thread/INFO]: Stopping the server
[18:35:08] [Server thread/INFO]: Stopping server
[18:35:08] [Server thread/INFO]: [Votifier] Disabling Votifier v1.8
[18:35:08] [Server thread/INFO]: [Votifier] Votifier disabled.
[18:35:08] [Thread-9/WARN]: [Votifier] Protocol error. Ignoring packet - Socket closed
[18:35:08] [Server thread/INFO]: [Essentials] Disabling Essentials vTeamCity
[18:35:08] [Server thread/INFO]: [HolographicDisplays] Disabling HolographicDisplays v2.2
[18:35:08] [Server thread/INFO]: [pvp_cubed] Disabling pvp_cubed v0.1
[18:35:08] [Server thread/INFO]: [PermissionsEx] Disabling PermissionsEx v1.22.7-SNAPSHOT
[18:35:08] [Server thread/INFO]: Saving players
[18:35:08] [Server thread/INFO]: KompetenzBaume lost connection: Server closed
[18:35:08] [Server thread/INFO]: KompetenzBaume left the game.
[18:35:08] [Server thread/INFO]: Saving worlds
[18:35:08] [Server thread/INFO]: Saving chunks for level 'world'/Overworld
[18:35:08] [Server thread/INFO]: Saving chunks for level 'world_nether'/Nether
[18:35:08] [Server thread/INFO]: Saving chunks for level 'world_the_end'/The End

mcf_

User / Kunde

Posts: 1,363

Thanks: 22

  • Send private message

9

Saturday, August 27th 2016, 8:51pm

@baume04
Bitte benutze den code-Tag oder Pastebin. Wenn du den Code (+Log) einfach so hier hinschreibst ist das ganze unleserlich und es fehlen die Zeilenangaben



Stuppsman

User / Kunde

Posts: 2,766

Thanks: 25

  • Send private message

10

Sunday, August 28th 2016, 3:43pm

Du initialisierst das MainScoreboard ausserhalb der Runtime..
Nein, ich hab kein Skype.. bei Interesse an einer privaten Unterrichtsstunde, wende dich bitte direkt an mein Team! 8)

Bitte besucht unser neues Forum unter https://forum.nitrado.net| Please visit our new Forum at https://forum.nitrado.net