Tobias Ottenweller
7673c3f674
Changed to event priority of the block break listener to MONITOR. This will resolve issues with third party protection plugins. See issue #25 .
2013-07-10 20:43:52 +02:00
Tobias Ottenweller
577531db5e
Updated the pom file for version 2.2.0
2013-07-06 17:14:11 +02:00
Tobias Ottenweller
3739ee6c5a
Added a toString method to the SimpleLocation class.
2013-07-06 17:13:46 +02:00
Tobias Ottenweller
2d830b2f9f
Fixed a bug where players got teleported at the old location of a gate when a new location has been set.
2013-07-06 17:13:28 +02:00
Tobias Ottenweller
02fd7a4916
Added missing whitespace character.
2013-07-06 15:42:29 +02:00
Tobias Ottenweller
e21089d8c7
Removed a newline character.
2013-07-04 12:47:28 +02:00
Tobias Ottenweller
fc488e7f31
Remove portal blocks at the old location of a gate when setting a new location.
2013-07-04 10:19:57 +02:00
Tobias Ottenweller
e8f23078f1
Check for case insensitivity while loading gates from disk.
2013-07-04 10:08:59 +02:00
Tobias Ottenweller
9ec2b91181
Typo fix.
2013-07-01 20:46:23 +02:00
Tobias Ottenweller
478095190a
Added newlines toe the change log.
2013-07-01 13:50:02 +02:00
Tobias Ottenweller
d0c23b581a
Fixed some typos inside the readme file.
2013-06-30 13:36:56 +02:00
Tobias Ottenweller
6884f43e50
Documentation and readme updated.
2013-06-29 12:19:12 +02:00
Tobias Ottenweller
e84130a8fe
Better handling for players entering a gate with their head only.
2013-06-26 12:28:30 +02:00
Tobias Ottenweller
8f54c0acc2
Moved gate validation from saving to loading. This hopefully resolves issues with gates getting closed on save.
2013-06-24 20:42:40 +02:00
Tobias Ottenweller
aeae14e2a0
Added a option for saving gates after every change.
2013-06-24 09:50:49 +02:00
Tobias Ottenweller
36be95d0f5
Gate: Added final statement to arguments. Better handling for case insensitivity.
2013-06-24 09:44:44 +02:00
Tobias Ottenweller
ed4dd5711e
Make gate ids case insensitive.
2013-06-23 20:14:19 +02:00
Tobias Ottenweller
437296262c
Cleanup
2013-06-23 20:13:53 +02:00
Tobias Ottenweller
ec2caaad97
Removed debug prints.
2013-06-23 19:55:03 +02:00
Tobias Ottenweller
81daa83f44
code cleanup.
2013-06-23 19:26:13 +02:00
Tobias Ottenweller
0695b3e202
Improved error messages when setting a gate location.
2013-06-23 19:09:20 +02:00
Tobias Ottenweller
6df27c14a0
Bugfix: portal blocks don't get set when unhiding a gate.
2013-06-23 19:04:07 +02:00
Tobias Ottenweller
a16d847234
Better print out for creating gates a invalid locations.
2013-06-23 18:48:18 +02:00
Tobias Ottenweller
d24f0b8fd1
Bugfix: new gates do not work when opening them.
2013-06-23 18:47:17 +02:00
Tobias Ottenweller
ea52e4d87e
Also check for the players head locations when trying to teleport the player.
2013-06-23 18:46:03 +02:00
Tobias Ottenweller
f4495240a5
Remove and add gates to the gate attributes.
2013-06-23 18:43:22 +02:00
Tobias Ottenweller
09b9c65ef6
Added some prints for debugging.
2013-06-23 18:07:18 +02:00
Tobias Ottenweller
afe693d491
Bugfix: remove portal blocks when deleting a gate.
2013-06-23 17:27:57 +02:00
Tobias Ottenweller
d4f33a1885
Do not cast to Double. Rather use Number.
2013-06-23 17:14:51 +02:00
Tobias Ottenweller
b50a2b27d3
Bugfix: do not let the location command fail if previous location was invalid.
2013-06-23 17:09:39 +02:00
Tobias Ottenweller
e88e03ed42
Removed a debug print.
2013-06-23 17:08:44 +02:00
Tobias Ottenweller
d29ad9a474
Removed some debug prints.
2013-06-21 21:36:47 +02:00
Tobias Ottenweller
4f89e20e6f
Print reason when closing gate on save.
2013-06-20 23:07:10 +02:00
Tobias Ottenweller
563bdfe2fd
Updated the change log.
2013-06-20 22:36:03 +02:00
Tobias Ottenweller
931cd1a520
Updated the build scripts. Bumped version to 2.2.0-beta.
2013-06-20 22:35:46 +02:00
Tobias Ottenweller
b64f41ce0c
Do not log "enabled" when gate storage file is corrupted.
2013-06-20 19:58:34 +02:00
Tobias Ottenweller
1e9b9905a5
Disable the plugin if storage migration is not possible.
2013-06-20 19:19:00 +02:00
Tobias Ottenweller
d28bedb78e
Better handling for invalid gate storage files.
2013-06-19 17:18:35 +02:00
Tobias Ottenweller
e9c4583c3d
Updated command classes to use better shortcut commands. (Issue #21 )
2013-06-19 17:17:56 +02:00
Tobias Ottenweller
7a8e61104a
Disable the plugin if the gate storage file is corrupted.
2013-06-19 14:25:31 +02:00
Tobias Ottenweller
c764850ded
Declared many arguments as final inside the GatesManager class.
2013-06-19 14:08:27 +02:00
Tobias Ottenweller
f939e27464
Added a delayed block changes sending method.
2013-06-19 14:03:50 +02:00
Tobias Ottenweller
ecd219fb2d
Added parameter checks and final attributes to the FloodUtil class.
2013-06-19 13:42:16 +02:00
Tobias Ottenweller
99be2905be
Added checks for broken gate frame blocks.
2013-06-18 19:53:04 +02:00
Tobias Ottenweller
9e36cf189b
Added a configuration file. Made various classes read from the configuration.
2013-06-17 14:32:49 +02:00
Tobias Ottenweller
78283a4f34
Send block changes on command execution.
2013-06-15 15:33:01 +02:00
Tobias Ottenweller
1d08c79cff
Check for non existing gate list while loading gates from disk.
2013-06-15 13:33:19 +02:00
Tobias Ottenweller
cb0dec8b83
More distant portal blocks now get send to players.
2013-06-12 21:58:01 +02:00
Tobias Ottenweller
1968ccaaeb
Added an authors file. Added a license section the each source file.
2013-06-05 13:00:29 +02:00
Tobias Ottenweller
d23a9b7650
Added basic gate block sending mechanism.
2013-06-03 19:14:56 +02:00
Tobias Ottenweller
e5ef266f04
Refactoring: created new packages.
2013-06-03 16:37:20 +02:00
Tobias Ottenweller
724e05e0a4
code and comment cleanup.
2013-06-03 16:19:51 +02:00
Tobias Ottenweller
b18df58870
Refactoring of the LocationUtil class.
2013-06-03 16:09:26 +02:00
Tobias Ottenweller
7119c185e7
Version bump to 2.2.0-DEV
2013-06-01 15:07:03 +02:00
Tobias Ottenweller
c740a5b111
Fixed a bug where gates did not work after chaining it's location.
2013-06-01 15:02:22 +02:00
Tobias Ottenweller
8bee74df89
Code cleanup.
2013-06-01 15:01:59 +02:00
Tobias Ottenweller
b383ff89c6
Cleanup
2013-06-01 14:50:39 +02:00
Tobias Ottenweller
fec999541e
Removed the ChunkLoadListener.
2013-06-01 14:45:47 +02:00
Tobias Ottenweller
2ed611d995
Only teleport players once if they got pending teleport requests.
2013-06-01 12:43:39 +02:00
Tobias Ottenweller
faabb2f9db
Testing code for not working chunk load listener.
2013-06-01 12:29:28 +02:00
Tobias Ottenweller
e6e6273147
Made chunk load listener handle multiple teleport requests with the same destination chunk.
2013-06-01 11:32:18 +02:00
Tobias Ottenweller
093778f2fb
Added missing TeleportRequest class.
2013-05-26 14:52:15 +02:00
Tobias Ottenweller
a5b34458c4
Make sure chunks are loaded before teleporting players.
2013-05-26 14:52:04 +02:00
Tobias Ottenweller
30d15c141e
Refactored the Gate class: removed the fill and empty methods.
2013-05-26 14:03:18 +02:00
Tobias Ottenweller
3cac4e70cc
Allow bigger portals. Portals cannot be made of portal blocks anymore.
2013-05-26 13:08:50 +02:00
Tobias Ottenweller
95446f1371
Throw an exception when the gates got stored with a newer version.
2013-05-26 13:03:22 +02:00
Tobias Ottenweller
8e860e90c6
code style.
2013-05-26 12:36:43 +02:00
Tobias Ottenweller
d9194c7497
Added a storage migration class.
2013-05-26 12:36:25 +02:00
Tobias Ottenweller
c3a24a940f
Don't print block locations inside the info command. #2
2013-05-19 12:04:03 +02:00
Tobias Ottenweller
c62fb32e90
Don't print block locations inside the info command.
2013-05-19 12:03:45 +02:00
Tobias Ottenweller
580fda0273
Don't teleport if gates are closed.
2013-05-19 12:01:55 +02:00
Tobias Ottenweller
252292819f
Removed an unused method.
2013-05-19 12:01:34 +02:00
Tobias Ottenweller
79dcd259dc
Always use block locations when creating SimpleLocations to prevent offsets when comparing player and block locations.
2013-05-19 12:01:18 +02:00
Tobias Ottenweller
12fde472a2
Fixed a typo.
2013-05-19 12:00:07 +02:00
Tobias Ottenweller
be3c541845
code style.
2013-05-19 11:59:47 +02:00
Tobias Ottenweller
6bd53a3fe6
Fixed typos.
2013-05-19 10:39:23 +02:00
Tobias Ottenweller
a9be1eaa51
Updated the test-deployment script. Keep the version inside the filename.
2013-05-19 10:38:48 +02:00
Tobias Ottenweller
dd492a7327
updated the test-deployment script.
2013-05-19 10:06:27 +02:00
Tobias Ottenweller
0230314c7e
Added a little bit more logging.
2013-05-19 10:05:21 +02:00
Tobias Ottenweller
768d385915
Renamed PluginPlayerListener to PlayerMoveListener
2013-05-18 19:56:10 +02:00
Tobias Ottenweller
232305a871
Added some checks for null values to the GatesManager class.
2013-05-18 19:55:20 +02:00
Tobias Ottenweller
00573c2763
Added some documentation to the Gate class.
2013-05-18 19:54:43 +02:00
Tobias Ottenweller
f1d623df60
Fixed a typo.
2013-05-18 19:54:17 +02:00
Tobias Ottenweller
040377cb36
Refactoring and code cleanup.
2013-05-18 11:26:45 +02:00
Tobias Ottenweller
e9027900ce
Refactored the BaseCommand class.
2013-05-18 11:11:10 +02:00
Tobias Ottenweller
34b1c7e0ce
Removed the 'h' shortcut.
2013-05-17 21:58:05 +02:00
Tobias Ottenweller
987de39bf9
Merge branch 'master' of github.com:craftinc/craftinc-gates into development
...
Conflicts:
pom.xml
src/de/craftinc/gates/BaseGate.java
src/de/craftinc/gates/commands/BaseCommand.java
src/de/craftinc/gates/commands/CommandCreate.java
src/de/craftinc/gates/commands/CommandList.java
2013-05-17 21:54:15 +02:00
Tobias Ottenweller
0e13f60122
Fixer a typo.
2013-05-17 21:28:56 +02:00
Tobias Ottenweller
f2bfe27eba
Removed debug print.
2013-05-17 21:24:57 +02:00
Tobias Ottenweller
7f8b8eee0f
updated pom.xml to version 2.1.2
2013-05-17 21:14:36 +02:00
Tobias Ottenweller
e0b30135cc
Removed duplicate log message.
2013-05-17 21:14:19 +02:00
Tobias Ottenweller
916dc1b3a1
Updated changelog.
2013-05-17 21:05:36 +02:00
Tobias Ottenweller
4b7fff2277
Fixed some typos
2013-05-17 20:53:36 +02:00
Tobias Ottenweller
ed2683affc
Fixed issue #18 . Gates with 'null' as location did cause exceptions at many locations.
2013-05-17 20:13:49 +02:00
Tobias Ottenweller
67c8a15e46
Merge branch 'development' of github.com:craftinc/craftinc-gates into development
2013-05-16 09:53:29 +02:00
Tobias Ottenweller
a984f3a3ea
Updated README.md
2013-05-16 09:53:24 +02:00
Tobias Ottenweller
f253dd4ccc
Refactored the GatesManager. Added SimpleChunk and SimpleLocation classes. Made PluginPlayerListener use the gateByLocation method of the GatesManager.
2013-05-14 20:05:25 +02:00
Tobias Ottenweller
4012a4ac15
Started working on issue #16 :
...
* Replaced the Gate class with a GateManager class.
* Created HashMap structures to effectively query for gates.
* Refactored to get the plugin running.
Optimizations are not yet in place! Further work is necessary.
2013-05-08 20:30:43 +02:00
Tobias Ottenweller
8c6718d13f
Removed unused imports.
2013-04-09 09:11:32 +02:00
Tobias Ottenweller
6a34d44f20
Updated change log and plugin.yml.
2013-04-09 09:11:22 +02:00