Commit Graph

561 Commits

Author SHA1 Message Date
Sauilitired
0ff50aed11 Experimenting with String comparison, and help methods 2014-11-06 09:37:46 +01:00
Sauilitired
87773d4929 Created a better plot hashcode thingy 2014-11-06 09:29:49 +01:00
boy0001
a30e8eec9a various fixes 2014-11-06 18:23:21 +11:00
boy0001
766dc0f703 temp fix 2014-11-05 22:01:59 +11:00
boy0001
cb10f39753 Fixed help menu/plot delete -> plot exit not being called 2014-11-05 15:27:49 +11:00
boy0001
bddaadd31d weekly code cleanup 2014-11-05 14:42:52 +11:00
boy0001
61c3fe2805 What you've done is more dangerous
With the setOp thing, it's all on the main thread and the op is taken
away immediately afterwards so there is no possibility of them using the
elevated permission for anything other than worldguard. I even had a
finally clause.

What you have done, although it may not seem too dangerous, it still
gives players the opportunity to use their elevated permissions.
2014-11-04 12:22:09 +11:00
Sauilitired
3c5f88c0be Some improvements, I still have to test the setowner stuff, seemed a bit dangerous to give OP :3 2014-11-03 20:36:50 +01:00
Sauilitired
adae7f3cf0 Derp 2014-11-03 18:05:12 +01:00
boy0001
687ad4cb9f more test cases 2014-11-03 21:14:55 +11:00
boy0001
aaab7ee0c7 I should be more confident about the future of the plugin
PlotSquared now supports WorldEdit 6+ (including the potential for
WorldEdit v50)
2014-11-03 20:11:55 +11:00
boy0001
b47231ca8c Would this classify as a test case? 2014-11-03 20:08:57 +11:00
boy0001
9fcab4ba87 fixed tab completion 2014-11-03 17:53:10 +11:00
Sauilitired
5c24fc092d Splot commands into pages = YAY 2014-11-02 21:49:26 +01:00
Sauilitired
c5bd4c4935 Better list!
Even added argument suggestion (so proud of that class xD<3)
Fixes #8
2014-11-02 21:14:47 +01:00
Sauilitired
c883f2f7d9 Fixes #17
Creates #32
2014-11-02 20:11:06 +01:00
Sauilitired
291c290f15 Titles are now optional xD
Fixes #27
2014-11-02 20:03:43 +01:00
Sauilitired
82b17aeebf Claimed wall block
Fixes #28
2014-11-02 20:01:04 +01:00
boy0001
45d8556b87 [UNTESTED] Added plot commenting 2014-11-02 14:45:52 +11:00
Sauilitired
2dc935eed6 Fixed errors :D 2014-11-01 16:22:22 +01:00
Sauilitired
5b62523003 :D Tab completion 2014-11-01 16:13:44 +01:00
Sauilitired
fd81546bab Added better way to lookup blocks 2014-11-01 15:59:35 +01:00
boy0001
6044ca63c2 fixes 2014-11-01 09:29:08 +11:00
boy0001
007b9ee298 Merge branch 'master' of https://github.com/IntellectualCrafters/PlotSquared 2014-10-31 10:19:41 +11:00
boy0001
51f718dcac Added debug category 2014-10-31 10:19:36 +11:00
Sauilitired
c63cdbf5a6 Merge remote-tracking branch 'origin/master' 2014-10-30 16:16:42 +01:00
Sauilitired
f6deb20483 Added:
Commands:
 Music Subcommand
Flags:
 notify-enter
 notify-leave
 item-drop
 invincible
 instabreak
 drop-protection
 forcefield
 heal
 feed
 greeting
 farewell
