1145 Commits

Author SHA1 Message Date
UnknownShadow200
5f2c213f4a Slightly improve performance and reduce memory allocations for native backend. 2016-04-28 17:09:47 +10:00
UnknownShadow200
24229ae173 More work on native database backend. 2016-04-28 16:42:06 +10:00
UnknownShadow200
b6f843c10c Fix '>>banned for' showing in /whois when the player isn't actually banned. 2016-04-28 14:38:43 +10:00
UnknownShadow200
2730683221 Xhide should be /hide silent, not a separate command. 2016-04-28 14:29:41 +10:00
UnknownShadow200
9bd094c1ea Add pinvoke definitions for the native sqllite column methods. 2016-04-28 13:06:25 +10:00
UnknownShadow200
64ddb59311 Organise Database code more, reduce code duplication. 2016-04-28 12:22:11 +10:00
UnknownShadow200
d67ce4a327 Fix custom chat tokens not being reloaded after doing /server reload. (Thanks goodlyay) 2016-04-28 10:50:03 +10:00
UnknownShadow200
6ae7a68a27 Fix /server reload wiping command permissions. (Thanks goodlyay) 2016-04-28 10:46:34 +10:00
UnknownShadow200
6a30b5644b Don't forget to hide the in-game entity. 2016-04-27 17:21:50 +10:00
Unkie
e7fe7a39ff Merge pull request #149 from Peteys93/master
Add /ohide myrank
2016-04-27 15:42:46 +10:00
Peteys93
e08b12f161 Take out unnecessary extra string
Replace tempmessage with setting message to args instead of split[0]
2016-04-27 01:02:28 -04:00
Peteys93
7872667f14 Change Player to entities to reflect older change
^
2016-04-26 03:48:31 -04:00
Peteys93
bff5d0fe10 Add top of file
Fix pasting error
2016-04-26 03:36:44 -04:00
Peteys93
375ec6c671 Check for otherRankHidden
Check for otherRankHidden before regular hidden. Return if so.
2016-04-26 03:33:55 -04:00
Peteys93
06f179b45c Declare globals
Declare global bool and Levelpermission for player having /ohide mrank used on him.
2016-04-26 03:31:44 -04:00
Peteys93
dfc32f2c00 Handle the ohide part of /ohide myrank
Set a global levelperm to p's permission to use in entities.cs
2016-04-26 03:28:24 -04:00
Peteys93
110211c45d Update Hide for /ohide myrank capabilites
Handle the work in /hide
2016-04-26 03:25:24 -04:00
Peteys93
1cc5355c5a Merge pull request #1 from Hetal728/master
Update
2016-04-26 03:13:47 -04:00
UnknownShadow200
5b5c45b2d2 Don't show a global message if player is changing own skin/model. 2016-04-26 11:23:50 +10:00
UnknownShadow200
9eaa14593a Persist custom set skins and models (Thanks goodlyay), closes #142. 2016-04-26 10:30:54 +10:00
UnknownShadow200
0258839aae Fix /mi env/perms <level> not working with unloaded levels, also show level.properties whitelist/blacklist in /mi perms. Closes #145. 2016-04-26 08:43:35 +10:00
Unkie
6ac37c1baa Merge pull request #147 from ComputeLinux/master
Cleanly recommit 8ball changes.
2016-04-26 07:39:15 +10:00
ComputeLinux
0a9218e17d Cleanly recommit 8ball changes. 2016-04-25 13:00:36 -07:00
Unkie
d73ae4e4ac Merge pull request #146 from Venom983/master
Included pervisit/pervisimax/blacklists within mi
2016-04-25 19:38:09 +10:00
Venom983
7081ae404c Included pervisit/pervisimax/blacklists within mi 2016-04-25 05:06:55 -04:00
UnknownShadow200
fee26365e3 Checkpoint blocks should also save orientation. (Thanks goodlyay) 2016-04-25 18:01:29 +10:00
UnknownShadow200
84080b1fde Fix NullReferenceException in /os zone block when player name is not found. (Thanks venom983) 2016-04-25 17:56:48 +10:00
UnknownShadow200
fb643e3f5a Merge branch 'master' of github.com:Hetal728/MCGalaxy 2016-04-25 14:53:59 +10:00
UnknownShadow200
e9f3968191 Initial work on implementing ClassicBlockDB specification. 2016-04-25 12:51:10 +10:00
UnknownShadow200
6ca0d2b32a Fix issue with /mb of same type. (Thanks goodlyay) 2016-04-24 16:42:28 +10:00
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