1165 Commits

Author SHA1 Message Date
UnknownShadow200
b7ee18a02e Merge branch 'master' of github.com:Hetal728/MCGalaxy 2016-04-24 13:11:58 +10:00
UnknownShadow200
40336d3770 Fix /tempban twice on same player name creating a second tempban instead of updating existing tempban. (Thanks FabTheZen) 2016-04-24 13:11:02 +10:00
Unkie
ecf86af5aa Merge pull request #139 from Peteys93/master
Give more useful help text for blocks
2016-04-24 12:54:57 +10:00
UnknownShadow200
d97c7cf1a3 Remove all the pointless code duplication in /unban, fix being unable to partially match online banned player names. 2016-04-24 12:50:39 +10:00
Peteys93
bfe0ce0811 Use string.toLower() and switch statement
Use string.toLower() and switch statement to better match the rest of the code, as well as added many more blocks, (all of the special blocks, I believe, that aren't completely buggy).
2016-04-23 22:45:00 -04:00
UnknownShadow200
4db3707e61 Remove /update help and make /update less awful. (Thanks WhatIDoHere) 2016-04-24 10:19:41 +10:00
UnknownShadow200
214edcb4ca Fix /gb copy without arguments or one argument throwing an error, guns should default to disabled on levels. 2016-04-24 07:23:57 +10:00
UnknownShadow200
15d947cc6f Quick fix, /mapinfo should shortcut to /mi. (Thanks 123DontMessWitMe) 2016-04-24 00:14:59 +10:00
UnknownShadow200
3eda958da9 Fix silly mistakes from last commit, I am too tired. 2016-04-23 23:57:56 +10:00
UnknownShadow200
d2c6f6a6fe And now with 3.452894% less pointless memory allocations. 2016-04-23 23:45:01 +10:00
UnknownShadow200
d5f2d003e8 Use more optimised method of scrolling chat box in the gui. This significantly reduces memory usage and time spent scrolling the chat box. 2016-04-23 23:01:07 +10:00
UnknownShadow200
ce83851af4 Replace resetSpamCount timer with DateTime.UtcNow check whenever the player sends a chat message. This timer was never disposed thus keeping the player object alive. 2016-04-23 21:33:04 +10:00
UnknownShadow200
eaad590675 Limit maximum number of invisibility potions that can be bought in a round. 2016-04-23 20:50:22 +10:00
UnknownShadow200
5eeb617478 Show zombie stats in whois/whowas and in /mapinfo, also separate /mapinfo into /mapinfo and /mapinfo env. Also, woo for 1000 commits. 2016-04-23 18:31:20 +10:00
UnknownShadow200
ec137eb52a Do test for round end on main zombie thread instead of separate timer, avoids issues when using /zg force then /zg start again. (Thanks goodlyay) 2016-04-23 17:08:43 +10:00
UnknownShadow200
4ef88d5867 And re-add time and dates to /whois and /whowas. 2016-04-23 15:50:39 +10:00
UnknownShadow200
e45e189497 Cleanup /whois and /whowas to be more concise, and share code. (Still a WIP) 2016-04-23 15:34:21 +10:00
UnknownShadow200
70b252a930 Implement /top for zombie stats. 2016-04-23 14:14:55 +10:00
UnknownShadow200
171c5a8e90 Persist max/total rounds survived and infections. 2016-04-23 13:43:07 +10:00
UnknownShadow200
b436852419 Implement * in chat to indicate winstreaks. 2016-04-23 00:19:42 +10:00
Peteys93
9bc0fb966b Fix - Still show rank needed
Still show rank needed for blocks with special help text.
2016-04-22 09:53:14 -04:00
Peteys93
e4eaf3ffec Give more useful help text for blocks
Gives more useful help information if someone uses, /help for physics blocks, e.g. /help door.
For many physics/killer blocks, the help text given has always been virtually useless.
2016-04-22 09:34:43 -04:00
UnknownShadow200
ab409646cc Fix ghosting issues with players entities not leaving world/server. 2016-04-22 17:13:32 +10:00
UnknownShadow200
2064aa709e Merge branch 'master' of github.com:Hetal728/MCGalaxy 2016-04-22 13:45:34 +10:00
UnknownShadow200
a556aea5dd Use group.ColoredName instead of group.Color + group.Name, also fix /zg force not working from console and fix /tp. (Thanks goodlyay) 2016-04-22 13:43:13 +10:00
Unkie
4bbad05ad2 Merge pull request #138 from Peteys93/master
Impersonate bug fixes
2016-04-22 12:36:38 +10:00
Peteys93
07fe07aca2 Impersonate bug fixes
See post on #123

Can no longer impersonate muted players
Trying to impersonate a player on server without giving a message threw an error, fixed.
2016-04-21 22:07:38 -04:00
UnknownShadow200
e7f148c97b Modularise /mapinfo in preparation for splitting up into /mapinfo <level> and /mapinfo env <level> 2016-04-22 09:27:33 +10:00
UnknownShadow200
ab8a64bcc1 Initial implementation of /pervisit +name (whitelist) and /pervisit -name (blacklist). 2016-04-22 00:10:51 +10:00
UnknownShadow200
0668578a55 Initial work on awards/achivements for zombie survival. 2016-04-21 19:50:25 +10:00
UnknownShadow200
0c0bcfc8ea Implement WinChance for zombie survival. 2016-04-21 19:09:25 +10:00
UnknownShadow200
c54ccc963a Now with 45.6893% less hardcoding of level properties. 2016-04-21 16:27:25 +10:00
UnknownShadow200
f1be5e1179 Add proper help for /buy invisibility. 2016-04-21 09:32:25 +10:00
UnknownShadow200
a7690985b2 Implement invisibility potions. 2016-04-21 09:29:44 +10:00
UnknownShadow200
d941850771 Now with less pointless boilerplate code for the internal RECT and Margins structs. 2016-04-21 08:28:54 +10:00
UnknownShadow200
867f0117a2 Allow customising default infect messages. 2016-04-20 23:38:21 +10:00
UnknownShadow200
2f128bedd8 Make /store nicer. 2016-04-20 23:07:04 +10:00
UnknownShadow200
935290cd7d Merge branch 'master' of github.com:Hetal728/MCGalaxy 2016-04-20 22:19:50 +10:00
UnknownShadow200
07533c0ce8 Hidden players are only hidden to lower ranks in-game now, also referees are not hidden to other referees. 2016-04-20 22:17:24 +10:00
UnknownShadow200
56b75da3be Only referees can teleport to other players in the middle of a round of zombie survival. 2016-04-20 19:29:40 +10:00
UnknownShadow200
dab46f198d There's no point saving the level BlockDB for game maps. 2016-04-20 18:50:29 +10:00
UnknownShadow200
e7c83cd73e Fix /award not working properly when 'give/take' is not used and award has a space. 2016-04-20 15:56:00 +10:00
UnknownShadow200
ceeb0826cd Allow changing 'log notes' option from the gui. 2016-04-20 00:14:43 +10:00
UnknownShadow200
cc0cc482ce Add /notes. (Thanks yorkiebarz) 2016-04-19 23:55:59 +10:00
UnknownShadow200
2d3e5c9cfc Write more text files in a thread safe manner. 2016-04-19 22:18:41 +10:00
UnknownShadow200
8c4f6b6b50 Release 1.8.5.0 1.8.5.0 2016-04-19 13:05:53 +10:00
UnknownShadow200
038b5da076 Fix Good's title again. 2016-04-19 09:36:54 +10:00
UnknownShadow200
66de32199b ref mode should show in /players, also don't hardcode it into SendChatFrom but make it part of the prefix. 2016-04-18 08:48:47 +10:00
UnknownShadow200
d31c2949d8 Use ColoredName instead of FullName in more places to reduce visual clutter. 2016-04-18 08:12:34 +10:00
UnknownShadow200
e21905b95d Add Entities.CanSee/Entities.CanSeeEntity, in preparation for players only being able to see certain other players (E.g. higher ranked hidden can see lower ranked hidden) 2016-04-17 22:37:38 +10:00