Changed non-RP to OOC and made RP tags hide/showable by OPs
This commit is contained in:
parent
0432bddaf4
commit
cf18b4344c
24 changed files with 179 additions and 122 deletions
|
@ -1464,3 +1464,25 @@ user global configuration and to define the default location to store repositori
|
|||
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
|
||||
EGit might behave differently since they see different configuration options.
|
||||
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
|
||||
!SESSION 2015-08-31 18:08:04.953 -----------------------------------------------
|
||||
eclipse.buildId=M20130204-1200
|
||||
java.version=1.8.0_45
|
||||
java.vendor=Oracle Corporation
|
||||
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=hu_HU
|
||||
Framework arguments: -product org.eclipse.epp.package.jee.product
|
||||
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
|
||||
|
||||
!ENTRY org.eclipse.egit.ui 2 0 2015-08-31 18:09:58.906
|
||||
!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
|
||||
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
|
||||
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
|
||||
this system level configuration. The Git installation location can be configured on the
|
||||
Team > Git > Configuration preference page's 'System Settings' tab.
|
||||
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
|
||||
|
||||
!ENTRY org.eclipse.egit.ui 2 0 2015-08-31 18:09:58.979
|
||||
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
|
||||
user global configuration and to define the default location to store repositories: 'C:\Users\Norbi'. If this is
|
||||
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
|
||||
EGit might behave differently since they see different configuration options.
|
||||
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -5,6 +5,7 @@ content_assist_proposals_background=255,255,255
|
|||
content_assist_proposals_foreground=0,0,0
|
||||
eclipse.preferences.version=1
|
||||
fontPropagated=true
|
||||
markOccurrences=false
|
||||
org.eclipse.jdt.ui.editor.tab.width=
|
||||
org.eclipse.jdt.ui.formatterprofiles.version=12
|
||||
org.eclipse.jdt.ui.javadoclocations.migrated=true
|
||||
|
|
|
@ -240,26 +240,26 @@
|
|||
<tags>org.eclipse.e4.primaryDataStack</tags>
|
||||
<tags>EditorStack</tags>
|
||||
<children xsi:type="basic:Part" xmi:id="__kGwMD-LEeWprK50eVwiGQ" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="PluginMain.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" tooltip="TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/PluginMain.java" closeable="true">
|
||||
<persistedState key="memento" value="<?xml version="1.0" encoding="UTF-8"?>
<editor id="org.eclipse.jdt.ui.CompilationUnitEditor">
<input factoryID="org.eclipse.ui.part.FileEditorInputFactory" path="/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/PluginMain.java"/>
<editorState selectionHorizontalPixel="0" selectionLength="0" selectionOffset="7889" selectionTopPixel="2370"/>
</editor>"/>
|
||||
<persistedState key="memento" value="<?xml version="1.0" encoding="UTF-8"?>
<editor id="org.eclipse.jdt.ui.CompilationUnitEditor">
<input factoryID="org.eclipse.ui.part.FileEditorInputFactory" path="/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/PluginMain.java"/>
<editorState selectionHorizontalPixel="0" selectionLength="0" selectionOffset="1615" selectionTopPixel="120"/>
</editor>"/>
|
||||
<tags>Editor</tags>
|
||||
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
|
||||
<tags>removeOnHide</tags>
|
||||
</children>
|
||||
<children xsi:type="basic:Part" xmi:id="_h4cFECuhEeWsptewEJl0pA" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="Commands.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" tooltip="TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/Commands.java" closeable="true">
|
||||
<persistedState key="memento" value="<?xml version="1.0" encoding="UTF-8"?>
<editor id="org.eclipse.jdt.ui.CompilationUnitEditor">
<input factoryID="org.eclipse.ui.part.FileEditorInputFactory" path="/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/Commands.java"/>
<editorState selectionHorizontalPixel="0" selectionLength="0" selectionOffset="2845" selectionTopPixel="750"/>
</editor>"/>
|
||||
<persistedState key="memento" value="<?xml version="1.0" encoding="UTF-8"?>
<editor id="org.eclipse.jdt.ui.CompilationUnitEditor">
<input factoryID="org.eclipse.ui.part.FileEditorInputFactory" path="/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/Commands.java"/>
<editorState selectionHorizontalPixel="0" selectionLength="0" selectionOffset="13319" selectionTopPixel="5520"/>
</editor>"/>
|
||||
<tags>Editor</tags>
|
||||
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
|
||||
<tags>removeOnHide</tags>
|
||||
</children>
|
||||
<children xsi:type="basic:Part" xmi:id="_t4aYYD4IEeW_qLWp8BCh0w" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="PlayerListener.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" tooltip="TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/PlayerListener.java" closeable="true">
|
||||
<persistedState key="memento" value="<?xml version="1.0" encoding="UTF-8"?>
<editor id="org.eclipse.jdt.ui.CompilationUnitEditor">
<input factoryID="org.eclipse.ui.part.FileEditorInputFactory" path="/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/PlayerListener.java"/>
<editorState selectionHorizontalPixel="0" selectionLength="0" selectionOffset="5376" selectionTopPixel="1710"/>
</editor>"/>
|
||||
<persistedState key="memento" value="<?xml version="1.0" encoding="UTF-8"?>
<editor id="org.eclipse.jdt.ui.CompilationUnitEditor">
<input factoryID="org.eclipse.ui.part.FileEditorInputFactory" path="/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/PlayerListener.java"/>
<editorState selectionHorizontalPixel="0" selectionLength="0" selectionOffset="3558" selectionTopPixel="978"/>
</editor>"/>
|
||||
<tags>Editor</tags>
|
||||
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
|
||||
<tags>removeOnHide</tags>
|
||||
<tags>activeOnClose</tags>
|
||||
</children>
|
||||
<children xsi:type="basic:Part" xmi:id="_yopyED35EeW_qLWp8BCh0w" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="MaybeOfflinePlayer.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" tooltip="TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/MaybeOfflinePlayer.java" closeable="true">
|
||||
<persistedState key="memento" value="<?xml version="1.0" encoding="UTF-8"?>
<editor id="org.eclipse.jdt.ui.CompilationUnitEditor">
<input factoryID="org.eclipse.ui.part.FileEditorInputFactory" path="/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/MaybeOfflinePlayer.java"/>
<editorState selectionHorizontalPixel="0" selectionLength="0" selectionOffset="531" selectionTopPixel="0"/>
</editor>"/>
|
||||
<persistedState key="memento" value="<?xml version="1.0" encoding="UTF-8"?>
<editor id="org.eclipse.jdt.ui.CompilationUnitEditor">
<input factoryID="org.eclipse.ui.part.FileEditorInputFactory" path="/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/MaybeOfflinePlayer.java"/>
<editorState selectionHorizontalPixel="0" selectionLength="0" selectionOffset="547" selectionTopPixel="0"/>
</editor>"/>
|
||||
<tags>Editor</tags>
|
||||
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
|
||||
<tags>removeOnHide</tags>
|
||||
|
@ -271,7 +271,7 @@
|
|||
<tags>removeOnHide</tags>
|
||||
</children>
|
||||
<children xsi:type="basic:Part" xmi:id="_c8-qwEspEeWV7LpGUZvKaA" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="plugin.yml" iconURI="platform:/plugin/org.eclipse.ui.editors/icons/full/obj16/file_obj.gif" tooltip="TheButtonAutoFlair/plugin.yml" closeable="true">
|
||||
<persistedState key="memento" value="<?xml version="1.0" encoding="UTF-8"?>
<editor id="org.eclipse.ui.DefaultTextEditor">
<input factoryID="org.eclipse.ui.part.FileEditorInputFactory" path="/TheButtonAutoFlair/plugin.yml"/>
<editorState selectionHorizontalPixel="0" selectionLength="0" selectionOffset="464" selectionTopPixel="0"/>
</editor>"/>
|
||||
<persistedState key="memento" value="<?xml version="1.0" encoding="UTF-8"?>
<editor id="org.eclipse.ui.DefaultTextEditor">
<input factoryID="org.eclipse.ui.part.FileEditorInputFactory" path="/TheButtonAutoFlair/plugin.yml"/>
<editorState selectionHorizontalPixel="0" selectionLength="0" selectionOffset="217" selectionTopPixel="0"/>
</editor>"/>
|
||||
<tags>Editor</tags>
|
||||
<tags>org.eclipse.ui.DefaultTextEditor</tags>
|
||||
<tags>removeOnHide</tags>
|
||||
|
@ -330,7 +330,7 @@
|
|||
<tags>categoryTag:General</tags>
|
||||
</sharedElements>
|
||||
<sharedElements xsi:type="basic:Part" xmi:id="_77aAUCr0EeWsptewEJl0pA" elementId="org.eclipse.ui.views.ProblemView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Problems" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/problems_view.gif" tooltip="0 errors, 1 warning, 0 others" closeable="true">
|
||||
<persistedState key="memento" value="<?xml version="1.0" encoding="UTF-8"?>
<view PRIMARY_SORT_FIELD="org.eclipse.ui.ide.severityAndDescriptionField" categoryGroup="org.eclipse.ui.ide.severity" markerContentGenerator="org.eclipse.ui.ide.problemsGenerator" partName="Problems">
<columnWidths org.eclipse.ui.ide.locationField="90" org.eclipse.ui.ide.markerType="90" org.eclipse.ui.ide.pathField="120" org.eclipse.ui.ide.resourceField="90" org.eclipse.ui.ide.severityAndDescriptionField="300"/>
<visible IMemento.internal.id="org.eclipse.ui.ide.severityAndDescriptionField"/>
<visible IMemento.internal.id="org.eclipse.ui.ide.resourceField"/>
<visible IMemento.internal.id="org.eclipse.ui.ide.pathField"/>
<visible IMemento.internal.id="org.eclipse.ui.ide.locationField"/>
<visible IMemento.internal.id="org.eclipse.ui.ide.markerType"/>
</view>"/>
|
||||
<persistedState key="memento" value="<?xml version="1.0" encoding="UTF-8"?>
<view PRIMARY_SORT_FIELD="org.eclipse.ui.ide.severityAndDescriptionField" categoryGroup="org.eclipse.ui.ide.severity" markerContentGenerator="org.eclipse.ui.ide.problemsGenerator" partName="Problems">
<expanded>
<category IMemento.internal.id="Warnings (1 item)"/>
<category IMemento.internal.id="Warnings"/>
</expanded>
<columnWidths org.eclipse.ui.ide.locationField="90" org.eclipse.ui.ide.markerType="90" org.eclipse.ui.ide.pathField="120" org.eclipse.ui.ide.resourceField="90" org.eclipse.ui.ide.severityAndDescriptionField="300"/>
<visible IMemento.internal.id="org.eclipse.ui.ide.severityAndDescriptionField"/>
<visible IMemento.internal.id="org.eclipse.ui.ide.resourceField"/>
<visible IMemento.internal.id="org.eclipse.ui.ide.pathField"/>
<visible IMemento.internal.id="org.eclipse.ui.ide.locationField"/>
<visible IMemento.internal.id="org.eclipse.ui.ide.markerType"/>
</view>"/>
|
||||
<tags>View</tags>
|
||||
<tags>categoryTag:General</tags>
|
||||
<menus xmi:id="_dGEOYCr1EeWsptewEJl0pA" elementId="org.eclipse.ui.views.ProblemView">
|
||||
|
@ -432,18 +432,18 @@
|
|||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_6K2osCr0EeWsptewEJl0pA" elementId="org.eclipse.ui.workbench.file">
|
||||
<tags>Draggable</tags>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fMwOsE8_EeWyDPsaF9qnyA" elementId="new.group"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fMw1wE8_EeWyDPsaF9qnyA" elementId="newWizardDropDown"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fMw1wU8_EeWyDPsaF9qnyA" elementId="new.ext" visible="false"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fMw1wk8_EeWyDPsaF9qnyA" elementId="save.group" visible="false"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fMxc0E8_EeWyDPsaF9qnyA" elementId="save"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fMxc0U8_EeWyDPsaF9qnyA" elementId="saveAll"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fMxc0k8_EeWyDPsaF9qnyA" elementId="save.ext" visible="false"/>
|
||||
<children xsi:type="menu:HandledToolItem" xmi:id="_fMyD4E8_EeWyDPsaF9qnyA" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.gif" tooltip="Print" command="_3_hZmSr0EeWsptewEJl0pA"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fM1uQE8_EeWyDPsaF9qnyA" elementId="print.ext" visible="false"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fM2VUE8_EeWyDPsaF9qnyA" elementId="build.group"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fM2VUU8_EeWyDPsaF9qnyA" elementId="build.ext" visible="false"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fM2VUk8_EeWyDPsaF9qnyA" elementId="additions"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYJR0E_6EeWV2p2VwuGDSA" elementId="new.group"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYJ44E_6EeWV2p2VwuGDSA" elementId="newWizardDropDown"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYKf8E_6EeWV2p2VwuGDSA" elementId="new.ext" visible="false"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYKf8U_6EeWV2p2VwuGDSA" elementId="save.group" visible="false"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYLuEE_6EeWV2p2VwuGDSA" elementId="save"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYMVIE_6EeWV2p2VwuGDSA" elementId="saveAll"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYM8ME_6EeWV2p2VwuGDSA" elementId="save.ext" visible="false"/>
|
||||
<children xsi:type="menu:HandledToolItem" xmi:id="_nYOKUE_6EeWV2p2VwuGDSA" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.gif" tooltip="Print" command="_3_hZmSr0EeWsptewEJl0pA"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYUQ8E_6EeWV2p2VwuGDSA" elementId="print.ext" visible="false"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYUQ8U_6EeWV2p2VwuGDSA" elementId="build.group"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYU4AE_6EeWV2p2VwuGDSA" elementId="build.ext" visible="false"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYVfEE_6EeWV2p2VwuGDSA" elementId="additions"/>
|
||||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_6K2osSr0EeWsptewEJl0pA" elementId="additions" toBeRendered="false">
|
||||
<tags>toolbarSeparator</tags>
|
||||
|
@ -451,38 +451,38 @@
|
|||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_dIOxkCr1EeWsptewEJl0pA" elementId="adt.actionSet.avdManager">
|
||||
<tags>Draggable</tags>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fldpoE8_EeWyDPsaF9qnyA" elementId="android_project"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fleQsE8_EeWyDPsaF9qnyA" elementId="com.android.ide.eclipse.adt.ui.sdkmanager"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fleQsU8_EeWyDPsaF9qnyA" elementId="com.android.ide.eclipse.adt.ui.avdmanager"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngjm8E_6EeWV2p2VwuGDSA" elementId="android_project"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngkOAE_6EeWV2p2VwuGDSA" elementId="com.android.ide.eclipse.adt.ui.sdkmanager"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngkOAU_6EeWV2p2VwuGDSA" elementId="com.android.ide.eclipse.adt.ui.avdmanager"/>
|
||||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_Mv4F0C3kEeWvSKv3oe_gqg" elementId="org.eclipse.debug.ui.breakpointActionSet">
|
||||
<tags>Draggable</tags>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fleQsk8_EeWyDPsaF9qnyA" elementId="breakpointGroup"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fleQs08_EeWyDPsaF9qnyA" elementId="org.eclipse.debug.ui.actions.SkipAllBreakpoints"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngkOAk_6EeWV2p2VwuGDSA" elementId="breakpointGroup"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngkOA0_6EeWV2p2VwuGDSA" elementId="org.eclipse.debug.ui.actions.SkipAllBreakpoints"/>
|
||||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_dI4R0Cr1EeWsptewEJl0pA" elementId="adt.actionSet.lint">
|
||||
<tags>Draggable</tags>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fleQtE8_EeWyDPsaF9qnyA" elementId="android_project"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fleQtU8_EeWyDPsaF9qnyA" elementId="com.android.ide.eclipse.adt.ui.lintrunner"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngkOBE_6EeWV2p2VwuGDSA" elementId="android_project"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngk1EE_6EeWV2p2VwuGDSA" elementId="com.android.ide.eclipse.adt.ui.lintrunner"/>
|
||||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_dIyyQCr1EeWsptewEJl0pA" elementId="adt.actionSet.wizards">
|
||||
<tags>Draggable</tags>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fle3wE8_EeWyDPsaF9qnyA" elementId="android_project"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fle3wU8_EeWyDPsaF9qnyA" elementId="com.android.ide.eclipse.adt.wizards.actions.NewXmlFileAction"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nglcIE_6EeWV2p2VwuGDSA" elementId="android_project"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngmDME_6EeWV2p2VwuGDSA" elementId="com.android.ide.eclipse.adt.wizards.actions.NewXmlFileAction"/>
|
||||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_8zAWsCr0EeWsptewEJl0pA" elementId="org.eclipse.debug.ui.launchActionSet">
|
||||
<tags>Draggable</tags>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fle3wk8_EeWyDPsaF9qnyA" elementId="debug"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fle3w08_EeWyDPsaF9qnyA" elementId="org.eclipse.debug.internal.ui.actions.DebugDropDownAction"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fle3xE8_EeWyDPsaF9qnyA" elementId="org.eclipse.debug.internal.ui.actions.RunDropDownAction"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fle3xU8_EeWyDPsaF9qnyA" elementId="org.eclipse.ui.externaltools.ExternalToolMenuDelegateToolbar"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngmDMU_6EeWV2p2VwuGDSA" elementId="debug"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngmqQE_6EeWV2p2VwuGDSA" elementId="org.eclipse.debug.internal.ui.actions.DebugDropDownAction"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngmqQU_6EeWV2p2VwuGDSA" elementId="org.eclipse.debug.internal.ui.actions.RunDropDownAction"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngmqQk_6EeWV2p2VwuGDSA" elementId="org.eclipse.ui.externaltools.ExternalToolMenuDelegateToolbar"/>
|
||||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_dG7xECr1EeWsptewEJl0pA" elementId="org.eclipse.jdt.ui.JavaElementCreationActionSet">
|
||||
<tags>Draggable</tags>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_flfe0E8_EeWyDPsaF9qnyA" elementId="JavaWizards"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_flfe0U8_EeWyDPsaF9qnyA" elementId="org.eclipse.jdt.ui.actions.OpenProjectWizard"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_flfe0k8_EeWyDPsaF9qnyA" elementId="org.eclipse.jdt.ui.actions.OpenPackageWizard"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_flfe008_EeWyDPsaF9qnyA" elementId="org.eclipse.jdt.ui.actions.NewTypeDropDown"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngnRUE_6EeWV2p2VwuGDSA" elementId="JavaWizards"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngnRUU_6EeWV2p2VwuGDSA" elementId="org.eclipse.jdt.ui.actions.OpenProjectWizard"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngnRUk_6EeWV2p2VwuGDSA" elementId="org.eclipse.jdt.ui.actions.OpenPackageWizard"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngnRU0_6EeWV2p2VwuGDSA" elementId="org.eclipse.jdt.ui.actions.NewTypeDropDown"/>
|
||||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_8voSkCr0EeWsptewEJl0pA" elementId="org.eclipse.jst.j2ee.J2eeMainActionSet" visible="false">
|
||||
<tags>Draggable</tags>
|
||||
|
@ -492,20 +492,20 @@
|
|||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_8xJVgCr0EeWsptewEJl0pA" elementId="org.eclipse.search.searchActionSet">
|
||||
<tags>Draggable</tags>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_flfe1E8_EeWyDPsaF9qnyA" elementId="Search"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_flfe1U8_EeWyDPsaF9qnyA" elementId="openType"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_flfe1k8_EeWyDPsaF9qnyA" elementId="org.eclipse.mylyn.tasks.ui.openTask"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_flgF4E8_EeWyDPsaF9qnyA" elementId="org.eclipse.search.OpenSearchDialogPage"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngnRVE_6EeWV2p2VwuGDSA" elementId="Search"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngn4YE_6EeWV2p2VwuGDSA" elementId="openType"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngofcE_6EeWV2p2VwuGDSA" elementId="org.eclipse.mylyn.tasks.ui.openTask"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngofcU_6EeWV2p2VwuGDSA" elementId="org.eclipse.search.OpenSearchDialogPage"/>
|
||||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_Slo_UC3kEeWvSKv3oe_gqg" elementId="org.eclipse.ui.edit.text.actionSet.presentation">
|
||||
<tags>Draggable</tags>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_sPTfAE8_EeWyDPsaF9qnyA" elementId="Presentation"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_sPTfAU8_EeWyDPsaF9qnyA" elementId="org.eclipse.jdt.ui.edit.text.java.toggleBreadcrumb"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_sPUGEE8_EeWyDPsaF9qnyA" elementId="org.eclipse.jdt.ui.edit.text.java.toggleMarkOccurrences"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_sPUGEU8_EeWyDPsaF9qnyA" elementId="org.eclipse.mylyn.java.ui.editor.folding.auto"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_sPUGEk8_EeWyDPsaF9qnyA" elementId="org.eclipse.ui.edit.text.toggleBlockSelectionMode"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_sPUGE08_EeWyDPsaF9qnyA" elementId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_sPUGFE8_EeWyDPsaF9qnyA" elementId="org.eclipse.ui.edit.text.toggleShowSelectedElementOnly"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_tzhZ0E_6EeWV2p2VwuGDSA" elementId="Presentation"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_tzhZ0U_6EeWV2p2VwuGDSA" elementId="org.eclipse.jdt.ui.edit.text.java.toggleBreadcrumb"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_tziA4E_6EeWV2p2VwuGDSA" elementId="org.eclipse.jdt.ui.edit.text.java.toggleMarkOccurrences"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_tziA4U_6EeWV2p2VwuGDSA" elementId="org.eclipse.mylyn.java.ui.editor.folding.auto"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_tziA4k_6EeWV2p2VwuGDSA" elementId="org.eclipse.ui.edit.text.toggleBlockSelectionMode"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_tziA40_6EeWV2p2VwuGDSA" elementId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_tziA5E_6EeWV2p2VwuGDSA" elementId="org.eclipse.ui.edit.text.toggleShowSelectedElementOnly"/>
|
||||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_8wdZACr0EeWsptewEJl0pA" elementId="org.eclipse.wst.server.ui.internal.webbrowser.actionSet" visible="false">
|
||||
<tags>Draggable</tags>
|
||||
|
@ -523,15 +523,15 @@
|
|||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_6LTUoCr0EeWsptewEJl0pA" elementId="org.eclipse.ui.workbench.navigate">
|
||||
<tags>Draggable</tags>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fM2VU08_EeWyDPsaF9qnyA" elementId="history.group"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fM2VVE8_EeWyDPsaF9qnyA" elementId="group.application" visible="false"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fM28YE8_EeWyDPsaF9qnyA" elementId="backardHistory"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fM28YU8_EeWyDPsaF9qnyA" elementId="forwardHistory"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fM28Yk8_EeWyDPsaF9qnyA" elementId="pin.group"/>
|
||||
<children xsi:type="menu:HandledToolItem" xmi:id="_fM3jcE8_EeWyDPsaF9qnyA" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/pin_editor.gif" tooltip="Pin the current editor" enabled="false" command="_3_eWRCr0EeWsptewEJl0pA"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_flgF4U8_EeWyDPsaF9qnyA" elementId="org.eclipse.ui.edit.text.gotoNextAnnotation"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_flgF4k8_EeWyDPsaF9qnyA" elementId="org.eclipse.ui.edit.text.gotoPreviousAnnotation"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_flgF408_EeWyDPsaF9qnyA" elementId="org.eclipse.ui.edit.text.gotoLastEditPosition"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYVfEU_6EeWV2p2VwuGDSA" elementId="history.group"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYWGIE_6EeWV2p2VwuGDSA" elementId="group.application" visible="false"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYWGIU_6EeWV2p2VwuGDSA" elementId="backardHistory"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYWtME_6EeWV2p2VwuGDSA" elementId="forwardHistory"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYWtMU_6EeWV2p2VwuGDSA" elementId="pin.group"/>
|
||||
<children xsi:type="menu:HandledToolItem" xmi:id="_nYWtMk_6EeWV2p2VwuGDSA" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/pin_editor.gif" tooltip="Pin the current editor" enabled="false" command="_3_eWRCr0EeWsptewEJl0pA"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngofck_6EeWV2p2VwuGDSA" elementId="org.eclipse.ui.edit.text.gotoNextAnnotation"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngpGgE_6EeWV2p2VwuGDSA" elementId="org.eclipse.ui.edit.text.gotoPreviousAnnotation"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ngpGgU_6EeWV2p2VwuGDSA" elementId="org.eclipse.ui.edit.text.gotoLastEditPosition"/>
|
||||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_6LTUoSr0EeWsptewEJl0pA" elementId="group.editor" toBeRendered="false">
|
||||
<tags>toolbarSeparator</tags>
|
||||
|
@ -543,8 +543,8 @@
|
|||
</children>
|
||||
<children xsi:type="menu:ToolBar" xmi:id="_6LT7sCr0EeWsptewEJl0pA" elementId="org.eclipse.ui.workbench.help" visible="false">
|
||||
<tags>Draggable</tags>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fM4KgE8_EeWyDPsaF9qnyA" elementId="group.help"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_fM4xkE8_EeWyDPsaF9qnyA" elementId="group.application" visible="false"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYX7UE_6EeWV2p2VwuGDSA" elementId="group.help"/>
|
||||
<children xsi:type="menu:OpaqueToolItem" xmi:id="_nYX7UU_6EeWV2p2VwuGDSA" elementId="group.application" visible="false"/>
|
||||
</children>
|
||||
<children xsi:type="menu:ToolControl" xmi:id="_61nc8Cr0EeWsptewEJl0pA" elementId="PerspectiveSpacer" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.LayoutModifierToolControl">
|
||||
<tags>stretch</tags>
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,11 +1,11 @@
|
|||
INDEX VERSION 1.126+D:\Z - Norbi cucca\0 Projektek\TheButtonMCAutoFlairProto\Spigot plugin\.metadata\.plugins\org.eclipse.jdt.core
|
||||
3656756579.index
|
||||
3045053200.index
|
||||
3089967703.index
|
||||
2674037006.index
|
||||
323251068.index
|
||||
355369697.index
|
||||
3716007315.index
|
||||
1934142626.index
|
||||
3716007315.index
|
||||
1045485630.index
|
||||
605290374.index
|
||||
533208796.index
|
||||
|
@ -22,4 +22,4 @@ INDEX VERSION 1.126+D:\Z - Norbi cucca\0 Projektek\TheButtonMCAutoFlairProto\Spi
|
|||
994834796.index
|
||||
3604769962.index
|
||||
1508644233.index
|
||||
3045053200.index
|
||||
3656756579.index
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<qualifiedTypeNameHistroy>
|
||||
<fullyQualifiedTypeName name="java.nio.charset.StandardCharsets"/>
|
||||
<fullyQualifiedTypeName name="java.io.InputStream"/>
|
||||
<fullyQualifiedTypeName name="java.net.URLConnection"/>
|
||||
<fullyQualifiedTypeName name="java.net.MalformedURLException"/>
|
||||
|
@ -46,7 +45,6 @@
|
|||
<fullyQualifiedTypeName name="com.palmergames.bukkit.towny.object.TownyUniverse"/>
|
||||
<fullyQualifiedTypeName name="com.earth2me.essentials.User"/>
|
||||
<fullyQualifiedTypeName name="com.earth2me.essentials.OfflinePlayer"/>
|
||||
<fullyQualifiedTypeName name="com.earth2me.essentials.PlayerList"/>
|
||||
<fullyQualifiedTypeName name="com.earth2me.essentials.IEssentials"/>
|
||||
<fullyQualifiedTypeName name="net.ess3.api.IEssentials"/>
|
||||
<fullyQualifiedTypeName name="net.ess3.api.IUser"/>
|
||||
|
@ -57,7 +55,9 @@
|
|||
<fullyQualifiedTypeName name="org.bukkit.entity.Player"/>
|
||||
<fullyQualifiedTypeName name="tk.sznp.thebuttonautoflair.AnnouncerThread"/>
|
||||
<fullyQualifiedTypeName name="tk.sznp.thebuttonautoflair.PluginMain"/>
|
||||
<fullyQualifiedTypeName name="tk.sznp.thebuttonautoflair.PlayerListener"/>
|
||||
<fullyQualifiedTypeName name="java.util.ArrayList"/>
|
||||
<fullyQualifiedTypeName name="tk.sznp.thebuttonautoflair.MaybeOfflinePlayer"/>
|
||||
<fullyQualifiedTypeName name="com.google.common.io.Files"/>
|
||||
<fullyQualifiedTypeName name="com.earth2me.essentials.PlayerList"/>
|
||||
<fullyQualifiedTypeName name="tk.sznp.thebuttonautoflair.PlayerListener"/>
|
||||
</qualifiedTypeNameHistroy>
|
||||
|
|
|
@ -29,4 +29,5 @@
|
|||
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1440943511192_26" label="Window Working Set" name="Aggregate for window 1440943511191"/>
|
||||
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1440957060040_27" label="Window Working Set" name="Aggregate for window 1440957060040"/>
|
||||
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1441001761817_28" label="Window Working Set" name="Aggregate for window 1441001761817"/>
|
||||
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1441037392127_29" label="Window Working Set" name="Aggregate for window 1441037392126"/>
|
||||
</workingSetManager>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -5,9 +5,9 @@ commands:
|
|||
u:
|
||||
description: Auto-flair system. Accept or ignore flair.
|
||||
usage: "&cUsage: /u accept|ignore|opme&r"
|
||||
rp:
|
||||
description: Enable RolePlay mode or say something in RP.
|
||||
usage: "&cUsage: /rp [message]&r"
|
||||
nrp:
|
||||
description: Disable RolePlay mode or say something in non-RP.
|
||||
usage: "&cUsage: /nrp [message]&r"
|
||||
description: Send message in Out-of-Character
|
||||
usage: "&cUsage: /nrp <message>&r"
|
||||
ooc:
|
||||
description: Send message in Out-of-Character
|
||||
usage: "&cUsage: /ooc <message>&r"
|
|
@ -16,6 +16,9 @@ import java.net.MalformedURLException;
|
|||
import java.net.URL;
|
||||
|
||||
public class Commands implements CommandExecutor {
|
||||
|
||||
public static boolean PluginUpdated = false; // 2015.08.31.
|
||||
|
||||
// This method is called, when somebody uses our command
|
||||
@Override
|
||||
public boolean onCommand(CommandSender sender, Command cmd, String label,
|
||||
|
@ -146,34 +149,37 @@ public class Commands implements CommandExecutor {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
case "rp":
|
||||
if (args.length == 0) {
|
||||
MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode = true;
|
||||
player.sendMessage("§2RP mode on.§r");
|
||||
} else {
|
||||
boolean rpmode = MaybeOfflinePlayer
|
||||
.AddPlayerIfNeeded(player.getName()).RPMode;
|
||||
MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode = true;
|
||||
String message = "";
|
||||
for (String arg : args)
|
||||
message += arg + " ";
|
||||
player.chat(message.substring(0, message.length() - 1));
|
||||
MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode = rpmode;
|
||||
}
|
||||
return true;
|
||||
/*
|
||||
* case "rp": if (args.length == 0) {
|
||||
* MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode =
|
||||
* true; player.sendMessage("§2RP mode on.§r"); } else { boolean
|
||||
* rpmode = MaybeOfflinePlayer
|
||||
* .AddPlayerIfNeeded(player.getName()).RPMode;
|
||||
* MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode =
|
||||
* true; String message = ""; for (String arg : args) message += arg
|
||||
* + " "; player.chat(message.substring(0, message.length() - 1));
|
||||
* MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode =
|
||||
* rpmode; } return true;
|
||||
*/
|
||||
case "nrp":
|
||||
case "ooc":
|
||||
if (args.length == 0) {
|
||||
MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode = false;
|
||||
player.sendMessage("§8RP mode off.§r");
|
||||
/*
|
||||
* MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode
|
||||
* = false; player.sendMessage("§8RP mode off.§r");
|
||||
*/
|
||||
return false;
|
||||
} else {
|
||||
boolean rpmode = MaybeOfflinePlayer
|
||||
.AddPlayerIfNeeded(player.getName()).RPMode;
|
||||
/*
|
||||
* boolean rpmode = MaybeOfflinePlayer
|
||||
* .AddPlayerIfNeeded(player.getName()).RPMode;
|
||||
*/
|
||||
MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode = false;
|
||||
String message = "";
|
||||
for (String arg : args)
|
||||
message += arg + " ";
|
||||
player.chat(message.substring(0, message.length() - 1));
|
||||
MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode = rpmode;
|
||||
MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode = true;
|
||||
}
|
||||
return true;
|
||||
default:
|
||||
|
@ -231,7 +237,7 @@ public class Commands implements CommandExecutor {
|
|||
|| player.getName().equals("NorbiPeti")) {
|
||||
// System.out.println("Args length: " + args.length);
|
||||
if (args.length == 1) {
|
||||
String message = "§cUsage: /u admin reload|playerinfo|getlasterror|save|setflair|updateplugin§r";
|
||||
String message = "§cUsage: /u admin reload|playerinfo|getlasterror|save|setflair|updateplugin|togglerpshow§r";
|
||||
SendMessage(player, message);
|
||||
return;
|
||||
}
|
||||
|
@ -267,8 +273,13 @@ public class Commands implements CommandExecutor {
|
|||
case "updateplugin": // 2015.08.10.
|
||||
DoUpdatePlugin(player);
|
||||
break;
|
||||
case "togglerpshow":
|
||||
PlayerListener.ShowRPTag = !PlayerListener.ShowRPTag;
|
||||
SendMessage(player, "RP tag showing "
|
||||
+ (PlayerListener.ShowRPTag ? "enabled" : "disabled"));
|
||||
break;
|
||||
default:
|
||||
String message = "§cUsage: /u admin reload|playerinfo|getlasterror|save|setflair|updateplugin§r";
|
||||
String message = "§cUsage: /u admin reload|playerinfo|getlasterror|save|setflair|updateplugin|togglerpshow§r";
|
||||
SendMessage(player, message);
|
||||
return;
|
||||
}
|
||||
|
@ -367,6 +378,7 @@ public class Commands implements CommandExecutor {
|
|||
"https://github.com/NorbiPeti/thebuttonautoflairmc/raw/master/TheButtonAutoFlair.jar");
|
||||
FileUtils.copyURLToFile(url, new File(
|
||||
"plugins/TheButtonAutoFlair.jar"));
|
||||
PluginUpdated = true; // 2015.08.31.
|
||||
SendMessage(player, "Updating done!");
|
||||
} catch (MalformedURLException e) {
|
||||
System.out.println("Error!\n" + e);
|
||||
|
|
|
@ -2,34 +2,31 @@ package tk.sznp.thebuttonautoflair;
|
|||
|
||||
import java.util.HashMap;
|
||||
|
||||
public class MaybeOfflinePlayer
|
||||
{ //2015.08.08.
|
||||
public class MaybeOfflinePlayer { // 2015.08.08.
|
||||
public String PlayerName;
|
||||
public String UserName;
|
||||
public String Flair; //If the user comments their name, it gets set, it doesn't matter if they accepted it or not
|
||||
public String Flair; // If the user comments their name, it gets set, it
|
||||
// doesn't matter if they accepted it or not
|
||||
public boolean AcceptedFlair;
|
||||
public boolean IgnoredFlair;
|
||||
public boolean FlairDecided; //2015.08.09.
|
||||
public boolean FlairRecognised; //2015.08.10.
|
||||
public boolean CommentedOnReddit; //2015.08.10.
|
||||
public boolean RPMode; //2015.08.25.
|
||||
public static HashMap<String, MaybeOfflinePlayer> AllPlayers=new HashMap<>(); //2015.08.08.
|
||||
public static MaybeOfflinePlayer AddPlayerIfNeeded(String playername)
|
||||
{
|
||||
if(!AllPlayers.containsKey(playername))
|
||||
{
|
||||
MaybeOfflinePlayer player=new MaybeOfflinePlayer();
|
||||
player.PlayerName=playername;
|
||||
player.Flair=""; //2015.08.10.
|
||||
AllPlayers.put(playername, player);
|
||||
return player;
|
||||
public boolean FlairDecided; // 2015.08.09.
|
||||
public boolean FlairRecognised; // 2015.08.10.
|
||||
public boolean CommentedOnReddit; // 2015.08.10.
|
||||
public boolean RPMode; // 2015.08.25.
|
||||
public static HashMap<String, MaybeOfflinePlayer> AllPlayers = new HashMap<>(); // 2015.08.08.
|
||||
|
||||
public static MaybeOfflinePlayer AddPlayerIfNeeded(String playername) {
|
||||
if (!AllPlayers.containsKey(playername)) {
|
||||
MaybeOfflinePlayer player = new MaybeOfflinePlayer();
|
||||
player.PlayerName = playername;
|
||||
player.Flair = ""; // 2015.08.10.
|
||||
AllPlayers.put(playername, player);
|
||||
return player;
|
||||
}
|
||||
return AllPlayers.get(playername);
|
||||
}
|
||||
/*public enum FlairClassType
|
||||
{ //2015.08.09.
|
||||
NonPresser,
|
||||
CantPress,
|
||||
Undecided
|
||||
}*/
|
||||
}
|
||||
/*
|
||||
* public enum FlairClassType { //2015.08.09. NonPresser, CantPress,
|
||||
* Undecided }
|
||||
*/
|
||||
}
|
||||
|
|
|
@ -73,12 +73,22 @@ public class PlayerListener implements Listener { // 2015.07.16.
|
|||
}
|
||||
}
|
||||
}
|
||||
System.out.println("Folder plugins exists: "+new File("plugins").isDirectory());
|
||||
System.out.println("Folder plugins/essentials exists: "+new File("plugins/essentials").isDirectory());
|
||||
System.out.println("Folder plugins/essentials/userdata exists: "+new File("plugins/essentials/userdata").isDirectory());
|
||||
System.out.println("Folder plugins/essentials/userdata/"+id+".yml exists: "+new File("plugins/essentials/userdata/"+id+".yml").exists());
|
||||
/*
|
||||
* System.out.println("Folder plugins exists: "+new
|
||||
* File("plugins").isDirectory());
|
||||
* System.out.println("Folder plugins/essentials exists: "+new
|
||||
* File("plugins/essentials").isDirectory());
|
||||
* System.out.println("Folder plugins/essentials/userdata exists: "+new
|
||||
* File("plugins/essentials/userdata").isDirectory());
|
||||
* System.out.println
|
||||
* ("Folder plugins/essentials/userdata/"+id+".yml exists: "+new
|
||||
* File("plugins/essentials/userdata/"+id+".yml").exists());
|
||||
*/
|
||||
|
||||
mp.RPMode = true; // 2015.08.25.
|
||||
|
||||
if (p.getName().equals("FigyTuna") && Commands.PluginUpdated)
|
||||
p.sendMessage("§bThe The Button MC plugin got updated. Please restart the server. :P§r");
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
@ -98,6 +108,8 @@ public class PlayerListener implements Listener { // 2015.07.16.
|
|||
public static String NotificationSound; // 2015.08.14.
|
||||
public static float NotificationPitch; // 2015.08.14.
|
||||
|
||||
public static boolean ShowRPTag = false; // 2015.08.31.
|
||||
|
||||
@EventHandler
|
||||
public void onPlayerChat(AsyncPlayerChatEvent event) {
|
||||
MaybeOfflinePlayer player = MaybeOfflinePlayer.AllPlayers.get(event
|
||||
|
@ -151,7 +163,7 @@ public class PlayerListener implements Listener { // 2015.07.16.
|
|||
}
|
||||
|
||||
event.setFormat("<"
|
||||
+ (player.RPMode ? "§2[RP]§r" : "§8[non-RP]§r")
|
||||
+ (player.RPMode ? (ShowRPTag ? "§2[RP]§r" : "") : "§8[OOC]§r")
|
||||
+ event.getFormat().substring(
|
||||
event.getFormat().indexOf("<") + 1,
|
||||
event.getFormat().indexOf(">")) + flair + "> "
|
||||
|
@ -188,6 +200,18 @@ public class PlayerListener implements Listener { // 2015.07.16.
|
|||
if (nwithoutformatting.startsWith(name))
|
||||
e.getTabCompletions().add(nwithoutformatting);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean DebugMode = false;
|
||||
|
||||
public void SendForDebug(String message) {
|
||||
if (DebugMode) {
|
||||
for (Player player : PluginMain.GetPlayers()) {
|
||||
if (player.getName().equals("NorbiPeti")) {
|
||||
player.sendMessage("[DEBUG] " + message);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,12 +35,12 @@ public class PluginMain extends JavaPlugin { // Translated to Java: 2015.07.15.
|
|||
this.getCommand("u").setExecutor(comm);
|
||||
this.getCommand("u").setUsage(
|
||||
this.getCommand("u").getUsage().replace('&', '§'));
|
||||
this.getCommand("rp").setExecutor(comm);
|
||||
this.getCommand("rp").setUsage(
|
||||
this.getCommand("rp").getUsage().replace('&', '§'));
|
||||
this.getCommand("nrp").setExecutor(comm);
|
||||
this.getCommand("nrp").setUsage(
|
||||
this.getCommand("nrp").getUsage().replace('&', '§'));
|
||||
this.getCommand("ooc").setExecutor(comm);
|
||||
this.getCommand("ooc").setUsage(
|
||||
this.getCommand("ooc").getUsage().replace('&', '§'));
|
||||
Instance = this; // 2015.08.08.
|
||||
Console = this.getServer().getConsoleSender(); // 2015.08.12.
|
||||
LoadFiles(false); // 2015.08.09.
|
||||
|
|
Loading…
Reference in a new issue