2014-10-30 16:16:26 +01:00
boy0001
97b9198d77 fixes 2014-10-30 22:32:04 +11:00
boy0001
5395852cf0 Async schematic pasting
- We should replace the schematic on claim with this.
- worldedit listener now listens to plot deletion
- debugclaimtest command no longer pastes any schematics if there is on
set
2014-10-30 17:24:58 +11:00
boy0001
0aaf573186 we could just drop support for worldedit... 2014-10-29 22:26:50 +11:00
boy0001
0d305463fc So that's how you're meant to do it. 2014-10-29 19:15:58 +11:00
boy0001
f60bac0e0e Fixed plot auto algorithms and
also made some performance improvements
2014-10-29 17:18:22 +11:00
Sauilitired
13a2d4234b Beguin working on a better way to handle SQL syntax :D 2014-10-28 17:03:19 +01:00
Sauilitired
40e6b7e165 Temp. "fix" 2014-10-28 11:07:12 +01:00
Sauilitired
3181b1db71 Fixed errors!!!! 2014-10-28 10:46:29 +01:00
Sauilitired
a582e036e8 Merge remote-tracking branch 'origin/master' 2014-10-28 10:21:04 +01:00
Sauilitired
3c5eead8c7 Added maven support, removed camera subcommand 2014-10-28 10:20:52 +01:00
boy0001
6c8535785a fixed MySQL taking too long to load for large servers. 2014-10-28 18:54:41 +11:00
boy0001
64314723c9 fixes 2014-10-28 13:34:26 +11:00
Sauilitired
595db4a51f Some documentation updates 2014-10-28 01:57:14 +01:00
Sauilitired
be846c2e98 Updated to use the new API :D 2014-10-27 22:32:24 +01:00
Sauilitired
dea069ca52 Ability to disable the usage of the custom UUID API 2014-10-27 22:00:24 +01:00
Sauilitired
e3ce39eff4 New UUID API. Added JSON libraries. API can be self hosted ~ http://paste.intellectualsites.com/view/dMglEhXguo57rqF1Yaty4uqMgNl1Hjqu9Gr 2014-10-27 20:05:01 +01:00
Sauilitired
ad60cb4f4a Updated API JDocs 2014-10-27 16:27:17 +01:00
Sauilitired
947ad1446f Test push :D 2014-10-27 16:09:26 +01:00
Sauilitired
4cccb5c607 Added underscore, we need to inform people about this change (otherwise they might go bonkerz when they notice that their plots are gone xD) 2014-10-27 15:42:21 +01:00
Sauilitired
5ca8bddd3b Whoops, forgot to fix it for SQLite :3 2014-10-27 15:39:38 +01:00
Sauilitired
41a40954fb Added prefix support :D 2014-10-27 15:32:15 +01:00
boy0001
5de8f6bf9b fixed fly 2014-10-27 07:56:44 +11:00
boy0001
e3e18b259d bug fixes???
Josh was having trouble loading the worlds, so calling the load method
twice somehow fixed it??
2014-10-26 23:17:03 +11:00
boy0001
5c51a46271 formatting schematic name 2014-10-26 12:47:50 +11:00
boy0001
72f64a18d5 settings.schematic_save_path 2014-10-26 12:25:40 +11:00
boy0001
2d5b54ec0d . 2014-10-26 12:19:35 +11:00
boy0001
3938184655 Merge remote-tracking branch 'origin/master'
Conflicts:
	PlotSquared/src/com/intellectualcrafters/plot/commands/Schematic.java
