Commit Graph
100 Commits
Author SHA1 Message Date
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
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
Tobias Ottenweller 4d40b140fa Start work on refactoring the list command. 2013-04-05 21:51:18 +02:00
Tobias Ottenweller 8830355216 Updated the change log. 2013-03-26 20:59:18 +01:00
Tobias Ottenweller 3481c2a10f Bumped version to 2.1.0 2013-03-26 20:53:21 +01:00
Tobias Ottenweller a319f793b2 Removed unused import. 2013-03-26 20:52:10 +01:00
Tobias Ottenweller 6373f98894 Removed debug prints. 2013-03-26 20:49:48 +01:00
Tobias Ottenweller e49c5c0acb Updated classpath file. 2013-03-26 20:49:29 +01:00
Tobias Ottenweller a0bc62f767 Bumped version to 2.1.0-beta. 2013-03-07 16:51:21 +01:00
Tobias Ottenweller 850fbf1515 Updated changelog. 2013-02-28 00:22:08 +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
Tobias Ottenweller 1bfc886969 Further work for Issue #6. 2013-02-26 14:16:39 +01:00
Tobias Ottenweller 880071140a Started work on implementing a permission checking system for Vault. (Issue #6) 2013-02-26 12:50:02 +01:00
Tobias Ottenweller 5b1ac6e8f7 Added code to send messages when player enter a gate. (Issue #15) 2013-02-26 12:47:38 +01:00
Tobias Ottenweller 08906f6004 Fixed Vault permissions setup. 2013-02-23 19:53:05 +01:00
Tobias Ottenweller e54914bd22 Fix a null pointer exception if a certain world has no gates. 2013-02-23 19:52:41 +01:00
Tobias Ottenweller 606ea1d5c5 Updated the change log file. 2013-02-23 19:51:54 +01:00
Tobias Ottenweller b072229914 small bug fix. 2013-02-20 14:45:16 +01:00
Tobias Ottenweller 0b8be1ec4b PluginPortalListener clean up. 2013-02-20 14:38:02 +01:00
Tobias Ottenweller 1fef272af2 Fixed typos in plugin.yml. 2013-02-20 14:37:45 +01:00
Tobias Ottenweller 26927d35c2 Fix for Issue #14. 2013-02-20 14:32:37 +01:00
Tobias Ottenweller c79a856907 New fix for Issue #8. Now using EntityPortalEnterEvent additionally. 2013-02-19 18:59:54 +01:00
Tobias Ottenweller c25bb01aa1 Added missing command to readme file. 2013-02-19 12:52:49 +01:00
Tobias Ottenweller 68bf008bc4 Fixed typo 2013-02-19 12:49:33 +01:00
Tobias Ottenweller 638afcc82f Updated the readme file. #2 2013-02-19 12:48:31 +01:00
Tobias Ottenweller f020096126 Updated the readme file. 2013-02-19 12:43:45 +01:00
Tobias Ottenweller a4ee78b88a Updated setLocation and setExit aliases. 2013-02-19 12:43:12 +01:00
Tobias Ottenweller f3a87516d6 Sort the output of the help command alphabetically. 2013-02-19 12:27:46 +01:00
Tobias Ottenweller 984069ff35 Added a change log file. 2013-02-19 11:45:00 +01:00
Tobias Ottenweller 0dacfaa79b Additional work for Issue #8 2013-02-17 19:43:34 +01:00
Tobias Ottenweller 02262880da Fixed stupid bug letting the closest gate method fail. 2013-02-17 19:39:15 +01:00
Tobias Ottenweller 9ce65ed26d Removed unused class. 2013-02-17 14:59:40 +01:00
Tobias Ottenweller db173521e4 Removed unused import. 2013-02-17 14:58:17 +01:00
Tobias Ottenweller 16095226f9 Fixed Issue #8 2013-02-17 14:56:48 +01:00
Tobias Ottenweller 3ea11da591 Refactoring: Moved code into LocationUtil and GateUtil. 2013-02-17 14:56:01 +01:00
Tobias Ottenweller 59fdb54a09 Fixed a bug where an already closed gate got used for teleporting. 2013-02-17 13:11:16 +01:00
Tobias Ottenweller 02b904a78d Removed some whitespace. 2013-02-17 13:10:34 +01:00
Tobias Ottenweller 0117e7294a Code style applied. Increased the maximum number of gate blocks to 40. 2013-02-17 13:10:11 +01:00
Tobias Ottenweller 1de6812eb6 Updated and simplified the command aliases. 2013-02-17 12:31:59 +01:00
Tobias Ottenweller 26e5b68a7d Updated the 'senderMustBePlayer' attribute of all commands. 2013-02-17 12:20:04 +01:00
Tobias Ottenweller f09b90f0a6 Code style applied. 2013-02-16 13:21:21 +01:00
Tobias Ottenweller 32f1cba2bd Do not create yml configuration object on every save/load. 2013-02-15 23:38:04 +01:00