833 Commits

Author SHA1 Message Date
UnknownShadow200
f81f1cb2e1 Cleanup /voice and use your name if no name is explictly givenm remove the redundant /text and /view commands. 1.8.3.0 2016-03-18 22:18:21 +11:00
UnknownShadow200
3a1db7879d Can now apply models to bots. (Thanks goodlyay) 2016-03-18 21:51:37 +11:00
UnknownShadow200
36eb586a7d Museum can now be used with manual backup names. Also, fix backup location directory not being reset if it no longer exists. 2016-03-18 20:47:40 +11:00
UnknownShadow200
580768181d Cleanup and modularise /report, make it usable by console too. 2016-03-18 20:23:51 +11:00
UnknownShadow200
b49ecc9c89 Cleanup /lockdown and remove the pointless /unlock command. 2016-03-18 19:51:16 +11:00
UnknownShadow200
eb48f84072 Add blocks item to the economy for zombie survival, also '/z solid' should use the solid brush, regardless of the player's current brush. (Thanks goodlyay) 2016-03-18 19:17:36 +11:00
UnknownShadow200
bc7a5d6243 Merge branch 'master' of github.com:Hetal728/MCGalaxy 2016-03-18 09:51:49 +11:00
UnknownShadow200
f4491f66e0 Modularise /missile and /gun commands. Add /missile tp. 2016-03-18 09:18:28 +11:00
UnknownShadow200
c736642c70 Merge branch 'master' of github.com:Hetal728/MCGalaxy 2016-03-18 00:20:48 +11:00
UnknownShadow200
9d281c1683 Implement a proper random brush. 2016-03-18 00:12:54 +11:00
UnknownShadow200
75abda2557 Fix /paste and /paste not treating all custom blocks as if they were the same block. (Thanks goodlyay) 2016-03-17 16:32:48 +11:00
UnknownShadow200
3d78adede9 Cleanup /gun, also fix IRC color codes not being properly reset on some IRC clients. 2016-03-17 13:23:05 +11:00
UnknownShadow200
8efbff3666 Add LoginMessage and LogoutMessage to list of buyable items, also do not allow purchasing items that are disabled. 2016-03-16 14:26:59 +11:00
UnknownShadow200
89711750f8 Don't care pointless login/logout txt files if the player is only using the default message, login/logout message commands are now case insensitive. 2016-03-16 11:32:48 +11:00
UnknownShadow200
75f5bafffb Fix /nick not showing the part after an '=' in an nick. 2016-03-16 10:47:47 +11:00
UnknownShadow200
4705eb6ddc Add LevelItem to cleanup last of hardcoded stuff from /buy, /eco and /store. Also fix /undo not working for large timespans. (Thanks goodlyay) 2016-03-16 10:00:28 +11:00
UnknownShadow200
2e0183e57d Now /highlight just shows red if new block is air, otherwise green. (None of that strange if 'curTile == air') 2016-03-15 23:54:41 +11:00
UnknownShadow200
6bcf192a3b Add RankItem to the economy. 2016-03-15 23:28:49 +11:00
UnknownShadow200
bb3d6c7f66 titlecolor/color/title now use the new item code. 2016-03-15 22:45:07 +11:00
UnknownShadow200
c2f4132168 Implement ColorItem, TitleColorItem, and TitleItem for the new economy system. 2016-03-15 22:24:32 +11:00
UnknownShadow200
8695d90945 Pack Level.UndoPos(saving 2 bytes) and Level.BlockPos(saving 2 bytes) more efficiently, reducing memory usage even further. 2016-03-15 14:55:09 +11:00
UnknownShadow200
290189d3c4 Cleanup /freeze and /trust. 2016-03-15 13:58:15 +11:00
UnknownShadow200
da36623a53 Use Economy.Settings.Enabled instead of some group.commands.contains hackiness. 2016-03-15 12:19:09 +11:00
UnknownShadow200
82a08e6b7e The /write command is now a drawop. (Does not use player brush though) 2016-03-14 23:12:35 +11:00
UnknownShadow200
e15b8f1d94 Fix in the gui changing the extra command index (when the current additional permission index is greater than the new command's max additional permission index) causing the server to crash. 2016-03-14 22:52:15 +11:00
UnknownShadow200
f202f68a8b More proper checking for CanSee, combine /hide and /xhide's code. 2016-03-14 21:57:44 +11:00
UnknownShadow200
c76d8edb82 Combine /eco stats into /money, rename /money to /balance (with the shortcut of /money still) 2016-03-14 21:18:59 +11:00
UnknownShadow200
9b645b6e0d Separate /eco info into a /store command. 2016-03-14 21:08:21 +11:00
UnknownShadow200
cb4890cb4d Cleanup /take. 2016-03-14 19:45:38 +11:00
UnknownShadow200
69f5bdefc7 Cleanup /economy, separate into a /buy command. 2016-03-14 19:25:20 +11:00
UnknownShadow200
72e0bdd7fc Separate /economy into separate functions. It's still an utter mess though. 2016-03-14 16:47:08 +11:00
UnknownShadow200
21ea77eba9 Cleanup /pay. 2016-03-14 16:23:14 +11:00
UnknownShadow200
24b220ff7d Cleanup a number of the economy commands. 2016-03-14 16:02:50 +11:00
UnknownShadow200
d8298a5010 Initial support for message types, use %S and p.FullName in more places. 2016-03-14 14:02:57 +11:00
UnknownShadow200
e169d19071 Fix bug when round was still considered to be as 'in progress', even though the 'error: need two or more players' message was shown. Modularise some games code more. 2016-03-14 13:28:46 +11:00
UnknownShadow200
21c5a9c25b Fix random level picking not being random. 2016-03-14 10:44:26 +11:00
UnknownShadow200
e68cf4edf6 Cleanup level choosing code, also fix block changes in zombie survival being permanently saved. 2016-03-14 10:31:17 +11:00
UnknownShadow200
0e36b31505 Use generic ShouldSaveLevelFile(), also use LevelInfo.Loaded.Items in most places. 2016-03-14 10:04:53 +11:00
UnknownShadow200
e8471cdf30 Create VolatileArray class, that is used for both online players and loaded levels. 2016-03-14 08:12:50 +11:00
UnknownShadow200
c9ae84d5f6 Fix bounties for zombie survival. 2016-03-13 23:18:22 +11:00
UnknownShadow200
50f43e5bd2 Add /zg hitbox to allow configuring hitbox detection distance, more code cleanup. 2016-03-13 22:52:21 +11:00
UnknownShadow200
c598df0006 Modularise /zg. 2016-03-13 21:38:33 +11:00
UnknownShadow200
42300d5617 Remove usage of class fields in /copy and /drawimage (can be used by multiple people independently now), also fix /hackrank only worked once for the entire duration of the server. 2016-03-13 20:06:58 +11:00
UnknownShadow200
2cfaaa5afc Cleanup infect messages code (so they can be eventually extended to player messages), use DisplayName instead of name in end of round messages. 2016-03-13 12:50:33 +11:00
UnknownShadow200
ab6c4288bc More code cleanup for zombie survival. 2016-03-13 12:31:59 +11:00
UnknownShadow200
6b04139c5b Modularise core zombie code some more, poll player positions every 50ms instead of every 500ms, also rounds start after 30 seconds not two minutes. 2016-03-13 10:51:01 +11:00
UnknownShadow200
2752a9e018 Add /bounties, start work for /bounty. 2016-03-13 10:27:08 +11:00
UnknownShadow200
0f2d42301a Only show zombie survival commands in /help when zombie survival is active, start basis for game teams. 2016-03-12 23:40:09 +11:00
UnknownShadow200
723aa56e57 Quick fix for rank group colour being hidden in the gui. 2016-03-12 22:15:35 +11:00
UnknownShadow200
2f2a62cf45 Prettify gui. 2016-03-12 22:01:54 +11:00