1586 Commits

Author SHA1 Message Date
UnknownShadow200
2364ce351d Integrate stripped down fNbt into the source code. 2016-07-27 15:56:06 +10:00
UnknownShadow200
ac4be0321d Now read environment data from .cw files, still need to do the block definitions file. 2016-07-27 14:43:48 +10:00
UnknownShadow200
7075d062bf Basic .cw importer that only imports blocks. 2016-07-27 14:01:37 +10:00
UnknownShadow200
51d3bcf9e7 Fix being unable to do /os map chat if you can't change map options. (Thanks JPlaysClassic) 2016-07-27 12:50:02 +10:00
UnknownShadow200
6748c2811d Add fNbt.dll as a reference. 2016-07-27 12:45:56 +10:00
UnknownShadow200
ae06d438bb Space wars: Death of the tabs. 2016-07-27 09:38:28 +10:00
UnknownShadow200
2c6fa19453 Fix /send storing the second half of the message (if > 255 chars) instead of first bit on mysql backend. 2016-07-27 09:33:46 +10:00
UnknownShadow200
b551b63c65 Reduce code duplication of Scripting.cs and MCForgeScripter.cs 2016-07-27 09:18:21 +10:00
UnknownShadow200
5948804f11 Make checking for temp rank expiry another scheduler task, instead of a whole separate timer. 2016-07-27 08:39:45 +10:00
UnknownShadow200
1056c06ac4 Fix /copy @ with rotate flips too. (Thanks goodlyay) 2016-07-26 18:13:55 +10:00
UnknownShadow200
740ee15e40 More Execute instead of executeQuery and Fill instead of fillData for Database. calls. 2016-07-26 17:07:48 +10:00
UnknownShadow200
a6597f8dfd More Execute instead of executeQuery and Fill instead of fillData for Database. calls. 2016-07-26 16:53:35 +10:00
UnknownShadow200
06de285989 More Execute instead of executeQuery and Fill instead of fillData for Database. calls. 2016-07-26 16:27:03 +10:00
UnknownShadow200
d30edf8df4 More Execute instead of executeQuery and Fill instead of fillData for Database. calls. 2016-07-26 16:07:06 +10:00
UnknownShadow200
6e97d8a047 Execute instead of executeQuery and Fill instead of fillData for Database. calls. 2016-07-26 15:55:50 +10:00
UnknownShadow200
4f61d5bbe5 Initial work on new Fill/Execute method which makes binding parameters much for prepared statements much easier. 2016-07-26 15:48:22 +10:00
UnknownShadow200
cac792e9a4 Tabs to spaces. 2016-07-26 12:35:33 +10:00
UnknownShadow200
0cc9849537 For mirror copy flips, also mirror the copy offset (Thanks goodlyay). Still need to fix copy offsets for rotate copy flips. 2016-07-26 12:33:11 +10:00
UnknownShadow200
e8289cb112 Make /emote save the emotelist when the command is called, not in Player.save. Also add a generic formatted Join extension method for IEnumerable<T>. 2016-07-26 11:59:26 +10:00
UnknownShadow200
8a7ed8637f Now with less LINQ usage. 2016-07-26 11:14:04 +10:00
UnknownShadow200
9b1fc58bfe Fixes and cleanup for whitelist code.
Can no longer join when you are on the whitelist but are banned, fix whitelist not saving when adding/removing someone from console, /whitelist [name] is now implicitly treated as /whitelist add [name].
2016-07-26 10:45:10 +10:00
UnknownShadow200
96d6ac3029 Use consistent method of finding IP in /banip and /unbanip, also warn in (the very rare case) that the input matches both an IP and a classicube.net account. 2016-07-26 10:27:55 +10:00
UnknownShadow200
48b527f7a4 Don't allow /banip on invalid ips (like a.b.c.d), cleanup /banip. 2016-07-26 09:51:24 +10:00
UnknownShadow200
60586a67e0 Fix /resizelvl not changing main world, if the old world was set to the server's main world. 2016-07-25 22:27:17 +10:00
UnknownShadow200
3be8c02faa Now /ride just makes you not killed by train blocks, rather than invincible alltogether. 2016-07-25 22:22:39 +10:00
UnknownShadow200
0be654b006 Better field names for PaletteEntry. 2016-07-25 22:08:44 +10:00
UnknownShadow200
92b7b6ad60 Use named block constants instead of hardcoding their ids in ImagePalette.cs 2016-07-25 18:54:21 +10:00
UnknownShadow200
e28dd1b5b7 Microoptimisation for Level.PosToInt 2016-07-25 18:35:25 +10:00
UnknownShadow200
ab0bbd7a8f Provide the more helpful 'only X+ can place/draw/fill [block]' message in more places. 2016-07-25 13:35:48 +10:00
UnknownShadow200
88a6e52c49 Also call OnPhysicsUpdateEvent when physics level is doors-only. 2016-07-23 22:47:15 +10:00
UnknownShadow200
6e7c44e3e9 Now with less code duplication. 2016-07-23 22:39:53 +10:00
UnknownShadow200
ad81975b95 Cleanup tab/space indention, also rewrite /8ball to avoid Thread.Sleep. 2016-07-23 21:37:22 +10:00
UnknownShadow200
621922cece Merge pull request #201 from Goodlyay/master
Change perms, 8ball and bot nick.
2016-07-23 20:54:14 +10:00
Goodlyay
0f2fc3adda "empty" in bot nick sets bot name to empty string. 2016-07-23 01:29:38 -07:00
Goodlyay
7e8dae3e11 Change tp, abort and paint permission to guest. 2016-07-23 01:28:24 -07:00
Goodlyay
e2f8d0e7c6 Improve 8ball. 2016-07-23 01:27:39 -07:00
UnknownShadow200
f535973acd Make /rankinfo use relative timespans, also /time will now show server date. 2016-07-23 12:48:02 +10:00
UnknownShadow200
174cd681f8 Fix /rankinfo throwing NullReferenceException when someone was promoted/demoted to a rank in the past that no longer exists. (Thanks jackhound123) 2016-07-23 12:39:00 +10:00
UnknownShadow200
480d8f65ae Organise Level.Fields.cs 2016-07-22 23:49:25 +10:00
UnknownShadow200
c580484c4c Split up Level into Level.Fields.cs too. 2016-07-22 23:36:24 +10:00
UnknownShadow200
d48fd8f40e Fix just changing /env preset (but making no other changes to level) not updating the .properties file. 2016-07-22 23:25:35 +10:00
UnknownShadow200
e01eba80e8 Combine .env and .properties files into one. 2016-07-22 23:21:10 +10:00
UnknownShadow200
f93523deb0 Cleanup ascend/descend, make /descend work properly. 2016-07-22 18:26:43 +10:00
UnknownShadow200
2f16102242 Disable /fly on maps with -hax (unless map also has +ophax and you are operator+). 2016-07-22 17:53:32 +10:00
UnknownShadow200
1d7761302a Cleanup /blockset. 2016-07-22 17:18:54 +10:00
UnknownShadow200
cb6f9c1758 Fix /map motd not setting motd when you don't provide a map name, reduce code duplication of SendMotd/SendUserMotd and also show the server name when joining levels with a custom motd less than 64 characters. 2016-07-22 15:03:07 +10:00
UnknownShadow200
6bcced8415 Make the plugin loading code cleaner, also make Plugin_Simple actually derive from Plugin, also make Plugin_Simple actually work. 2016-07-22 00:13:28 +10:00
UnknownShadow200
597c811aa4 Fix /pass. (Thanks lavacraft) 2016-07-21 23:42:05 +10:00
UnknownShadow200
36564b5b4c Fix /pload reading plugin dll from root directory instead of plugins sub-folder. (Thanks are) 2016-07-21 23:20:51 +10:00
UnknownShadow200
21faa94cd7 Code cleanup for plugins. 2016-07-21 21:17:05 +10:00