mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-21 20:56:45 +01:00
Started working on rate system :D
This commit is contained in:
parent
ff05ef840b
commit
58ed037fad
@ -13,14 +13,11 @@
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="f6aaf715-4424-4f9e-96dc-b47edea10520" name="Default" comment="">
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Auto.java" afterPath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Auto.java" />
|
||||
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Rate.java" />
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/C.java" afterPath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/C.java" />
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/database/DBFunc.java" afterPath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/database/DBFunc.java" />
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Debug.java" afterPath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Debug.java" />
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Info.java" afterPath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Info.java" />
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java" afterPath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java" />
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/PlotMain.java" afterPath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/PlotMain.java" />
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/database/PlotMeConverter.java" afterPath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/database/PlotMeConverter.java" />
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/Settings.java" afterPath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/Settings.java" />
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/SubCommand.java" afterPath="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/SubCommand.java" />
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
||||
</list>
|
||||
<ignored path="plot_news.iws" />
|
||||
@ -44,21 +41,21 @@
|
||||
</component>
|
||||
<component name="FileEditorManager">
|
||||
<leaf>
|
||||
<file leaf-file-name="Auto.java" pinned="false" current="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Auto.java">
|
||||
<file leaf-file-name="Set.java" pinned="false" current="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Set.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="1156" max-vertical-offset="2074">
|
||||
<caret line="94" column="23" selection-start-line="94" selection-start-column="23" selection-end-line="94" selection-end-column="23" />
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="6511">
|
||||
<caret line="67" column="9" selection-start-line="67" selection-start-column="9" selection-end-line="67" selection-end-column="9" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="Set.java" pinned="false" current="true" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Set.java">
|
||||
<file leaf-file-name="Info.java" pinned="false" current="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Info.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="1.6353468" vertical-offset="0" max-vertical-offset="6511">
|
||||
<caret line="67" column="9" selection-start-line="67" selection-start-column="9" selection-end-line="67" selection-end-column="9" />
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="762" max-vertical-offset="2023">
|
||||
<caret line="92" column="73" selection-start-line="92" selection-start-column="73" selection-end-line="92" selection-end-column="73" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
@ -68,17 +65,40 @@
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Command.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="34" max-vertical-offset="2771">
|
||||
<caret line="18" column="7" selection-start-line="18" selection-start-column="7" selection-end-line="18" selection-end-column="7" />
|
||||
<caret line="9" column="47" selection-start-line="9" selection-start-column="47" selection-end-line="9" selection-end-column="47" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="Debug.java" pinned="false" current="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Debug.java">
|
||||
<file leaf-file-name="Rate.java" pinned="false" current="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Rate.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="82" max-vertical-offset="1870">
|
||||
<caret line="46" column="0" selection-start-line="46" selection-start-column="0" selection-end-line="46" selection-end-column="0" />
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="60" max-vertical-offset="1292">
|
||||
<caret line="4" column="42" selection-start-line="4" selection-start-column="42" selection-end-line="4" selection-end-column="42" />
|
||||
<folding>
|
||||
<element signature="e#452#453#0" expanded="true" />
|
||||
<element signature="e#558#559#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="C.java" pinned="false" current="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/C.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="-5.642857" vertical-offset="2018" max-vertical-offset="4539">
|
||||
<caret line="135" column="315" selection-start-line="135" selection-start-column="315" selection-end-line="135" selection-end-column="315" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="SubCommand.java" pinned="false" current="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/SubCommand.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="728" max-vertical-offset="2057">
|
||||
<caret line="63" column="125" selection-start-line="63" selection-start-column="22" selection-end-line="63" selection-end-column="125" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
@ -87,90 +107,78 @@
|
||||
<file leaf-file-name="Settings.java" pinned="false" current="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/Settings.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="1121" max-vertical-offset="1581">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="987" max-vertical-offset="1581">
|
||||
<caret line="83" column="52" selection-start-line="83" selection-start-column="52" selection-end-line="83" selection-end-column="52" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="PlotMain.java" pinned="false" current="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/PlotMain.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="7773" max-vertical-offset="17306">
|
||||
<caret line="485" column="0" selection-start-line="485" selection-start-column="0" selection-end-line="485" selection-end-column="0" />
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="PlotMeConverter.java" pinned="false" current="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/database/PlotMeConverter.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="2460" max-vertical-offset="2941">
|
||||
<caret line="176" column="103" selection-start-line="176" selection-start-column="103" selection-end-line="176" selection-end-column="103" />
|
||||
<folding>
|
||||
<element signature="e#1097#10140#0" expanded="true" />
|
||||
<element signature="e#1258#1294#0" expanded="true" />
|
||||
<element signature="e#1357#1371#0" expanded="true" />
|
||||
<element signature="e#10129#10130#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="DBFunc.java" pinned="false" current="false" current-in-tab="false">
|
||||
<file leaf-file-name="DBFunc.java" pinned="false" current="true" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/database/DBFunc.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="38" max-vertical-offset="13277">
|
||||
<caret line="41" column="28" selection-start-line="41" selection-start-column="28" selection-end-line="41" selection-end-column="28" />
|
||||
<state vertical-scroll-proportion="0.38554215" vertical-offset="13036" max-vertical-offset="13617">
|
||||
<caret line="852" column="61" selection-start-line="852" selection-start-column="61" selection-end-line="852" selection-end-column="61" />
|
||||
<folding>
|
||||
<marker date="1412261855581" expanded="true" signature="1593:1664" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="2509:2567" placeholder="SELECT `id`,..plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="6725:6806" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="7532:7888" placeholder="CREATE TABLE..plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="7919:8076" placeholder="CREATE TABLE..plot_denied..." />
|
||||
<marker date="1412261855581" expanded="true" signature="8107:8265" placeholder="CREATE TABLE..plot_helpers..." />
|
||||
<marker date="1412261855581" expanded="true" signature="8296:8454" placeholder="CREATE TABLE..plot_trusted..." />
|
||||
<marker date="1412261855581" expanded="true" signature="8485:9061" placeholder="CREATE TABLE..plot_settings..." />
|
||||
<marker date="1412261855581" expanded="true" signature="9130:9252" placeholder="ALTER TABLE `plot_settings`..." />
|
||||
<marker date="1412261855581" expanded="true" signature="9330:9597" placeholder="CREATE TABLE..plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="9628:9750" placeholder="CREATE TABLE..plot_denied..." />
|
||||
<marker date="1412261855581" expanded="true" signature="9781:9904" placeholder="CREATE TABLE..plot_helpers..." />
|
||||
<marker date="1412261855581" expanded="true" signature="9935:10058" placeholder="CREATE TABLE..plot_trusted..." />
|
||||
<marker date="1412261855581" expanded="true" signature="10089:10587" placeholder="CREATE TABLE..plot_settings..." />
|
||||
<marker date="1412261855581" expanded="true" signature="11133:11185" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="11361:11412" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="11588:11639" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="11815:11848" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="12563:12621" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="13034:13138" placeholder="SELECT `id` ..plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="14837:15175" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="15215:15233" placeholder="ALTER TABLE `plot`..." />
|
||||
<marker date="1412261855581" expanded="true" signature="15662:15723" placeholder="ALTER TABLE `plot_settings`..." />
|
||||
<marker date="1412261855581" expanded="true" signature="16171:16238" placeholder="SELECT `id`,..plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="20491:20553" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="21448:21512" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="22521:22584" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="23404:23468" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="24505:24572" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="25271:25325" placeholder="SELECT * FRO..plot_settings..." />
|
||||
<marker date="1412261855581" expanded="true" signature="27028:27090" placeholder="SELECT `user..plot_denied..." />
|
||||
<marker date="1412261855581" expanded="true" signature="27830:27892" placeholder="SELECT `user..plot_helpers..." />
|
||||
<marker date="1412261855581" expanded="true" signature="28567:28629" placeholder="SELECT `user..plot_trusted..." />
|
||||
<marker date="1412261855581" expanded="true" signature="29358:29429" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="30244:30315" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="31128:31196" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="32005:32073" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="32886:32956" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="33763:33830" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="1593:1664" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="2509:2567" placeholder="SELECT `id`,..plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="6725:6806" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="7532:7888" placeholder="CREATE TABLE..plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="7919:8076" placeholder="CREATE TABLE..plot_denied..." />
|
||||
<marker date="1412264294262" expanded="true" signature="8107:8265" placeholder="CREATE TABLE..plot_helpers..." />
|
||||
<marker date="1412264294262" expanded="true" signature="8296:8454" placeholder="CREATE TABLE..plot_trusted..." />
|
||||
<marker date="1412264294262" expanded="true" signature="8485:9061" placeholder="CREATE TABLE..plot_settings..." />
|
||||
<marker date="1412264294262" expanded="true" signature="9092:9166" placeholder="CREATE TABLE..plot_ratings..." />
|
||||
<marker date="1412264294262" expanded="true" signature="9092:9135" placeholder="CREATE TABLE..plot_ratings..." />
|
||||
<marker date="1412264294262" expanded="true" signature="9092:9289" placeholder="CREATE TABLE..plot_ratings..." />
|
||||
<marker date="1412264294262" expanded="true" signature="9358:9480" placeholder="ALTER TABLE `plot_settings`..." />
|
||||
<marker date="1412264294262" expanded="true" signature="9558:9825" placeholder="CREATE TABLE..plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="9856:9978" placeholder="CREATE TABLE..plot_denied..." />
|
||||
<marker date="1412264294262" expanded="true" signature="10009:10132" placeholder="CREATE TABLE..plot_helpers..." />
|
||||
<marker date="1412264294262" expanded="true" signature="10163:10286" placeholder="CREATE TABLE..plot_trusted..." />
|
||||
<marker date="1412264294262" expanded="true" signature="10317:10815" placeholder="CREATE TABLE..plot_settings..." />
|
||||
<marker date="1412264294262" expanded="true" signature="10846:11007" placeholder="CREATE TABLE..plot_ratings..." />
|
||||
<marker date="1412264294262" expanded="true" signature="11553:11605" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="11781:11832" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="12008:12059" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="12235:12268" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="12983:13041" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="13454:13558" placeholder="SELECT `id` ..plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="15257:15595" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="15635:15653" placeholder="ALTER TABLE `plot`..." />
|
||||
<marker date="1412264294262" expanded="true" signature="16082:16143" placeholder="ALTER TABLE `plot_settings`..." />
|
||||
<marker date="1412264294262" expanded="true" signature="16591:16658" placeholder="SELECT `id`,..plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="20911:20973" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="21868:21932" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="22941:23004" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="23824:23888" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="24925:24992" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="25691:25745" placeholder="SELECT * FRO..plot_settings..." />
|
||||
<marker date="1412264294262" expanded="true" signature="27448:27510" placeholder="SELECT `user..plot_denied..." />
|
||||
<marker date="1412264294262" expanded="true" signature="28250:28312" placeholder="SELECT `user..plot_helpers..." />
|
||||
<marker date="1412264294262" expanded="true" signature="28987:29049" placeholder="SELECT `user..plot_trusted..." />
|
||||
<marker date="1412264294262" expanded="true" signature="29778:29849" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="30664:30735" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="31548:31616" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="32425:32493" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="33306:33376" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="34183:34250" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="34848:34925" placeholder="SELECT AVG(`..plot_ratings..." />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="Denied.java" pinned="false" current="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Denied.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="613" max-vertical-offset="2108">
|
||||
<caret line="86" column="0" selection-start-line="86" selection-start-column="0" selection-end-line="86" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="PlotHelper.java" pinned="false" current="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
@ -181,16 +189,6 @@
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="FlagManager.java" pinned="false" current="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/FlagManager.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1581">
|
||||
<caret line="8" column="7" selection-start-line="8" selection-start-column="7" selection-end-line="8" selection-end-column="7" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
</leaf>
|
||||
</component>
|
||||
<component name="FindManager">
|
||||
@ -209,7 +207,6 @@
|
||||
<option value="$PROJECT_DIR$/src/com/intellectualcrafters/plot/database/PlotMeConverter.java" />
|
||||
<option value="$PROJECT_DIR$/src/com/intellectualcrafters/plot/PlotMain.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/ConsoleColors.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/C.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Schematic.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/SchematicHandler.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/Plot.java" />
|
||||
@ -226,14 +223,17 @@
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/WorldGenerator.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/api/PlotAPI.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Set.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Info.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Debug.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/Settings.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/PlotMain.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/database/DBFunc.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/database/PlotMeConverter.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Auto.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/SubCommand.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Rate.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Info.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/C.java" />
|
||||
<option value="$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/database/DBFunc.java" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
@ -685,7 +685,7 @@
|
||||
<workItem from="1412010505310" duration="893000" />
|
||||
<workItem from="1412017601875" duration="1289000" />
|
||||
<workItem from="1412260550020" duration="61000" />
|
||||
<workItem from="1412260627794" duration="1375000" />
|
||||
<workItem from="1412260627794" duration="3666000" />
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="First Commit">
|
||||
<created>1411382351159</created>
|
||||
@ -759,11 +759,15 @@
|
||||
<created>1412011248692</created>
|
||||
<updated>1412011248692</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="19" />
|
||||
<task id="LOCAL-00019" summary="Fixed some items on the to-do list.">
|
||||
<created>1412262034394</created>
|
||||
<updated>1412262034394</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="20" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TimeTrackingManager">
|
||||
<option name="totallyTimeSpent" value="35094000" />
|
||||
<option name="totallyTimeSpent" value="37385000" />
|
||||
</component>
|
||||
<component name="TodoView" selected-index="0">
|
||||
<todo-panel id="selected-file">
|
||||
@ -787,7 +791,7 @@
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="-6" y="-6" width="1378" height="750" extended-state="6" />
|
||||
<editor active="false" />
|
||||
<editor active="true" />
|
||||
<layout>
|
||||
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="14" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
||||
@ -801,7 +805,8 @@
|
||||
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="IDEtalk" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32868218" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="TODO" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.20775194" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32868218" sideWeight="0.5" order="13" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.20775194" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
|
||||
@ -812,7 +817,6 @@
|
||||
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32868218" sideWeight="0.5" order="13" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
||||
</layout>
|
||||
@ -847,11 +851,12 @@
|
||||
<MESSAGE value="Improved flag system." />
|
||||
<MESSAGE value="Forgot to merge... Bleh..." />
|
||||
<MESSAGE value="Well, I broke it, sorry :(" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="Well, I broke it, sorry :(" />
|
||||
<MESSAGE value="Fixed some items on the to-do list." />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="Fixed some items on the to-do list." />
|
||||
</component>
|
||||
<component name="XDebuggerManager">
|
||||
<breakpoint-manager>
|
||||
<option name="time" value="1" />
|
||||
<option name="time" value="2" />
|
||||
</breakpoint-manager>
|
||||
</component>
|
||||
<component name="antWorkspaceConfiguration">
|
||||
@ -859,27 +864,6 @@
|
||||
<option name="FILTER_TARGETS" value="false" />
|
||||
</component>
|
||||
<component name="editorHistoryManager">
|
||||
<entry file="file://$PROJECT_DIR$/.idea/compiler.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="493">
|
||||
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/.idea/encodings.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="85" max-vertical-offset="187">
|
||||
<caret line="5" column="0" selection-start-line="5" selection-start-column="0" selection-end-line="5" selection-end-column="0" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/.idea/compiler.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="493">
|
||||
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/.idea/encodings.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="85" max-vertical-offset="187">
|
||||
@ -918,13 +902,6 @@
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/C.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="4675">
|
||||
<caret line="26" column="63" selection-start-line="26" selection-start-column="63" selection-end-line="26" selection-end-column="63" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/plotsquared.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="2856">
|
||||
@ -1148,14 +1125,6 @@
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Info.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="1938" max-vertical-offset="2397">
|
||||
<caret line="114" column="0" selection-start-line="114" selection-start-column="0" selection-end-line="114" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Debug.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="82" max-vertical-offset="1870">
|
||||
@ -1174,22 +1143,6 @@
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/Settings.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="1121" max-vertical-offset="1581">
|
||||
<caret line="83" column="52" selection-start-line="83" selection-start-column="52" selection-end-line="83" selection-end-column="52" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="12516" max-vertical-offset="19533">
|
||||
<caret line="771" column="0" selection-start-line="771" selection-start-column="0" selection-end-line="771" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/FlagManager.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1581">
|
||||
@ -1198,54 +1151,6 @@
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/database/DBFunc.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="38" max-vertical-offset="13277">
|
||||
<caret line="41" column="28" selection-start-line="41" selection-start-column="28" selection-end-line="41" selection-end-column="28" />
|
||||
<folding>
|
||||
<marker date="1412261855581" expanded="true" signature="1593:1664" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="2509:2567" placeholder="SELECT `id`,..plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="6725:6806" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="7532:7888" placeholder="CREATE TABLE..plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="7919:8076" placeholder="CREATE TABLE..plot_denied..." />
|
||||
<marker date="1412261855581" expanded="true" signature="8107:8265" placeholder="CREATE TABLE..plot_helpers..." />
|
||||
<marker date="1412261855581" expanded="true" signature="8296:8454" placeholder="CREATE TABLE..plot_trusted..." />
|
||||
<marker date="1412261855581" expanded="true" signature="8485:9061" placeholder="CREATE TABLE..plot_settings..." />
|
||||
<marker date="1412261855581" expanded="true" signature="9130:9252" placeholder="ALTER TABLE `plot_settings`..." />
|
||||
<marker date="1412261855581" expanded="true" signature="9330:9597" placeholder="CREATE TABLE..plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="9628:9750" placeholder="CREATE TABLE..plot_denied..." />
|
||||
<marker date="1412261855581" expanded="true" signature="9781:9904" placeholder="CREATE TABLE..plot_helpers..." />
|
||||
<marker date="1412261855581" expanded="true" signature="9935:10058" placeholder="CREATE TABLE..plot_trusted..." />
|
||||
<marker date="1412261855581" expanded="true" signature="10089:10587" placeholder="CREATE TABLE..plot_settings..." />
|
||||
<marker date="1412261855581" expanded="true" signature="11133:11185" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="11361:11412" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="11588:11639" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="11815:11848" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="12563:12621" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="13034:13138" placeholder="SELECT `id` ..plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="14837:15175" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="15215:15233" placeholder="ALTER TABLE `plot`..." />
|
||||
<marker date="1412261855581" expanded="true" signature="15662:15723" placeholder="ALTER TABLE `plot_settings`..." />
|
||||
<marker date="1412261855581" expanded="true" signature="16171:16238" placeholder="SELECT `id`,..plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="20491:20553" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="21448:21512" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="22521:22584" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="23404:23468" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="24505:24572" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412261855581" expanded="true" signature="25271:25325" placeholder="SELECT * FRO..plot_settings..." />
|
||||
<marker date="1412261855581" expanded="true" signature="27028:27090" placeholder="SELECT `user..plot_denied..." />
|
||||
<marker date="1412261855581" expanded="true" signature="27830:27892" placeholder="SELECT `user..plot_helpers..." />
|
||||
<marker date="1412261855581" expanded="true" signature="28567:28629" placeholder="SELECT `user..plot_trusted..." />
|
||||
<marker date="1412261855581" expanded="true" signature="29358:29429" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="30244:30315" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="31128:31196" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="32005:32073" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="32886:32956" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412261855581" expanded="true" signature="33763:33830" placeholder="INSERT INTO ..." />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/database/PlotMeConverter.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="2460" max-vertical-offset="2941">
|
||||
@ -1267,22 +1172,134 @@
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Command.java">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Set.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="34" max-vertical-offset="2771">
|
||||
<caret line="18" column="7" selection-start-line="18" selection-start-column="7" selection-end-line="18" selection-end-column="7" />
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="6511">
|
||||
<caret line="67" column="9" selection-start-line="67" selection-start-column="9" selection-end-line="67" selection-end-column="9" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Set.java">
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/Settings.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="1.6353468" vertical-offset="0" max-vertical-offset="6511">
|
||||
<caret line="67" column="9" selection-start-line="67" selection-start-column="9" selection-end-line="67" selection-end-column="9" />
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="1121" max-vertical-offset="1581">
|
||||
<caret line="83" column="52" selection-start-line="83" selection-start-column="52" selection-end-line="83" selection-end-column="52" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="12516" max-vertical-offset="19533">
|
||||
<caret line="771" column="0" selection-start-line="771" selection-start-column="0" selection-end-line="771" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Command.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="34" max-vertical-offset="2771">
|
||||
<caret line="9" column="47" selection-start-line="9" selection-start-column="47" selection-end-line="9" selection-end-column="47" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/SubCommand.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="728" max-vertical-offset="2057">
|
||||
<caret line="63" column="125" selection-start-line="63" selection-start-column="22" selection-end-line="63" selection-end-column="125" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Info.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="762" max-vertical-offset="2023">
|
||||
<caret line="92" column="73" selection-start-line="92" selection-start-column="73" selection-end-line="92" selection-end-column="73" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/C.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="-5.642857" vertical-offset="2018" max-vertical-offset="4539">
|
||||
<caret line="135" column="315" selection-start-line="135" selection-start-column="315" selection-end-line="135" selection-end-column="315" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Denied.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="613" max-vertical-offset="2108">
|
||||
<caret line="86" column="0" selection-start-line="86" selection-start-column="0" selection-end-line="86" selection-end-column="0" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/commands/Rate.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0" vertical-offset="60" max-vertical-offset="1292">
|
||||
<caret line="4" column="42" selection-start-line="4" selection-start-column="42" selection-end-line="4" selection-end-column="42" />
|
||||
<folding>
|
||||
<element signature="e#452#453#0" expanded="true" />
|
||||
<element signature="e#558#559#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/database/DBFunc.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.38554215" vertical-offset="13036" max-vertical-offset="13617">
|
||||
<caret line="852" column="61" selection-start-line="852" selection-start-column="61" selection-end-line="852" selection-end-column="61" />
|
||||
<folding>
|
||||
<marker date="1412264294262" expanded="true" signature="1593:1664" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="2509:2567" placeholder="SELECT `id`,..plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="6725:6806" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="7532:7888" placeholder="CREATE TABLE..plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="7919:8076" placeholder="CREATE TABLE..plot_denied..." />
|
||||
<marker date="1412264294262" expanded="true" signature="8107:8265" placeholder="CREATE TABLE..plot_helpers..." />
|
||||
<marker date="1412264294262" expanded="true" signature="8296:8454" placeholder="CREATE TABLE..plot_trusted..." />
|
||||
<marker date="1412264294262" expanded="true" signature="8485:9061" placeholder="CREATE TABLE..plot_settings..." />
|
||||
<marker date="1412264294262" expanded="true" signature="9092:9166" placeholder="CREATE TABLE..plot_ratings..." />
|
||||
<marker date="1412264294262" expanded="true" signature="9092:9135" placeholder="CREATE TABLE..plot_ratings..." />
|
||||
<marker date="1412264294262" expanded="true" signature="9092:9289" placeholder="CREATE TABLE..plot_ratings..." />
|
||||
<marker date="1412264294262" expanded="true" signature="9358:9480" placeholder="ALTER TABLE `plot_settings`..." />
|
||||
<marker date="1412264294262" expanded="true" signature="9558:9825" placeholder="CREATE TABLE..plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="9856:9978" placeholder="CREATE TABLE..plot_denied..." />
|
||||
<marker date="1412264294262" expanded="true" signature="10009:10132" placeholder="CREATE TABLE..plot_helpers..." />
|
||||
<marker date="1412264294262" expanded="true" signature="10163:10286" placeholder="CREATE TABLE..plot_trusted..." />
|
||||
<marker date="1412264294262" expanded="true" signature="10317:10815" placeholder="CREATE TABLE..plot_settings..." />
|
||||
<marker date="1412264294262" expanded="true" signature="10846:11007" placeholder="CREATE TABLE..plot_ratings..." />
|
||||
<marker date="1412264294262" expanded="true" signature="11553:11605" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="11781:11832" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="12008:12059" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="12235:12268" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="12983:13041" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="13454:13558" placeholder="SELECT `id` ..plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="15257:15595" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="15635:15653" placeholder="ALTER TABLE `plot`..." />
|
||||
<marker date="1412264294262" expanded="true" signature="16082:16143" placeholder="ALTER TABLE `plot_settings`..." />
|
||||
<marker date="1412264294262" expanded="true" signature="16591:16658" placeholder="SELECT `id`,..plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="20911:20973" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="21868:21932" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="22941:23004" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="23824:23888" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="24925:24992" placeholder="UPDATE `plot..." />
|
||||
<marker date="1412264294262" expanded="true" signature="25691:25745" placeholder="SELECT * FRO..plot_settings..." />
|
||||
<marker date="1412264294262" expanded="true" signature="27448:27510" placeholder="SELECT `user..plot_denied..." />
|
||||
<marker date="1412264294262" expanded="true" signature="28250:28312" placeholder="SELECT `user..plot_helpers..." />
|
||||
<marker date="1412264294262" expanded="true" signature="28987:29049" placeholder="SELECT `user..plot_trusted..." />
|
||||
<marker date="1412264294262" expanded="true" signature="29778:29849" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="30664:30735" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="31548:31616" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="32425:32493" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="33306:33376" placeholder="DELETE FROM ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="34183:34250" placeholder="INSERT INTO ..." />
|
||||
<marker date="1412264294262" expanded="true" signature="34848:34925" placeholder="SELECT AVG(`..plot_ratings..." />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</component>
|
||||
<component name="masterDetails">
|
||||
<states>
|
||||
|
@ -18,7 +18,15 @@ import org.bukkit.ChatColor;
|
||||
*
|
||||
*/
|
||||
public enum C {
|
||||
/**
|
||||
/*
|
||||
* Ratings
|
||||
*/
|
||||
RATING_NOT_VALID("&cYou need to specify a number between 1 and 10"),
|
||||
RATING_ALREADY_EXISTS("&cYou have already rated plot &c%s"),
|
||||
RATING_APPLIED("&cYou successfully rated plot &6%s"),
|
||||
RATING_NOT_YOUR_OWN("&cYou cannot rate your own plot"),
|
||||
RATING_NOT_OWNED("&cYou cannot rate a plot that is not claimed by anyone"),
|
||||
/*
|
||||
* Economy Stuff
|
||||
*/
|
||||
CANNOT_AFFORD_PLOT("&cYou cannot afford to buy this plot. It costs &6%s"),
|
||||
@ -85,6 +93,7 @@ public enum C {
|
||||
/*
|
||||
*
|
||||
*/
|
||||
COMMAND_WENT_WRONG("&cSomething went wrong when executing that command..."),
|
||||
/*
|
||||
* No {plot}
|
||||
*/
|
||||
@ -124,7 +133,7 @@ public enum C {
|
||||
/*
|
||||
* Info
|
||||
*/
|
||||
PLOT_INFO_UNCLAIMED("&cPlot &6%s&c is not yet claimed"), PLOT_INFO("plot ID: &6%id%&c, plot Alias: &6%alias%&c, plot Owner: &6%owner%&c, plot Biome: &6%biome%&c, plot Time: &6%time%&c, plot Weather: &6%weather%&c, plot Helpers:&6%helpers%&c, plot Trusted:&6%trusted%&c, plot Denied:&6%denied%&c, plot flags: &6%flags%"), PLOT_USER_LIST(" &6%user%&c,"),
|
||||
PLOT_INFO_UNCLAIMED("&cPlot &6%s&c is not yet claimed"), PLOT_INFO("plot ID: &6%id%&c, plot Alias: &6%alias%&c, plot Owner: &6%owner%&c, plot Biome: &6%biome%&c, plot Time: &6%time%&c, plot Weather: &6%weather%&c, plot Helpers:&6%helpers%&c, plot Trusted:&6%trusted%&c, plot Denied:&6%denied%&c, plot Rating: &6%rating%, &cplot flags: &6%flags%"), PLOT_USER_LIST(" &6%user%&c,"),
|
||||
/*
|
||||
* Generating
|
||||
*/
|
||||
|
@ -90,6 +90,7 @@ public class Info extends SubCommand {
|
||||
info = info.replaceAll("%helpers%", getPlayerList(plot.helpers));
|
||||
info = info.replaceAll("%trusted%", getPlayerList(plot.trusted));
|
||||
info = info.replaceAll("%denied%", getPlayerList(plot.denied));
|
||||
info = info.replaceAll("%rating%", "" + DBFunc.getRatings(plot));
|
||||
info = info.replaceAll("%flags%", StringUtils.join(plot.settings.getFlags(), "").length() > 0 ? StringUtils.join(plot.settings.getFlags(), ",") : "none");
|
||||
//PlayerFunctions.sendMessage(player, PlayerFunctions.getTopPlot(player.getWorld(), plot).id.toString());
|
||||
//PlayerFunctions.sendMessage(player, PlayerFunctions.getBottomPlot(player.getWorld(), plot).id.toString());
|
||||
|
@ -0,0 +1,70 @@
|
||||
package com.intellectualcrafters.plot.commands;
|
||||
|
||||
import com.intellectualcrafters.plot.C;
|
||||
import com.intellectualcrafters.plot.PlayerFunctions;
|
||||
import com.intellectualcrafters.plot.Plot;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
/**
|
||||
* Created by Citymonstret on 2014-10-02.
|
||||
*/
|
||||
public class Rate extends SubCommand {
|
||||
|
||||
/*
|
||||
String cmd, String permission, String description, String usage, String alias, CommandCategory category
|
||||
*/
|
||||
|
||||
public Rate() {
|
||||
super("rate", "plots.rate", "Rate the plot", "rate {0-10}", "rt", CommandCategory.ACTIONS);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean execute(Player plr, String... args) {
|
||||
if(args.length < 1) {
|
||||
sendMessage(plr, C.RATING_NOT_VALID);
|
||||
return true;
|
||||
}
|
||||
if(!PlayerFunctions.isInPlot(plr)) {
|
||||
sendMessage(plr, C.NOT_IN_PLOT);
|
||||
return true;
|
||||
}
|
||||
Plot plot = PlayerFunctions.getCurrentPlot(plr);
|
||||
if(!plot.hasOwner()) {
|
||||
sendMessage(plr, C.RATING_NOT_OWNED);
|
||||
return true;
|
||||
}
|
||||
if(plot.getOwner().equals(plr.getUniqueId())) {
|
||||
sendMessage(plr, C.RATING_NOT_YOUR_OWN);
|
||||
return true;
|
||||
}
|
||||
String arg = args[0];
|
||||
boolean o = false;
|
||||
for(char c : arg.toCharArray()) {
|
||||
if(!Character.isDigit(c)) {
|
||||
o = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
int rating = 0;
|
||||
if(!o) {
|
||||
rating = Integer.parseInt(arg);
|
||||
}
|
||||
if(o || (rating < 0 || rating > 10)) {
|
||||
sendMessage(plr, C.RATING_NOT_VALID);
|
||||
return true;
|
||||
}
|
||||
//TODO implement check for already rated
|
||||
boolean rated = false;
|
||||
if(rated) {
|
||||
sendMessage(plr, C.RATING_ALREADY_EXISTS, plot.getId().toString());
|
||||
}
|
||||
//TODO actually do something...
|
||||
boolean success = false;
|
||||
if(success) {
|
||||
sendMessage(plr, C.RATING_APPLIED, plot.getId().toString());
|
||||
} else {
|
||||
sendMessage(plr, C.COMMAND_WENT_WRONG);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
@ -90,6 +90,8 @@ public abstract class SubCommand {
|
||||
this.category = category;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Execute.
|
||||
*
|
||||
|
@ -223,6 +223,7 @@ public class DBFunc {
|
||||
stmt.addBatch("CREATE TABLE IF NOT EXISTS `plot_helpers` (" + "`plot_plot_id` INT(11) NOT NULL," + "`user_uuid` VARCHAR(40) NOT NULL" + ") ENGINE=InnoDB DEFAULT CHARSET=utf8");
|
||||
stmt.addBatch("CREATE TABLE IF NOT EXISTS `plot_trusted` (" + "`plot_plot_id` INT(11) NOT NULL," + "`user_uuid` VARCHAR(40) NOT NULL" + ") ENGINE=InnoDB DEFAULT CHARSET=utf8");
|
||||
stmt.addBatch("CREATE TABLE IF NOT EXISTS `plot_settings` (" + " `plot_plot_id` INT(11) NOT NULL," + " `biome` VARCHAR(45) DEFAULT 'FOREST'," + " `rain` INT(1) DEFAULT 0," + " `custom_time` TINYINT(1) DEFAULT '0'," + " `time` INT(11) DEFAULT '8000'," + " `deny_entry` TINYINT(1) DEFAULT '0'," + " `alias` VARCHAR(50) DEFAULT NULL," + " `flags` VARCHAR(512) DEFAULT NULL," + " `merged` INT(11) DEFAULT NULL," + " `position` VARCHAR(50) NOT NULL DEFAULT 'DEFAULT'," + " PRIMARY KEY (`plot_plot_id`)," + " UNIQUE KEY `unique_alias` (`alias`)" + ") ENGINE=InnoDB DEFAULT CHARSET=utf8");
|
||||
stmt.addBatch("CREATE TABLE IF NOT EXISTS `plot_ratings` ( `plot_plot_id` INT(11) NOT NULL, `rating` INT(2) NOT NULL, `player` VARCHAR(40) NOT NULL, PRIMARY KEY(`plot_plot_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8");
|
||||
if (add_constraint) {
|
||||
stmt.addBatch("ALTER TABLE `plot_settings` ADD CONSTRAINT `plot_settings_ibfk_1` FOREIGN KEY (`plot_plot_id`) REFERENCES `plot` (`id`) ON DELETE CASCADE");
|
||||
}
|
||||
@ -233,6 +234,7 @@ public class DBFunc {
|
||||
stmt.addBatch("CREATE TABLE IF NOT EXISTS `plot_helpers` (" + "`plot_plot_id` INT(11) NOT NULL," + "`user_uuid` VARCHAR(40) NOT NULL" + ")");
|
||||
stmt.addBatch("CREATE TABLE IF NOT EXISTS `plot_trusted` (" + "`plot_plot_id` INT(11) NOT NULL," + "`user_uuid` VARCHAR(40) NOT NULL" + ")");
|
||||
stmt.addBatch("CREATE TABLE IF NOT EXISTS `plot_settings` (" + " `plot_plot_id` INT(11) NOT NULL," + " `biome` VARCHAR(45) DEFAULT 'FOREST'," + " `rain` INT(1) DEFAULT 0," + " `custom_time` TINYINT(1) DEFAULT '0'," + " `time` INT(11) DEFAULT '8000'," + " `deny_entry` TINYINT(1) DEFAULT '0'," + " `alias` VARCHAR(50) DEFAULT NULL," + " `flags` VARCHAR(512) DEFAULT NULL," + " `merged` INT(11) DEFAULT NULL," + " `position` VARCHAR(50) NOT NULL DEFAULT 'DEFAULT'," + " PRIMARY KEY (`plot_plot_id`)" + ")");
|
||||
stmt.addBatch("CREATE TABLE IF NOT EXISTS `plot_ratings` (`plot_plot_id` INT(11) NOT NULL, `rating` INT(2) NOT NULL, `player` VARCHAR(40) NOT NULL, PRIMARY KEY(`plot_plot_id`))");
|
||||
}
|
||||
|
||||
stmt.executeBatch();
|
||||
@ -844,4 +846,22 @@ public class DBFunc {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static double getRatings(final Plot plot) {
|
||||
try {
|
||||
PreparedStatement statement = connection.prepareStatement("SELECT AVG(`rating`) AS `rating` FROM `plot_ratings` WHERE `plot_plot_id` = ? ");
|
||||
statement.setInt(1, getId(plot.getWorld().getName(), plot.id));
|
||||
ResultSet set = statement.executeQuery();
|
||||
double rating = 0;
|
||||
while(set.next()) {
|
||||
rating = set.getDouble("rating");
|
||||
}
|
||||
statement.close();
|
||||
return rating;
|
||||
} catch (SQLException e) {
|
||||
Logger.add(LogLevel.WARNING, "Failed to fetch rating for plot " + plot.getId().toString());
|
||||
e.printStackTrace();
|
||||
}
|
||||
return 0.0d;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user