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
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
f2bfe27eba
Removed debug print.
2013-05-17 21:24:57 +02:00
Tobias Ottenweller
e0b30135cc
Removed duplicate log message.
2013-05-17 21:14:19 +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
Paul Schulze
cac6eb6022
Fixed bug: When x or z was negative a player was teleported one block
...
beside the real portal blocks.
2013-05-16 09:55:12 +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
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
Paul Schulze
71031d0578
Fixed bug: When x or z was negative a player was teleported one block
...
beside the real portal blocks.
2013-05-13 17:48:09 +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
b196c53335
Display messages about disallowed usage of gates less frequent.
2013-04-08 21:32:15 +02:00
Tobias Ottenweller
d54fd7f72e
Removed some debug code.
2013-04-08 21:09:15 +02:00
Tobias Ottenweller
cede47deab
Rewrite of the list command.
2013-04-08 21:08:08 +02:00
Tobias Ottenweller
a8a95af497
Further refactoring of the list command.
2013-04-06 12:08:09 +02:00
Tobias Ottenweller
0af3631693
Removed unused imports.
2013-04-06 12:07:57 +02:00
Tobias Ottenweller
4d40b140fa
Start work on refactoring the list command.
2013-04-05 21:51:18 +02:00
Tobias Ottenweller
6373f98894
Removed debug prints.
2013-03-26 20:49:48 +01:00
Tobias Ottenweller
b99ecec448
Added toString method for gates.
2013-02-26 14:17:01 +01:00
Tobias Ottenweller
3a7be837b5
Modified help string for exit command.
2013-02-26 14:16:51 +01:00