Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeOnuke committed Jul 14, 2020
1 parent d247702 commit 1f26578
Show file tree
Hide file tree
Showing 361 changed files with 30,007 additions and 0 deletions.
12 changes: 12 additions & 0 deletions AdminTools/RconClient.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#RconClient properties
#Created by: LukeOnuke - https://github.com/LukeOnuke
#Sun Jul 12 14:57:05 CEST 2020
markdown.succsesfullreply.colour=\#9cfc88
rcon.password=password
querry.api.mojang.refreshrate=100
markdown.error.colour=\#e02b2b
querry.mc.refreshrate=10
rcon.host=localhost
markdown.nocommandresponce.colour=\#9cfc88
rcon.port=25575
rcon.remember=true
53 changes: 53 additions & 0 deletions AdminTools/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?><!-- You may freely edit this file. See commented blocks below for --><!-- some examples of how to customize the build. --><!-- (If you delete it and reopen the project it will be recreated.) --><!-- By default, only the Clean and Build commands use this build script. --><project name="RconClient" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
<description>Builds, tests, and runs the project RconClient.</description>
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. Those of them relevant for JavaFX project are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-jfx-jar: called before FX SDK specific <fx:jar> task
-post-jfx-jar: called after FX SDK specific <fx:jar> task
-pre-jfx-deploy: called before FX SDK specific <fx:deploy> task
-post-jfx-deploy: called after FX SDK specific <fx:deploy> task
-pre-jfx-native: called just after -pre-jfx-deploy if <fx:deploy> runs in native packaging mode
-post-jfx-native: called just after -post-jfx-deploy if <fx:deploy> runs in native packaging mode
-post-clean: called after cleaning build products
(Targets beginning with '-' are not intended to be called on their own.)
Example of inserting a HTML postprocessor after javaFX SDK deployment:
<target name="-post-jfx-deploy">
<basename property="jfx.deployment.base" file="${jfx.deployment.jar}" suffix=".jar"/>
<property name="jfx.deployment.html" location="${jfx.deployment.dir}${file.separator}${jfx.deployment.base}.html"/>
<custompostprocess>
<fileset dir="${jfx.deployment.html}"/>
</custompostprocess>
</target>
Example of calling an Ant task from JavaFX SDK. Note that access to JavaFX SDK Ant tasks must be
initialized; to ensure this is done add the dependence on -check-jfx-sdk-version target:
<target name="-post-jfx-jar" depends="-check-jfx-sdk-version">
<echo message="Calling jar task from JavaFX SDK"/>
<fx:jar ...>
...
</fx:jar>
</target>
For more details about JavaFX SDK Ant tasks go to
http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm
For list of available properties check the files
nbproject/build-impl.xml and nbproject/jfx-impl.xml.
-->
</project>
4 changes: 4 additions & 0 deletions AdminTools/build/built-jar.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#Tue, 14 Jul 2020 15:32:46 +0200


C\:\\Users\\lukak\\Documents\\NetBeansProjects\\AdminTools=
Binary file not shown.
44 changes: 44 additions & 0 deletions AdminTools/build/classes/rconclient/gui/RconWindow.fxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import java.net.URL?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.ToggleButton?>
<?import javafx.scene.effect.DropShadow?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.TextFlow?>

