3017 Commits

Author SHA1 Message Date
UnknownShadow200
65b1eb3f01 Cleanup TNTwars code. 2017-07-15 14:11:33 +10:00
UnknownShadow200
a688363171 Make CTF a plugin too. 2017-07-15 13:44:23 +10:00
UnknownShadow200
0e3378a22d Add a OnPlayerSpawning event, reduce hardcoding of games. 2017-07-14 20:52:14 +10:00
UnknownShadow200
9c37250630 Add ConfigReal attribute and CommandParser.GetReal, also actually raise TabListEntryRemoved event. 2017-07-14 20:16:42 +10:00
UnknownShadow200
411578785d Now spin/mirror/rotate accounts for directional blocks. Fixes #412. 2017-07-14 12:27:53 +10:00
UnknownShadow200
7b39848cf4 Fix /mi setting RealmOwner to null under some circumstances, causing errors when then trying to do /os on the map (oops). 2017-07-13 21:55:17 +10:00
UnknownShadow200
179c7feccd Don't bother sending a expect 100 continue for heartbeats
This should help with servers that have relatively high latency
2017-07-13 14:06:27 +10:00
UnknownShadow200
fda2e569e4 Move ZS stuff into a plugin. 2017-07-13 13:46:38 +10:00
UnknownShadow200
76f1f4f01e Fix checkpoint blocks not setting client-side spawn point in middle of block, fixes #476. 2017-07-12 16:01:57 +10:00
UnknownShadow200
34d0f62f07 Add some events for tab list entries. (WIP broken) 2017-07-12 15:54:19 +10:00
UnknownShadow200
9c66b78ff3 fix ranks losing their blocks perms after modifying ranks in gui, fixes #470 2017-07-12 15:21:04 +10:00
UnknownShadow200
5e662846bc Don't allocate pointless temp objects inOnPlayerMoveEvent 2017-07-12 14:48:35 +10:00
UnknownShadow200
0128e3c3b2 IEvent uses volatile array instead of a list, fixes multithreading modification errors 2017-07-12 14:19:05 +10:00
UnknownShadow200
348b62f5f7 Fix /gen with heightmap theme erroring when used from console. 2017-07-11 18:35:22 +10:00
UnknownShadow200
dca204e903 Fix being unable to whitelist higher ranked players, fixes #318. 2017-07-11 18:03:29 +10:00
UnknownShadow200
b5c4908de7 Fix still moving your own position with /tp, even if can't join map target player is in 2017-07-11 17:20:57 +10:00
UnknownShadow200
9ec063762a Don't allow using opchat or adminchat when muted, or chatmod is on and don't have voice. 2017-07-11 16:54:46 +10:00
UnknownShadow200
2cbb319340 Break all plugins and some custom commands by combining the two ways of handling events into one.
This gets rid of unnecessary code and simplifies event handling, and improves code quality as all event handlers are now namespaced.
2017-07-11 16:49:32 +10:00
UnknownShadow200
acede04292 Improve /ctf - move blue/red spawn to set sub-command, add add/remove sub-command. 2017-07-10 22:39:36 +10:00
UnknownShadow200
ba6b80fa44 fix /static mode being turned off if a draw op execees rank draw limit. (Thanks ozy) 2017-07-10 21:38:05 +10:00
UnknownShadow200
65bfe62051 Fix /gun blockchange handler still being called even after disabling guns on a map. (Thanks Ozy) 2017-07-10 21:09:52 +10:00
UnknownShadow200
1fcccda0ca Remove unused cancel event fields 2017-07-10 20:22:18 +10:00
UnknownShadow200
ab1cdf0913 Add new configurable rank/group properties to GUI, cleanup ranks tab in GUI 2017-07-10 19:12:54 +10:00
UnknownShadow200
38995d4da1 AFK kick time and whether is AFK kicked, is now configurable per rank. 2017-07-10 15:33:37 +10:00
UnknownShadow200
9f6dab6ac0 Max map generation volume is configurable per rank. 2017-07-10 14:28:53 +10:00
UnknownShadow200
728ca427d0 Remove unused HeartBeatFail event 2017-07-10 14:03:30 +10:00
UnknownShadow200
0e7505cb17 Make deadly hug rank configurable 2017-07-10 13:56:03 +10:00
UnknownShadow200
46b5c5e81d Make rank permission in gui a numericupdown, fix duplicate CHANGEME ranks, fixes #467. 2017-07-10 12:46:11 +10:00
UnknownShadow200
60ffab9b9b Changing ranks in gui doesn't affect server's actual state now when changes discarded. Also allow modifying nobody rank. 2017-07-10 12:32:52 +10:00
UnknownShadow200
157b70ccb2 And do /hackrank changes for /fakerank too, addresses comments in #440. 2017-07-10 12:19:55 +10:00
UnknownShadow200
85443729cb Changing rank colors/prefix in gui (or by reloading properties) should update online players. Fixes #426. 2017-07-10 11:37:12 +10:00
UnknownShadow200
d1626f7100 Now hackrank changes entity nametag and tab list colour. Fixes #440. 2017-07-10 10:08:37 +10:00
UnknownShadow200
5c36ea3aaa Log message to console when a heartbeat fails to send, remove the LogBeat option 2017-07-10 09:57:21 +10:00
UnknownShadow200
de66bfa7d7 Show a message when you can't place/delete a block due to not agreeing to /rules 2017-07-09 23:41:20 +10:00
UnknownShadow200
c5b642f1e1 Delay command should work in milliseconds. Fixes #475. 2017-07-09 23:36:38 +10:00
UnknownShadow200
ebab87ca9e Majorly cleanup
Group class, and probably break plugins in the process.
2017-07-08 20:55:55 +10:00
UnknownShadow200
a836014694 Remove redundant code in BlockDefinitions.cs, remove hardcoded rank aliases asides from 'op 2017-07-08 19:27:54 +10:00
UnknownShadow200
abd3bfd153 Minor code cleanup, minimise usage of LevelPermission.Null 2017-07-08 15:59:44 +10:00
UnknownShadow200
dab8928f9b Make more of gui use NumericUpDown controls for properties that are integers 2017-07-08 13:06:12 +10:00
UnknownShadow200
f53570e9c3 Improve /place, and only allow valid enum members for ConfigEnum attribute 2017-07-08 12:02:53 +10:00
UnknownShadow200
ee7b5ff436 Cleanup PropertyWindow.Ranks.cs 2017-07-08 11:32:20 +10:00
UnknownShadow200
23ea437be0 Fix selecting a block in blocks list in gui marking block as having its props changed, even if the user did not actually change any props. Fixes #469. 2017-07-08 10:21:54 +10:00
UnknownShadow200
7f3f4255ec Get rid of Command.RevertAndClearState 2017-07-07 23:07:44 +10:00
UnknownShadow200
9192e6110a Simplify /mi 2017-07-07 21:45:43 +10:00
UnknownShadow200
77636bcc85 Combine /endround into /zs end 2017-07-07 21:32:11 +10:00
UnknownShadow200
9903cd8c20 Simplify /help zs 2017-07-07 21:29:28 +10:00
UnknownShadow200
b791a24673 Fix sending BlockPermissions packet when changing rank, even if client doesn't indicate support for it 2017-07-07 19:51:03 +10:00
UnknownShadow200
f10952091e Don't allow spaces in rank names. Fixes #468. 2017-07-07 18:17:19 +10:00
UnknownShadow200
64128df450 Always use webproxy, lowers .NET required to 3.5 2017-07-07 18:10:41 +10:00
UnknownShadow200
73b8a0dee7 minor code cleanup, move MessageBlock and MessageCannotUse to BlockPerms and CommandPerms 2017-07-07 18:00:39 +10:00