Please Help ME
========================================================
---------------------------This is my DE-compilded copy-------------------------
========================================================
Êþº¾ 2 u MinecraftServer java/lang/Object java/lang/Runnable a Ljava/util/logging/Logger; b Ljava/text/DateFormat; l Lcom/mojang/a/b; m Ljava/util/Map; n Ljava/util/List; o p I q Ljava/util/Properties; c "Lcom/mojang/minecraft/level/Level; r Z d Ljava/lang/String; e s f t [Lh; g Lf; h u i v w x j Li; k y z <init> ()V Code 2 java/lang/Error 4æUnresolved compilation problems:
The declared package "com.mojang.minecraft.server" does not match the expected package ""
The public type MinecraftServer must be defined in its own file
com.mojang cannot be resolved to a type
com.mojang cannot be resolved to a type
h cannot be resolved to a type
f cannot be resolved to a type
f cannot be resolved to a type
f cannot be resolved to a type
f cannot be resolved to a type
f cannot be resolved to a type
f cannot be resolved to a type
f cannot be resolved to a type
f cannot be resolved to a type
i cannot be resolved to a type
i cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
b cannot be resolved to a type
com.mojang cannot be resolved to a type
e cannot be resolved to a type
com.mojang cannot be resolved to a type
h cannot be resolved to a type
f cannot be resolved to a type
h cannot be resolved to a type
com.mojang.minecraft.a.a cannot be resolved to a type
com.mojang cannot be resolved to a type
g cannot be resolved to a type
h cannot be resolved to a type
g cannot be resolved to a type
h cannot be resolved to a type
The method a() is undefined for the type Logger
com.mojang cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
com.mojang cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
com.mojang cannot be resolved to a type
com.mojang.minecraft.level.a cannot be resolved to a type
Level cannot be resolved to a type
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
The method valueOf(byte) in the type Byte is not applicable for the arguments (int)
d cannot be resolved to a type
com.mojang.minecraft.a.a cannot be resolved to a type
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
The method printStackTrace() is undefined for the type Object
h cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
Syntax error on token "=", delete this token
h cannot be resolved to a type
com.mojang.minecraft.a.a cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
f cannot be resolved to a type
f cannot be resolved to a type
f cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
Type mismatch: cannot convert from String[] to MinecraftServer
Type mismatch: cannot convert from MinecraftServer to String[]
Level cannot be resolved to a type
com.mojang cannot be resolved to a type
Level cannot be resolved to a type
Level cannot be resolved to a type
com.mojang cannot be resolved to a type
com.mojang cannot be resolved to a type
com.mojang.minecraft.level.a cannot be resolved to a type
Level cannot be resolved to a type
Level cannot be resolved to a type
Level cannot be resolved to a type
Level cannot be resolved to a type
Cannot invoke start() on the array type String[]
Type mismatch: cannot convert from Thread to String[]
The constructor Thread(String[]) is undefined
Duplicate parameter paramArrayOfString
c cannot be resolved to a type
c cannot be resolved to a type
Syntax error on token "=", delete this token
Handler cannot be resolved to a variable
Syntax error on tokens, delete these tokens
b cannot be resolved to a type
b cannot be resolved to a type
1 6 . 7 (Ljava/lang/String;)V LineNumberTable LocalVariableTable this LMinecraftServer; (Lcom/mojang/a/a;)V > âUnresolved compilation problems:
com.mojang cannot be resolved to a type
h cannot be resolved to a type
f cannot be resolved to a type
h cannot be resolved to a type
com.mojang.minecraft.a.a cannot be resolved to a type
@ kUnresolved compilation problems:
com.mojang cannot be resolved to a type
g cannot be resolved to a type
(Lh;)V C bUnresolved compilation problems:
h cannot be resolved to a type
g cannot be resolved to a type
E sUnresolved compilation problems:
h cannot be resolved to a type
The method a() is undefined for the type Logger
0(Lcom/mojang/minecraft/a/a;[Ljava/lang/Object;)V H «Unresolved compilation problems:
com.mojang cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
3(Lh;Lcom/mojang/minecraft/a/a;[Ljava/lang/Object;)V K ËUnresolved compilation problems:
h cannot be resolved to a type
com.mojang cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
run NÆUnresolved compilation problems:
com.mojang cannot be resolved to a type
com.mojang.minecraft.level.a cannot be resolved to a type
Level cannot be resolved to a type
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
The method valueOf(byte) in the type Byte is not applicable for the arguments (int)
d cannot be resolved to a type
com.mojang.minecraft.a.a cannot be resolved to a type
#(Ljava/util/Map;)Ljava/lang/String; Q£Unresolved compilation problems:
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
localObject cannot be resolved to a variable
The method printStackTrace() is undefined for the type Object
S ‚Unresolved compilation problems:
h cannot be resolved to a type
h cannot be resolved to a type
h cannot be resolved to a type
U !Unresolved compilation problem:
W OUnresolved compilation problem:
Syntax error on token "=", delete this token
(Lh;Ljava/lang/String;)V Z AUnresolved compilation problem:
h cannot be resolved to a type
(III)V ] XUnresolved compilation problem:
com.mojang.minecraft.a.a cannot be resolved to a type
()I ()Ljava/util/List; a AUnresolved compilation problem:
f cannot be resolved to a type
(Ljava/lang/String;)Lh; main ([Ljava/lang/String;)V fUnresolved compilation problems:
Type mismatch: cannot convert from String[] to MinecraftServer
Type mismatch: cannot convert from MinecraftServer to String[]
Level cannot be resolved to a type
com.mojang cannot be resolved to a type
Level cannot be resolved to a type
Level cannot be resolved to a type
com.mojang cannot be resolved to a type
com.mojang cannot be resolved to a type
com.mojang.minecraft.level.a cannot be resolved to a type
Level cannot be resolved to a type
Level cannot be resolved to a type
Level cannot be resolved to a type
Level cannot be resolved to a type
Cannot invoke start() on the array type String[]
Type mismatch: cannot convert from Thread to String[]
The constructor Thread(String[]) is undefined
Duplicate parameter paramArrayOfString
SourceFile j.java j com/mojang/a/a l com/mojang/a/b n com/mojang/minecraft/a/a p com/mojang/minecraft/level/Level # % MissingTypes !
! " # " $ " % " & ' ( ) * + , - . / 0 4
» 1Y3· 5¿ 8 9
: ; < 0 4
» 1Y=· 5¿ 8 ‚ 9
: ; < 0 4
» 1Y?· 5¿ 8 9
: ; A 0 4
» 1YB· 5¿ 8 • 9
: ; A 0 *
» 1YD· 5¿ 8 š 9 F 0 4
» 1YG· 5¿ 8 Ÿ 9
: ; I 0 4
» 1YJ· 5¿ 8 ¬ 9
: ; L / 0 4
» 1YM· 5¿ 8 Ô 9
: ;
O 0 *
» 1YP· 5¿ 8 9 / 0 4
» 1YR· 5¿ 8 9
: ; 7 0 4
» 1YT· 5¿ 8 P 9
: ; 7 0 4
» 1YT· 5¿ 8 U 9
: ; / 0 4
» 1YV· 5¿ 8 f 9
: ; X 0 4
» 1YY· 5¿ 8 Ø 9
: ; [ 0 4
» 1Y\· 5¿ 8 = 9
: ; ^ 0 4
» 1YY· 5¿ 8 E 9
: ; ^ 0 4
» 1YY· 5¿ 8 O 9
: ; _ 0 4
» 1YT· 5¿ 8 T 9
: ; 7 0 4
» 1YY· 5¿ 8 _ 9
: ; 7 0 4
» 1Y`· 5¿ 8 l 9
: ; 7 0 4
» 1Y`· 5¿ 8 ~ 9
: ; ! 7 0 4
» 1Y`· 5¿ 8 9
: ; # 7 0 4
» 1YY· 5¿ 8 ¢ 9
: ; b 0 4
» 1YY· 5¿ 8 ² 9
: ; c d 0 *
» 1Ye· 5¿ 8 Â 9 g h t i k m o q r s
=========================================================
--------------------------------Up is My compiled----------------------------------
this is the compiled one (Notch Made) before I De-compiled and recompiled it.
=========================================================
Êþº¾ 2xúð€Íe !"#$%&'()uvwxyz}~€‚ƒ„†‡ˆ‰Š‹ŒŽ‘š¥¦§¨©ª«¬¯±²³´µ¶·¸¹ºÂÈÉÌÍÎÏÐÑåèðú(/01249=>AKLMNOPQRVZaegijmnopr¿ÀÁÔÕÖ×ØÙÚÚÛÜÝÞßààáááâ
!!"#$$% p“ p¤ p¬ p¶ pº pà q‘ q¢ q r” rª rÖ rÝ ræ rë rî rô rö r s± sÓ v’ v¥ v« vµ v» vÄ vÉ v× vÙ vÞ vß vá vå vç vì ví võ v÷ vþ v
v v v v v v } }¡ £ © ´ ¹ Â È Õ Ú „
pƒ
p…
p‡
p‹
qx
s˜
sÒ
s
s
tz
tˆ
tŠ
uz
uŽ
vw
v†
v‡
v‰
v
vž
v¦
v§
v²
v³
v·
v¸
vÁ
vÇ
vÔ
x~
yw
z|
z
{z
{
|
|
|
|¨
}y
{
…
‡
Œ
Ÿ
‚€
ƒ€
ƒ¿
„}
…€
†€
‡€
ˆ€
Šï
Š
‹
Θ
ð
w
“€
“‚
”½
”¾
Ӊ
”
”
”
”
”
–w
–™
–š
–›
–œ
–
–
˜À
˜è
™
™
™
›¼
œ¯
Ϯ
œÊ
œË
ϖ
ϝ
•
ž®
ž°
žø
ž
Ÿ€
w
¡w
§w
§Ñ
§ã
§
§
¨w
¨ê
ªw
ªÿ
¯—
¯Å
¯Î
¯Ï
¯Ð
¯Û
®Û
¯ä
¯ý
¯
®
¯
®
°ÿ £Ø ¢Ø £é ¢é ¤– ¤Ì ¤Ü ¤ú ¤ü ¤ ¦Í ¥Í ¦à ¥ó ¦û ©Ü|6|C|G|L|M|O|S|U|^|c|g|j|l®£Ã6ÃFÃHÃIÃRÃTÃXÃYÃcÃfÃmÃ’ÃäûüÄ1Å\ÆoÇLÊ>ÊDÊ[ÊaÊrËFËHËcË˖˛˞˟Ò6Ò`ÒdÒÒ”Ò•ÒœÒ Ó6ã0äsæ»ç6çcçç›çœé+écéé˜é›êië\ìdí7î?ïcïï›ï»ñcò/ócóó—ô*ô:ô<ôZõ8öb÷5øiù@û»ücüü”ü—ý7þ—þ»ÿc 2”™&»'4)“*++V,p-¡3”3 5,6-7,8”8 ::”;d<_?+@6B]C”C¢DD»EkF+G<GZG\HoJSnThUBWcX+YE[e\6]d^W_=`½`¾b6c.d.f.h—k l9l;lqq›sctku›v»w admins:
connected
disconnected got banned! got ip banned! got kicked from the server! times. : tried to connect, but failed because the server was full. , tried to connect, but is already connected ! tried to connect, but is banned. ;######################### WARNING ######################### ;########################################################### & ()B ()I ()J ()Ljava/lang/Object; ()Ljava/lang/String; ()Ljava/nio/Buffer; ()Ljava/nio/ByteBuffer; #()Ljava/nio/channels/SocketChannel; ()Ljava/util/Iterator; ()Ljava/util/List; ()Ljava/util/Set; ()Ljava/util/logging/Logger; ()V ()Z ()[Ljava/util/logging/Handler; (B)Ljava/lang/Byte; (I)B (I)Ljava/lang/Integer; (I)Ljava/lang/Object; (I)Ljava/lang/String; (I)Ljava/lang/StringBuilder; (I)V (III)I (III)V (IIIF)V 1(ILcom/mojang/minecraft/server/MinecraftServer;)V (J)Ljava/lang/StringBuilder; (J)V (Lcom/mojang/a/a;)V (Lcom/mojang/a/a;I)V 0(Lcom/mojang/minecraft/a/a;[Ljava/lang/Object;)V ;(Lcom/mojang/minecraft/level/Level;Ljava/io/OutputStream;)V A(Lcom/mojang/minecraft/server/MinecraftServer;)Ljava/lang/String; ?(Lcom/mojang/minecraft/server/MinecraftServer;)Ljava/util/List; 0(Lcom/mojang/minecraft/server/MinecraftServer;)V A(Lcom/mojang/minecraft/server/MinecraftServer;Lcom/mojang/a/a;I)V S(Lcom/mojang/minecraft/server/MinecraftServer;Ljava/lang/String;)Ljava/lang/String; B(Lcom/mojang/minecraft/server/MinecraftServer;Ljava/lang/String;)V "(Lcom/mojang/minecraft/server/h;)V O(Lcom/mojang/minecraft/server/h;Lcom/mojang/minecraft/a/a;[Ljava/lang/Object;)V 4(Lcom/mojang/minecraft/server/h;Ljava/lang/String;)V (Ljava/io/File;)V 9(Ljava/io/InputStream;)Lcom/mojang/minecraft/level/Level; 6(Ljava/io/OutputStream;Ljava/util/logging/Formatter;)V (Ljava/io/Reader;)V %(Ljava/io/Writer;Ljava/lang/String;)V %(Ljava/lang/Class;)Ljava/lang/Object; (Ljava/lang/Exception;)V &(Ljava/lang/Object;)Ljava/lang/Object; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (Ljava/lang/Object;)Z 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; (Ljava/lang/Runnable;)V (Ljava/lang/String;)I 3(Ljava/lang/String;)Lcom/mojang/minecraft/server/h; -(Ljava/lang/String;)Ljava/lang/StringBuilder; .(Ljava/lang/String;)Ljava/util/logging/Logger; (Ljava/lang/String;)V (Ljava/lang/String;)Z '(Ljava/lang/String;)[Ljava/lang/String; 9(Ljava/lang/String;III)Lcom/mojang/minecraft/level/Level; #(Ljava/lang/String;Ljava/io/File;)V 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object; 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; *(Ljava/lang/String;Ljava/lang/Throwable;)V (Ljava/nio/ByteBuffer;)I $(Ljava/nio/channels/SocketChannel;)V #(Ljava/util/Map;)Ljava/lang/String; (Ljava/util/logging/Formatter;)V (Ljava/util/logging/Handler;)V C(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V (Z)Ljava/lang/Boolean; (Z)Ljava/lang/StringBuilder; ((Z)Ljava/nio/channels/SelectableChannel; ([Ljava/lang/String;)V , -- / 16 25565 3 <clinit> <init> = 9AND SINCE THIS IS A PUBLIC SERVER, IT WILL HAPPEN TO YOU! Admins
Bad command: Banned Banned (IP) Can't set spawn from console! Can't teleport from console! Code )Error in main loop, server shutting down! 2Failed to assemble heartbeat! This is pretty fatal ,Failed to load level. Generating a new level !Failed to load server.properties! ,Failed to open file server.log for writing: !Failed to save server.properties! Failed to save the level! Failed to start the server! HH:mm:ss I &IOException while ticking socketserver ;If you wish to fix this, edit server.properties, and change Lcom/mojang/a/a; Lcom/mojang/a/b; Lcom/mojang/minecraft/a/a; "Lcom/mojang/minecraft/level/Level; -Lcom/mojang/minecraft/server/MinecraftServer; Lcom/mojang/minecraft/server/f; Lcom/mojang/minecraft/server/h; Lcom/mojang/minecraft/server/i; Level saved! Load: Ljava/lang/String; Ljava/nio/ByteBuffer; 'Ljava/nio/channels/ServerSocketChannel; !Ljava/nio/channels/SocketChannel; Ljava/text/DateFormat; Ljava/util/List; Ljava/util/Map; Ljava/util/Properties; Ljava/util/logging/Level; Ljava/util/logging/Logger; Minecraft Server Minecraft server properties MinecraftServer +No level file found. Generating a new level No such player Now accepting input on Now placing normal stone Now placing unbreakable stone Players SEVERE
Setting up
StackMapTable The server is full! Too many connection! UTF-8 Unknown command! Welcome to my Minecraft Server! You were banned You were kicked You're banned! You're no longer op! You're now op! Z [Lcom/mojang/minecraft/a/a; [Lcom/mojang/minecraft/server/h; [Ljava/lang/Class; [Ljava/lang/Object; [Ljava/lang/String; [Ljava/util/logging/Handler; [console] a accept add
addHandler addListener$74652038
admin-slot
admins.txt append b ban banip
banned-ip.txt
banned.txt broadcast
broadcast c close com/mojang/a/a com/mojang/a/b com/mojang/minecraft/a/a com/mojang/minecraft/level/Level com/mojang/minecraft/level/a com/mojang/minecraft/level/a/a +com/mojang/minecraft/server/MinecraftServer com/mojang/minecraft/server/b com/mojang/minecraft/server/c com/mojang/minecraft/server/d com/mojang/minecraft/server/e com/mojang/minecraft/server/f com/mojang/minecraft/server/g com/mojang/minecraft/server/h com/mojang/minecraft/server/i compact configureBlocking 9connects to this server can choose any username he or she creativeMode d deop e encode equals equalsIgnoreCase exists exit f false fine flip g get getHandlers getLogger getParent getProperty getTile
grow-trees growTrees h hasNext i info iterator j java/io/File java/io/FileInputStream java/io/FileOutputStream java/io/FileReader java/io/FileWriter java/io/IOException java/lang/Boolean java/lang/Byte java/lang/Exception java/lang/Integer java/lang/Object java/lang/Runnable java/lang/RuntimeException java/lang/String java/lang/StringBuilder java/lang/System java/lang/Thread java/lang/Throwable java/net/URLEncoder java/nio/ByteBuffer %java/nio/channels/ServerSocketChannel java/nio/channels/SocketChannel java/text/SimpleDateFormat java/util/ArrayList java/util/HashMap java/util/Iterator java/util/List
java/util/Map java/util/Properties java/util/Random
java/util/Set java/util/logging/ConsoleHandler java/util/logging/Formatter java/util/logging/Level java/util/logging/Logger java/util/logging/StreamHandler k keySet kick l length load log m main max max-connections max-players motd n name nanoTime next nextLong o op p parseBoolean parseInt players.txt port position printStackTrace public put q r read remaining remove
removeHandler run s salt say say server-name
server.log server.properties 1server.properties is broken! Delete it or fix it! server_level.dat setFormatter setProperty setSpawnPos setspawn severe size sleep solid split start
startsWith store substring t teleport tick toLowerCase toString tp trim true u unban users v valueOf verify-names 8verify-names is set to false! This means that anyone who verify-names to true. version w )wants! This includes impersonating an OP! warning write x y z ! v ’ ä ËŸ )“ -¡ 3 8 : C¢ Ò• D» ç› é› J ï» `½ ó— ü— h— þ— k q› u› ™ &» v» w |6 … ˜ J*·)*» ¡Y·Oµ Ò*» Y·Nµ Ó*» Y·Nµ Ô*» §Y·Pµ Ö*µ ×*» |Y» ƒYD··µ Ì*» |Y» ƒYH··µ Í*» |Y» ƒYG··µ Ú*» |Y6» ƒYV··µ Î*» Y·Nµ Û*» –Y·5¶9» ¨Y·U¶V¶7¶;µ Ü*µ Ý*» ‚Y*´ Ü·µ Ï*µ Ð*µ Þ*´ Ö» †Y^· ¶R§ W² Æ%¶d**´ Ö\.¶Qµ É**´ ÖS<¶Qµ Ê**´ ÖW¶Q¸'µ Ø**´ ÖR¶Q¸'µ Õ**´ ÖXe¶Q¸#µ ×**´ Öhe¶Q¸#µ Ð**´ ÖNM¶Q¸#µ Þ**´ ÖCM¶Q¸#µ Ë*´ Õ¢ *µ Õ*´ Õ ¤ * µ Õ**´ ÖQ¶Q¸'µ ß*´ Ö\*´ ɶSW*´ ÖS*´ ʶSW*´ ÖR» –Y·5¶9*´ Õ¶6¶;¶SW*´ ÖW» –Y·5¶9*´ ض6¶;¶SW*´ ÖX» –Y·5¶9*´ ׶:¶;¶SW*´ Öh» –Y·5¶9*´ ж:¶;¶SW*´ ÖQ¶SW*´ ÖN» –Y·5¶9*´ Þ¶:¶;¶SW*´ ÖC» –Y·5¶9*´ ˶:¶;¶SW§ YL¶&² Æ_¶d¸<*´ К Z² ƶd² Æi¶d² ÆK¶d² Æl¶d*´ ×™ ² ƶd² ƶd² ƶd² Æ,¶d² Æj¶d² ƶd*´ Ö» ‡Y^·!/¶T§ W² Æ'¶d**´ Õ½ µ Ù*» qY*´ Ø*· ðµ Ñ» {Y*·
¶± × ç ê Œ ó“– Œ Œ ° $
ÿ ê v Œû –÷ ü Œû ET Œ ÃF … š v*´ Ò+¹q À YLÆ f*´ Î+´ 㶲 Æ» –Y·5+¶8 ¶9¶;¶^*´ Ò+´ â¹u W*´ Ó+¹o W+´ ä›
*´ Ù+´ äS*² ¾½ Y+´ ä¸(S¶ ü± ° ÿ ` v ù ËF … ! *´ Ô» }Y+d·¹k W± ÃP … $ *´ Ô» }Y+´ âd·¹k W± ËP … *´ â¶ í± ‘ÃH … k ?>*´ Ó¹p ¢ 2*´ Ó¹l À +,¶§ :*´ Ó¹l À ¶„§ÿDZ ! $ Œ ° ü a Œÿ ‘ÃQ … ~ R6*´ Ó¹p ¢ C*´ Ó¹l +¥ .*´ Ó¹l À ,-¶§ :*´ Ó¹l À ¶„§ÿµ± 3 6 Œ ° ü r Œÿ I6 … S
¾² Æ» –Y·53¶9*´ ض6¶;¶^<=¸=B¸=76*·¸=e…”žJ…a7*· °pš m*:» t· õ´ È» …Y`·¸ ö§ : ² Æ» –Y·5(¶9 ¶8¶;¶c² Æ» –Y·5-¶9´ Ó¹p ¶6¶9´ Õ¶6¶;¶_„pš ½*:» ¡Y·OY: T´ ɹt W g´ Ó¹p ¸(¹t W P´ Õ´ Ë™ § d¸(¹t W X´ ׸$¹t W W´ ظ(¹t W Y´ ܹt W C´ ˸$¹t W k¸%¹t W ¸ þ: » zY ·¶„§þ°¸=!e…”ž !…aB*² »½ ¶ ü§ÿå ¸?§þ…N² Ʋ ë"-¶`-¶&± U n q Œ "¬¬ Œ ° s ÿ . v ÿ > v v Œú .ÿ N v v ¡ ¡ ”ÿ v v ¡ ¡ ”ù rÿ Œ
Ãm … º zL*¹s ¹v M,¹g ™ T,¹i À ”N+¥ » –Y·5+¶9¶9¶;L» –Y·5+¶9-¶9¶9*-¹q ¶*:¸A¶9¶;L§ÿ©+°YL¶&» “Y#·+¿ j k Œ ° & ý ” ¢ü , ”ÿ , ” ÿ Œ Ò6 … Y Ç*´ Ó¹m L+¹g ™ +¹i À M,¶§ÿéN,-¶§ÿà*´ ȶ ô<*´ Ô¹p ¢ †*´ Ô¹l À }M*,´ චû,YN´ àN-´ ´¶Fž -´ ´¶CW-´ ²-´ ´¶LW-´ ´¶BW§ W,Y´ áZdµ á ,´ à¶ í§ W*´ Ô„ÿ¹n W§ W,´ à¶ í§ W„§ÿs± ` † ‰ ˆ ! $ Œ ˜ Ÿ ¢ Œ Y ± ´ Œ µ ¼ ¿ Œ ° X ü
¢ÿ v ¢ Œù ü ü O }B ˆ W Œ ú
ÿ v } Œÿ
v Œ ù Ãc … ² Æ+¶^± Ëc … ² Æ+¶Z± ç6 … b N*´ ÛYLÂ*´ Û¹p ž **´ Û¹n À ”¶ ý§ÿâ+ç K+Ã*¿*´ ÑK*´ ·¶HYLÆ–+¶JW» pY+· ìM*´ ¹,¹k W*´ ¸,:YN´ ÚYM´ ¶¶™ <² À½ Y?S¶ î² Æ» –Y·5YM´ ¶¶9¶9¶;¶_-· ÿ§ÿ‹6-´ Ó¹m :¹h ™ *¹j À YM´ âYM´ ¶YM´ ¶¶-™ „§ÿÒ-´ ß¡ F² À½ Y9S¶ î² Æ» –Y·5YM´ ¶¶9¶9¶6
¶9¶;¶_-· ÿ§ÿ -·Y6œ <² À½ Y8S¶ î² Æ» –Y·5YM´ ¶¶9¶9¶;¶_-· ÿ§þ½» Y-·M² Æ» –Y·5,¶8¶9¶;¶_-´ Ò,¹t W-´ Ó,¹k W,´ ä›
-´ Ù,´ ä,S§þkM+¶I,¿=*´ ¹¹p ¢_*´ ¹¹l À pL+YN´ ²-´ ³¶KW6-´ ³¶Fž µ„dŸ «-´ ³¶CW-´ ³¶E6² º2Y:Ç » ˆY» –Y·5¶9¶6¶;·"¿-´ ³¶G´ Â`¡ U-´ ³¶DW´ þ½ :6¾¢ -´ Ã2¶ ïS„§ÿä-´ µ¶-´ ±™ -´ ³¶BW§ÿR-´ ³¶BW§ -´ ´¶Fž -´ ´¶CW-´ ²-´ ´¶LW-´ ´¶BW§ *N*´ ¸+-::YN´ Ò¹r À Y:Æ
¶+YN´ ±š +¶ í*´ ¸+¶ û*´ ¹„ÿ¹n W§ YN¶&„§þš±L» “Y++·,¿ CÌÏ ˆóæé Œ36 Œ * - - 0 - 2AB ˆ ° Ò ü ¤ ÿ ¤ šÿ v ÿ q ÿ w q ž v p ý
¢-ú ú Ký B ÿ N q ÿ ž ˆÿ q ý ÿ + q p p ý M rÿ & q p p m r ú ø
ú %B Œ&ÿ " q B Œø @ ˆ ÃR … Y “,¶1™ ,¶2M§ÿñ² Æ» –Y·5+Ç B§ +´ ã¶9¶9,¶9¶;¶^,¶0YN2¶3E¶-™ -¾¤ *-2·±-2¶3O¶-™ -¾¤ *-2·±-2¶3F¶-™ -¾¤ *-2·±-2¶3f¶-™ -¾¤ *-2LYK´ Í+¶±-2¶3U¶-™ -¾¤ *-2·±-2¶3L¶-™ -¾¤ *-2·±-2¶3a¶-™ :+Æ -*´ È+´ å l+´ æ l+´ ç l+´ é@h l†¶ ó±² Æ ¶^±-2¶3b¶-™ ,+ÆM++´ êš § µ ê+´ ê™
+5¶±+4¶±-2¶3I¶-™ +-¾¤ %*² ¿½ Y¸(SY,J¶/¶2¶4S¶ ü±-2¶3Z¶-™ +-¾¤ %*² ¿½ Y¸(SY,[¶/¶2¶4S¶ ü±-2¶3c¶-š -2¶3d¶-™ …-¾¤ +Æ r*-2¶YKÆ N+´ â² ½½ Y¸(SY*´ å¸(SY*´ æ¸(SY*´ ç¸(SY*´ é¸(SY*´ è¸(S¶ î§ ?+² ¿½ Y¸(SY2S¶±² Æ!¶^±+Æ +² ¿½ Y¸(SY;S¶± ° ´ ÿ v ” ® –ÿ v ” ® – ”ü 4 n"ÿ ; ÿ v ” n ÿ ÿ ÿ v ” n 5ÿ 5 v n ÿ ` ù ý ù ÃA … = 1*² ¼½ Y¸(SY¸(SY¸(SY*´ ȶ ò¸(S¶ ü± Ã+ … C <=*´ Õ¢ *´ Ù2Ç „„§ÿé¬ ° ý ÿ é+ … 9 <*´ Õ¢ *´ Ù2Ç ¬„§ÿê¬ °
ü ù Ë3 … *´ Ó° çc … † d=*´ Ó¹m N-¹g ™ %-¹i À Y:´ ã+¶.™ =>¶§ÿØ™ +*² ¿½ Y¸(SY» –Y·5+¶9¶9¶;S¶ ü± ° ý ¢'ú ø + éc … Ž l*´ Í+¶=*´ Ó¹m N-¹g ™ %-¹i À Y:´ ã+¶.™ ==¶§ÿØ™ +*² ¿½ Y¸(SY» –Y·5+¶9
¶9¶;S¶ ü± ° ý ¢'ú ø + ïc … r M*´ Ì+¶*´ Ó¹m K*¹g ™ 4*¹i À YM´ ã+¶.™ ,A¶,² Á½ Yd¸(S¶§ÿɱ ° ÿ ¢ ” 6ù óc … v Q*´ Ì+¶*´ Ó¹m K*¹g ™ 8*¹i À YM´ ã+¶.™ ,µ ê,@¶,² Á½ Y¸(S¶§ÿű ° ÿ ¢ ” :ù üc … C ã=N*´ Ó¹m :¹g ™ Ÿ¹i À Y:´ ã+¶.š 9´ âY:´ ¶+¶.š '´ âY:´ ¶» –Y·5¶9+¶9¶;¶.™ O*´ Ú´ âY:´ ¶¶=¶-¦ » –Y·5-¶9¶9¶;N» –Y·5-¶9´ ã¶9¶;N=§ÿ]™ +*² ¿½ Y¸(SY» –Y·5-¶9¶9¶;S¶ ü± ° N þ ” ¢ÿ V v ” ” ¢ 2ÿ v ” ” ¢ ÿ v ” ÿ + Ò` … T /*´ Ó¹m K*¹g ™ *¹i À YM´ ã+¶.™ ,°§ÿà° ° ÿ
¢ ” ù .t … Ç» vY· úYKL² Æ7¶_» ƒY`·YM¶™ -+» tY+· õ» „Y,·¶ ÷µ ȧ M² Æ$¶e,¶&§ ² Æ1¶e+´ ÈÇ +» uY+· ø @¶ ùµ È» t+· õ+´ È» …Y`·¸ ö§ W+´ ȵ Ä+´ È+´ Þµ Å+´ È+¶ ñ» ™Y*·>YK¶@±K² Æ)¶b*¶&± # : = Œ u Œ Œ ¸ ¹ Œ ° $ ÿ = v v ŒY Œ ÿ ( ŒÃK … *´ Û° ËJ … *´ Ý° ÃN … *+Zµ Ý° {6 … Ì ”0¸\³ Æ» ŸY*·M³ Ç» yY·
K² ƶ]¶[YL¾=>¢ +2:² ƶ]¶a„§ÿè» ªY·WYL*¶X² Æ+¶Y» xY» …Y]·*· YM*¶f² Æ,¶Y±M² Æ» –Y·5&¶9,¶8¶;¶d± Z x y Œ ° ÿ + y o ø ÿ 2 Œ
==========================================================
----------------------------the De-comilded one is this (Notch made I edited)...-----------------------------
==========================================================
package com.mojang.minecraft.server;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.net.URLEncoder;
import java.nio.ByteBuffer;
import java.nio.channels.ServerSocketChannel;
import java.nio.channels.SocketChannel;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Random;
import java.util.Set;
import java.util.logging.ConsoleHandler;
import java.util.logging.Handler;
import java.util.logging.Logger;
import java.util.logging.StreamHandler;
public class MinecraftServer
implements Runnable
{
static Logger a = Logger.getLogger("MinecraftServer");
static DateFormat b = new SimpleDateFormat("HH:mm:ss");
private com.mojang.a.b l;
private Map m = new HashMap();
private List n = new ArrayList();
private List o = new ArrayList();
private int p;
private Properties q = new Properties();
public com.mojang.minecraft.level.Level c;
private boolean r = false;
public String d;
public String e;
private int s;
public boolean f;
private h[] t;
public f g = new f("Admins", new File("administors.txt"));
public f h = new f("Banned", new File("banned.txt"));
private f u = new f("Banned (IP)", new File("IP-banned.txt"));
public f i = new f("Players", new File("online-players.txt"));
private List v = new ArrayList();
private String w = new StringBuilder().append("").append(new Random().nextLong()).toString();
private String x = "";
public i j = new i(w);
public boolean k = false;
private boolean y = false;
private int z;
public MinecraftServer()
{
try
{
q.load(new FileReader("McBuilderServer.properties"));
}
catch (Exception localException2)
{
a.warning("Couldn't load McBuilderServer.properties!");
}
try
{
d = q.getProperty("server-name", "McBuilder Server");
e = q.getProperty("motd", "Welcome to my McBuilder Server!");
s = Integer.parseInt(q.getProperty("port", "25565"));
p = Integer.parseInt(q.getProperty("max-players", "20"));
r = Boolean.parseBoolean(q.getProperty("public", "true"));
k = Boolean.parseBoolean(q.getProperty("verify-names", "true"));
y = Boolean.parseBoolean(q.getProperty("grow-trees", "false"));
f = Boolean.parseBoolean(q.getProperty("admin-slot", "false"));
if (p < 1)
p = 1;
if (p > 32)
p = 32;
z = Integer.parseInt(q.getProperty("max-connections", "3"));
q.setProperty("server-name", d);
q.setProperty("motd", e);
q.setProperty("max-players", new StringBuilder().append("").append(p).toString());
q.setProperty("port", new StringBuilder().append("").append(s).toString());
q.setProperty("public", new StringBuilder().append("").append(r).toString());
q.setProperty("verify-names", new StringBuilder().append("").append(k).toString());
q.setProperty("max-connections", "3");
q.setProperty("grow-trees", new StringBuilder().append("").append(y).toString());
q.setProperty("admin-slot", new StringBuilder().append("").append(f).toString());
}
catch (Exception localException3)
{
Exception localException1;
(localException1 = localException3).printStackTrace();
a.warning("McBuilderServer.properties was mess with! Delete it or fix it!");
System.exit(0);
}
try
{
q.store(new FileWriter("McBuilerServer.properties"), "McBuilder Server properties");
}
catch (Exception localException4)
{
a.warning("Couldn't save McBuilderServer.properties!");
}
t = new h[p];
l = new com.mojang.a.b(s, this);
new e(this).start();
}
public final void a(com.mojang.a.a parama)
{
if ((parama = (h)m.get(parama)) != null)
{
i.b(parama.b);
a.info(new StringBuilder().append(parama).append(" disconnected").toString());
m.remove(parama.a);
n.remove(parama);
if (parama.c >= 0)
t[parama.c] = null;
a(com.mojang.minecraft.a.a.n, new Object[] { Integer.valueOf(parama.c) });
}
}
private void b(com.mojang.a.a parama)
{
o.add(new g(parama, 100));
}
public final void a(h paramh)
{
o.add(new g(paramh.a, 100));
}
public static void b(h paramh)
{
a.a();
}
public final void a(com.mojang.minecraft.a.a parama, Object[] paramArrayOfObject)
{
for (int i1 = 0; i1 < n.size(); i1++)
try
{
((h)n.get(i1)).b(parama, paramArrayOfObject);
}
catch (Exception localException)
{
((h)n.get(i1)).a(localException);
}
}
public final void a(h paramh, com.mojang.minecraft.a.a parama, Object[] paramArrayOfObject)
{
for (int i1 = 0; i1 < n.size(); i1++)
{
if (n.get(i1) == paramh)
continue;
try
{
((h)n.get(i1)).b(parama, paramArrayOfObject);
}
catch (Exception localException)
{
((h)n.get(i1)).a(localException);
}
}
}
public void run()
{
a.info(new StringBuilder().append("Accepting to put input on ").append(s).toString());
int i1 = 50000000;
int i2 = 500000000;
try
{
long l1 = System.nanoTime();
long l2 = System.nanoTime();
int i3 = 0;
while (true)
{
d();
while (System.nanoTime() - l2 > i1)
{
l2 += i1;
c();
MinecraftServer localMinecraftServer;
if (i3 % 1200 == 0)
{
localMinecraftServer = this;
try
{
new com.mojang.minecraft.level.a(localMinecraftServer);
com.mojang.minecraft.level.a.a(localMinecraftServer.c, new FileOutputStream("Main.level"));
}
catch (Exception localException2)
{
a.severe(new StringBuilder().append("Couldn't save Main level! ").append(localException2).toString());
}
a.info(new StringBuilder().append("Saved Main Level! Load: ").append(localMinecraftServer.n.size()).append("/").append(localMinecraftServer.p).toString());
}
if (i3 % 900 == 0)
{
localMinecraftServer = this;
(localObject = new HashMap()).put("name", localMinecraftServer.d);
((Map)localObject).put("users", Integer.valueOf(localMinecraftServer.n.size()));
((Map)localObject).put("max", Integer.valueOf(localMinecraftServer.p - (localMinecraftServer.f ? 1 : 0)));
((Map)localObject).put("public", Boolean.valueOf(localMinecraftServer.r));
((Map)localObject).put("port", Integer.valueOf(localMinecraftServer.s));
((Map)localObject).put("salt", localMinecraftServer.w);
((Map)localObject).put("admin-slot", Boolean.valueOf(localMinecraftServer.f));
((Map)localObject).put("version", Byte.valueOf(7));
Object localObject = a((Map)localObject);
new d(localMinecraftServer, (String)localObject).start();
}
i3++;
}
while (System.nanoTime() - l1 > i2)
{
l1 += i2;
a(com.mojang.minecraft.a.a.c, new Object[0]);
}
Thread.sleep(5L);
}
}
catch (Exception localException1)
{
a.log(java.util.logging.Level.SEVERE, "Error in McBuilder.jar, Server shutting down!", localException1);
localException1.printStackTrace();
}
}
private static String a(Map paramMap)
{
try
{
localObject = "";
Iterator localIterator = paramMap.keySet().iterator();
while (localIterator.hasNext())
{
String str = (String)localIterator.next();
if (localObject != "")
localObject = new StringBuilder().append((String)localObject).append("&").toString();
localObject = new StringBuilder().append((String)localObject).append(str).append("=").append(URLEncoder.encode(paramMap.get(str).toString(), "UTF-8")).toString();
}
return localObject;
}
catch (Exception localException)
{
Object localObject;
(localObject = localException).printStackTrace();
}
throw new RuntimeException("Couldn't assemble heartbeat! Report to ZachPro at
");
}
private void c()
{
Iterator localIterator = n.iterator();
Object localObject1;
while (localIterator.hasNext())
{
localObject1 = (h)localIterator.next();
try
{
((h)localObject1).a();
}
catch (Exception localException1)
{
((h)localObject1).a(localException1);
}
}
c.tick();
for (int i1 = 0; i1 < o.size(); i1++)
{
localObject1 = (g)o.get(i1);
a(((g)localObject1).a);
try
{
Object localObject2 = (localObject2 = localObject1).a;
try
{
if (((com.mojang.a.a)localObject2).d.position() > 0)
{
((com.mojang.a.a)localObject2).d.flip();
((com.mojang.a.a)localObject2).b.write(((com.mojang.a.a)localObject2).d);
((com.mojang.a.a)localObject2).d.compact();
}
}
catch (IOException localIOException)
{
}
if (localObject1.b-- <= 0)
{
try
{
((g)localObject1).a.a();
}
catch (Exception localException2)
{
}
o.remove(i1--);
}
}
catch (Exception localException3)
{
try
{
((g)localObject1).a.a();
}
catch (Exception localException4)
{
}
}
}
}
public final void a(String paramString)
{
a.info(paramString);
}
public final void b(String paramString)
{
a.fine(paramString);
}
private void d()
{
synchronized (v)
{
while (v.size() > 0)
a(null, (String)v.remove(0));
}
try
{
this = l;
Object localObject2;
int i3;
while (( = a.accept()) != null)
try
{
((SocketChannel)???).configureBlocking(false);
Object localObject1 = new com.mojang.a.a((SocketChannel)???);
c.add(localObject1);
Object localObject4 = localObject1;
if ((localObject2 = b).u.c((localObject1 = localObject4).f))
{
localObject4.a(com.mojang.minecraft.a.a.p, new Object[] { "You are in the banned.txt list!" });
a.info(new StringBuilder().append((localObject1 = localObject4).f).append(" tried to connect, but is in banned.txt").toString());
((MinecraftServer)localObject2).b(localObject4);
continue;
}
i3 = 0;
Iterator localIterator = ((MinecraftServer)localObject2).n.iterator();
while (localIterator.hasNext())
if ((localObject1 = (localObject1 = (h)localIterator.next()).a).f.equals((localObject1 = localObject4).f))
i3++;
if (i3 >= ((MinecraftServer)localObject2).z)
{
localObject4.a(com.mojang.minecraft.a.a.p, new Object[] { "Too many connection on your port!" });
a.info(new StringBuilder().append((localObject1 = localObject4).f).append(" tried to connect, but is already connected ").append(i3).append(" times.").toString());
((MinecraftServer)localObject2).b(localObject4);
continue;
}
int i4;
if ((i4 = ((MinecraftServer)localObject2).e()) < 0)
{
localObject4.a(com.mojang.minecraft.a.a.p, new Object[] { "Server's Full!" });
a.info(new StringBuilder().append((localObject1 = localObject4).f).append(" tried to connect, but failed because the server is full.").toString());
((MinecraftServer)localObject2).b(localObject4);
continue;
}
localObject1 = new h((MinecraftServer)localObject2, localObject4, i4);
a.info(new StringBuilder().append(localObject1).append(" connected").toString());
((MinecraftServer)localObject2).m.put(localObject4, localObject1);
((MinecraftServer)localObject2).n.add(localObject1);
if (((h)localObject1).c >= 0)
localObject2.t[localObject1.c] = localObject1;
}
catch (IOException localIOException2)
{
((SocketChannel)???).close();
throw localIOException2;
}
for (int i1 = 0; i1 < c.size(); i1++)
{
??? = (com.mojang.a.a)c.get(i1);
Object localObject3;
try
{
(localObject2 = ???).b.read(((com.mojang.a.a)localObject2).c);
int i2 = 0;
while ((((com.mojang.a.a)localObject2).c.position() > 0) && (i2++ != 100))
{
((com.mojang.a.a)localObject2).c.flip();
i3 = ((com.mojang.a.a)localObject2).c.get(0);
if ((localObject7 = com.mojang.minecraft.a.a.a[i3]) == null)
throw new IOException(new StringBuilder().append("Bad command: ").append(i3).toString());
if (((com.mojang.a.a)localObject2).c.remaining() >= ((com.mojang.minecraft.a.a)localObject7).r + 1)
{
((com.mojang.a.a)localObject2).c.get();
localObject6 = new Object[((com.mojang.minecraft.a.a)localObject7).t.length];
for (int i5 = 0; i5 < localObject6.length; i5++)
localObject6[i5] = ((com.mojang.a.a)localObject2).a(localObject7.t[i5]);
((com.mojang.a.a)localObject2).e.a((com.mojang.minecraft.a.a)localObject7, localObject6);
if (!((com.mojang.a.a)localObject2).a)
break;
((com.mojang.a.a)localObject2).c.compact();
continue;
}
else
{
((com.mojang.a.a)localObject2).c.compact();
}
}
if (((com.mojang.a.a)localObject2).d.position() > 0)
{
((com.mojang.a.a)localObject2).d.flip();
((com.mojang.a.a)localObject2).b.write(((com.mojang.a.a)localObject2).d);
((com.mojang.a.a)localObject2).d.compact();
}
}
catch (Exception localObject3)
{
Object localObject7;
Object localObject6 = localException1;
Object localObject5 = ???;
if ((localObject7 = (h)(localObject3 = b).m.get(localObject5)) != null)
((h)localObject7).a((Exception)localObject6);
}
try
{
if (!(localObject3 = ???).a)
{
((com.mojang.a.a)???).a();
b.a((com.mojang.a.a)???);
c.remove(i1--);
}
}
catch (Exception localException2)
{
(localObject3 = localException2).printStackTrace();
}
}
return;
}
catch (IOException localIOException1)
{
}
throw new RuntimeException("IOException while ticking socketserver", localIOException1);
}
public final void a(h paramh, String paramString)
{
while (paramString.startsWith("\"))
paramString = paramString.substring(1);
a.info(new StringBuilder().append(paramh == null ? "[Host]" : paramh.b).append(" administors: ").append(paramString).toString());
String[] arrayOfString;
if (((arrayOfString = paramString.split(" "))[0].toLowerCase().equals("ban")) && (arrayOfString.length > 1))
{
e(arrayOfString[1]);
return;
}
if ((arrayOfString[0].toLowerCase().equals("kick")) && (arrayOfString.length > 1))
{
d(arrayOfString[1]);
return;
}
if ((arrayOfString[0].toLowerCase().equals("banip")) && (arrayOfString.length > 1))
{
h(arrayOfString[1]);
return;
}
if ((arrayOfString[0].toLowerCase().equals("unban")) && (arrayOfString.length > 1))
{
paramh = arrayOfString[1];
this = this;
h.b(paramh);
return;
}
if ((arrayOfString[0].toLowerCase().equals("rank")) && (arrayOfString.length > 1))
{
f(arrayOfString[1]);
return;
}
if ((arrayOfString[0].toLowerCase().equals("derank")) && (arrayOfString.length > 1))
{
g(arrayOfString[1]);
return;
}
if (arrayOfString[0].toLowerCase().equals("setspawn"))
{
if (paramh != null)
{
c.setSpawnPos(paramh.d / 32, paramh.e / 32, paramh.f / 32, paramh.h * 320 / 256);
return;
}
a.info("Console can set spawn!");
return;
}
if (arrayOfString[0].toLowerCase().equals("adminium"))
{
if (paramh != null)
{
paramh.i = (!paramh.i);
if (paramh.i)
{
paramh.b("Stone is now Adminium");
return;
}
paramh.b("Stone is now Stone again");
return;
}
}
else
{
if ((arrayOfString[0].toLowerCase().equals("broadcast")) && (arrayOfString.length > 1))
{
a(com.mojang.minecraft.a.a.o, new Object[] { Integer.valueOf(-1), paramString.substring("broadcast ".length()).trim() });
return;
}
if ((arrayOfString[0].toLowerCase().equals("say")) && (arrayOfString.length > 1))
{
a(com.mojang.minecraft.a.a.o, new Object[] { Integer.valueOf(-1), paramString.substring("say ".length()).trim() });
return;
}
if (((arrayOfString[0].toLowerCase().equals("teleport")) || (arrayOfString[0].toLowerCase().equals("p2"))) && (arrayOfString.length > 1))
{
if (paramh != null)
{
if ((this = c(arrayOfString[1])) != null)
{
paramh.a.a(com.mojang.minecraft.a.a.j, new Object[] { Integer.valueOf(-1), Integer.valueOf(d), Integer.valueOf(e), Integer.valueOf(f), Integer.valueOf(h), Integer.valueOf(g) });
}
else
{
paramh.b(com.mojang.minecraft.a.a.o, new Object[] { Integer.valueOf(-1), "Player not online" });
return;
}
}
else
{
a.info("Console is not in the game!");
return;
}
}
else if (paramh != null)
paramh.b(com.mojang.minecraft.a.a.o, new Object[] { Integer.valueOf(-1), "No Such Command!" });
}
}
public final void a(int paramInt1, int paramInt2, int paramInt3)
{
a(com.mojang.minecraft.a.a.h, new Object[] { Integer.valueOf(paramInt1), Integer.valueOf(paramInt2), Integer.valueOf(paramInt3), Integer.valueOf(c.getTile(paramInt1, paramInt2, paramInt3)) });
}
public final int a()
{
int i1 = 0;
for (int i2 = 0; i2 < p; i2++)
{
if (t[i2] != null)
continue;
i1++;
}
return i1;
}
private int e()
{
for (int i1 = 0; i1 < p; i1++)
if (t[i1] == null)
return i1;
return -1;
}
public final List b()
{
return n;
}
private void d(String paramString)
{
int i1 = 0;
Iterator localIterator = n.iterator();
while (localIterator.hasNext())
{
h localh;
if ((localh = (h)localIterator.next()).b.equalsIgnoreCase(paramString))
{
i1 = 1;
localh.a("You Got kicked");
}
}
if (i1 != 0)
a(com.mojang.minecraft.a.a.o, new Object[] { Integer.valueOf(-1), new StringBuilder().append(paramString).append(" got kicked!").toString() });
}
private void e(String paramString)
{
h.a(paramString);
int i1 = 0;
Iterator localIterator = n.iterator();
while (localIterator.hasNext())
{
h localh;
if ((localh = (h)localIterator.next()).b.equalsIgnoreCase(paramString))
{
i1 = 1;
localh.a("You Got banned");
}
}
if (i1 != 0)
a(com.mojang.minecraft.a.a.o, new Object[] { Integer.valueOf(-1), new StringBuilder().append(paramString).append(" got BANNED from Server!").toString() });
}
private void f(String paramString)
{
g.a(paramString);
this = n.iterator();
while (hasNext())
{
h localh;
if ((localh = (h)next()).b.equalsIgnoreCase(paramString))
{
localh.b("You Got Ranked!");
localh.b(com.mojang.minecraft.a.a.q, new Object[] { Integer.valueOf(100) });
}
}
}
private void g(String paramString)
{
g.b(paramString);
this = n.iterator();
while (hasNext())
{
h localh;
if ((localh = (h)next()).b.equalsIgnoreCase(paramString))
{
localh.i = false;
localh.b("You Got Deranked!");
localh.b(com.mojang.minecraft.a.a.q, new Object[] { Integer.valueOf(0) });
}
}
}
private void h(String paramString)
{
int i1 = 0;
String str = "";
Iterator localIterator = n.iterator();
while (localIterator.hasNext())
{
h localh;
com.mojang.a.a locala;
if (((localh = (h)localIterator.next()).b.equalsIgnoreCase(paramString)) || ((locala = localh.a).f.equalsIgnoreCase(paramString)) || ((locala = localh.a).f.equalsIgnoreCase(new StringBuilder().append("/").append(paramString).toString())))
{
u.a((locala = localh.a).f);
localh.a("You were banned");
if (str == "")
str = new StringBuilder().append(str).append(", ").toString();
str = new StringBuilder().append(str).append(localh.b).toString();
i1 = 1;
}
}
if (i1 != 0)
a(com.mojang.minecraft.a.a.o, new Object[] { Integer.valueOf(-1), new StringBuilder().append(str).append(" GOT IP BANNED FROM SERVER!").toString() });
}
public final h c(String paramString)
{
this = n.iterator();
while (hasNext())
{
h localh;
if ((localh = (h)next()).b.equalsIgnoreCase(paramString))
return localh;
}
return null;
}
public static void main(String[] paramArrayOfString)
{
try
{
MinecraftServer localMinecraftServer = paramArrayOfString = new MinecraftServer();
a.info("Setting up");
File localFile;
if ((localFile = new File("Main.level")).exists())
try
{
localMinecraftServer.c = new com.mojang.minecraft.level.a(localMinecraftServer).a(new FileInputStream(localFile));
}
catch (Exception localException1)
{
a.warning("Couldn't load Main.level Building a Main");
localException1.printStackTrace();
}
else
a.warning("Could't find Main.level Building a Main");
if (localMinecraftServer.c == null)
localMinecraftServer.c = new com.mojang.minecraft.level.a.a(localMinecraftServer).a("--", 256, 256, 64);
try
{
new com.mojang.minecraft.level.a(localMinecraftServer);
com.mojang.minecraft.level.a.a(localMinecraftServer.c, new FileOutputStream("Main.level"));
}
catch (Exception localException2)
{
}
localMinecraftServer.c.creativeMode = true;
localMinecraftServer.c.growTrees = localMinecraftServer.y;
localMinecraftServer.c.addListener$74652038(localMinecraftServer);
(paramArrayOfString = new Thread(paramArrayOfString)).start();
return;
}
catch (Exception paramArrayOfString)
{
a.severe("Couldn't Start Server! Report to ZachPro at
");
paramArrayOfString.printStackTrace();
}
}
static
{
c localc = new c();
for (Handler localHandler : a.getParent().getHandlers())
a.getParent().removeHandler(localHandler);
( = new ConsoleHandler()).setFormatter(localc);
a.addHandler((Handler)???);
try
{
b localb;
(localb = new b(new FileOutputStream("McBuilder.log"), localc)).setFormatter(localc);
a.addHandler(localb);
return;
}
catch (Exception localException)
{
a.warning(new StringBuilder().append("Couldn't open McBuilder.log for writing: ").append(localException).toString());
}
}
}
/* Location: C:\MCBuild\minecraft-server.jar
* Qualified Name: com.mojang.minecraft.server.MinecraftServer
* JD-Core Version: 0.6.0
*/
========================================================
-------------------------This is my compiled copy De-compiled-------------------
========================================================
import com.mojang.a.b;
import com.mojang.minecraft.level.Level;
import java.text.DateFormat;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.logging.Logger;
public class MinecraftServer
implements Runnable
{
static Logger a;
static DateFormat b;
private b l;
private Map m;
private List n;
private List o;
private int p;
private Properties q;
public Level c;
private boolean r;
public String d;
public String e;
private int s;
public boolean f;
private h[] t;
public f g;
public f h;
private f u;
public f i;
private List v;
private String w;
private String x;
public i j;
public boolean k;
private boolean y;
private int z;
public final void a(com.mojang.a.a parama)
{
throw new Error("Unresolved compilation problems: \n\tcom.mojang cannot be resolved to a type\n\th cannot be resolved to a type\n\tf cannot be resolved to a type\n\th cannot be resolved to a type\n\tcom.mojang.minecraft.a.a cannot be resolved to a type\n");
}
void b(com.mojang.a.a parama)
{
throw new Error("Unresolved compilation problems: \n\tcom.mojang cannot be resolved to a type\n\tg cannot be resolved to a type\n");
}
public final void a(h paramh)
{
throw new Error("Unresolved compilation problems: \n\th cannot be resolved to a type\n\tg cannot be resolved to a type\n");
}
public static void b(h paramh)
{
throw new Error("Unresolved compilation problems: \n\th cannot be resolved to a type\n\tThe method a() is undefined for the type Logger\n");
}
public final void a(com.mojang.minecraft.a.a parama, Object[] paramArrayOfObject)
{
throw new Error("Unresolved compilation problems: \n\tcom.mojang cannot be resolved to a type\n\th cannot be resolved to a type\n\th cannot be resolved to a type\n\th cannot be resolved to a type\n");
}
public final void a(h paramh, com.mojang.minecraft.a.a parama, Object[] paramArrayOfObject)
{
throw new Error("Unresolved compilation problems: \n\th cannot be resolved to a type\n\tcom.mojang cannot be resolved to a type\n\th cannot be resolved to a type\n\th cannot be resolved to a type\n\th cannot be resolved to a type\n");
}
public void run()
{
throw new Error("Unresolved compilation problems: \n\tcom.mojang cannot be resolved to a type\n\tcom.mojang.minecraft.level.a cannot be resolved to a type\n\tLevel cannot be resolved to a type\n\tlocalObject cannot be resolved to a variable\n\tlocalObject cannot be resolved to a variable\n\tlocalObject cannot be resolved to a variable\n\tlocalObject cannot be resolved to a variable\n\tlocalObject cannot be resolved to a variable\n\tlocalObject cannot be resolved to a variable\n\tlocalObject cannot be resolved to a variable\n\tlocalObject cannot be resolved to a variable\n\tThe method valueOf(byte) in the type Byte is not applicable for the arguments (int)\n\td cannot be resolved to a type\n\tcom.mojang.minecraft.a.a cannot be resolved to a type\n");
}
private static String a(Map paramMap)
{
throw new Error("Unresolved compilation problems: \n\tlocalObject cannot be resolved to a variable\n\tlocalObject cannot be resolved to a variable\n\tlocalObject cannot be resolved to a variable\n\tlocalObject cannot be resolved to a variable\n\tlocalObject cannot be resolved to a variable\n\tlocalObject cannot be resolved to a variable\n\tlocalObject cannot be resolved to a variable\n\tThe method printStackTrace() is undefined for the type Object\n");
}
private void c()
{
throw new Error("Unresolved compilation problems: \n\th cannot be resolved to a type\n\th cannot be resolved to a type\n\th cannot be resolved to a type\n");
}
public final void a(String paramString)
{
throw new Error("Unresolved compilation problem: \n");
}
public final void b(String paramString)
{
throw new Error("Unresolved compilation problem: \n");
}
private void d()
{
throw new Error("Unresolved compilation problem: \n\tSyntax error on token \"=\", delete this token\n");
}
public final void a(h paramh, String paramString)
{
throw new Error("Unresolved compilation problem: \n\th cannot be resolved to a type\n");
}
public final void a(int paramInt1, int paramInt2, int paramInt3)
{
throw new Error("Unresolved compilation problem: \n\tcom.mojang.minecraft.a.a cannot be resolved to a type\n");
}
public final int a()
{
throw new Error("Unresolved compilation problem: \n\th cannot be resolved to a type\n");
}
private int e()
{
throw new Error("Unresolved compilation problem: \n\th cannot be resolved to a type\n");
}
public final List b()
{
throw new Error("Unresolved compilation problem: \n");
}
private void d(String paramString)
{
throw new Error("Unresolved compilation problem: \n\th cannot be resolved to a type\n");
}
private void e(String paramString)
{
throw new Error("Unresolved compilation problem: \n\tf cannot be resolved to a type\n");
}
private void f(String paramString)
{
throw new Error("Unresolved compilation problem: \n\tf cannot be resolved to a type\n");
}
private void g(String paramString)
{
throw new Error("Unresolved compilation problem: \n\tf cannot be resolved to a type\n");
}
private void h(String paramString)
{
throw new Error("Unresolved compilation problem: \n\th cannot be resolved to a type\n");
}
public final h c(String paramString)
{
throw new Error("Unresolved compilation problem: \n\th cannot be resolved to a type\n");
}
public static void main(String[] paramArrayOfString)
{
throw new Error("Unresolved compilation problems: \n\tType mismatch: cannot convert from String[] to MinecraftServer\n\tType mismatch: cannot convert from MinecraftServer to String[]\n\tLevel cannot be resolved to a type\n\tcom.mojang cannot be resolved to a type\n\tLevel cannot be resolved to a type\n\tLevel cannot be resolved to a type\n\tcom.mojang cannot be resolved to a type\n\tcom.mojang cannot be resolved to a type\n\tcom.mojang.minecraft.level.a cannot be resolved to a type\n\tLevel cannot be resolved to a type\n\tLevel cannot be resolved to a type\n\tLevel cannot be resolved to a type\n\tLevel cannot be resolved to a type\n\tCannot invoke start() on the array type String[]\n\tType mismatch: cannot convert from Thread to String[]\n\tThe constructor Thread(String[]) is undefined\n\tDuplicate parameter paramArrayOfString\n");
}
}
WoM Coins: 1556
I think you would have better luck on a programming forum.