Skocz do zawartości
  • 0

Wejście z jednego ip


piotrekk10
 Udostępnij

Pytanie

19 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
[00:12:37 ERROR]: #!#! [skript] Severe Error:
[00:12:37 ERROR]: #!#! 
[00:12:37 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[00:12:37 ERROR]: #!#! If you're a server admin however please go to Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!
[00:12:37 ERROR]: #!#! and check whether this error has already been reported.
[00:12:37 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[00:12:37 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[00:12:37 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[00:12:37 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[00:12:37 ERROR]: #!#! 
[00:12:37 ERROR]: #!#! Stack trace:
[00:12:37 ERROR]: #!#! java.lang.NullPointerException
[00:12:37 ERROR]: #!#!     at ch.njol.skript.expressions.ExprIP.convert(ExprIP.java:52)
[00:12:37 ERROR]: #!#!     at ch.njol.skript.expressions.ExprIP.convert(ExprIP.java:1)
[00:12:37 ERROR]: #!#!     at ch.njol.skript.registrations.Converters.convert(Converters.java:302)
[00:12:37 ERROR]: #!#!     at ch.njol.skript.registrations.Converters.convertUnsafe(Converters.java:294)
[00:12:37 ERROR]: #!#!     at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:105)
[00:12:37 ERROR]: #!#!     at ch.njol.skript.expressions.base.SimplePropertyExpression.get(SimplePropertyExpression.java:56)
[00:12:37 ERROR]: #!#!     at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:76)
[00:12:37 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:101)
[00:12:37 ERROR]: #!#!     at ch.njol.skript.effects.EffChange.execute(EffChange.java:270)
[00:12:37 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:50)
[00:12:37 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)
[00:12:37 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
[00:12:37 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[00:12:37 ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:149)
[00:12:37 ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:109)
[00:12:37 ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[00:12:37 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
[00:12:37 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
[00:12:37 ERROR]: #!#!     at net.minecraft.server.v1_7_R2.PlayerList.attemptLogin(PlayerList.java:387)
[00:12:37 ERROR]: #!#!     at net.minecraft.server.v1_7_R2.LoginListener.c(LoginListener.java:89)
[00:12:37 ERROR]: #!#!     at net.minecraft.server.v1_7_R2.LoginListener.a(LoginListener.java:42)
[00:12:37 ERROR]: #!#!     at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:151)
[00:12:37 ERROR]: #!#!     at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77)
[00:12:37 ERROR]: #!#!     at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:705)
[00:12:37 ERROR]: #!#!     at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273)
[00:12:37 ERROR]: #!#!     at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:568)
[00:12:37 ERROR]: #!#!     at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:474)
[00:12:37 ERROR]: #!#!     at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618)
[00:12:37 ERROR]: #!#! 
[00:12:37 ERROR]: #!#! Version Information:
[00:12:37 ERROR]: #!#!   Skript: 2.1.2
[00:12:37 ERROR]: #!#!   Bukkit: 1.7.5-R0.1-SNAPSHOT
[00:12:37 ERROR]: #!#!   Minecraft: 1.7.5
[00:12:37 ERROR]: #!#!   Java: 1.7.0_65
[00:12:37 ERROR]: #!#! 
[00:12:37 ERROR]: #!#! Running CraftBukkit: false
[00:12:37 ERROR]: #!#! 
[00:12:37 ERROR]: #!#! Current node: null
[00:12:37 ERROR]: #!#! Current item: set {_ip}(as java.lang.Object) to the IP address of the player
[00:12:37 ERROR]: #!#! 
[00:12:37 ERROR]: #!#! Thread: Server thread
[00:12:37 ERROR]: #!#! 
[00:12:37 ERROR]: #!#! End of Error.
[00:12:37 ERROR]: #!#! 
 
 
 
Jutro ogarnę to co mi napiszesz :) btw dzięki za pomoc
Edytowane przez piotrekk10
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

on join:	if {ip.%player%} isn't set:		set {ip.%player%} to player's ip		if player's ip isn't {ip.%player%}:		kick player due to "Mozesz grac tylko na jednym IP !"

Działa na wszystkich graczy

 

on join:	if player's name is "twoj nick":		if player's ip isn't "twoje ip":			kick player due to "Nie mozesz sie podszywac pod <twoj nick> !"

Działa tylko na jedną osobę

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...