<AnchorPane id="AnchorPane" fx:id="rootPane" prefHeight="593.0" prefWidth="973.0" xmlns="http://javafx.com/javafx/8.0.251" xmlns:fx="http://javafx.com/fxml/1" fx:controller="rconclient.gui.RconWindowController">
<stylesheets>
<URL value="@Style.css" />
</stylesheets>
<children>
<AnchorPane fx:id="rconPane" layoutX="71.0" prefHeight="593.0" prefWidth="902.0" styleClass="rconPane" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="71.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<TextField fx:id="rconSend" layoutX="14.0" layoutY="550.0" onAction="#send" prefHeight="29.0" prefWidth="405.0" styleClass="rconTextField" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="79.0" />
<Label fx:id="sendButton" layoutX="430.0" layoutY="552.0" onMouseClicked="#send" prefHeight="20.0" prefWidth="54.0" styleClass="rconButton" text="Send" textAlignment="CENTER" AnchorPane.bottomAnchor="15.0" AnchorPane.rightAnchor="14.0">
<font>
<Font size="14.0" />
</font>
</Label>
<ScrollPane fitToHeight="true" fitToWidth="true" layoutX="15.0" layoutY="14.0" prefHeight="524.0" prefWidth="873.0" AnchorPane.bottomAnchor="55.0" AnchorPane.leftAnchor="15.0" AnchorPane.rightAnchor="13.0" AnchorPane.topAnchor="14.0">
<content>
<TextFlow fx:id="rcon" prefHeight="518.0" prefWidth="467.0" styleClass="rcon" />
</content>
</ScrollPane>
</children>
</AnchorPane>
<AnchorPane fx:id="sidePane" layoutX="-1.0" layoutY="-1.0" prefHeight="593.0" prefWidth="71.0" styleClass="sideMenu" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="-1.0" AnchorPane.topAnchor="0.0">
<effect>
<DropShadow color="#00000081" spread="0.07" />
</effect>
<children>
<ToggleButton disable="true" layoutX="-2.0" mnemonicParsing="false" prefHeight="71.0" prefWidth="71.0" selected="true" styleClass="sideMenuRconButton" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0" />
<ToggleButton layoutX="1.0" layoutY="142.0" mnemonicParsing="false" onAction="#loadSettings" prefHeight="71.0" prefWidth="71.0" styleClass="sideMenuSettingsButton" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="142.0" />
<ToggleButton layoutY="71.0" onAction="#loadStatus" prefHeight="71.0" prefWidth="71.0" styleClass="sideMenuStatusButton" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="71.0" />
</children>
</AnchorPane>
</children>
</AnchorPane>
Binary file not shown.
75 changes: 75 additions & 0 deletions AdminTools/build/classes/rconclient/gui/SettingsWindow.fxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import java.net.URL?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.PasswordField?>
<?import javafx.scene.control.ProgressBar?>
<?import javafx.scene.control.RadioButton?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.control.Slider?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.ToggleButton?>
<?import javafx.scene.effect.DropShadow?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.text.Text?>

