229 Commits

Author SHA1 Message Date
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 version2.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
Paul Schulze
1056fbf969 updated pom.xml 2013-05-17 21:10:34 +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
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
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
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
Paul Schulze
e30b82b74f added bukkit-testserver to gitignore
scripts for automatic bukkit-testserver handling
2013-05-13 17:33:27 +02:00
Paul Schulze
acf4c9002c updated pom.xml 2013-05-13 17:32:50 +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. version2.1.1 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
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
1ef178f6a0 Updated class path. (CraftBukkit 1.5.1 R0.1) 2013-04-07 19:33:07 +02:00
Tobias Ottenweller
802f8c07e3 Merge branch 'master' of github.com:craftinc/craftinc-gates into development 2013-04-06 12:08:21 +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