308 Commits

Author SHA1 Message Date
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
Drew DeVault
805320ce8f Implement caves
This:

- Implements caves with 3D noise
- Moves periodic chunk updates to the thread pool
- Fixes a handful of small bugs
2015-05-03 19:49:43 -06:00
Daniel V
2954abd112 Fixed style violations 2015-05-03 20:03:20 -04:00
Daniel V
54a6338c40 Give command fixes
- You can no longer try to give a player an invalid item.
- The give command now gives the specified player the items, and not the
player that issued the command
2015-05-03 19:38:22 -04:00
Drew DeVault
62f7d8d55d Merge branch 'master' of github.com:SirCmpwn/TrueCraft 2015-05-03 16:02:55 -06:00
Drew DeVault
e5207c6dec Add support for signs 2015-05-03 16:02:47 -06:00
Drew DeVault
b00e0b05b0 Merge pull request #51 from ToastyMallows/master
Added support for Trapdoor placement/use
2015-05-03 16:00:35 -06:00
Ross L
75f593e243 Added support for Trapdoor placement/use 2015-05-03 17:57:33 -04:00
Drew DeVault
08d2e88ab9 Fix freeze decorator for plants 2015-05-03 15:44:09 -06:00
Drew DeVault
6575444768 Fix torch placement and prevent overwriting blocks
Fixes #50
2015-05-03 15:12:10 -06:00