<AnchorPane id="AnchorPane" fx:id="rootPane" prefHeight="593.0" prefWidth="973.0" xmlns="http://javafx.com/javafx/8.0.251" xmlns:fx="http://javafx.com/fxml/1" fx:controller="rconclient.gui.SettingsWindowController">
<stylesheets>
<URL value="@Style.css" />
</stylesheets>
<children>
<AnchorPane layoutX="71.0" prefHeight="593.0" prefWidth="902.0" styleClass="settingsPane" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="71.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<AnchorPane prefHeight="71.0" prefWidth="902.0" styleClass="settingsTitlePane" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<Text fill="#f59696" layoutX="14.0" layoutY="51.0" strokeType="OUTSIDE" strokeWidth="0.0" styleClass="title" text="Settings" />
</children>
</AnchorPane>
<ScrollPane fitToHeight="true" fitToWidth="true" layoutY="71.0" prefHeight="522.0" prefWidth="902.0" styleClass="settingsPane" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="71.0">
<content>
<AnchorPane prefHeight="571.0" prefWidth="898.0" styleClass="settingsPane">
<children>
<AnchorPane layoutX="16.0" layoutY="14.0" prefHeight="215.0" prefWidth="420.0" styleClass="borderPane" AnchorPane.leftAnchor="15.0" AnchorPane.topAnchor="14.0">
<children>
<Text layoutX="2.0" layoutY="19.0" strokeType="OUTSIDE" strokeWidth="0.0" styleClass="borderPaneText" text="Rcon credentials" AnchorPane.leftAnchor="2.0" AnchorPane.topAnchor="0.0" />
<Label layoutX="375.0" layoutY="182.0" onMouseClicked="#login" styleClass="labelButton" text="Login" AnchorPane.bottomAnchor="4.0" AnchorPane.rightAnchor="4.0" />
<Label layoutX="14.0" layoutY="32.0" styleClass="text" text="IP -" AnchorPane.leftAnchor="15.0" AnchorPane.topAnchor="31.0" />
<TextField fx:id="rconIP" layoutX="35.0" layoutY="28.0" prefHeight="29.0" prefWidth="371.0" styleClass="rconTextField" AnchorPane.leftAnchor="45.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="28.0" />
<Label layoutX="14.0" layoutY="84.0" styleClass="text" text="Port - " AnchorPane.leftAnchor="14.0" AnchorPane.topAnchor="84.0" />
<TextField fx:id="rconPort" layoutX="59.0" layoutY="80.0" prefHeight="29.0" prefWidth="347.0" styleClass="rconTextField" AnchorPane.leftAnchor="58.0" AnchorPane.rightAnchor="15.0" AnchorPane.topAnchor="79.0" />
<Label layoutX="14.0" layoutY="134.0" styleClass="text" text="Password - " AnchorPane.leftAnchor="14.0" AnchorPane.topAnchor="134.0" />
<PasswordField fx:id="rconPassword" layoutX="87.0" layoutY="131.0" prefHeight="29.0" prefWidth="316.0" styleClass="rconTextField" AnchorPane.leftAnchor="89.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="131.0" />
<RadioButton fx:id="rconRemember" layoutX="11.0" layoutY="188.0" mnemonicParsing="false" text="Remember" />
<ProgressBar fx:id="connectionIndicator" layoutX="139.0" layoutY="187.0" prefHeight="20.0" prefWidth="182.0" progress="0.0" AnchorPane.leftAnchor="130.0" AnchorPane.rightAnchor="90.0" AnchorPane.topAnchor="187.0" />
</children>
</AnchorPane>
<AnchorPane layoutX="17.0" layoutY="237.0" prefHeight="273.0" prefWidth="868.0" styleClass="borderPane" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="16.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="237.0">
<children>
<Text layoutY="19.0" strokeType="OUTSIDE" strokeWidth="0.0" styleClass="borderPaneText" text="Generic settings" AnchorPane.leftAnchor="2.0" AnchorPane.topAnchor="0.0" />
<Label layoutX="807.0" layoutY="232.0" onMouseClicked="#apply" styleClass="labelButton" text="Apply" AnchorPane.bottomAnchor="2.0" AnchorPane.rightAnchor="2.0" />
<Label layoutX="14.0" layoutY="22.0" styleClass="text" text="Server querry refresh rate - " AnchorPane.leftAnchor="14.0" AnchorPane.topAnchor="22.0" />
<TextField fx:id="settingsQuerryRR" layoutX="184.0" layoutY="18.0" prefHeight="29.0" prefWidth="72.0" styleClass="rconTextField" AnchorPane.leftAnchor="184.0" AnchorPane.topAnchor="18.0" />
<Label fx:id="sQRR" layoutX="272.0" layoutY="31.0" prefHeight="20.0" prefWidth="12.0" styleClass="text" text="s" AnchorPane.leftAnchor="271.0" AnchorPane.topAnchor="30.0" />
<Label layoutX="15.0" layoutY="58.0" styleClass="text" text="Mojang api request rate - " AnchorPane.leftAnchor="15.0" AnchorPane.topAnchor="62.0" />
<Slider fx:id="settingsApiRequestR" layoutX="178.0" layoutY="66.0" max="200.0" min="20.0" onMouseClicked="#refresh" onMouseMoved="#refresh" onMousePressed="#refresh" onMouseReleased="#refresh" value="100.0" />
<Label fx:id="sARR" layoutX="327.0" layoutY="63.0" prefHeight="20.0" prefWidth="46.0" styleClass="text" text="s" AnchorPane.leftAnchor="327.0" AnchorPane.topAnchor="63.0" />
<Label layoutX="3.0" layoutY="244.0" onMouseClicked="#reset" styleClass="labelButton" text="Default" AnchorPane.bottomAnchor="2.0" AnchorPane.leftAnchor="2.0" />
</children>
</AnchorPane>
</children>
</AnchorPane>
</content>
</ScrollPane>
</children></AnchorPane>
<AnchorPane layoutX="-1.0" layoutY="-1.0" prefHeight="593.0" prefWidth="71.0" styleClass="sideMenu" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="-1.0" AnchorPane.topAnchor="0.0">
<effect>
<DropShadow color="#00000081" spread="0.07" />
</effect>
<children>
<ToggleButton layoutX="-2.0" onAction="#loadRcon" prefHeight="71.0" prefWidth="71.0" styleClass="sideMenuRconButton" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0" />
<ToggleButton disable="true" layoutY="141.0" mnemonicParsing="false" prefHeight="71.0" prefWidth="71.0" selected="true" styleClass="sideMenuSettingsButton" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="142.0" />
<ToggleButton layoutX="1.0" layoutY="71.0" onAction="#loadStatus" prefHeight="71.0" prefWidth="71.0" styleClass="sideMenuStatusButton" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="71.0" />
</children>
</AnchorPane>
</children>
</AnchorPane>
Binary file not shown.
Loading

0 comments on commit 1f26578

Please sign in to comment.