1403 Commits

Author SHA1 Message Date
UnknownShadow200
2e34abbf9e Fix last commit. 2016-06-26 00:25:03 +10:00
UnknownShadow200
8449a791b2 Minor code cleanup for command handling, still need to fix multiple commands in a /mb. 2016-06-26 00:20:19 +10:00
UnknownShadow200
3484d19c47 Less hardcoding of level properties folder, fix /load from console. 2016-06-24 10:32:58 +10:00
UnknownShadow200
f18397f976 Make all 'X is not a valid player/level name' messages consistent. 2016-06-23 22:40:02 +10:00
UnknownShadow200
f8f17d69e8 Cleanup /follow. 2016-06-23 21:51:58 +10:00
UnknownShadow200
b94db39578 Cleanup help of /newlvl, modularise MapGen class so you can provide more than just a single integer argument to the generator. 2016-06-23 21:26:38 +10:00
UnknownShadow200
c6d79ac32d Cleanup /shutdown. 2016-06-23 19:53:41 +10:00
UnknownShadow200
a890e91d74 Cleanup /inbox, make it show all messages in your inbox if you just do /inbox. 2016-06-23 18:01:58 +10:00
UnknownShadow200
b40dd94d06 Cleanup /send. 2016-06-23 17:43:15 +10:00
UnknownShadow200
a439ab3144 Fix help to use colour codes for a whole bunch of commands. 2016-06-23 17:00:07 +10:00
UnknownShadow200
6bfc38507c Make level property saving thread safe. 2016-06-23 15:32:37 +10:00
UnknownShadow200
0513fc6f8f Reduce code duplication so all /env commands can be used in /os env. (Thanks MrRockman888) 2016-06-23 14:46:47 +10:00
UnknownShadow200
024cd71945 Ensure level saving is threadsafe, avoids random loss of levels. (Thanks goodlyay) 2016-06-23 11:32:26 +10:00
UnknownShadow200
85c4ae4199 Modularise command handling code somewhat. 2016-06-22 23:07:24 +10:00
UnknownShadow200
a928ed94c8 Add token, allow using in bot names and skin names. 2016-06-22 14:32:52 +10:00
UnknownShadow200
9fb1cdfd09 Reduce code duplication for PlayerCollection/LevelCollection/PlayerMethodDescriptor/LevelMethodDescriptor 2016-06-22 13:43:53 +10:00
UnknownShadow200
ef1cebaee7 Make /vip actually work and get rid of the pointlessly duplicated code. 2016-06-21 23:17:42 +10:00
UnknownShadow200
f35dcbd827 Merge branch 'master' of github.com:Hetal728/MCGalaxy 2016-06-21 21:11:02 +10:00
UnknownShadow200
5bf5a7e779 More usage of code page 437. 2016-06-21 21:10:44 +10:00
UnknownShadow200
7174fc253e Initial work on multiple commands in a message block. (Thanks whiteraven1000) 2016-06-21 19:21:21 +10:00
UnknownShadow200
8fb745c434 Log to sql error log file if creating a bulk transaction command fails. 2016-06-21 11:03:17 +10:00
UnknownShadow200
7113b0ee53 Combine /reload and /reveal. (Thanks goodlyay) 2016-06-21 09:53:32 +10:00
UnknownShadow200
30a2dc5315 Use Directory.GetFiles everywhere instead of DirectoryInfo.GetFiles. 2016-06-20 12:18:23 +10:00
UnknownShadow200
e26e65ec28 Fix players who actually have passwords not being listed in security tab in gui. 2016-06-20 12:00:30 +10:00
UnknownShadow200
33e43b36fd Use single SplitSpaces method instead of string.Split({' '}, 2) everywhere, other minor code cleanup. 2016-06-20 11:44:53 +10:00
UnknownShadow200
b098e32481 Now with less use of Command.All.Find() 2016-06-20 10:49:52 +10:00
UnknownShadow200
1eee2dda2c Change /copy behaviour to show how many blocks you went over the limit by instead of immediately stopping when you reach the limit. (Thanks Joshim4) 2016-06-19 23:47:46 +10:00
UnknownShadow200
86e45cd165 Tree draw op now sets appropriate bounds, meaning cloudy brush works properly for /tree. 2016-06-19 23:01:47 +10:00
UnknownShadow200
95fb7603f6 Cleanup the monstrosity that is /load, also make it you can load a level if you are visit whitelisted, even if your rank cannot visit the level. 2016-06-19 20:38:09 +10:00
UnknownShadow200
1c67b1476e Support for all code page 437 characters in level motd. 2016-06-19 19:52:50 +10:00
UnknownShadow200
fdcca2888c Make more things use code page 437 writing/reading. 2016-06-19 19:42:55 +10:00
UnknownShadow200
2ed09ab358 Modularise CmdEnvironment. 2016-06-19 16:16:53 +10:00
UnknownShadow200
4209d922ff Make /pcreate's code slightly nicer. 2016-06-18 22:19:15 +10:00
UnknownShadow200
b1b2a9b1cb Now the old review config keys set the extra command permissions for /review. Also remove /news [player], /faq [player], /changelog [player]. 2016-06-18 17:03:04 +10:00
UnknownShadow200
b581b39acd Review /review from properties tab in gui. 2016-06-18 16:07:17 +10:00
UnknownShadow200
12c522c58e Make /review use extra command permissions instead. 2016-06-18 15:49:47 +10:00
UnknownShadow200
996d2cd8d6 Fix /model not checking extra permission to change models of other players/bots (Thanks Princess_Bloom), add an extra permission to /skin for changing other player's skins. 2016-06-18 08:06:25 +10:00
UnknownShadow200
831142961d Implement /topfive and /topten as aliases in /top, instead of separate commands. 2016-06-17 09:48:41 +10:00
UnknownShadow200
58148c5da2 Make a lot more commands use %T and %H for colourised help. 2016-06-16 23:55:24 +10:00
UnknownShadow200
d3be64b070 Make all bot commands use new-style help colour codes, make /bots use stringbuilder. 2016-06-16 23:28:18 +10:00
UnknownShadow200
482e62d6a7 ranks/agreed.txt now uses the standard ranks player list format, instead of its own hardcoded special way. 2016-06-16 23:01:28 +10:00
UnknownShadow200
a793a164ba Cache position at start of GlobalUpdate(), avoids very rare issue of player positions being offset wrongly to other players when their positon changes mid-way through GlobalUpdate(). 2016-06-16 20:12:22 +10:00
UnknownShadow200
5ec756c064 Fix messages consisting of emotes (that map to whitespace control characters, such as single music note) not showing on IRC. 2016-06-16 12:05:38 +10:00
UnknownShadow200
e2720274d3 Fix double emotes (control characters, such as single music note) being incorrectly trimmed to a single emote by chat regex. 2016-06-16 11:57:32 +10:00
UnknownShadow200
4a31395a06 Add /ccols edit, closes #185. (Thanks worldshowoff) 2016-06-16 09:48:18 +10:00
UnknownShadow200
3492e7f116 Add an extra permission to /mb which specifies lowest rank that can use moderation commands in an /mb. 2016-06-16 09:13:25 +10:00
UnknownShadow200
6e71652370 Fix /lb copy not cloning globally defined custom blocks, fix /lb edit blockslight inverting true/false. (Thanks goodlyay) 2016-06-15 21:24:20 +10:00
UnknownShadow200
0d80d571e4 Now /pe timespent uses new timespan parsing code. 2016-06-13 15:40:04 +10:00
UnknownShadow200
ff53457f00 Create TimeUtils class, for parsing/converting timespan methods. 2016-06-13 14:57:25 +10:00
UnknownShadow200
a11c948661 Add thread safe AddOrReplace methods to PlayersList and PlayersExtList class. 2016-06-13 13:21:44 +10:00