2014-10-26 11:07:12 +11:00
boy0001
d4e0397187 forgot to export schematic in GZIP format. Whoops. 2014-10-26 11:05:54 +11:00
Sauilitired
f3055074df Well... bleh 2014-10-25 16:34:25 +02:00
Sauilitired
a8ffbd21dc Even better colour (+ character support). You evil person who force stringutil-check-thingies 2014-10-25 16:30:37 +02:00
Sauilitired
bf3402306f Support for colour codes 2014-10-25 16:15:13 +02:00
Sauilitired
6f4f432402 Added schematic save path setting 2014-10-25 15:02:38 +02:00
Sauilitired
542b01736b Removed web and fixed the flag sutff 2014-10-25 14:59:08 +02:00
Sauilitired
3e7a52f263 Merge remote-tracking branch 'origin/master' 2014-10-25 14:46:21 +02:00
Sauilitired
04b7855f6e Attempt to do stuff with flags xD 2014-10-25 14:46:04 +02:00
boy0001
768cb8b293 updated schematic format 2014-10-25 20:09:26 +11:00
boy0001
33acc95d92 more fixes. 2014-10-25 16:40:21 +11:00
boy0001
ed3003a2f6 Fixed exportall command (spigot would attempt to restart because of lag) 2014-10-25 16:34:06 +11:00
boy0001
760921a43b Added exportall command 2014-10-25 15:37:45 +11:00
boy0001
20554f7ed1 Added command to save a schematic. 2014-10-25 15:27:12 +11:00
boy0001
1a9f10951d flag fixes. 2014-10-25 11:16:15 +11:00
boy0001
90d327d80c whoops. 2014-10-25 00:12:20 +11:00
boy0001
eb35ba5fb0 fixes 2014-10-25 00:08:21 +11:00
boy0001
c367dfa510 Added plot info categories. 2014-10-24 16:50:48 +11:00
boy0001
d2107e0176 worldguard regions now support owner changes 2014-10-24 14:12:07 +11:00
boy0001
a67e03fec4 Added percentage support for block lists (untested)
e.g.
(I put block names instead of Ids as I can't remember what they are)
floor
- 90%stone
- 5%gravel
- 1%diamond
- 4%tnt

It doesn't need to add up to 100%, they are just ratios. so there is 1
part diamond to 90 parts stone. People's brains just work better when
using percentages.
2014-10-24 11:29:18 +11:00
boy0001
2ffb2d08a6 should be fixed now. 2014-10-24 00:41:57 +11:00
boy0001
3fd51a5658 Merge remote-tracking branch 'origin/master'
Conflicts:
	PlotSquared/src/com/intellectualcrafters/plot/database/DBFunc.java
2014-10-24 00:25:01 +11:00
boy0001
ce2de462b0 chat color support in flags 2014-10-24 00:24:31 +11:00
Sauilitired
77153e8880 Fixed events... 2014-10-23 15:12:49 +02:00
boy0001
127f876d8e Fixed PlotMe converter for MultiWorld and vanilla Bukkit 2014-10-23 22:55:54 +11:00
boy0001
356923d3e8 BlockStates also don't seem to want to copy over using /plot paste 2014-10-23 21:44:19 +11:00
boy0001
f39d31836d states don't work :/ 2014-10-23 21:39:55 +11:00
boy0001
7f669b4207 Added plot swapping (untested) 2014-10-23 21:21:27 +11:00
boy0001
c7a1ad5c17 forgot this class 2014-10-23 18:27:01 +11:00
boy0001
8f2de99001 Finished updating to new permissions system. 2014-10-23 18:23:09 +11:00
boy0001
d2df275000 Added plot swap method. 2014-10-23 18:09:54 +11:00
boy0001
bcb1ddeccb You should finish the web interface at some point.
- Added functions to get / save a schematic.
2014-10-23 13:50:11 +11:00
boy0001
cc5fb76c7a Made converter run sync, to reduce bugs. 2014-10-23 12:29:43 +11:00
Sauilitired
d33f3ac409 Only display flags which the user is permitted to use. 2014-10-22 19:28:02 +02:00
boy0001
2f90adac52 fixes. + added DebugClaimTest command 2014-10-22 23:22:00 +11:00
boy0001
b0351b5c99 Bug fixes. 2014-10-22 19:46:41 +11:00
boy0001
e548cd8158 Making the database stuff abstract:
This will make it easier to add support for MongoDB
2014-10-22 17:09:01 +11:00
Sauilitired
ed6df3e700 Remove le line 2014-10-22 08:01:35 +02:00
boy0001
cfbf0086fa Working on plot commenting... Can you do the DB stuff? 2014-10-22 16:21:57 +11:00
boy0001
6a050f5287 fixed economy and old plot removal task
*I need to update AdvPlots due to these changes as well.
2014-10-22 10:04:44 +11:00
Sauilitired
ee9cee6ec8 * Added Fly Flag
* Moved stuff away from the actual listener class
* Ability to delete plot on player ban
2014-10-21 19:01:34 +02:00
Sauilitired
a80c044b3e Merge remote-tracking branch 'origin/master'
Conflicts:
	PlotSquared/src/com/intellectualcrafters/plot/listeners/PlayerEvents.java
2014-10-21 18:59:24 +02:00
Sauilitired
7bd6ee5f33 * Added Fly Flag
* Moved stuff away from the actual listener class
* Ability to delete plot on player ban
2014-10-21 18:53:52 +02:00
boy0001
c55faaec8d Fixes 2014-10-21 20:58:52 +11:00
boy0001
3bbd0a2293 Flags and plot users 2014-10-21 18:11:10 +11:00
Sauilitired
bc4c99bf3a Merge remote-tracking branch 'origin/master' 2014-10-21 08:18:37 +02:00
Sauilitired
bf7c36a637 Will now clear stuff :3 2014-10-21 08:18:30 +02:00
boy0001
9ad7a6d6ab fixed sign id 2014-10-21 16:51:50 +11:00
Sauilitired
5759e3e761 Fixed set command -> not allowing unclaimed plots 2014-10-21 07:44:17 +02:00
boy0001
9427bc7773 Changed version number 2014-10-21 16:36:47 +11:00
Sauilitired
264baf10e3 Fixed plot deletion 2014-10-21 07:35:15 +02:00
boy0001
66d596b993 fixes 2014-10-21 15:31:27 +11:00
boy0001
42a3ec0561 ... 2014-10-20 22:58:40 +11:00
boy0001
5e27ff52b8 Finished new PlotMeConverter 2014-10-20 21:42:50 +11:00
boy0001
c57e518143 New PlotMe converter... untested 2014-10-20 20:50:54 +11:00
boy0001
794ef7a01e fixes for plot clearing 2014-10-20 19:45:41 +11:00
Jesse Boyd
27c011f488 Working on PlotMeConverter
Re-organized some debug messages to display messages in a better format.
2014-10-20 19:04:59 -07:00
boy0001
92178ee696 This should be a debug setting. 2014-10-19 22:45:14 +11:00
boy0001
a79a3adcba fixed some really weird bugs...
like WTF, how does checking event.getTo() cause the player spawns to
change!?
2014-10-19 22:12:23 +11:00
boy0001
3796f41be3 Added flag value checks 2014-10-19 21:27:27 +11:00
Sauilitired
e767834144 Sort of forgot to actually change the players time... 2014-10-19 11:17:40 +02:00
Sauilitired
a18ac3ad05 Simple bug fixes + exception printing (debug for now) 2014-10-19 11:14:50 +02:00
Sauilitired
8b18c46926 Fix :3 2014-10-19 11:03:06 +02:00
Sauilitired
a57e8f938a Fixed caption 2014-10-19 10:47:59 +02:00
Sauilitired
fde2e84d1a Merge remote-tracking branch 'origin/master' 2014-10-19 10:46:12 +02:00
Sauilitired
e8d657eb5d Some fixes :p 2014-10-19 10:45:41 +02:00
boy0001
c0383851a8 Added plot purge for plot ID 2014-10-19 19:26:42 +11:00
Sauilitired
83ca1a55f0 Well, I knew it... 2014-10-19 10:22:50 +02:00
Sauilitired
bb43365538 Merge remote-tracking branch 'origin/master' 2014-10-19 10:19:47 +02:00
Sauilitired
8f411a3ce4 I'm sure I broke something :_: 2014-10-19 10:19:38 +02:00
boy0001
c8c4f1d848 made changes to plot clear/signs being removed 2014-10-19 18:29:39 +11:00
boy0001
b4f987e470 fixed concurrentModificationException 2014-10-19 17:37:17 +11:00
boy0001
7ce30ee955 more fixes 2014-10-19 17:19:01 +11:00
boy0001
093b38c4c3 fixes 2014-10-19 17:15:13 +11:00
boy0001
c8fe54e685 changed version number 2014-10-19 14:13:33 +11:00
Sauilitired
7f57b22e56 Gamemode :D 2014-10-18 14:10:57 +02:00
Sauilitired
dae0b00e35 Merge remote-tracking branch 'origin/master' 2014-10-18 13:55:11 +02:00
Sauilitired
15252ea94b Gamemode 2014-10-18 13:44:51 +02:00
boy0001
2edec161a8 my bad 2014-10-18 21:28:15 +11:00
Sauilitired
e4cd1bdc56 Flags :D 2014-10-18 12:12:32 +02:00
Sauilitired
7e62094152 Flags :D 2014-10-18 10:57:45 +02:00
Sauilitired
5d73a2fd6a Merge remote-tracking branch 'origin/master' 2014-10-18 10:24:59 +02:00
Sauilitired
86a4dbded8 Some global settings :D 2014-10-18 10:24:48 +02:00
boy0001
b23d4f26e6 actually fixed purge 2014-10-18 18:45:07 +11:00
boy0001
441d4dde2e fixed purge command 2014-10-18 15:54:16 +11:00
boy0001
04e8c5a8c4 added startMerge to plotManager 2014-10-18 15:49:08 +11:00
boy0001
fc9a31cbf4 fixed NPE from teleport event 2014-10-18 13:36:30 +11:00
boy0001
cb8822cd6a bug fixes. 2014-10-18 13:24:47 +11:00
Jesse Boyd
9ba5e3f91b It's probably better to put it here actually. 2014-10-18 11:37:30 -07:00
Jesse Boyd
6c614d1eec Fixed duplicate users potentially being added 2014-10-18 11:33:48 -07:00
Jesse Boyd
96fb8cfab9 Reload now reloads a bit more. 2014-10-18 11:30:25 -07:00
Jesse Boyd
a64e4c9578 *console commands
Added plot purge
2014-10-18 11:24:18 -07:00
Jesse Boyd
0010b06afa Added support for console messages (untested) 2014-10-18 11:06:29 -07:00
Jesse Boyd
2435eab96a sendMessage now supports console 2014-10-18 10:22:08 -07:00
boy0001
eee4a44fcb it's working now. (so far at least) 2014-10-15 21:36:23 +11:00
boy0001
47d26531aa "borrowing" some jnbt code 2014-10-15 21:23:32 +11:00
boy0001
1c4100a612 Untested (should work) 2014-10-15 20:43:20 +11:00
boy0001
e7d44d5343 Forgot about unlinking 2014-10-15 19:53:28 +11:00
Sauilitired
0961671eaf Fixed the uuid saving functions, added ability to change caching methods. 2014-10-14 16:16:05 +02:00
Sauilitired
2bbcdb17bc Started working on functions that will allow for a saved UUID cache (i.e mysql, sqlite, txt file etc...) for faster reading and in-caching. 2014-10-13 21:22:19 +02:00
Sauilitired
4ba147b95f Fixed some translations. 2014-10-13 19:59:35 +02:00
Sauilitired
b85c2a3c76 Fail :P 2014-10-13 19:43:41 +02:00
Sauilitired
a19b13fded Clipboard command (for info...) 2014-10-13 19:40:30 +02:00
boy0001
2b22ebf3d8 Documenting some methods 2014-10-13 17:44:05 +11:00
boy0001
4403edf7ca Multiple bug fixes
Plot clearing also now requires an unlink if mega.
Copy paste now requires an unlink if mega
*We should fix this at some later point
Plot merging now checks the entirety of both mega plots being merged
(rather that just the two adjacent)
2014-10-13 17:33:37 +11:00
Sauilitired
9087d48d9a Copy and paste, doesn't work for mega plots. 2014-10-12 17:26:58 +02:00
boy0001
254b9d4053 close stream 2014-10-12 23:08:48 +11:00
Sauilitired
8bdbd3e628 Yer, forgot that :P 2014-10-12 10:48:08 +02:00
Jesse Boyd
05c1ed139c fixed sqlite somehow...
and plot merging
2014-10-12 12:44:59 -07:00
Jesse Boyd
9b6d3e2b14 config fixes 2014-10-12 10:53:36 -07:00
Sauilitired
8245db7a08 Pfft. 2014-10-12 01:18:47 +02:00
Jesse Boyd
1772002700 actually fixed it 2014-10-12 10:13:44 -07:00
Jesse Boyd
b5037fe878 Merge branch 'master' of http://git.intellectualsites.com/citymonstret/plot_new 2014-10-12 09:56:23 -07:00
Jesse Boyd
34dd6c8107 fixed plot home 2014-10-12 09:56:17 -07:00
Jesse Boyd
532cc72076 fixed plot merging not saving 2014-10-12 01:37:16 -07:00
Jesse Boyd
0f7b5a4526 bugs bugs and more bugs 2014-10-12 01:15:00 -07:00
Jesse Boyd
3ffb182a3c yo yo yo
testing some new formatting rules + bug fixes
2014-10-12 00:37:36 -07:00
Sauilitired
53878c1a66 You can't divide by 0, stupid... 2014-10-11 18:35:51 +02:00
Sauilitired
88fe47b7ee Yes, I am really stupid... -_- 2014-10-11 18:30:24 +02:00
Sauilitired
0160a39d9f I am stupid. 2014-10-11 18:24:50 +02:00
Sauilitired
446cd422e0 Well, some stuff... 2014-10-11 18:16:08 +02:00
boy0001
79e0459a3a jdoc 2014-10-11 19:51:48 +11:00
boy0001
6b028988b3 Bug fixes 2014-10-11 19:05:50 +11:00
Jesse Boyd
6c1527f41c Finished setup command. 2014-10-11 12:09:14 -07:00
Jesse Boyd
a6375796c0 No red files anymore. Some stuff still unfinished.
+ weekly code cleanup
2014-10-11 00:33:10 -07:00
Jesse Boyd
2f5f3ac8e2 Plugin compiles now (many commands don't work) 2014-10-10 22:29:20 -07:00
Jesse Boyd
b50dfcb423 I'm making progress 2014-10-10 22:19:33 -07:00
boy0001
882c427d2b Merge remote-tracking branch 'origin/master'
Conflicts:
	PlotSquared/src/com/intellectualcrafters/plot/PlotWorld.java

	PlotSquared/src/com/intellectualcrafters/plot/generator/DefaultPlotWorld.java
2014-10-10 18:37:44 +11:00
boy0001
3656ec5297 Breaking things...
...
2014-10-10 18:31:51 +11:00
Sauilitired
ef443cade3 Added money given on delete. 2014-10-08 19:31:59 +02:00
Sauilitired
1ddb6b3bdc I hope this works... 2014-10-08 17:31:02 +02:00
Sauilitired
8315121d66 Yup. 2014-10-08 16:26:46 +02:00
Sauilitired
508b17a2a6 Improved economy (multiplies price * plots) :D
Added you to plugin.yml
2014-10-08 16:15:25 +02:00
Sauilitired
949bd6c9f5 Updated plugin info: New link, total downloads + newest version 2014-10-08 16:06:06 +02:00
boy0001
a89c062dbc I don't think I need this anymore. 2014-10-08 22:58:50 +11:00
boy0001
e3ad7ede8c some code documentation. 2014-10-08 22:51:19 +11:00
boy0001
2aff00c088 Finished coding default world generation classes
Now I just need to do is fix all the errors I created as well as point
the static methods to the newly abstracted ones.
2014-10-08 22:23:18 +11:00
boy0001
101b726319 Only 7 methods left which need to be coded 2014-10-08 21:42:13 +11:00
boy0001
74a6d2d28a More changes... 2014-10-08 20:02:08 +11:00
boy0001
0d55e1a2dc Continued externalization of generators.
- Please ignore all the errors, I am not commiting all the classes I
have changed.
2014-10-08 16:53:09 +11:00
Sauilitired
c476e07c28 Merge remote-tracking branch 'origin/master' 2014-10-08 07:14:40 +02:00
Sauilitired
ee86310988 Economy + schematics for /p auto :P 2014-10-08 07:11:46 +02:00
boy0001
10079579f2 whoops, forgot I was in the middle of something. 2014-10-08 16:09:28 +11:00
boy0001
2a35ec963c SO MANY!!!! bug fixes 2014-10-08 16:07:35 +11:00
boy0001
30f1f829cb further bug fixes 2014-10-07 22:35:01 +11:00
Sauilitired
da3ceeab44 I seriously doubt this is working xD 2014-10-06 14:51:28 +02:00
boy0001
1dd0b5de5f Fixed 2014-10-06 22:42:49 +11:00
boy0001
dc80fce05d possible fixes? 2014-10-06 21:56:23 +11:00
boy0001
7c643ed535 Trusted/Helpers changes 2014-10-06 20:47:43 +11:00
boy0001
bde2e45e6b A lot will need to be changed to implement this... 2014-10-05 22:19:35 +11:00
boy0001
4e08ae2a54 Are you okay with what I'm doing? 2014-10-05 14:57:47 +11:00
boy0001
fbd9766cfa added Abstract PlotWorld class 2014-10-05 14:44:33 +11:00
boy0001
5f787d45fa Started work on abstract PlotManager class 2014-10-05 13:58:35 +11:00
boy0001
5f0d914b07 stuff. 2014-10-04 16:01:45 +10:00
boy0001
34f0428d06 Added support for external generators
- PlotSquared still handles the Plot IDs and layout, so these external
generators would need to be compatible with PlotSquared
- Server owners would still need to configure the PlotWorld settings in
the settings.yml
- Alternatively, other plugins could add their own PlotWorld class using
the existing API methods. In that case these new methods do not apply.
2014-10-04 14:11:31 +10:00
boy0001
1511db8d12 not much actually changed, but it seems to be working fine now. 2014-10-03 23:20:33 +10:00
boy0001
8597117d7a Fixed large roads, server crashes, and DB upgrades
Roads of 100 blocks or more will now work (WHO HAS ROADS THAT LARGE
THOUGH!?)
- We could see if we could block beacon effects from other plots...

*The crash was due to a misconstructed for loop.

Older databases will now add the missing table plot_ratings
2014-10-03 14:01:01 +10:00
boy0001
980499a193 Time for our weekly code cleanup!
Please tell me if doing this annoys you.
2014-10-03 12:36:30 +10:00
Sauilitired
58ed037fad Started working on rate system :D 2014-10-02 17:38:31 +02:00
Sauilitired
ff05ef840b Fixed some items on the to-do list. 2014-10-02 17:00:34 +02:00
boy0001
aa81704f80 We should fix up the event system
Some of it is my fault. Half the events don't get called properly, or
aren't cancellable when they say they are.

Tell me your ideas for how we should sort out this mess.
2014-10-02 22:54:49 +10:00
boy0001
560921ebc5 fixed setup command (it wasn't working) 2014-10-02 22:30:25 +10:00
boy0001
e0c5c285bb Finished setup command 2014-10-02 18:21:34 +10:00
boy0001
8b50bdd330 WorldEdit 6 + /plot setup (in progress) 2014-10-02 14:35:20 +10:00
boy0001
9409ebd7cb Fixed plot clear, Added WorldGuard flags 2014-10-02 09:36:00 +10:00
boy0001
e6ed231e05 Fixed plotme converter sorta
It should also technically work for offline mode server (untested)
2014-10-01 23:41:31 +10:00
boy0001
0a61e516f3 Probably shouldn't still have that... 2014-10-01 22:50:53 +10:00
boy0001
49bf3b6694 Fixed some NPEs 2014-10-01 22:35:08 +10:00
boy0001
97c452e311 The damn reflection doesn't want to work.
Why did zachbora think it was a good idea to convert the UUIDs to player
names before returning them?

Anywho, I added a slower method that now works at okay speeds.  (22
seconds for 2549 user checks)
2014-10-01 22:11:19 +10:00
boy0001
c4d328455e PlotMe converter changes 2014-10-01 19:35:11 +10:00
boy0001
efd3cde86b Fixed DB upgrade 2014-10-01 18:27:18 +10:00
boy0001
56537dcafc Added trusted users 2014-10-01 18:01:41 +10:00
boy0001
3a653c2dea worldguard fixes 2014-09-30 22:08:38 +10:00
boy0001
3c74874256 plot kick command 2014-09-30 21:17:55 +10:00
Sauilitired
3508431300 Well, I broke it, sorry :( 2014-09-29 19:20:48 +02:00
Sauilitired
c60bd3bbc8 Forgot to merge... Bleh... 2014-09-29 19:11:21 +02:00
Sauilitired
1e6ae5c467 Merge remote-tracking branch 'origin/master'
Conflicts:
	PlotSquared/src/com/intellectualcrafters/plot/commands/Auto.java
2014-09-29 19:07:52 +02:00
Sauilitired
b28c44b0df Economy Support (Stage 1, alpha xD)
Added schematic support for Auto
Continued working on setup command
Made sexy exception thingy
Tried to fix Errors in PWE
Added some epic captions
Added configuration options to PlotWorld
YAY
2014-09-29 19:05:03 +02:00
boy0001
e9a3b3cb9a Added auto claiming of mega plots. 2014-09-29 22:07:38 +10:00
boy0001
fe035b97f5 Auto Plot merge + some other things 2014-09-29 21:07:28 +10:00
Sauilitired
c5195fc198 Schematic Support++ 2014-09-28 10:43:44 +02:00
Sauilitired
aa0d97eb2d Merge remote-tracking branch 'origin/master' 2014-09-28 10:21:27 +02:00
Sauilitired
7a6d0ef531 More on /p setup {world}
Fixed schematic support for claim
2014-09-28 10:21:18 +02:00
boy0001
eba94c4738 We should redo the permissions to support the '*' node. 2014-09-28 17:44:03 +10:00
boy0001
2eb82fe703 Clearing a mega-plot is now deemed safe
I also reorganized the configuration.
2014-09-27 14:34:43 +10:00
boy0001
38ec36f81d Fixed texture packs 2014-09-27 14:15:59 +10:00
boy0001
7a6cef1d07 In eclipse you can use Window > Show view > Tasks 2014-09-27 11:02:10 +10:00
boy0001
f635ac219c Added a bunch of TODO statements in case you get bored 😄 2014-09-27 10:52:12 +10:00
boy0001
5298486403 Oh yeah.. I was in offline mode. That explains a lot. 2014-09-27 10:21:00 +10:00
boy0001
d8137358f1 PlotMe conversion seems to be broken 2014-09-27 10:08:00 +10:00
boy0001
c71cadafe6 Buggy behavior on plot clear
- it's slower now until I figure out why it wasn't working properly
2014-09-27 09:41:15 +10:00
Sauilitired
ebe636047f Well, started working on something totally uneeded... /p setup {world}
Fixed SQLite errors.
2014-09-26 22:53:42 +02:00
boy0001
241a70e648 Fixed unlink not adding roads correctly. 2014-09-26 22:49:34 +10:00
boy0001
e1cfde520e Finished mega plots (unlink now removes roads) 2014-09-26 22:21:14 +10:00
boy0001
c4635be66b Untested (plot unlink) 2014-09-26 21:38:18 +10:00
boy0001
7a55e8487b made changes to the converter 2014-09-26 20:13:30 +10:00
boy0001
618e2dd211 Changed version number 2014-09-26 18:34:52 +10:00
boy0001
d0ec93b15c Megaplots are pretty much done now
I still need to finish the unlinking, currently it doesn't recreate the
roads, but that's not a big deal.
2014-09-26 18:07:24 +10:00
boy0001
49f93cfb25 Plot merging now removes road 2014-09-26 15:18:13 +10:00
boy0001
ccb2e32c58 Added plot unlinking 2014-09-26 14:17:52 +10:00
boy0001
c6859a5d50 MegaPlots mostly done now
Fixed up methods throwing errors when not merged properly
Plot merge command now merges plots as far as the plugin is concerned
- Roads are not removed between the plots
- No way to unlink a merged plot

Added plot delete command (permission: plots.clear.delete)
Modified plot clear to simply clear the terrain.
2014-09-26 14:01:30 +10:00
boy0001
eb7106eb76 Fixes to merge methods
- Merged automatically added to DB
- Started work on commands
- Fixed getCurrentPlot not working for roads
2014-09-26 10:22:25 +10:00
boy0001
5d0f377d3b Fixes 2014-09-25 23:30:26 +10:00
boy0001
1d1834699a Mega plots: Tell me if I missed any important API methods
Modified methods:
- getCurrentPlot
- getPlotBottomLoc
- getPlotTopLoc

TODO:
- Commands
- Plot unlinking on unclaim
- Anything else?
2014-09-25 22:44:23 +10:00
boy0001
d54336f536 Made getCurrentPlot(location) 23.07 times faster
I apologize if you wrote the code, but it was REALLY poorly done (brute
force is bad btw). Was it taken from PlotMe?
2014-09-25 21:25:53 +10:00
Sauilitired
3f4c275d64 Merge remote-tracking branch 'origin/master' 2014-09-25 10:04:39 +02:00
Sauilitired
291f85057c Begun :D 2014-09-25 10:04:26 +02:00
boy0001
1a2ff50110 javadocs + minor restructuring 2014-09-25 16:39:13 +10:00
boy0001
f331b1abaa Fixed for worldguard 6 + fixes
- Improved plot perm checking (faster)
- Added toString() method for PlotId
- Fixed WorldGuard listener for WG 6
2014-09-25 14:58:34 +10:00
boy0001
26249d00a3 Java can be a pain sometimes...
- Fixed weird bug with plot clear
(I basically just swapped the plot.clear() method and
DBFunc.delete(plot) as referencing the plot directly afterwards added it
back to the HashMap)
2014-09-25 11:54:57 +10:00
Sauilitired
04167997ad Fixed SQLite errors
Added stacktraces to clear (Settings.DEBUG)
2014-09-24 20:53:04 +02:00
Sauilitired
0d0825d614 WorldGuard Support.
Fixed NullPointerException in C

Added Settings

Fixed tons of warning :P

Added auto clear
2014-09-24 20:29:30 +02:00
boy0001
f56d6f144b *and this 2014-09-24 22:33:34 +10:00
boy0001
4c36c9b8d8 whoops, forgot a return statement 2014-09-24 22:32:25 +10:00
boy0001
d7bd7ba093 Added plot clear on claim. AND A LOT OF OTHER MORE IMPORTANT THINGS
Like... I added that space there, between that equals sign and the word
'this'
- Re-added old plot clear algorithm (in case SetBlockFast fails)
- Made some performance improvements with plot clear
- Used built in code cleaning in eclipse to make everything look nicer
- Bug fixes
2014-09-24 22:21:43 +10:00
boy0001
874f7575c1 Fixed infinite loop in plot claim (my fault) 2014-09-24 20:30:15 +10:00
boy0001
e65d20d5f1 Teleport tamed mobs to the nearest plot. 2014-09-24 16:41:15 +10:00
boy0001
46342a7ff8 Async plot clear?
I got plot clearing down to around 100 ms for a 256x256 plot without
async.
2014-09-24 13:09:45 +10:00
boy0001
47aef8014b road stripes are now optional (as they are buggy) 2014-09-24 12:35:42 +10:00
boy0001
3a17e1ad30 Did you mean to remove these? 2014-09-24 11:24:29 +10:00
boy0001
e05636a722 sqllite 2014-09-24 11:08:45 +10:00
boy0001
f8e096a02b small changes to flags
- flag key should be only alphabetic characters
- flags should be case insensitive
2014-09-24 10:56:03 +10:00
boy0001
29d77320c3 Merge remote-tracking branch 'origin/master'
Conflicts:
	PlotSquared/src/com/intellectualcrafters/plot/XPopulator.java
2014-09-24 10:46:33 +10:00
boy0001
d919dc0dbd Sudo-random plot content with data values 2014-09-24 10:41:18 +10:00
Sauilitired
7343686a4e Improved flag system. 2014-09-23 20:37:56 +02:00
Sauilitired
be278ad781 Improved flag system. 2014-09-23 19:02:17 +02:00
boy0001
c07634acc6 Whatever... WorldGeneration sucks. 2014-09-23 23:01:10 +10:00
boy0001
6f1572e5d2 Merge branch 'master' of http://git.intellectualsites.com/citymonstret/plot_new
Conflicts:
	PlotSquared/src/com/intellectualcrafters/plot/WorldGenerator.java
2014-09-23 21:15:47 +10:00
boy0001
3c39c6d6e6 fuckn road stipes bitches! 2014-09-23 21:12:25 +10:00
Sauilitired
ba54016720 Attempt to fix db, might not always work. We got to add a warning to spigot. 2014-09-23 12:44:57 +02:00
Sauilitired
e2c49a6e21 I like pretty configs. 2014-09-23 12:03:25 +02:00
boy0001
fd823d2910 Fixed getPlots() causing NPE 2014-09-23 19:54:06 +10:00
boy0001
f2a389f850 Removed a non-multiworld API method 2014-09-23 19:12:06 +10:00
boy0001
3075dda8d3 Merge branch 'master' of http://git.intellectualsites.com/citymonstret/plot_new 2014-09-23 19:01:06 +10:00
boy0001
1d0587dbe8 Bug fixes
Fixed (I guess) killAllEntities()
Fixed plot clear
2014-09-23 19:01:00 +10:00
Sauilitired
f465484c20 Small fixes 2014-09-23 09:59:45 +02:00
boy0001
5601315c41 forgot to save to DB. 2014-09-23 15:58:30 +10:00
boy0001
edfbc8d474 Should we update existing tables? Also, are you good with MySQL? 2014-09-23 15:29:38 +10:00
boy0001
0efb9d62ca more bug fixes 2014-09-23 15:28:26 +10:00
boy0001
c3e271b22b ADDED default flags in settings.yml 2014-09-23 13:40:15 +10:00
boy0001
d71ab93760 bug fixes 2014-09-23 12:47:45 +10:00
boy0001
2335b08728 Yes, I can implement that setting
PlotWorld class:
/*
*  - All existing PlotWorld instances should be kept in PlotMain (worlds
variable)
*  - The accessors and mutators are:
*  PlotMain.isPlotWorld(world)
*  PlotMain.getPlotWorlds() or PlotMain.getPlotWorldsString() <- use
this if you don't need to get world objects
*  PlotMain.getWorldSettings(World) - get the PlotWorld class for a
world
*
*  Also added is getWorldPlots(World) as the plots are now sorted per
world
*
*  To get the world of a plot, you can use plot.world - (string)   or
plot.getWorld()  - (world object)
*
*  All PlotWorld settings are per world in the settings.yml (these
settings are automatically added when a world is loaded, either at
startup or if a new world is created):
*   - You can find this in the WorldGenerator class (yeah, it's possibly
not the best place, but it makes sure worlds are added to the
settings.yml)
*
*  All new DEFAULT CONSTANTS should be static and be given a value
*  All new variables should not be static and should not be given any
values here, but rather in the WorldGenerator class
*
*/
2014-09-23 12:26:25 +10:00
boy0001
e2d2596bf2 Merge branch 'master' of http://git.intellectualsites.com/citymonstret/plot_new 2014-09-23 12:08:39 +10:00
boy0001
ccd237d2c0 Added plot flags to API
- Old database will break yet again (yay!)
(Once we get more people using the plugin I'll have it add the missing
columns)
2014-09-23 12:08:31 +10:00
Sauilitired
5168f0459f Fixed yml formatting -.- 2014-09-22 21:23:12 +02:00
Sauilitired
5730650d60 Could you implement this setting? xD 2014-09-22 21:21:14 +02:00
Sauilitired
deed728f93 Could you implement this setting? xD 2014-09-22 20:22:30 +02:00