217 Commits

Author SHA1 Message Date
Drew DeVault
3b55c50578 Merge pull request #56 from ToastyMallows/master
Added support for placing redstone dust
2015-05-11 21:13:15 -06:00
Drew DeVault
ea8e63d889 Properly fix torch blocks
This was broken partially due to a bug in the Minecraft client.

Fixes #75
2015-05-08 22:13:37 -06:00
Ross L
e11ce99dd8 Merge remote-tracking branch 'upstream/master' 2015-05-08 19:52:05 -04:00
Ross L
f77fbe666d Added RedstoneDustBlock support direction 2015-05-08 18:48:19 -04:00
Ross L
5e707876d8 Added support for placing redstone dust, part 2 2015-05-08 18:18:07 -04:00
Drew DeVault
df623854d2 Merge pull request #71 from robinkanters/master
World save interval now configurable with 'worldSaveInterval'
2015-05-08 14:51:34 -06:00
Robin Kanters
ca5c213040 World save interval now configurable with 'worldSaveInterval' 2015-05-08 22:36:25 +02:00
Drew DeVault
0997e94d36 Merge pull request #70 from robinkanters/master
Moved /time command class and cleaned up some code
2015-05-08 13:58:15 -06:00
Robin Kanters
4206f2d005 Fixed code issues (variable renames and such) 2015-05-08 21:56:08 +02:00
Robin Kanters
ff815aa2fc /time is no longer a debug command, deserves its own file 2015-05-08 21:48:03 +02:00
Drew DeVault
16bf4f2996 Merge pull request #67 from manio143/cmdArrayFix
Fixed command arguments to exclude command name.
2015-05-08 09:37:42 -06:00
manio143
f72ccc9da8 Fixed command arguments to exclude command name. 2015-05-08 17:25:39 +02:00
Drew DeVault
fbec611202 Implement snowball drops from snow blocks
Fixes #65
2015-05-07 14:04:04 -06:00
Drew DeVault
8e0030231c Merge pull request #66 from robinkanters/giveme
Giveme
2015-05-06 13:55:42 -06:00
Robin Kanters
5f5ef95287 Fixed exception when trying to give items to a player who couldn't be found 2015-05-06 21:45:33 +02:00
Robin Kanters
da748d84df Added /giveme by pulling some logic into methods (in /give) that can be re-used by /giveme 2015-05-06 21:44:58 +02:00
Robin Kanters
475b57c69b Redundant using directive 2015-05-06 21:29:14 +02:00
Drew DeVault
51e820ceb6 Merge pull request #64 from manio143/master
Fixed HelpCommand behaviour
2015-05-06 12:59:46 -06:00
manio143
d3a3abf8c0 Fixed PosCommand and LogCommand 2015-05-06 20:46:42 +02:00
manio143
690ae82431 Fixed HelpCommand behaviour 2015-05-06 20:22:26 +02:00
Drew DeVault
5cdf03b570 Merge pull request #61 from robinkanters/command-case-sensitivity
Command case sensitivity
2015-05-05 14:57:11 -06:00
Robin Kanters
2ad2856d9e And forgot this help message for when non-numeric values are entered for itemid/amount 2015-05-05 22:56:04 +02:00
Robin Kanters
7e9f841ea0 Removed regex checking, no functional changes 2015-05-05 22:55:40 +02:00
Robin Kanters
d567a538fe removed temporary debug message 2015-05-05 22:46:43 +02:00
Robin Kanters
f89d733ee9 added posibility to /give > 64 items at one 2015-05-05 22:40:31 +02:00
Robin Kanters
87966f1265 Now checking validity of /give command using a regex. Also made amount optional and default to 1 2015-05-05 22:36:20 +02:00
Robin Kanters
2b09ca5ce0 buttload of capitalization fixed (uppercase in parameter names) 2015-05-05 22:26:44 +02:00
Robin Kanters
119d1364f0 Visual studio predicted a possible nullreferenceexception here, might as well check it 2015-05-05 21:54:21 +02:00
Robin Kanters
db27404b84 Username is now case-insensitive in /give command 2015-05-05 21:15:05 +02:00
Drew DeVault
bd2c4a9fc5 Merge pull request #59 from robinkanters/double-slash
Double slash
2015-05-05 12:43:34 -06:00
Drew DeVault
25f8ad9a49 Merge pull request #57 from robinkanters/time-set-impl
Implemented /time set x
2015-05-05 12:42:51 -06:00
Robin Kanters
61902bb4db pretty pretty code 2015-05-05 20:22:38 +02:00
Robin Kanters
e662b6f050 Moved processing chat messages to ProcessChatCommand (makes sense). If chat message starts with '//', we now cut off the first '/' and send it as a chat message (rather than parse it as a command) 2015-05-05 20:18:48 +02:00
Robin Kanters
eb1db825bd Only sending time update to clients in same world 2015-05-05 19:50:09 +02:00
Drew DeVault
6706c3534e Merge pull request #58 from robinkanters/fix-command-crash
Fixed server crash when sending "/" without command
2015-05-05 11:49:36 -06:00
Robin Kanters
6554b31f24 Fixed server crash when sending "/" without command 2015-05-05 19:45:38 +02:00
Robin Kanters
97eb2da5e7 Now updating time on ALL clients when server time is updated with /time set x 2015-05-05 19:31:55 +02:00
Robin Kanters
a9ae0915cb Even simpler implementation 2015-05-05 19:15:11 +02:00
Robin Kanters
1fa99d4071 Implemented /time set x 2015-05-05 19:06:25 +02:00
Drew DeVault
41b4065e21 Remove hardcoded seed
This was for testing purposes and was not meant to be checked in.
2015-05-05 01:01:55 -06:00
Ross L
763a789adc Added support for placing redstone dust 2015-05-05 00:49:44 -04:00
Drew DeVault
062fee8471 Revert "Add: Helper methods for obtaining X and Z coordinates of chunk given a block's X and Z world coordinates."
This reverts commit cfa49b50a4b58598aa1e1871155ee8ad2c2a8c10.
2015-05-04 13:17:20 -06:00
Drew DeVault
3e124b2a0f Revert "Add: Helper methods for obtaining block's X and Z chunk coordinates given block's world coordinates."
This reverts commit 592a98831a0cb1eb98824bf19b3cead11d2d2d0c.
2015-05-04 13:17:16 -06:00
Drew DeVault
70f17b73ae Merge pull request #54 from sgtbigman/blockcoords-to-chunkblockcoords-methods
Add: Helper methods for obtaining block's X and Z chunk coordinates give...
2015-05-03 23:42:03 -06:00
Nicolas Reed
592a98831a Add: Helper methods for obtaining block's X and Z chunk coordinates given block's world coordinates. 2015-05-04 01:33:16 -04:00
Drew DeVault
3ed39bce11 Merge pull request #53 from sgtbigman/block-to-chunk-methods
Add: Helper methods for obtaining X and Z coordinates of chunk given a b...
2015-05-03 23:14:15 -06:00
Nicolas Reed
cfa49b50a4 Add: Helper methods for obtaining X and Z coordinates of chunk given a block's X and Z world coordinates. 2015-05-04 01:11:27 -04:00
Drew DeVault
d4f93f8266 Merge pull request #52 from Balrog30/master
Fix deserialization of chunks.
2015-05-03 22:07:43 -06:00
Nicholas Bering
8fad0918f7 Fix deserialization of chunks. 2015-05-03 23:36:49 -04:00
Drew DeVault
1e5f688a55 Merge branch 'master' of github.com:SirCmpwn/TrueCraft 2015-05-03 19:51:17 -06:00