3269 Commits

Author SHA1 Message Date
UnknownShadow200
f30759285d Fix chat tokens not working properly in welcome message. 2017-09-23 13:21:20 +10:00
UnknownShadow200
b591b46ce6 Simplify IRCToMC and MCToIRC in Colors.cs 2017-09-23 09:48:20 +10:00
UnknownShadow200
7678dea470 Allow using hug/high5 on yourself, also notify to check /inbox when receiving a /send message 2017-09-22 22:03:48 +10:00
UnknownShadow200
a6d32942e2 Simplify DB backup for SQLite 2017-09-22 21:32:05 +10:00
UnknownShadow200
33d9ca82a0 block.properties uses block IDs now. Fixes block permissions being lost if a core block was made a global block, then renamed. 2017-09-22 13:59:22 +10:00
UnknownShadow200
c991671fe5 fix minor mistake in reduce keys of profanity filter 2017-09-22 13:43:40 +10:00
UnknownShadow200
f5a9a229ff Implement /donotmark command, fixes #397 2017-09-22 13:35:36 +10:00
UnknownShadow200
69dd9d7d89 Reduce IL size of CmdBlockProperties.SetProperty by 317 bytes 2017-09-22 12:04:57 +10:00
UnknownShadow200
46c571e7f0 Remove a bunch of obsolete methods 2017-09-22 10:43:09 +10:00
UnknownShadow200
774040e9d7 Just use count(id) for /sinfo on both backend, closes #255
In the test SQLite database with 800,000 players there was a 2-3 millisecond difference. So not worth it.
2017-09-21 18:15:51 +10:00
UnknownShadow200
79de17943c Implement /setspawn player, fixes #395 2017-09-21 17:44:10 +10:00
UnknownShadow200
8520799833 actually fix #435 2017-09-21 17:36:46 +10:00
UnknownShadow200
d6537b42a9 Add /bot rename for renaming bot for targetting in commands, fixes #435 2017-09-21 17:14:47 +10:00
UnknownShadow200
62acc1f3c3 Fix two bots being able to send up with same entity ID 2017-09-21 15:42:10 +10:00
UnknownShadow200
50599b4bec Using /deletelvl should delete the [map].lvl.backup file in the levels folder 2017-09-21 15:34:46 +10:00
UnknownShadow200
f010bd3880 Kill off pointless /chain command, raise default perm of /summon to operator 2017-09-21 14:57:16 +10:00
UnknownShadow200
dab15609b3 Add /help emotes, fixes #374 2017-09-21 14:01:04 +10:00
UnknownShadow200
ff534860ec Don't repatrol players who were patrolled within last 15 seconds. Fixes #363. 2017-09-21 13:27:03 +10:00
UnknownShadow200
3caa6bde36 Fix fall damage not killing when falling from non full block, fix changing map MOTD not re-sending motd, fixes #471 2017-09-21 13:18:00 +10:00
UnknownShadow200
58cbef023e Add EntitySpawned/EntityDespawned events. 2017-09-21 11:44:36 +10:00
UnknownShadow200
ab7ba194fd Fix very rare case when you land on edge of block and don't die from fall damage. 2017-09-21 10:57:05 +10:00
UnknownShadow200
b7a2b259ed Reach distance check is performed for all ranks now. 2017-09-20 22:55:59 +10:00
UnknownShadow200
604ec9ec87 Use if else instead of switch on strings for more compact IL, remove a few obsolete methods 2017-09-20 22:55:13 +10:00
UnknownShadow200
3dc6b9e2a6 Get rid of lambda usage in LevelOption, reduce size by another 1KB 2017-09-20 20:16:25 +10:00
UnknownShadow200
57a4777a87 Fix doing portal/mb show on a map without portals/mbs causing an error 2017-09-20 18:12:54 +10:00
UnknownShadow200
7c57f76280 Eliminate last LINQ usage 2017-09-20 15:49:48 +10:00
UnknownShadow200
0b7fb5899c turns out GZipStream.ReadByte() allocates a 1 byte array each time, so avoid that 2017-09-20 14:47:49 +10:00
UnknownShadow200
813d1b0f14 Remove pointless aliases from /tntwars setup (you would have to read the source code to know them), reduces size of mcgalaxy dll by 3 KB 2017-09-20 13:14:33 +10:00
UnknownShadow200
7e1a2a424f Less lambda usage, reduces dll size by 1 KB 2017-09-20 12:40:49 +10:00
UnknownShadow200
be9a8773b8 Optimise WriteDrawOp to use less memory for storing letters.
Reduces file size by 3KB, avoids all the allocations of byte arrays, thus also saving 5KB of memory
2017-09-20 11:51:46 +10:00
UnknownShadow200
680f200d41 Remove structs that always just get boxed to a reference type anyways. 2017-09-20 10:38:41 +10:00
UnknownShadow200
901ad70064 Fix /paint not adding 'painted' flag to /b when replacing existing solid block. 2017-09-19 14:14:23 +10:00
UnknownShadow200
34a5f6aa87 Add push to /help map motd 2017-09-18 23:59:26 +10:00
UnknownShadow200
a288472af7 Fix /os map loaddelay displaying wrong max value. 2017-09-17 23:40:49 +10:00
UnknownShadow200
579df6c3ce Fix /tp x y z with /back, /back also preserved rotation. 2017-09-17 23:06:20 +10:00
UnknownShadow200
c3eec844e1 Tidy up Ban class, use unix timestamp for ban/unban time so now /baninfo is accurate to the second. 2017-09-17 22:47:31 +10:00
UnknownShadow200
32652a833e BanInfo now shows tempban details too 2017-09-17 21:21:43 +10:00
UnknownShadow200
1ee3a739b3 Add custom kill/death messages for bots. 2017-09-15 12:45:23 +10:00
UnknownShadow200
1b094763b2 Fix /botset kill not working properly when bot has an AI
and remove colorParse from Message overload
2017-09-15 11:44:01 +10:00
UnknownShadow200
4886f693d1 Prevent spamming /team invite 2017-09-12 19:05:00 +10:00
UnknownShadow200
f657da8021 Properly support air as a custom block 2017-09-11 10:05:41 +10:00
UnknownShadow200
12496aa19f Allow ignoring yourself. 2017-09-10 13:28:36 +10:00
UnknownShadow200
b858b0ff5b copylvl doesn't require being able to use newlvl anymore, increase copylvl's default perm to superop 2017-09-09 21:14:39 +10:00
UnknownShadow200
20a3aa6b90 Validate perbuild and pervisit permissions for world-changing commands, and regardless of whether level is loaded or not. Fixes #309 2017-09-09 20:47:14 +10:00
UnknownShadow200
89a8823981 Eliminate some useless File.Exists calls 2017-09-09 19:53:58 +10:00
UnknownShadow200
83e6172137 Fix rope not resetting fall height 2017-09-09 18:14:52 +10:00
UnknownShadow200
f5f76db999 Fix falling into 2 block water not resetting fall damage. (Thanks goodlyay) 2017-09-09 17:56:48 +10:00
UnknownShadow200
9d17ce77a9 collide type instead of solidity in /lb info 2017-09-09 12:55:59 +10:00
UnknownShadow200
6263436d69 Skin also filters dropbox urls like /texture. (Thanks goodlyay) 2017-09-09 12:28:17 +10:00
UnknownShadow200
04b70d8297 fix /sendcmd to work with command aliases 2017-09-08 12:59:34 +10:00